/*
 * QRM site chrome: header, menu overlay, footer, floating contact button.
 * Sizes were measured from the live Elementor site at 1440px and 375px.
 */

:root {
	--qrm-crimson: #A4334F;
	--qrm-yellow: #FFCD00;
	--qrm-navy: #2A4059;
	--qrm-baltic: #237DAB;
	--qrm-light: #EAEAEA;
	--qrm-radius: 18px; /* rounded boxes and cards (live's Careers job cards); buttons keep the leaf shape */
	--qrm-admin-bar: 0px;
	--qrm-edge: 43px;
	/* Fluid sizing: --qrm-fl is 0 at 375px wide and 1px at 1440px (multiply by a number of px),
	   --qrm-xl is the extra column width on screens wider than 1440px (up to 420px more). */
	--qrm-fl: calc((100vw - 375px) / 1065);
	--qrm-xfl: clamp(0px, calc((100vw - 1440px) / 480), 1px); /* 0 at 1440 → 1px at 1920 */
	--qrm-xl: clamp(0px, calc((100vw - 1440px) * .7), 420px);
	--qrm-curve-h: clamp(40px, calc(40px + 50 * var(--qrm-fl)), 90px); /* footer curve height */
	/* Frosted glass, one look everywhere (Zack, 2026-11-18: blurrier and a little darker) */
	--qrm-glass-bg: rgba(42, 64, 89, .3);
	--qrm-glass-blur: saturate(1.3) blur(24px);
	--qrm-glass-light: rgba(255, 255, 255, .55); /* same blur, light tint: quote card over the white page */
}
body.admin-bar { --qrm-admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --qrm-admin-bar: 46px; } }

/* ---------- Fonts not in the editor presets ---------- */
/* Copyright line uses Overpass Thin on the live site. */
@font-face {
	font-family: "Overpass";
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url(../fonts/Overpass-Thin-Latin.woff2) format("woff2");
}

/* ---------- Animated icons (Lottie) ---------- */
.qrm-lottie { display: block; line-height: 0; }
.qrm-lottie svg { display: block; width: 100% !important; height: 100% !important; }

/* Font sizes that change with screen size scale smoothly with clamp(): live's phone size at 375px
   up to live's desktop size at 1440px (the full-screen phone/tablet menu: 375px → 1024px). */

/* ---------- Header (desktop: floats over the page hero) ---------- */

.qrm-header {
	position: absolute;
	top: var(--qrm-admin-bar);
	left: 0;
	right: 0;
	z-index: 99;
	height: 0;
	margin: 0;
}
.qrm-header .wp-block-shortcode,
.qrm-header > p { margin: 0; }

.qrm-hd__utility {
	position: absolute;
	top: 10px;
	right: 48px;
	display: flex;
	align-items: center;
	gap: 31px;
}
.qrm-hd__link {
	color: #fff;
	font-size: clamp(11.2px, calc(11.2px + 2.8 * (100vw - 375px) / 1065), 14px);
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 21px;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .3s;
}
.qrm-hd__link:hover { color: var(--qrm-yellow); }
.qrm-hd__link.qrm-login {
	margin-left: -11px; /* live: 20px between Blog and Login */
	font-size: clamp(12.8px, calc(12.8px + 1.2 * (100vw - 375px) / 1065), 14px);
	background: var(--qrm-yellow);
	color: #2B2B2B;
	font-weight: 700;
	line-height: 14px;
	padding: 8px 12px;
	border-radius: 50px 50px 0 50px;
	transition: background-color .3s, color .3s;
}
.qrm-hd__link.qrm-login:hover { background: var(--qrm-yellow); color: #2B2B2B; }

/* Logo + menu button stay pinned while scrolling */
.qrm-logo {
	position: fixed;
	top: calc(var(--qrm-admin-bar) + 60px);
	left: var(--qrm-edge);
	z-index: 100;
	display: block;
	line-height: 0;
	transition: top .3s ease;
}
.qrm-logo img { width: 80px; height: 80px; }

.qrm-hd__toggle {
	position: fixed;
	/* Hive art centered on the logo's center line (logo: 80px at top 60 → center 100) */
	top: calc(var(--qrm-admin-bar) + 72px);
	right: var(--qrm-edge);
	z-index: 100;
	width: 50px;
	height: 39px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: top .3s ease;
}
/* Once the page is scrolled (desktop), logo + hive ride 30px higher.
   The menu's X follows so it still sits on the hive. */
@media (min-width: 1025px) {
	.qrm-scrolled .qrm-logo { top: calc(var(--qrm-admin-bar) + 30px); }
	.qrm-scrolled .qrm-hd__toggle { top: calc(var(--qrm-admin-bar) + 42px); }
	.qrm-scrolled .qrm-menu__close { top: 46.2px; }
}
/* Live draws the hive animation at 100x100, centered on the 50x39 button */
.qrm-hd__hive {
	position: absolute;
	left: -25px;
	top: -22px;
	width: 100px;
	height: 100px;
	pointer-events: none;
}
.qrm-hd__hive-m { display: none; }

/* ---------- Menu panel (desktop) ---------- */

.qrm-menu {
	position: fixed;
	inset: var(--qrm-admin-bar) 0 0 0;
	z-index: 100000;
	display: flex;
	justify-content: flex-end;
	background: rgba(42, 64, 89, .11);
}
.qrm-menu[hidden] { display: none; }

.qrm-menu__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	--qrm-curve: 80px; /* how far the curved edge bulges out (live: 186px) */
	width: calc(386px + var(--qrm-curve));
	max-width: 100vw;
	height: 100%;
	box-sizing: border-box;
	/* Links start well below the X; grows with screen height so short screens still fit */
	padding: clamp(121px, calc(15vh + 6px), 156px) 47px 0 var(--qrm-curve); /* right edge lines up with the X */
	overflow-y: auto;
	overflow-x: hidden; /* hover grow effect must not add a sideways scrollbar */
	background:
		url(../img/Menu-Curve.svg) left top / var(--qrm-curve) 100% no-repeat,
		linear-gradient(to right, transparent calc(var(--qrm-curve) - 1px), var(--qrm-crimson) calc(var(--qrm-curve) - 1px));
}
/* Elementor "fadeInRight", 1s, played in reverse to close */
.qrm-menu.is-open .qrm-menu__panel { animation: qrm-fade-in-right 1s both; }
.qrm-menu.is-closing .qrm-menu__panel { animation: qrm-fade-out-right 1s both; }
.qrm-menu.is-closing { animation: qrm-fade-out 1s both; } /* dim overlay fades with it */
@keyframes qrm-fade-in-right {
	from { opacity: 0; transform: translate3d(100%, 0, 0); }
	to { opacity: 1; transform: none; }
}
/* Separate keyframes: reusing the fade-in in reverse doesn't restart, so it would just jump */
@keyframes qrm-fade-out-right {
	from { opacity: 1; transform: none; }
	to { opacity: 0; transform: translate3d(100%, 0, 0); }
}
@keyframes qrm-fade-out { to { background-color: rgba(42, 64, 89, 0); } }
@keyframes qrm-fade-in { from { background-color: rgba(0, 0, 0, 0); } }
@keyframes qrm-menu-in { from { opacity: 0; transform: translate3d(12%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes qrm-menu-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(12%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .qrm-menu, .qrm-menu .qrm-menu__panel { animation-duration: .01s !important; } }

/* Sized so the white hive draws exactly as big as the yellow hive (53.8x46.6) and sits on its center */
.qrm-menu__close {
	position: absolute;
	top: 76.2px;
	right: 41.3px;
	width: 54.2px;
	height: 47.7px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}
.qrm-menu__close-anim { width: 54.2px; height: 47.7px; }

.qrm-menu__nav { width: 350px; margin-right: -20px; }
.qrm-menu__nav ul { margin: 0; padding: 0; list-style: none; }
.qrm-menu__nav a {
	display: block;
	padding: 13px 20px;
	color: #fff;
	font-size: clamp(51.2px, calc(51.2px + 4.8 * (100vw - 1025px) / 415), 56px);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 3.1px;
	text-align: right;
	text-decoration: none;
	transition: transform .3s, color .3s;
}
/* Subtle grow on hover, staying white; grows from the right so it stays lined up with the X */
.qrm-menu__nav a { transform-origin: right center; }
.qrm-menu__nav a:hover,
.qrm-menu__nav a:focus-visible { color: #fff; transform: scale(1.08); }

/* Pinned near the bottom of the panel (Zack: closer to the bottom than live) */
.qrm-menu__foot {
	margin-top: auto;
	padding-top: 15px;
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 20px;
}
.qrm-menu .qrm-socials--menu { gap: 14px; }
.qrm-socials {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.qrm-socials a { display: block; width: 35px; height: 35px; color: #fff; }
.qrm-socials .qrm-lottie { width: 35px; height: 35px; }

.qrm-menu__links {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.qrm-menu__links { align-items: center; }
.qrm-menu__links li + li { display: flex; align-items: center; margin-left: 5px; }
/* Thin divider, about the height of the capital letters */
.qrm-menu__links li + li::before { content: ""; width: 1px; height: .75em; margin-right: 5px; background: currentColor; color: var(--qrm-light); font-size: clamp(12px, calc(12px + 5.6 * (100vw - 375px) / 1065), 17.6px); }
.qrm-menu__links a {
	color: var(--qrm-light);
	font-size: clamp(12px, calc(12px + 5.6 * (100vw - 375px) / 1065), 17.6px);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 26.4px;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .3s;
}
.qrm-menu__links a:hover { color: var(--qrm-baltic, #237DAB); }

@media (max-width: 1366px) {
	.qrm-menu__nav a { line-height: 1.7; letter-spacing: 2.3px; padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 1200px) {
}

/* Short laptop screens: tighter link spacing so the menu fits without scrolling */
@media (min-width: 1025px) and (max-height: 820px) {
	.qrm-menu__panel { padding-top: 151px; }
	.qrm-menu__nav a { line-height: 1.3; padding-top: 0; padding-bottom: 0; }
}

/* ---------- Header + menu: tablet and phone (live uses a separate mobile header) ---------- */

@media (max-width: 1024px) {
	/* Careers / Blog / Login scroll away with the page; only the logo + hive stay pinned, on a glass bar.
	   site.js sets --qrm-bar-top: 40px at the top of the page, sliding to 0 as you scroll (like sticky).
	   (No blur on the header itself: it would trap the full-screen menu inside the header.) */
	.qrm-header { position: absolute; height: 0; }
	.qrm-header::before {
		content: "";
		position: fixed;
		top: var(--qrm-bar-top, calc(var(--qrm-admin-bar) + 40px));
		left: 0;
		right: 0;
		z-index: 99;
		height: 64px;
		background: var(--qrm-glass-bg);
		-webkit-backdrop-filter: var(--qrm-glass-blur);
		backdrop-filter: var(--qrm-glass-blur);
		pointer-events: none;
		opacity: 0; /* clear at the top of the page; glass once you scroll */
		transition: opacity .3s ease;
	}
	.qrm-scrolled .qrm-header::before { opacity: 1; }
	.qrm-hd__utility {
		top: 9px;
		left: 20px;
		right: 20px;
		gap: 30px;
	}
	.qrm-hd__link { line-height: 17px; }
	.qrm-hd__link.qrm-login { margin-left: auto; line-height: 12.8px; }
	.qrm-logo { position: fixed; top: calc(var(--qrm-bar-top, calc(var(--qrm-admin-bar) + 40px)) + 7px); left: 20px; transition: none; }
	.qrm-logo img { width: 50px; height: 50px; }
	.qrm-hd__toggle {
		position: fixed;
		top: calc(var(--qrm-bar-top, calc(var(--qrm-admin-bar) + 40px)) + 17px);
		transition: none;
		right: 20px;
		width: 35px;
		height: 30px;
	}
	.qrm-hd__hive { display: none; }
	.qrm-hd__hive-m { display: block; width: 35px; height: 30px; }

	/* Phone/tablet menu: full-screen crimson, no animation (same as live) */
	.qrm-menu { inset: 0; z-index: 100001; background: rgba(0, 0, 0, .8); }
	.qrm-menu__panel {
		width: 100vw;
		align-items: flex-end;
		/* Right edge lines up with the X (which sits on the hive, 20px from the edge) */
		padding: clamp(115px, 15vh, 130px) 24px 0 10px;
		background: var(--qrm-crimson);
		overflow-y: auto;
	}
	/* Slides in from the right and fades, quicker than desktop; reverses to close */
	.qrm-menu.is-open { animation: qrm-fade-in .35s ease both; }
	.qrm-menu.is-open .qrm-menu__panel { animation: qrm-menu-in .45s cubic-bezier(.2, .8, .2, 1) both; }
	.qrm-menu.is-closing { animation: qrm-fade-out .35s ease both; }
	.qrm-menu.is-closing .qrm-menu__panel { animation: qrm-menu-out .35s cubic-bezier(.6, 0, .8, .2) both; }
	/* Centered on the phone hive button (35x30 at top 55 / right 20) */
	/* White hive draws at the yellow hive's size (34.8x29.8) and center */
	.qrm-menu__close { top: calc(var(--qrm-bar-top, calc(var(--qrm-admin-bar) + 40px)) + 16.5px); right: 20px; width: 35.1px; height: 30.9px; }
	.qrm-menu__close-anim { width: 35.1px; height: 30.9px; }

	.qrm-menu__nav { width: auto; margin-right: 0; }
	.qrm-menu__nav a {
		padding: 0;
		font-size: clamp(42px, calc(42px + 22 * (100vw - 375px) / 649), 64px);
		line-height: 1.5;
		letter-spacing: normal;
		transition: none;
	}
	.qrm-menu__nav a:hover,
	.qrm-menu__nav a:focus-visible { color: #fff; transform: none; }

	.qrm-menu__foot { margin-top: auto; padding: 40px 0 50px; gap: 20px; }
	.qrm-menu .qrm-socials--menu { gap: 16px; }
	.qrm-menu__links li + li::before { color: #fff; }
	.qrm-menu__links a { color: #fff; }
	.qrm-menu__links a:hover { color: #fff; }
}

@media (max-width: 767px) {
	.qrm-menu__nav a { letter-spacing: 1.5px; }
	.qrm-menu .qrm-socials--menu { gap: 16px; }
	.qrm-socials--menu a, .qrm-socials--menu .qrm-lottie { width: 34px; height: 34px; }
	.qrm-menu__links a { letter-spacing: 2.6px; line-height: 18px; }
	.qrm-menu__foot { gap: 15px; }
	.qrm-menu__links li + li { margin-left: 8px; }
	.qrm-menu__links li + li::before { margin-right: 8px; }
}

/* ---------- Footer ---------- */
/* Fluid between phone (375) and desktop (1440); grows a little on wider screens (Zack, 2026-11-18). */

.qrm-footer {
	position: relative;
	z-index: 2; /* above a photo that runs under the curve, so the curve keeps one solid color */
	margin-top: calc(var(--qrm-curve-h) + 10px);
	background: var(--qrm-crimson);
	color: var(--qrm-light);
}
/* The curved top edge: same shape as the menu's curved edge, turned on its side */
.qrm-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: var(--qrm-curve-h);
	background: var(--qrm-crimson);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100C100.5,58.1,277.9-1,505.8,0C727.6,1,900.4,58.5,1000,100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100C100.5,58.1,277.9-1,505.8,0C727.6,1,900.4,58.5,1000,100Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* The space around the curve takes the color of the section that ends the page (a tinted band, the PDPM
   page's gray…), so there's no white strip between it and the crimson. site.js sets --qrm-under-curve. */
.qrm-footer::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: calc(var(--qrm-curve-h) + 11px);
	background: var(--qrm-under-curve, transparent);
	pointer-events: none;
}
/* A page that ends with a full-width photo: the photo runs all the way down under the curve
   (no white corners, nothing hidden behind the footer). */
body:has(main > .wp-block-cover.alignfull:last-child, main > :last-child > .wp-block-cover.alignfull:last-child) .qrm-footer { margin-top: 0; }

.qrm-footer .qrm-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: clamp(36px, calc(36px + 4 * var(--qrm-fl)), 40px) 40px;
	width: min(calc(1280px + var(--qrm-xl)), 100% - 2 * clamp(24px, calc(24px + 56 * var(--qrm-fl)), 80px));
	margin: 0 auto;
	padding: 14px 0 36px;
	box-sizing: border-box;
}
.qrm-footer .qrm-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, max-content);
	gap: 28px clamp(28px, calc(4.2vw - 25px), 56px);
	flex: 0 1 auto;
	margin: 0;
}
.qrm-footer .qrm-footer__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; }
.qrm-footer .qrm-footer__col > * { margin: 0; }
.qrm-footer .qrm-footer__connect { flex: 0 0 auto; gap: 16px; }
.qrm-socials--footer { gap: 10px; }
.qrm-footer .wp-block-shortcode, .qrm-footer__connect > p:empty { margin: 0; }

.qrm-footer .qrm-footer__heading {
	margin: 0;
	color: #fff;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * var(--qrm-fl)), 16px);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 16px;
	text-transform: uppercase;
}
.qrm-footer__links { list-style: none; margin: 0; padding: 0; }
.qrm-footer__links li { margin: 0; line-height: 24px; }
.qrm-footer__links li + li { margin-top: 4px; }
.qrm-footer__links a {
	color: var(--qrm-light);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 24px;
	text-decoration: none;
	transition: color .3s;
}
.qrm-footer__links a:hover { color: #fff; }

.qrm-footer__newsletter .wp-block-button__link {
	background: transparent;
	color: var(--qrm-light);
	border: 2px solid var(--qrm-light);
	border-radius: 50px 50px 0 50px;
	padding: 12px 24px;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * var(--qrm-fl)), 16px);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 16px;
	text-transform: uppercase;
	transition: background-color .3s, color .3s, border-color .3s;
}
.qrm-footer__newsletter .wp-block-button__link:hover,
.qrm-footer__newsletter .wp-block-button__link:focus { background: var(--qrm-yellow); color: #2B2B2B; border-color: var(--qrm-yellow); }

.qrm-footer__legal {
	margin: 0;
	padding: 20px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	text-align: center;
	color: #fff;
	font-family: "Overpass", sans-serif;
	font-size: 11px;
	font-weight: 100;
	letter-spacing: 1px;
}
.qrm-footer__legal a { color: #fff; text-decoration: none; }
.qrm-footer__legal img { width: 15px; height: 15px; vertical-align: middle; margin-left: 4px; }
.qrm-footer__legal .qrm-sep { margin: 0 9px; }

/* Narrower screens: the four link columns become a 2 x 2 grid, newsletter underneath */
@media (max-width: 1100px) {
	.qrm-footer .qrm-footer__cols { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: clamp(40px, 10vw, 120px); }
	.qrm-footer .qrm-footer__connect { flex-basis: 100%; }
	.qrm-footer .qrm-footer__connect { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
	.qrm-footer .qrm-footer__connect .qrm-footer__heading { flex-basis: 100%; }
}
/* Phone: Company + Legal side by side, Contact and Address full width; tidy spacing */
@media (max-width: 600px) {
	.qrm-footer .qrm-footer__cols {
		grid-template-columns: 1fr 1fr;
		grid-template-areas: "company legal" "contact contact" "address address";
		gap: 28px 20px;
		width: 100%;
	}
	.qrm-footer__cols > .qrm-footer__col:nth-child(1) { grid-area: company; }
	.qrm-footer__cols > .qrm-footer__col:nth-child(2) { grid-area: contact; }
	.qrm-footer__cols > .qrm-footer__col:nth-child(3) { grid-area: address; }
	.qrm-footer__cols > .qrm-footer__col:nth-child(4) { grid-area: legal; }
	.qrm-footer .qrm-footer__col { gap: 10px; }
	.qrm-footer .qrm-footer__inner { gap: 32px; padding-bottom: 32px; }
	.qrm-footer .qrm-footer__connect { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); gap: 14px 16px; }
	.qrm-footer .qrm-hide-phone { display: none; }
	.qrm-footer .qrm-footer__legal { padding: 20px 24px 28px; line-height: 1.6; }
	.qrm-footer .qrm-footer__legal .qrm-sep { display: none; }
	.qrm-footer .qrm-footer__legal a { display: block; margin-top: 6px; }
}

/* ---------- Floating contact button (the bee) ---------- */

.qrm-quick {
	position: fixed;
	right: 43.4px; /* bee centered under the hive (hive center 68.4px from the right) */
	bottom: 40px; /* live: 91px; lowered per Zack */
	transition: bottom .3s ease;
	z-index: 98;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
	animation: qrm-bounce-in 1s ease both;
}
/* With the Smartsupp chat button on the page (live only), the bee sits above it, where live has it. */
body:has(#chat-application) .qrm-quick { bottom: 91px; }
@keyframes qrm-bounce-in {
	0% { opacity: 0; transform: translateX(3000px); }
	60% { opacity: 1; transform: translateX(-25px); }
	75% { transform: translateX(10px); }
	90% { transform: translateX(-5px); }
	100% { transform: none; }
}
.qrm-quick__toggle {
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--qrm-yellow);
	cursor: pointer;
}
.qrm-quick__toggle svg { position: relative; left: 4px; width: 50px; height: 50px; fill: currentColor; } /* bee art sits ~4px left in its box; this centers it under the hive */
.qrm-quick__toggle:hover svg { animation: qrm-buzz-out .75s linear 1; }
/* Elementor "buzz-out" hover animation */
@keyframes qrm-buzz-out {
	10% { transform: translateX(3px) rotate(2deg); }
	20% { transform: translateX(-3px) rotate(-2deg); }
	30% { transform: translateX(3px) rotate(2deg); }
	40% { transform: translateX(-3px) rotate(-2deg); }
	50% { transform: translateX(2px) rotate(1deg); }
	60% { transform: translateX(-2px) rotate(-1deg); }
	70% { transform: translateX(2px) rotate(1deg); }
	80% { transform: translateX(-2px) rotate(-1deg); }
	90% { transform: translateX(1px) rotate(0); }
	100% { transform: translateX(-1px) rotate(0); }
}
.qrm-quick__list {
	position: absolute;
	right: 7px;
	bottom: 56px; /* clears the bee */
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Icons rise out of the bee, bottom one first; closing plays it in reverse */
.qrm-quick__list li {
	--from: 48.5px; /* distance from this icon to the bee's center */
	animation: qrm-from-bee .45s cubic-bezier(.2, .8, .3, 1.15) both;
}
.qrm-quick__list li:nth-child(1) { --from: 174.5px; animation-delay: .15s; }
.qrm-quick__list li:nth-child(2) { --from: 132.5px; animation-delay: .1s; }
.qrm-quick__list li:nth-child(3) { --from: 90.5px; animation-delay: .05s; }
.qrm-quick__list.is-closing li { animation: qrm-to-bee .3s ease-in both; }
.qrm-quick__list.is-closing li:nth-child(1) { animation-delay: 0s; }
.qrm-quick__list.is-closing li:nth-child(2) { animation-delay: .04s; }
.qrm-quick__list.is-closing li:nth-child(3) { animation-delay: .08s; }
.qrm-quick__list.is-closing li:nth-child(4) { animation-delay: .12s; }
@keyframes qrm-from-bee {
	from { opacity: 0; transform: translateY(var(--from)) scale(.4); }
	to { opacity: 1; transform: none; }
}
@keyframes qrm-to-bee {
	from { opacity: 1; transform: none; }
	to { opacity: 0; transform: translateY(var(--from)) scale(.4); }
}
@media (prefers-reduced-motion: reduce) {
	.qrm-quick__list li, .qrm-quick__list.is-closing li { animation-duration: .01s; animation-delay: 0s; }
}
.qrm-quick__list[hidden] { display: none; }
.qrm-quick__list a { display: block; width: 35px; height: 35px; }
/* Icons are #2B2B2B by default; over dark backgrounds they turn white (site.js adds .is-on-dark) */
/*
 * Hover: the outer circle draws over the inner one (Lottie); the symbol changes with it.
 *  Bee on light: #2B2B2B → black.   Bee on dark: light gray (#EAEAEA) → white.
 * .is-hover is set by site.js alongside the animation.
 */
.qrm-lottie image { transition: filter .6s ease; }
.qrm-quick__list a:hover image,
.qrm-quick__list a.is-hover image { filter: brightness(0); }
.qrm-quick.is-on-dark .qrm-quick__list path[stroke="rgb(43,43,43)"] { stroke: #EAEAEA; }
.qrm-quick.is-on-dark .qrm-quick__list path[stroke="rgb(0,0,0)"] { stroke: #fff; }
.qrm-quick.is-on-dark .qrm-quick__list image { filter: brightness(0) invert(.918); }
.qrm-quick.is-on-dark .qrm-quick__list a:hover image,
.qrm-quick.is-on-dark .qrm-quick__list a.is-hover image { filter: brightness(0) invert(1); }
/* Social icons: the Lottie file itself fades the white symbol in over the light-gray one. */
.qrm-quick__list .qrm-lottie { width: 35px; height: 35px; }

/* ---------- Text wrapping (site rule) ---------- */
p, li, dd, dt, figcaption, blockquote, td, th, label { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

/* ---------- Page canvas ---------- */
/* Short pages (e.g. 404): the footer sits at the bottom of the screen, not halfway up */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wp-site-blocks > * { flex-shrink: 0; }
.wp-site-blocks > :last-child { margin-top: auto; }
/* Pages start with their own full-width hero, so no gap above or below the content. */
.wp-site-blocks > * { margin-block-start: 0; }
.qrm-page { margin: 0; }
.qrm-page > .alignfull:first-child { margin-top: 0; }

/* Bee centered under the phone/tablet hive (hive center 37.6px from the right) */
@media (max-width: 1024px) {
	.qrm-quick { right: 12.6px; }
}
/* Phones: bee and its icons a little smaller (80%), still centered under the hive */
@media (max-width: 767px) {
	.qrm-quick { bottom: 24px; scale: .8; transform-origin: 50% 100%; }
}


/* =====================================================================
 * Blog post (templates/single.html) — matches live "Single Post | Blog"
 * ===================================================================== */

/* Light pages: Careers / Blog shown dark so they're visible (white on live) */
.qrm-light-top .qrm-hd__link:not(.qrm-login) { color: #2B2B2B; }
.qrm-light-top .qrm-hd__link:not(.qrm-login):hover { color: var(--qrm-crimson); }

.qrm-card {
	background: #fff;
	box-shadow: 0 0 100px 2px rgba(42, 64, 89, .25);
}

.qrm-post { margin: 0; padding: 110px 0 210px; }
.qrm-post__layout {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	max-width: calc(1069px + var(--qrm-xl) * .5); /* a bit wider on big screens */
	margin: 0 auto;
}
.qrm-post__article { flex: 0 1 calc(728px + var(--qrm-xl) * .5); margin: 10px; min-width: 0; }
.qrm-post__sidebar {
	flex: 0 0 299px;
	margin: 10px 10px 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.qrm-post__layout > *,
.qrm-post__sidebar > *,
.qrm-post__article > *,
.qrm-post__body > * { margin-block: 0; }
.qrm-post__layout > .qrm-post__article { margin: 0 10px; }
.qrm-post__layout > .qrm-post__sidebar { margin: 0 10px 0 12px; }

/* Featured image: full card width, 16:9 */
.qrm-post__image { margin: 0; }
.qrm-post__image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.qrm-post__body { padding: 20px 75px 75px; }

/* AUTHOR | DATE */
.qrm-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
}
.qrm-post-meta li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: .875em;
	margin: 0 9px;
	background: var(--qrm-crimson);
	vertical-align: -1px;
}

.qrm-post .qrm-post__title {
	margin-top: 10px;
	padding-bottom: 10px;
	font-size: clamp(25.6px, calc(25.6px + 8 * (100vw - 375px) / 1065), 33.6px);
	font-weight: 600;
	line-height: 1;
	color: #2B2B2B;
	text-wrap: balance;
}

/* Post body text */
.qrm-post__content { margin-top: 10px; font-size: 16px; line-height: 24px; color: #2B2B2B; }
.qrm-post__content > * { margin-block: 0 14.4px; }
.qrm-post__content a { color: var(--qrm-crimson); }
.qrm-post__content a:hover,
.qrm-post__content a:focus-visible,
.qrm-post__content a:active { color: var(--qrm-baltic, #237DAB); }
.qrm-post__content ul, .qrm-post__content ol { padding-left: 40px; }
.qrm-post__content img { max-width: 100%; height: auto; }
/* Section headings in posts: H2 has live's post-heading look (live used H4 for these), H3 one step smaller.
   Imported posts move their H4s to H2 (Tools → Clean up imported posts), so old and new posts match. */
.qrm-post__content h2 { font-size: var(--wp--preset--font-size--large); line-height: 1.15; }
.qrm-post__content h3 { font-size: clamp(18px, calc(18px + 2 * var(--qrm-fl)), 20px); line-height: 1.2; }
/* Same sizes while writing a post or episode in the editor (pages keep their big section headings) */
.editor-styles-wrapper:is(.post-type-post, .post-type-podcast) .is-root-container h2 { font-size: var(--wp--preset--font-size--large); line-height: 1.15; }
.editor-styles-wrapper:is(.post-type-post, .post-type-podcast) .is-root-container h3 { font-size: clamp(18px, calc(18px + 2 * var(--qrm-fl)), 20px); line-height: 1.2; }

.qrm-post .qrm-post__divider {
	margin: 40px 0 14px; /* live: 10px; more room above "Share the word" (Zack) */
	border: 0;
	border-top: 1px solid var(--qrm-light);
	opacity: 1;
}
.qrm-post .qrm-post__share-title {
	margin-top: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
}

/* Share row */
.qrm-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
}
.qrm-share__icons { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
/*
 * Share icons: same look + hover as the menu's social icons (Lottie), drawn in SVG.
 * Base ring + symbol #2B2B2B; on hover a black ring draws clockwise from the top
 * (0.76s, steady speed) while the symbol turns black; reverses on leave.
 */
.qrm-share__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	color: #2B2B2B;
	transition: color .76s linear;
}
.qrm-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.qrm-ring circle { fill: none; stroke-width: 1.75px; }
.qrm-ring__base { stroke: #2B2B2B; }
.qrm-ring__draw {
	stroke: #000;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset .76s linear;
}
.qrm-share__icon:hover, .qrm-share__icon:focus-visible { color: #000; }
.qrm-share__icon:hover .qrm-ring__draw,
.qrm-share__icon:focus-visible .qrm-ring__draw { stroke-dashoffset: 0; }
.qrm-share__icon .qrm-icon { position: relative; display: block; width: auto; }
/* Heights balanced by eye so every symbol reads the same size in its circle */
.qrm-share__icon .qrm-icon--linkedin { height: 14px; }
.qrm-share__icon .qrm-icon--facebook { height: 16px; }
.qrm-share__icon .qrm-icon--link { height: 12px; }
.qrm-share__icon .qrm-icon--sms { height: 14px; }
.qrm-share__icon .qrm-icon--email { height: 12px; }
.qrm-share__icon.is-copied .qrm-ring__draw { stroke: var(--qrm-yellow); stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .qrm-ring__draw, .qrm-share__icon { transition-duration: .01s; } }
.qrm-share__subscribe {
	padding: 12px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	color: #2B2B2B;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .3s, border-color .3s;
}
.qrm-share__subscribe:hover, .qrm-share__subscribe:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }

/* Previous / next */
.qrm-post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; padding: 15px 0; }
.qrm-post-nav a { position: relative; display: block; max-width: calc(50% - 10px); text-decoration: none; }
.qrm-post-nav__next { margin-left: auto; text-align: right; }
/* Text lines up with "Share the word"; the arrow sits just outside the content edge */
.qrm-post-nav svg { position: absolute; top: 50%; width: 15px; height: 30px; margin-top: -15px; color: var(--qrm-light); transition: color .2s; }
.qrm-post-nav__prev svg { left: -27px; }
.qrm-post-nav__next svg { right: -27px; }
.qrm-post-nav__text { display: flex; flex-direction: column; gap: 2px; }
.qrm-post-nav__label { font-size: 14px; font-weight: 600; line-height: 18px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-post-nav__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 21px; color: #2B2B2B; text-wrap: pretty; }
.qrm-post-nav a:hover .qrm-post-nav__title { color: var(--qrm-crimson); }
.qrm-post-nav a:hover svg { color: var(--qrm-crimson); }

/* Sidebar cards */
.qrm-side-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.qrm-side-card > * { margin-block: 0; }
.qrm-post .qrm-side-card__title { font-size: 26px; font-weight: 700; line-height: 26px; color: #2B2B2B; text-wrap: balance; }
.qrm-side-card__more { margin: 0; }
.qrm-side-card__more a { font-size: 14px; font-weight: 500; line-height: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-baltic, #237DAB); text-decoration: none; }
.qrm-side-card__more a:hover { text-decoration: underline; }

/* Author card: one author = centered profile; several = compact rows */
.qrm-author { display: flex; flex-direction: column; align-items: center; text-align: center; }
.qrm-author__photo { width: 147px; height: 147px; border-radius: 50%; object-fit: cover; }
.qrm-author__initials {
	display: grid;
	place-items: center;
	background: var(--qrm-light);
	color: var(--qrm-navy);
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 1px;
}
.qrm-author-card.is-multi .qrm-author__initials { font-size: 22px; }
.qrm-author__text { display: flex; flex-direction: column; align-items: center; min-width: 0; }
/* Single author: live layout (147px photo, centered), cleaned-up type */
.qrm-author .qrm-author__name { margin: 12px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.25; color: #2B2B2B; }
.qrm-author .qrm-author__title {
	margin: 0;
	max-width: 230px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
	text-wrap: balance;
}
.qrm-author__links { display: flex; justify-content: center; gap: 10px; margin-top: 18px; padding-bottom: 6px; }

/* Co-written posts: compact rows — photo centered beside name / title / icons */
.qrm-author-card.is-multi .qrm-author { flex-direction: row; align-items: center; gap: 14px; text-align: left; padding: 4px 0; }
.qrm-author-card.is-multi .qrm-author + .qrm-author { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--qrm-light); }
.qrm-author-card.is-multi .qrm-author__photo { flex: 0 0 60px; width: 60px; height: 60px; }
.qrm-author-card.is-multi .qrm-author__initials { font-size: 20px; }
.qrm-author-card.is-multi .qrm-author__text { align-items: flex-start; gap: 0; }
.qrm-author-card.is-multi .qrm-author__name { margin: 0 0 3px; font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: .3px; }
.qrm-author-card.is-multi .qrm-author__title { font-size: 10.5px; font-weight: 600; line-height: 1.45; letter-spacing: 1px; text-wrap: pretty; }
.qrm-author-card.is-multi .qrm-author__links { justify-content: flex-start; gap: 6px; margin-top: 8px; padding-bottom: 0; }
.qrm-author-card.is-multi .qrm-share__icon { width: 28px; height: 28px; }
.qrm-author-card.is-multi .qrm-share__icon .qrm-icon { transform: scale(.82); }

/* Trending: thumbnail + title (max 3 lines) + date, divided rows */
.qrm-trending { margin: 0; padding: 0; list-style: none; text-align: left; }
.qrm-trending li + li { border-top: 1px solid var(--qrm-light); }
.qrm-trending a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; text-decoration: none; }
.qrm-trending li:first-child a { padding-top: 4px; }
.qrm-trending__img { flex: 0 0 84px; width: 84px; height: 63px; overflow: hidden; background: var(--qrm-light); }
.qrm-trending__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qrm-trending__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qrm-trending__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #2B2B2B;
	text-wrap: pretty;
	transition: color .2s;
}
.qrm-trending__date { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 1.5px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-trending a:hover .qrm-trending__title, .qrm-trending a:focus-visible .qrm-trending__title { color: var(--qrm-crimson); }
.qrm-trending a:hover .qrm-trending__img img { transform: scale(1.06); }

/* Content Type: full-width rows with count + arrow */
.qrm-types { margin: 0; padding: 0; list-style: none; text-align: left; }
.qrm-types li + li { border-top: 1px solid var(--qrm-light); }
.qrm-types a { display: flex; align-items: center; gap: 10px; padding: 11px 2px; text-decoration: none; color: #2B2B2B; }
.qrm-types__label { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.2; transition: color .2s; }
.qrm-types__count {
	min-width: 28px;
	padding: 3px 8px;
	border-radius: 50px;
	background: var(--qrm-light);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	color: #2B2B2B;
	transition: background-color .2s, color .2s;
}
.qrm-types .qrm-icon { flex: 0 0 8px; width: 8px; height: 14px; color: var(--qrm-crimson); transition: transform .2s; }
.qrm-types a:hover .qrm-types__label, .qrm-types a:focus-visible .qrm-types__label { color: var(--qrm-crimson); }
.qrm-types a:hover .qrm-types__count { background: var(--qrm-crimson); color: #fff; }
.qrm-types a:hover .qrm-icon { transform: translateX(3px); }

/* Tablet and phone: stack the article and the sidebar */
@media (max-width: 1024px) {
	.qrm-post { padding: 130px 19px 120px; }
	.qrm-post__layout { flex-direction: column; align-items: stretch; max-width: 748px; }
	.qrm-post__layout > .qrm-post__article,
	.qrm-post__layout > .qrm-post__sidebar { flex: 0 0 auto; margin: 10px; }
}
@media (max-width: 767px) {
	.qrm-post { padding: 130px 19px 80px; }
	.qrm-post__layout > .qrm-post__article,
	.qrm-post__layout > .qrm-post__sidebar { margin: 10px; }
	/* live: author/date line shrinks to fit one line on phones */
	.qrm-post-meta li:not(:last-child)::after { margin: 0 7px; }
	.qrm-post__body { padding: 30px 10px 10px; }
	/* Zack: keep body text at 16px on phones (live drops to 12.8px) */
	.qrm-post__content { font-size: 16px; }
	.qrm-post-nav a { max-width: calc(50% - 10px); }
	/* Long titles: 2 lines + "…" (live cuts them to 1 line at 12px) */
	.qrm-post-nav__title { font-size: 14px; line-height: 19px; }
	.qrm-post-nav__prev { padding-left: 18px; }
	.qrm-post-nav__next { padding-right: 18px; }
	.qrm-post-nav__prev svg { left: -4px; }
	.qrm-post-nav__next svg { right: -4px; }
}


/* =====================================================================
 * Webinar post (templates/single-webinar.html) — matches live "Single Post | Video"
 * Featured image as a 400px hero; author/date + title sit in a frosted box over it.
 * ("RESOURCE AVAILABLE" is part of the featured image itself, same as live.)
 * ===================================================================== */

.qrm-post .qrm-webinar__hero {
	min-height: 400px;
	margin: 0;
	padding: 0; /* padding lives on the inner container so badge sizes (cqw) use the full image width */
	align-items: flex-end;
}
.qrm-webinar__hero .wp-block-cover__image-background { object-position: 50% 0; }
.qrm-webinar__hero .wp-block-cover__inner-container { width: 100%; padding: 20px; }
.qrm-webinar__box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 80%;
	margin-left: 20px;
	padding: 20px;
	background: var(--qrm-glass-bg);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
}
.qrm-webinar__box > * { margin-block: 0; }
.qrm-post .qrm-webinar__box .qrm-post__title {
	margin: 0;
	padding-bottom: 20px;
	font-size: clamp(25.6px, calc(25.6px + 6.4 * (100vw - 375px) / 1065), 32px);
	line-height: 1;
	color: #fff;
}
.qrm-webinar .qrm-post__body { padding-top: 60px; }
.qrm-webinar .qrm-post__content { margin-top: 0; }

/* Tablet (live): 20px body padding */
@media (min-width: 768px) and (max-width: 1024px) {
	.qrm-webinar .qrm-post__body { padding: 80px 20px 20px; }
}
/* Phone: show the whole image (live crops it to a strip under the box), then the
   frosted box right below it, over a blurred copy of the same photo. */
@media (max-width: 767px) {
	.qrm-post .qrm-webinar__hero { display: block; min-height: 0; padding: 0; overflow: hidden; }
	.qrm-webinar__hero .wp-block-cover__image-background { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
	.qrm-webinar__hero .wp-block-cover__background { display: none; }
	.qrm-webinar__hero .wp-block-cover__inner-container { position: relative; overflow: hidden; padding: 0; }
	.qrm-webinar__hero .wp-block-cover__inner-container::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--qrm-hero, #2A4059) center bottom / cover;
		filter: blur(20px);
		transform: scale(1.3); /* hide the blur's soft edges */
	}
	.qrm-webinar__box {
		gap: 5px;
		width: auto;
		margin: 0;
		padding: 15px 20px 10px;
		background: var(--qrm-glass-bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.qrm-post .qrm-webinar__box .qrm-post__title { padding-bottom: 10px; }
	.qrm-webinar .qrm-post__body { padding-top: 40px; }
}

/* "Resource available" badge — real text in the spot where it used to be baked into the image.
   Sized as a share of the hero's width (cqw), so it scales exactly like the image did. */
.qrm-post .qrm-webinar__hero { container-type: inline-size; }
.qrm-resource-badge {
	position: absolute;
	top: 2.08cqw;
	right: 2.17cqw;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	gap: 2cqw;
	font-size: 4.805cqw;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .046em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--qrm-baltic, #237DAB);
	text-decoration: none;
	transition: color .2s;
}
.qrm-resource-badge svg { flex: 0 0 auto; width: 4.67cqw; height: 4.67cqw; margin-bottom: .69cqw; }
.qrm-resource-badge:hover,
.qrm-resource-badge:focus-visible { color: var(--qrm-navy, #2A4059); }
/* White fade across the top of the image so the blue text reads on any photo
   (measured from the old baked-in images: ~95% white at the top, gone by ~27% of the image height) */
.qrm-resource-fade {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	height: 15.2cqw; /* 27% of a 16:9 image */
	background: linear-gradient(to bottom, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8) 22%, rgba(255, 255, 255, .55) 44%, rgba(255, 255, 255, .3) 67%, rgba(255, 255, 255, 0));
	pointer-events: none;
}


/* =====================================================================
 * Archive pages (templates/archive.html) — matches live's "Archive" template
 * ===================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.qrm-archive {
	margin: 0;
	/* Side margins grow smoothly: 10px on phones → centered 1054px column on desktop */
	--qrm-gutter: clamp(10px, calc(8vw - 20px), 120px);
	--qrm-col: min(calc(1054px + var(--qrm-xl)), 100% - 2 * var(--qrm-gutter));
}
.qrm-archive > * { margin-block: 0; }

/* Shared: small crimson caps line above headings */
.qrm-kicker {
	margin: 0;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
}

/* Shared: outline pill button (yellow on dark, white on photos) */
.qrm-btn-outline .wp-block-button__link {
	padding: 12px 24px;
	border: 2px solid var(--qrm-yellow);
	border-radius: 50px 50px 0 50px;
	background: transparent;
	color: var(--qrm-yellow);
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: background-color .3s, color .3s;
}
.qrm-btn-outline .wp-block-button__link:hover,
.qrm-btn-outline .wp-block-button__link:focus-visible { background: var(--qrm-yellow); color: #2B2B2B; }
.qrm-btn-outline.is-white .wp-block-button__link { border-color: #fff; color: #fff; }
.qrm-btn-outline.is-white .wp-block-button__link:hover,
.qrm-btn-outline.is-white .wp-block-button__link:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; }

/* Hero: looping video under a 55% charcoal overlay (live), navy behind while it loads */
.qrm-archive .qrm-archive-hero {
	min-height: 450px;
	margin: 0;
	padding: 0;
	background: var(--qrm-navy);
	align-items: center;
}
.qrm-archive-hero .wp-block-cover__background { opacity: .55; }
.qrm-archive-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: var(--qrm-col);
	margin: 0 auto;
	padding: 10px 0;
	color: #fff;
}
.qrm-archive-hero .wp-block-cover__inner-container > * { margin: 0; }

/* "Our resources are ____" with the word changing every 2.5s */
.qrm-rotate {
	position: relative;
	top: -.297em; /* live: the widget box is shorter than its text, so the text sits ~19px above center */
	height: 1.3125em;
	margin: 0;
	font-size: clamp(32px, calc(32px + 32 * (100vw - 375px) / 1065), 64px);
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
	text-wrap: wrap;
}
.qrm-rotate__word {
	display: inline-block;
	clip-path: inset(0 0 -1px); /* clips the fade-up; overflow:hidden would break baseline alignment */
	vertical-align: baseline;
	/* live: underline starts 6px before the word */
	padding-left: .094em;
	border-bottom: clamp(3px, calc(3px + 4 * (100vw - 375px) / 1065), 7px) solid var(--qrm-yellow);
	line-height: 1.5;
	transition: width .4s ease;
}
.qrm-rotate__word > span { display: inline-block; }
/* live: a 16px-size space between "are" and the word (disappears when the word wraps) */
.qrm-rotate__sp { font-size: 16px; }
.qrm-rotate__word > span.is-in { animation: qrm-fade-in-up 1s both; }
@keyframes qrm-fade-in-up {
	from { opacity: 0; transform: translateY(100%); }
	to { opacity: 1; transform: none; }
}

/* Heading + content-type pills */
.qrm-archive__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: var(--qrm-col);
	margin: 50px auto 0;
	padding: 10px 0;
}
.qrm-archive__head > * { margin: 0; }
.qrm-archive .qrm-archive__title {
	margin: 0;
	font-size: clamp(30.4px, calc(30.4px + 20.8 * (100vw - 375px) / 1065), 51.2px);
	font-weight: 600;
	line-height: 1;
	color: #2B2B2B;
}
.qrm-pills ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}
/* Small filter tags (not buttons) */
.qrm-pills a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid #D5D5D5;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .5px;
	color: #2B2B2B;
	text-decoration: none;
	transition: border-color .3s, background-color .3s, color .3s;
}
.qrm-pills a:hover,
.qrm-pills a:focus-visible { border-color: var(--qrm-yellow); background: var(--qrm-yellow); color: #2B2B2B; }
.qrm-pills a.is-active { border-color: var(--qrm-crimson); background: var(--qrm-crimson); color: #fff; }
.qrm-archive-list { transition: opacity .2s; }
.qrm-archive-list.is-switching { opacity: .35; pointer-events: none; }

/* Post list: image left (live: 800px wide, 10% in from the heading) */
.qrm-archive-list {
	width: var(--qrm-col);
	margin: 30px auto 0;
}
.qrm-archive-list__items {
	display: flex;
	flex-direction: column;
	gap: 68px;
	width: 75.9%; /* live: 800px of 1054 */
	margin-left: 10%;
}
.qrm-card-post { display: flex; gap: 20px; align-items: flex-start; }
.qrm-card-post__img { position: relative; flex: 0 0 33%; display: block; overflow: hidden; line-height: 0; container-type: inline-size; } /* live: 264px of 800 */
.qrm-card-post__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* Podcast cards: the square show art sits in the same 16:9 frame as other cards,
   over a soft blurred copy of itself (no bars) */
.qrm-card-post.is-podcast .qrm-card-post__img { aspect-ratio: 16 / 9; background: #FFF6CC; }
.qrm-card-post__art-bg { position: absolute; inset: -30px; background: center / cover no-repeat; filter: blur(22px) saturate(1.15); opacity: .85; }
.qrm-card-post__img img.is-podcast-art { position: absolute; inset: 10% 0; width: auto; height: 80%; margin: 0 auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 18px rgba(43, 43, 43, .18); }
.qrm-card-post__text { flex: 1; min-width: 0; }
.qrm-card-post__text > * { margin: 0 0 10px; }
.qrm-card-post__title { font-size: 16px; font-weight: 700; line-height: 1.2; }
.qrm-card-post__title a { color: #2B2B2B; text-decoration: none; transition: color .2s; }
.qrm-card-post__title a:hover { color: var(--qrm-crimson); }
.qrm-card-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0;
	list-style: none;
	font-size: clamp(12.8px, calc(12.8px + 1.6 * (100vw - 375px) / 1065), 14.4px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
}
.qrm-card-post__meta li:not(:last-child)::after { content: "|"; margin: 0 .35em; }
.qrm-card-post__excerpt { font-size: 16px; line-height: 24px; color: #2B2B2B; }
.qrm-card-post__more {
	display: block;
	width: fit-content;
	margin: 16px 0 0; /* merges with the excerpt's 10px: 16px gap like live */
	font-size: 11.2px;
	font-weight: 500;
	line-height: 14px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--qrm-baltic, #237DAB);
	text-decoration: underline;
}
.qrm-card-post__more:hover { color: var(--qrm-crimson); }
.qrm-card-post.is-new { animation: qrm-fade-in-up-sm .5s both; }
@keyframes qrm-fade-in-up-sm { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.qrm-load-more {
	display: block;
	width: fit-content;
	margin: 50px auto 0;
	padding: 12px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2B2B2B;
	text-decoration: none;
	transition: background-color .3s, border-color .3s, color .3s;
}
.qrm-load-more:hover, .qrm-load-more:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; }
.qrm-load-more.is-loading { opacity: .5; pointer-events: none; }
.qrm-archive-list__empty { margin-left: 10%; }

/* "Subscribe for More": photo with a frosted box on the right */
.qrm-archive .qrm-archive-cta {
	min-height: clamp(330px, calc(330px + 170 * (100vw - 375px) / 1065), 500px);
	margin: 110px 0 0;
	padding: 50px 0 calc(50px + var(--qrm-curve-h)); /* bottom of the photo sits under the footer curve */
	align-items: flex-start;
}
.qrm-archive-cta .wp-block-cover__inner-container {
	display: flex;
	justify-content: flex-end;
	width: min(1068px, 100% - 2 * var(--qrm-gutter) + 14px);
	margin: 0 auto;
}
.qrm-archive-cta__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 10px;
	width: min(600px, 100%);
	min-height: clamp(150px, calc(150px + 150 * (100vw - 375px) / 1065), 300px);
	padding: clamp(15px, calc(15px + 35 * (100vw - 375px) / 1065), 50px);
	box-sizing: border-box;
	background: var(--qrm-glass-bg);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
	text-align: right;
}
.qrm-archive-cta__box > * { margin: 0; }
.qrm-archive-cta__box h2 {
	font-size: clamp(28px, calc(28px + 23.2 * (100vw - 375px) / 1065), 51.2px);
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

/* Phone: image on top, full-width cards (live switches to a separate list) */
@media (max-width: 767px) {
	.qrm-archive__head { margin-top: 50px; }
	.qrm-archive-list__items { gap: 30px; max-width: none; width: 90%; margin: 0 auto; }
	.qrm-card-post { flex-direction: column; gap: 20px; }
	.qrm-card-post__img { flex: 0 0 auto; width: 100%; }
	.qrm-card-post__title { font-size: 23.04px; font-weight: 600; line-height: 1.2; } /* live phone */
	.qrm-load-more { margin-top: 36px; }
	.qrm-archive-cta .wp-block-cover__inner-container { width: 90%; }
	.qrm-archive-cta__box { width: 100%; }
	.qrm-btn-outline .wp-block-button__link { padding: 10.24px; }
	/* live phone: two-line headline in a 59px box; text sits ~20px above it */
	.qrm-rotate { height: 2.47em; top: -.64em; }
	/* Pills: All / Blog / Presentation, then Podcast / Resource on a second line */
	.qrm-pills li { order: 0; }
	.qrm-pills li:nth-child(n+4) { order: 2; }
	.qrm-pills ul::after { content: ""; order: 1; flex-basis: 100%; height: 0; margin-top: -8px; }
}
@media (prefers-reduced-motion: reduce) {
	.qrm-rotate__word > span.is-in, .qrm-card-post.is-new { animation: none; }
}


/* =====================================================================
 * Podcast episode (templates/single-podcast.html) — matches live "Single Post | Podcast"
 * No featured image; the player (qrm-site includes/podcast.php) sits above the episode text.
 * ===================================================================== */

.qrm-episode .qrm-post__body { padding-top: clamp(40px, calc(50px - 10 * (100vw - 375px) / 1065), 50px); } /* live: 50px on phones, 40px on desktop */
/* Share the word (left) + Subscribe to the Podcast (right), one row under the divider */
.qrm-share-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 40px; }
.qrm-share-row > * { margin-block: 0; }
.qrm-share-row .qrm-share__subscribe { display: none; } /* the podcast links replace the newsletter button here */
.qrm-podcast-sub { display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
.qrm-post .qrm-podcast-sub__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: right;
	color: var(--qrm-crimson);
}
.qrm-podcast-sub .qrm-share__icons { margin-top: 10px; }
@media (max-width: 480px) {
	.qrm-share-row { flex-direction: column; }
	.qrm-podcast-sub { align-items: flex-start; }
	.qrm-post .qrm-podcast-sub__title { text-align: left; }
}

/* Podcast player (qrm-site includes/podcast.php): light card (Zack picked option "B", 2026-11-20).
   White card, square art, crimson label, navy title, yellow play button, crimson progress. */
.qrm-player {
	display: grid;
	grid-template-columns: clamp(72px, calc(72px + 40 * var(--qrm-fl)), 112px) minmax(0, 1fr);
	grid-template-areas: "art head" "art controls" "art row";
	align-items: center;
	gap: 10px clamp(12px, calc(12px + 6 * var(--qrm-fl)), 18px);
	margin: 0 0 24px;
	padding: 14px;
	border: 1px solid #E6E6E6;
	border-radius: 12px;
	background: #fff;
	color: #2B2B2B;
	font-family: inherit;
}
.qrm-player__art { grid-area: art; align-self: center; }
.qrm-player__art img { display: block; width: clamp(72px, calc(72px + 40 * var(--qrm-fl)), 112px); height: auto; aspect-ratio: 1; max-width: none; margin: 0; border-radius: 8px; object-fit: cover; }
.qrm-player__head { grid-area: head; min-width: 0; }
.qrm-player__show { font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-player__title { margin-top: 3px; font-size: clamp(16px, calc(16px + 2 * var(--qrm-fl)), 18px); font-weight: 700; line-height: 1.25; color: var(--qrm-navy); text-wrap: pretty; }
.qrm-player__controls { grid-area: controls; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.qrm-player button { margin: 0; padding: 0; border: 0; background: none; color: var(--qrm-navy); font: inherit; line-height: 1; cursor: pointer; }
.qrm-player button:focus-visible, .qrm-player__bar:focus-visible, .qrm-player__dl:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 2px; }
.qrm-player .qrm-player__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--qrm-yellow); color: var(--qrm-navy); transition: transform .15s; }
.qrm-player .qrm-player__play:hover { transform: scale(1.06); }
.qrm-player__i { display: block; flex: none; }
.qrm-player__play .qrm-player__i { width: 22px; height: 22px; }
.qrm-player__i--play { margin-left: 2px; }
.qrm-player__i--pause, .qrm-player.is-playing .qrm-player__i--play,
.qrm-player__i--mute, .qrm-player.is-muted .qrm-player__i--vol { display: none; }
.qrm-player.is-playing .qrm-player__i--pause, .qrm-player.is-muted .qrm-player__i--mute { display: block; }
.qrm-player.is-loading .qrm-player__play { animation: qrm-player-wait 1s ease-in-out infinite alternate; }
@keyframes qrm-player-wait { to { opacity: .55; } }
.qrm-player__bar { position: relative; height: 4px; border-radius: 4px; background: #E9E9E9; cursor: pointer; }
.qrm-player__bar::before { content: ""; position: absolute; inset: -10px 0; } /* bigger tap area */
.qrm-player__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--qrm-crimson); }
.qrm-player__time { font-size: 12px; line-height: 1; white-space: nowrap; color: #5A5A5A; font-variant-numeric: tabular-nums; }
.qrm-player__row { grid-area: row; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qrm-player__btns { display: flex; align-items: center; gap: 6px; }
.qrm-player .qrm-player__btn, .qrm-player .qrm-player__speed {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px;
	height: 30px; min-width: 30px; padding: 0 9px; border-radius: 15px;
	background: #F2F3F5; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
	transition: background-color .15s;
}
.qrm-player .qrm-player__btn:hover, .qrm-player .qrm-player__speed:hover { background: #E4E7EB; }
.qrm-player__btn .qrm-player__i { width: 16px; height: 16px; }
.qrm-player .qrm-player__mute { padding: 0; width: 30px; }
.qrm-player__mute .qrm-player__i { width: 18px; height: 18px; }
.qrm-player .qrm-player__speed { min-width: 40px; }
.qrm-player__dl { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--qrm-crimson); text-decoration: none; }
.qrm-player__dl:hover { text-decoration: underline; }
.qrm-player__dl .qrm-player__i { width: 16px; height: 16px; }
/* Phone: art and title on top, controls full width underneath */
@media (max-width: 600px) {
	.qrm-player { grid-template-areas: "art head" "controls controls" "row row"; row-gap: 12px; }
	.qrm-player__show { font-size: 11px; letter-spacing: 1.5px; }
}
.qrm-share__icon .qrm-icon--apple-podcasts { height: 16px; }
.qrm-share__icon .qrm-icon--spotify { height: 16px; }
.qrm-share__icon .qrm-icon--iheart { height: 12px; }
.qrm-post .qrm-episode .qrm-post__title {
	padding-bottom: clamp(10px, calc(10px + 10 * (100vw - 375px) / 1065), 20px);
	font-size: clamp(25.6px, calc(25.6px + 6.4 * (100vw - 375px) / 1065), 32px);
}


/* =====================================================================
 * Homepage (pattern "QRM Homepage") — close to live at 1440 / 375, fluid in between,
 * and the column keeps growing on wider screens (Zack, 2026-11-18: more room, less tight).
 * ===================================================================== */

.qrm-home-hero, .qrm-home-sec {
	--qrm-gutter: clamp(24px, calc(8vw - 20px), 143px);
	--qrm-colw: calc(1140px + var(--qrm-xl)); /* 1140px at 1440 → 1476px at 1920 */
	--qrm-col: min(var(--qrm-colw), 100% - 2 * var(--qrm-gutter));
	/* Side padding that centers the column inside a full-width section (50% is of the page column,
	   so add back the page's own side padding). */
	--qrm-pad-x: max(var(--qrm-gutter), calc(50% + var(--wp--style--root--padding-left, 0px) - var(--qrm-colw) / 2));
	--qrm-pad-y: calc(clamp(64px, calc(64px + 56 * var(--qrm-fl)), 120px) + 20 * var(--qrm-xfl));
	/* Room between the cards and the screen edge, where the carousel arrows sit */
	--qrm-side: max(var(--qrm-gutter), (100vw - var(--qrm-colw)) / 2);
}
.wp-site-blocks > .qrm-home-sec, .qrm-page > .qrm-home-sec, .qrm-home-sec { margin-block: 0; }
.qrm-home-h2 {
	margin: 14px 0 0;
	font-size: calc(clamp(36.8px, calc(36.8px + 14.4 * var(--qrm-fl)), 51.2px) + 8.8 * var(--qrm-xfl));
	font-weight: 600;
	line-height: 1.05;
	color: #2B2B2B;
}
.qrm-home-sec .qrm-kicker { margin: 0; }
.qrm-home-sec p { margin: 0; }
.qrm-home-about__text > p:not(.qrm-kicker), .qrm-home-purpose__text > p:not(.qrm-kicker) { font-size: 16px; line-height: 1.6; color: #2B2B2B; }
.qrm-btn-outline.is-dark .wp-block-button__link { border-color: #2B2B2B; color: #2B2B2B; }
.qrm-btn-outline.is-dark .wp-block-button__link:hover,
.qrm-btn-outline.is-dark .wp-block-button__link:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; } /* no dark outline on hover (Zack) */

/* 1. Hero: video under an 80% navy overlay; headline + yellow rotating phrase */
.qrm-page .qrm-home-hero, .qrm-home-hero {
	min-height: calc(clamp(600px, calc(600px + 120 * var(--qrm-fl)), 720px) + 80 * var(--qrm-xfl));
	margin-block: 0;
	padding: 0;
	background: var(--qrm-navy);
	align-items: center;
}
.qrm-home-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(24px, calc(24px + 8 * var(--qrm-fl)), 32px);
	width: var(--qrm-col);
	margin: 0 auto;
	padding: 90px 0 clamp(20px, calc(20px + 55 * var(--qrm-fl)), 75px); /* 90px clears the header */
}
.qrm-home-hero .wp-block-cover__inner-container > * { margin: 0; }
.qrm-rotate--stacked {
	top: 0;
	height: auto;
	font-size: calc(clamp(31px, calc(31px + 41 * var(--qrm-fl)), 72px) + 12 * var(--qrm-xfl));
	line-height: 1.05;
	letter-spacing: 1px;
}
.qrm-home-hero .qrm-btn-outline .wp-block-button__link,
.qrm-home-sec .qrm-btn-outline .wp-block-button__link { padding: 12px 24px !important; }
.qrm-rotate--stacked .qrm-rotate__prefix { display: block; }
.qrm-rotate--stacked .qrm-rotate__sp { display: none; }
.qrm-rotate--stacked .qrm-rotate__word {
	display: block;
	margin-top: 0;
	padding: 0;
	border: 0;
	line-height: 1.05;
	letter-spacing: 0;
	color: var(--qrm-yellow);
	clip-path: inset(-10% 0);
	transition: height .5s ease; /* site.js: glides between one and two lines */
	text-wrap: balance;
}
/* Tablet and up: the yellow phrase is never wider than the white lines (site.js measures them).
   Phones use the full width (Zack, 2026-11-18). */
@media (min-width: 768px) {
	.qrm-rotate--stacked .qrm-rotate__word { max-width: var(--qrm-prefix-w, none); }
}
/* Phones: the white lines flow freely (no forced break) so they fit on 3 lines instead of 4 */
@media (max-width: 480px) {
	.qrm-rotate--stacked .qrm-rotate__prefix br { display: none; }
	.qrm-rotate--stacked .qrm-rotate__prefix { text-wrap: balance; }
}
/* Smallest phones (under 375px): ease the headline down to 27px at 320px so it still fits on 3 lines */
@media (max-width: 374px) {
	.qrm-rotate--stacked { font-size: clamp(27px, calc(27px + 4 * (100vw - 320px) / 55), 31px); }
}

/* 2. What We Do: text left, photo right */
.qrm-home-about {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(40px, calc(40px + 40 * var(--qrm-fl)), 80px);
	padding: var(--qrm-pad-y) var(--qrm-pad-x);
	background: rgba(42, 64, 89, .02);
}
.qrm-home-about > *, .qrm-home-purpose > * { margin-block: 0; } /* columns: no default block gap */
.qrm-home-about__text { flex: 0 1 56%; }
.qrm-home-about__text > p:not(.qrm-kicker) { max-width: 38em; margin-top: clamp(16px, calc(16px + 12 * var(--qrm-fl)), 28px); }
.qrm-home-about__img { flex: 0 1 37.8%; margin: 0; }
.qrm-home-about__img img { display: block; width: 100%; aspect-ratio: 431 / 575; height: auto; object-fit: cover; }

/* 3. Purpose: Freda's photo + award badge + frosted quote card; text right-aligned on the right */
.qrm-home-purpose {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(40px, calc(40px + 40 * var(--qrm-fl)), 80px);
	padding: var(--qrm-pad-y) var(--qrm-pad-x);
	background: #fff;
}
.qrm-home-purpose__media { position: relative; flex: 0 1 42%; min-width: 0; }
.qrm-home-purpose__photo { width: 88.7%; margin: 0; }
.qrm-home-purpose__photo img { display: block; width: 100%; aspect-ratio: 425 / 570; height: auto; object-fit: cover; }
.qrm-home-purpose__badge { position: absolute; top: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); left: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); width: clamp(75px, calc(75px + 25 * var(--qrm-fl)), 100px); margin: 0; }
.qrm-home-purpose__badge img { display: block; width: 100%; height: auto; }
.qrm-home-quote {
	position: relative;
	z-index: 2;
	width: 99%;
	margin: -120px 0 0 2%;
	box-sizing: border-box;
	padding: 50px 50px 40px;
	border-radius: 150px 150px 0 150px;
	background: var(--qrm-glass-light);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
	box-shadow: 0 0 100px 2px rgba(42, 64, 89, .25);
}
.qrm-home-quote__text { font-size: 16px; line-height: 1.45; color: #2B2B2B; }
.qrm-home-quote .qrm-signature-block { width: 113px; height: 0; margin: 24px 0 0 auto; } /* the signature overflows a 0-height box */
.qrm-home-quote .qrm-signature { display: block; width: 98px; height: 58px; overflow: visible; transform: translate(-25px, -20px); }
/* Draws itself once in view (live: 89 frames at 2x speed ≈ 1.5s) */
.qrm-signature path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s cubic-bezier(.167, .167, .833, .833); }
.qrm-signature-block.is-drawn path { stroke-dashoffset: 0; }
/* site.js places the signature right where the quote ends (on its last line, or just under it) */
.qrm-home-quote.qrm-sig-placed .qrm-signature-block { width: auto !important; margin: 0 !important; }
.qrm-home-quote.qrm-sig-placed .qrm-signature { position: absolute; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .qrm-signature path { stroke-dashoffset: 0; transition: none; } }
.qrm-home-purpose__text { flex: 0 1 52%; padding-top: 75px; text-align: right; }
.qrm-home-purpose__text .qrm-home-h2 { margin: 14px 0 0 auto; max-width: 10.5em; }
.qrm-home-purpose__text > p:not(.qrm-kicker) { max-width: 40em; margin: clamp(16px, calc(16px + 12 * var(--qrm-fl)), 28px) 0 0 auto; }
.qrm-home-purpose__text .wp-block-buttons { justify-content: flex-end; margin-top: 40px; }

/* Tablets and small laptops: stack it — photo + quote card, then the text */
@media (max-width: 1024px) {
	.qrm-home-purpose { flex-direction: column; align-items: stretch; gap: 48px; }
	.qrm-home-purpose__media { flex: 0 0 auto; width: min(100%, 520px); }
	.qrm-home-purpose__text { flex: 0 0 auto; padding-top: 0; text-align: left; }
	.qrm-home-purpose__text .qrm-home-h2 { margin-left: 0; max-width: none; }
	.qrm-home-purpose__text > p:not(.qrm-kicker) { margin-left: 0; }
	.qrm-home-purpose__text .wp-block-buttons { justify-content: flex-start; margin-top: 32px; }
	.qrm-home-quote { margin-top: -90px; }
}

/* 4. Solutions: carousel of image cards; hover tints them Baltic and zooms the photo */
.qrm-home-solutions {
	padding: var(--qrm-pad-y) var(--qrm-pad-x);
	background: rgba(42, 64, 89, .02);
}
.qrm-home-solutions .qrm-carousel { margin: clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px) 0 0; }
.qrm-flip {
	min-height: 0 !important;
	height: calc(clamp(300px, calc(300px + 40 * var(--qrm-fl)), 340px) + 60 * var(--qrm-xfl));
	margin: 0;
	padding: 0;
	overflow: hidden;
}
/* Zooming the photo inside the card (instead of growing the card) keeps the other cards still */
.qrm-flip .wp-block-cover__image-background { transition: transform .5s ease; }
.qrm-flip:hover .wp-block-cover__image-background,
.qrm-flip:focus-within .wp-block-cover__image-background { transform: scale(1.1); }
.qrm-flip .wp-block-cover__background { transition: background-color .6s; opacity: .5; }
.qrm-flip:hover .wp-block-cover__background,
.qrm-flip:focus-within .wp-block-cover__background { background-color: #237DAB !important; }
.qrm-flip .wp-block-cover__inner-container { position: static; width: 100%; padding: 0 24px; text-align: center; }
.qrm-flip__title { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; }
.qrm-flip__title a { color: #fff; text-decoration: none; }
.qrm-flip__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card is the link */

/* Carousel (built by site.js from any group with class qrm-carousel) */
.qrm-carousel { position: relative; }
.qrm-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--qrm-per, 3) - 1) * var(--qrm-gap, 20px)) / var(--qrm-per, 3));
	column-gap: var(--qrm-gap, 20px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.qrm-carousel__track::-webkit-scrollbar { display: none; }
.qrm-carousel__track:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 4px; }
.qrm-carousel__slide { scroll-snap-align: start; min-width: 0; }
@media (pointer: fine) { .qrm-carousel__track { cursor: grab; } }
.qrm-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.qrm-carousel__track.is-jumping { scroll-snap-type: none; scroll-behavior: auto; }
.qrm-carousel__track.is-dragging a { pointer-events: none; }
.qrm-carousel--3 { --qrm-per: 3; --qrm-gap: clamp(16px, calc(16px + 8 * var(--qrm-fl)), 24px); }
.qrm-carousel--2 { --qrm-per: 2; --qrm-gap: clamp(16px, calc(16px + 8 * var(--qrm-fl)), 24px); }
/* Arrows: the same on every carousel, centered in the space outside the cards */
.qrm-carousel__btn {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #2B2B2B;
	cursor: pointer;
	transition: color .3s, background-color .3s;
}
.qrm-carousel__btn svg { width: 26px; height: 26px; }
.qrm-carousel__btn:hover, .qrm-carousel__btn:focus-visible { background: var(--qrm-yellow); color: #2B2B2B; }
/* Centered in the side margin, but never closer than 24px to the cards (Zack: consistent everywhere).
   Below 1200px wide there isn't room beside the cards, so they sit under them (see below). */
.qrm-carousel__btn--prev { left: calc(-1 * max(min(var(--qrm-side), 140px) / 2, 44px)); translate: -50% 0; }
.qrm-carousel__btn--next { right: calc(-1 * max(min(var(--qrm-side), 140px) / 2, 44px)); translate: 50% 0; }

/* 5. Partners: logos scroll continuously (live: ~63px a second), pause on hover */
.qrm-home-partners {
	padding: clamp(48px, calc(48px + 32 * var(--qrm-fl)), 80px) 0 clamp(56px, calc(56px + 34 * var(--qrm-fl)), 90px);
	background: rgba(42, 64, 89, .02);
	overflow: hidden;
}
.qrm-home-partners .qrm-home-h2 { margin: 0 auto; padding: 0 var(--qrm-gutter); }
.qrm-marquee { width: var(--qrm-col); margin: clamp(28px, calc(28px + 12 * var(--qrm-fl)), 40px) auto 0; overflow: hidden; }
.qrm-marquee__logo a { display: block; }
.qrm-marquee__row { display: flex; gap: clamp(50px, calc(50px + 70 * var(--qrm-fl)), 120px); width: max-content; animation: qrm-marquee calc(var(--qrm-marquee-count, 5) * 5s) linear infinite; }
.qrm-marquee:hover .qrm-marquee__row, .qrm-marquee:focus-within .qrm-marquee__row { animation-play-state: paused; }
.qrm-marquee.is-static .qrm-marquee__row { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
@keyframes qrm-marquee { to { transform: translateX(calc(-50% - clamp(50px, calc(50px + 70 * var(--qrm-fl)), 120px) / 2)); } }
.qrm-marquee__logo { flex: 0 0 auto; width: clamp(144px, calc(144px + 51 * var(--qrm-fl)), 195px); margin: 0; }
.qrm-marquee__logo img { display: block; width: 100%; height: 52px; object-fit: contain; }

/* 6. Testimonials: photo behind, frosted cards; two at a time (three on very wide screens) */
.qrm-page .qrm-home-testimonials, .qrm-home-testimonials {
	min-height: 0;
	/* bottom: the photo runs under the footer curve */
	padding: var(--qrm-pad-y) 0 calc(clamp(64px, calc(64px + 56 * var(--qrm-fl)), 120px) + var(--qrm-curve-h));
	background: var(--qrm-navy);
	align-items: flex-start;
}
.qrm-home-testimonials .wp-block-cover__inner-container { width: var(--qrm-col); margin: 0 auto; }
.qrm-home-testimonials .qrm-home-h2 { color: #fff; }
.qrm-home-testimonials .qrm-carousel { margin-top: clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px); }
.qrm-home-testimonials .qrm-carousel__btn { color: #fff; }
.qrm-home-testimonials .qrm-carousel__btn:hover,
.qrm-home-testimonials .qrm-carousel__btn:focus-visible { color: #2B2B2B; }
.qrm-testimonial {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: clamp(380px, calc(380px + 100 * var(--qrm-fl)), 480px);
	padding: clamp(28px, calc(28px + 16 * var(--qrm-fl)), 44px);
	box-sizing: border-box;
	background: var(--qrm-glass-bg);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
	color: #fff;
}
.qrm-testimonial > * { margin: 0; }
.qrm-testimonial__quote { font-size: clamp(16px, calc(16px + 2 * var(--qrm-fl)), 18px); line-height: 1.45; }
.qrm-testimonial__name, .qrm-testimonial__role, .qrm-testimonial__org { text-align: right; letter-spacing: 2px; text-transform: uppercase; }
.qrm-testimonial__name { margin-top: 24px !important; font-size: 16px; font-weight: 500; line-height: 1.2; }
.qrm-testimonial__role { margin-top: 4px !important; font-size: 16px; font-weight: 500; line-height: 1.2; }
.qrm-testimonial__org { margin-top: 4px !important; font-size: 14px; font-weight: 700; line-height: 1.3; }
.qrm-testimonial__value { width: 100px; margin: auto 0 0 !important; padding-top: 30px; }
.qrm-testimonial__value img { display: block; width: 100%; height: auto; transition: transform .3s; }
.qrm-testimonial__value img:hover { transform: scale(1.1); }
@media (min-width: 1680px) {
	.qrm-carousel--2 { --qrm-per: 3; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.qrm-carousel--3 { --qrm-per: 2; }
}

/* Phone: one column, one card at a time, arrows under the cards */
@media (max-width: 767px) {
	.qrm-home-about { flex-direction: column-reverse; align-items: stretch; gap: 32px; } /* photo first on phones (live) */
	.qrm-home-about__img, .qrm-home-about__text { flex: 0 0 auto; }
	.qrm-home-purpose__media { width: 100%; }
	.qrm-home-purpose__photo { width: 100%; }
	.qrm-home-purpose__photo img { aspect-ratio: 338 / 400; }
	/* Quote card: same width as the photo, even padding, signature inside the card */
	.qrm-home-quote { width: auto; margin: -64px 0 0; padding: 32px 26px 26px; border-radius: 64px 64px 0 64px; }
	.qrm-home-quote .qrm-signature-block { width: 98px; height: 58px; margin: 14px 0 0 auto; }
	.qrm-home-quote .qrm-signature { transform: none; }
	.qrm-carousel--3, .qrm-carousel--2 { --qrm-per: 1; }
	/* Arrows go up beside the section heading, so short cards don't push them around */
	.qrm-carousel__btn { top: -64px; margin-top: 0; translate: none; }
	.qrm-carousel__btn--prev { left: auto; right: 44px; }
	.qrm-carousel__btn--next { right: -8px; }
	.qrm-carousel__btn:hover { background: none; } /* no sticky hover on touch */
	/* Each testimonial is as tall as its own quote (not the longest one) */
	.qrm-home-testimonials .qrm-carousel__track { align-items: start; }
	.qrm-testimonial { min-height: 0; height: auto; padding: 28px 24px 24px; }
	.qrm-testimonial__name { margin-top: 20px !important; }
	.qrm-testimonial__value { width: 72px; padding-top: 20px; margin: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	.qrm-flip .wp-block-cover__image-background, .qrm-flip .wp-block-cover__background, .qrm-rotate--stacked .qrm-rotate__word { transition: none; }
}

/* =====================================================================
 * Page not found (templates/404.html)
 * ===================================================================== */
.qrm-404 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	width: min(calc(1140px + var(--qrm-xl)), 100% - 2 * clamp(24px, calc(8vw - 20px), 143px));
	margin: 0 auto;
	padding: clamp(150px, calc(150px + 60 * var(--qrm-fl)), 210px) 0 clamp(60px, calc(60px + 60 * var(--qrm-fl)), 120px);
}
.qrm-404 > * { margin: 0; }
.qrm-404 .qrm-404__title { font-size: clamp(36.8px, calc(36.8px + 14.4 * var(--qrm-fl)), 51.2px); font-weight: 600; line-height: 1.05; color: #2B2B2B; }
.qrm-404 > p:not(.qrm-kicker) { font-size: 16px; line-height: 1.6; color: #2B2B2B; }
.qrm-404 .wp-block-buttons { gap: 14px; margin-top: 10px; }
.qrm-404 .qrm-btn-outline .wp-block-button__link { padding: 12px 24px; }

/* =====================================================================
 * Entrance animation: site.js adds .qrm-reveal to page content, then .is-revealed as each piece
 * scrolls into view (fades up 24px). Nothing is hidden without JavaScript or with reduced motion.
 * ===================================================================== */
.qrm-reveal { opacity: 0; }
.qrm-reveal.is-revealed { animation: qrm-reveal .8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes qrm-reveal { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }


/* =====================================================================
 * About page (pattern "QRM About Page") — close to live at 1440 / 375, fluid in between.
 * Reusable pieces: .qrm-sec (section column), .qrm-h2, .qrm-tabs, .qrm-fade, .qrm-dialog.
 * ===================================================================== */

/* Section column: 1140px at 1440 (live), grows on wider screens; 24px side margins on phones */
.qrm-sec {
	--qrm-gutter: clamp(19px, calc(8vw - 20px), 143px);
	--qrm-colw: calc(1140px + var(--qrm-xl));
	--qrm-col: min(var(--qrm-colw), 100% - 2 * var(--qrm-gutter));
	--qrm-pad-x: max(var(--qrm-gutter), (100% - var(--qrm-colw)) / 2);
	--qrm-side: max(var(--qrm-gutter), (100vw - var(--qrm-colw)) / 2);
	margin-block: 0;
	box-sizing: border-box;
}
/* Directly on a page (not inside tabs): the page column has the site's side padding, so add it back */
.qrm-page > .qrm-sec {
	--qrm-pad-x: max(var(--qrm-gutter), calc(50% + var(--wp--style--root--padding-left, 0px) - var(--qrm-colw) / 2));
}
.qrm-sec p { margin: 0; }
.qrm-h2 {
	margin: 0;
	font-size: calc(clamp(30.4px, calc(30.4px + 20.8 * var(--qrm-fl)), 51.2px) + 8.8 * var(--qrm-xfl));
	font-weight: 600;
	line-height: 1.05;
	color: #2B2B2B;
}
.qrm-sec p:not(.qrm-kicker) { font-size: 16px; line-height: 1.6; color: #2B2B2B; }

/* Tabs: the button bar is built by site.js */
.qrm-tabs { margin-block: 0; }
.qrm-tab[hidden] { display: none !important; }
.qrm-tab { margin: 0; }
.qrm-tab > * { margin-block: 0; }
.qrm-tab.is-entering { animation: qrm-tab-in .5s ease both; }
@keyframes qrm-tab-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.qrm-tabs > .qrm-tabs__bar {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	/* buttons sit half on the hero, half on the page (Zack): pull up by half their height */
	--qrm-tab-pad: clamp(20px, calc(20px + 10 * var(--qrm-fl)), 30px);
	--qrm-tab-font: clamp(12.8px, calc(12.8px + 3.2 * var(--qrm-fl)), 16px);
	margin: calc(-1 * (var(--qrm-tab-pad) + var(--qrm-tab-font) / 2)) auto 75px;
	/* soft shadow around both buttons so the white one doesn't melt into the page (Zack) */
	filter: drop-shadow(0 clamp(3px, calc(3px + 5 * var(--qrm-fl)), 8px) clamp(8px, calc(8px + 12 * var(--qrm-fl)), 20px) rgba(42, 64, 89, .18)) drop-shadow(0 1px 3px rgba(42, 64, 89, .1));
}
.qrm-tabs__btn {
	padding: var(--qrm-tab-pad);
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: var(--qrm-tab-font);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .5s, color .5s;
}
.qrm-tabs__btn[aria-selected="true"] { background: var(--qrm-baltic); color: #fff; }
.qrm-tabs__btn:not([aria-selected="true"]):hover { color: var(--qrm-baltic); }
.qrm-tabs__btn:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 2px; }
/* Phones: three tabs fit on one row (Students / Clinicians / Partnerships were 422px in 343px) */
@media (max-width: 480px) {
	.qrm-tabs > .qrm-tabs__bar { max-width: calc(100vw - 32px); }
	.qrm-tabs__btn { padding-inline: 10px; letter-spacing: .5px; }
}

/* Slideshows: images stacked in one spot, cross-fading (site.js) */
.qrm-fade { display: grid; margin: 0; }
.qrm-fade > * { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .5s ease; }
.qrm-fade > .is-on, .qrm-fade:not(.is-ready) > :first-child { opacity: 1; }
.qrm-fade img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Pop-ups (site.js turns .qrm-dialog groups into <dialog>s) */
.qrm-dialog { display: none; }
dialog .qrm-dialog { display: block; }
dialog.qrm-modal { margin: auto !important; } /* centered (layout rules elsewhere zero child margins) */
.qrm-modal {
	position: fixed;
	width: min(800px, calc(100vw - 32px));
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	overflow: auto;
	background: #fff;
	color: #2B2B2B;
	overscroll-behavior: contain;
}
.qrm-modal::backdrop { background: rgba(42, 64, 89, .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.qrm-modal[open] { animation: qrm-modal-in .3s ease both; }
@keyframes qrm-modal-in { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qrm-modal[open], .qrm-tab.is-entering { animation: none; } }
.qrm-modal__close {
	/* stays in the corner while a long bio scrolls */
	position: sticky;
	top: 12px;
	z-index: 1;
	display: grid;
	margin: 12px 12px -52px auto;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #2B2B2B;
	cursor: pointer;
	transition: background-color .3s;
}
.qrm-modal__close svg { width: 20px; height: 20px; }
.qrm-modal__close:hover, .qrm-modal__close:focus-visible { background: var(--qrm-yellow); }

/* 1. Hero: team photos fading under a 55% charcoal tint; "About our ____" */
.qrm-page .qrm-about-hero, .qrm-about-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(340px, calc(340px + 110 * var(--qrm-fl)), 450px); /* shorter on phones (Zack) */
	margin-block: 0;
	padding: clamp(80px, calc(80px + 10 * var(--qrm-fl)), 90px) 0 clamp(40px, calc(40px + 20 * var(--qrm-fl)), 60px);
	box-sizing: border-box;
	overflow: hidden;
	background: var(--qrm-navy);
}
.qrm-about-hero > .qrm-about-hero__bg, .qrm-about-hero > .qrm-about-hero__phone { position: absolute; inset: 0; margin: 0; }
.qrm-about-hero__phone { display: none; }
.qrm-about-hero__phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qrm-about-hero::after { content: ""; position: absolute; inset: 0; background: rgba(43, 43, 43, .55); pointer-events: none; }
.qrm-about-hero .qrm-rotate {
	position: relative;
	z-index: 1;
	top: 0;
	width: min(calc(1069px + var(--qrm-xl)), 100% - 2 * clamp(19px, calc(8vw - 20px), 186px));
	margin: 0 auto;
}
.qrm-about-hero .qrm-rotate__word { border-bottom-width: clamp(3px, calc(3px + 2 * var(--qrm-fl)), 5px); }
@media (max-width: 767px) {
	.qrm-about-hero__bg { display: none !important; }
	.qrm-about-hero__phone { display: block; }
}

/* 2 + 5. Photo on the left, text on the right (Our Purpose, Our Values) */
.qrm-split {
	display: flex;
	align-items: center;
	padding: var(--qrm-split-top, 75px) var(--qrm-pad-x) var(--qrm-split-bottom, 50px);
}
.qrm-split > * { margin-block: 0; }
.qrm-split__media { flex: 0 0 var(--qrm-media-w, 40%); aspect-ratio: var(--qrm-media-ratio, 456 / 413); overflow: hidden; }
.qrm-split__text {
	display: flex;
	flex-direction: column;
	gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px);
	flex: 1 1 0;
	min-width: 0;
	padding-left: var(--qrm-text-gap, clamp(32px, calc(32px + 48 * var(--qrm-fl)), 80px));
}
.qrm-split__text > * { margin: 0; }
.qrm-about-values { --qrm-media-w: 38%; --qrm-media-ratio: 433 / 440; --qrm-text-gap: clamp(32px, calc(32px + 25 * var(--qrm-fl)), 57px); --qrm-split-top: 100px; --qrm-split-bottom: 100px; }
@media (max-width: 767px) {
	.qrm-split { flex-direction: column; align-items: stretch; gap: 20px; --qrm-split-top: 30px; --qrm-split-bottom: 30px; }
	.qrm-split__media { flex: 0 0 auto; aspect-ratio: 338 / 245; }
	.qrm-split__text { padding-left: 0; }
	.qrm-about-values { --qrm-split-top: 50px; --qrm-split-bottom: 50px; }
	.qrm-about-values .qrm-split__media { aspect-ratio: 338 / 345; }
}

/* Our Values: accordion (core Details blocks) */
.qrm-accordion { margin-top: 4px !important; }
.qrm-accordion .wp-block-details { margin: 0; overflow: hidden; }
.qrm-accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	font-size: clamp(16px, calc(16px + 4.8 * var(--qrm-fl)), 20.8px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2B2B2B;
	cursor: pointer;
	list-style: none;
	transition: color .3s;
}
.qrm-accordion summary::-webkit-details-marker { display: none; }
.qrm-accordion summary::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	rotate: 45deg;
	translate: 0 -3px;
	transition: rotate .4s cubic-bezier(.4, 0, .2, 1), translate .4s cubic-bezier(.4, 0, .2, 1);
}
.qrm-accordion:not(.is-js) details[open] > summary::after,
.qrm-accordion.is-js details.is-open > summary::after { rotate: -135deg; translate: 0 2px; }
.qrm-accordion summary:hover, .qrm-accordion summary:focus-visible { color: var(--qrm-crimson); }
.qrm-accordion details > p { margin: 4px 0 14px; }

/* 3. Culture / Mission / Vision slider */
.qrm-about-pillars { padding: clamp(50px, calc(50px + 20 * var(--qrm-fl)), 70px) 0; background: #fff; overflow-x: clip; }
.qrm-about-pillars .qrm-carousel { width: var(--qrm-col); margin: 0 auto; }
.qrm-carousel--1 { --qrm-per: 1; --qrm-gap: 0px; }
.qrm-about-slide {
	display: flex;
	align-items: center;
	gap: 20px;
	box-sizing: border-box;
	min-height: clamp(246px, calc(246px + 154 * var(--qrm-fl)), 400px);
	height: 100%;
	padding: 0 clamp(10px, calc(10px + 20 * var(--qrm-fl)), 30px);
}
.qrm-about-slide > * { margin: 0; }
.qrm-about-slide__text { display: flex; flex-direction: column; gap: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); flex: 1 1 0; max-width: 60em; }
.qrm-about-slide__text > * { margin: 0; }
.qrm-about-slide__art { flex: 0 0 clamp(120px, calc(120px + 152 * var(--qrm-fl)), 272px); margin: 0; }
.qrm-about-slide__art img { display: block; width: 100%; height: auto; }
.qrm-about-slide a { font-weight: 700; color: var(--qrm-baltic); text-decoration: underline; text-underline-offset: 2px; transition: color .3s; }
.qrm-about-slide a:hover, .qrm-about-slide a:focus-visible { color: var(--qrm-crimson); }
@media (max-width: 767px) {
	.qrm-about-slide.has-art { flex-direction: column; align-items: stretch; }
	.qrm-about-slide__art { align-self: center; width: 120px; }
	/* live: small arrows in the side margins, over the edge of the text */
	.qrm-about-gallery .qrm-carousel__btn { top: 50%; margin-top: -20px; }
}

/* 4. Photo strip: four across (two on phones), arrows over the photos */
.qrm-page .qrm-about-gallery, .qrm-about-gallery { margin-block: 0; padding: 0 0 20px; }
.qrm-carousel--4 { --qrm-per: 4; --qrm-gap: 3px; }
.qrm-carousel--4 figure { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; }
.qrm-carousel--4 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qrm-about-gallery .qrm-carousel__btn { color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.qrm-about-gallery .qrm-carousel__btn:hover, .qrm-about-gallery .qrm-carousel__btn:focus-visible { color: #2B2B2B; filter: none; }
.qrm-about-gallery .qrm-carousel__btn--prev { left: 10px; translate: 0 0; }
.qrm-about-gallery .qrm-carousel__btn--next { right: 10px; translate: 0 0; }
@media (max-width: 767px) {
	.qrm-carousel--4 { --qrm-per: 2; }
}

/* 6. Where to Find Us: office photo (fixed while scrolling) under a Baltic tint, frosted box */
.qrm-page .qrm-about-find, .qrm-about-find {
	min-height: 0;
	padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) 0;
	background: var(--qrm-baltic);
	align-items: center;
}
.qrm-about-find .wp-block-cover__inner-container { width: var(--qrm-col); margin: 0 auto; }
.qrm-about-find__box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 0 clamp(0px, calc(85 * var(--qrm-fl)), 85px);
	padding: clamp(25px, calc(25px + 35 * var(--qrm-fl)), 60px);
	box-sizing: border-box;
	background: var(--qrm-glass-bg);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
}
.qrm-about-find__box > * { margin: 0; }
.qrm-about-find .qrm-h2 { color: #fff; }
.qrm-sec p.qrm-about-find__address { font-size: clamp(16px, calc(16px + 8 * var(--qrm-fl)), 24px); line-height: 1.1; letter-spacing: 1.5px; color: #fff; }
.qrm-about-find__address a { color: inherit; text-decoration: none; transition: color .3s; }
.qrm-about-find__address a:hover, .qrm-about-find__address a:focus-visible { color: var(--qrm-yellow); }

/* 7. Explore Open Positions / Join the Team: centered */
.qrm-about-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: clamp(70px, calc(70px + 30 * var(--qrm-fl)), 100px) var(--qrm-pad-x);
	text-align: center;
}
.qrm-about-cta > * { margin: 0; }
.qrm-about-cta > p:not(.qrm-kicker) { max-width: 74em; }
.qrm-about-cta .wp-block-buttons { justify-content: center; gap: 20px 40px; }
@media (max-width: 767px) {
	/* stacked, but only as wide as their text (Zack) */
	.qrm-about-cta .wp-block-buttons { flex-direction: column; align-items: center; }
}

/* People tab: Executive Leadership */
.qrm-about-team { padding: clamp(30px, calc(30px + 60 * var(--qrm-fl)), 90px) var(--qrm-pad-x) clamp(30px, calc(30px + 20 * var(--qrm-fl)), 50px); }
.qrm-about-team > .qrm-kicker { margin-bottom: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px); }
.qrm-team__grid {
	--qrm-card-w: calc(clamp(150px, calc(150px + 100 * var(--qrm-fl)), 250px) + 40 * var(--qrm-xfl));
	display: grid;
	grid-template-columns: repeat(var(--qrm-team-per, 3), minmax(0, var(--qrm-card-w)));
	justify-content: center;
	gap: 20px;
	margin: clamp(32px, calc(32px + 28 * var(--qrm-fl)), 60px) 0 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 480px) { .qrm-team__grid { --qrm-team-per: 2; gap: 12px; } }
.qrm-team__grid > li { margin: 0; }
.qrm-team__card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 250 / 345;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--qrm-light-gray, #eee);
	color: #fff;
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: transform .3s ease;
}
.qrm-team__card:hover, .qrm-team__card:focus-visible { z-index: 1; transform: scale(1.1); }
.qrm-team__card:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 2px; }
.qrm-team__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qrm-team__front, .qrm-team__back {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: 16px;
	transition: opacity .6s ease-in-out;
}
.qrm-team__front {
	justify-content: flex-end;
	background: linear-gradient(to top, rgba(43, 43, 43, .45), rgba(43, 43, 43, .19) 40%);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 1px;
}
/* live: a small "open" icon in the top-right corner */
.qrm-team__front::before {
	content: "";
	position: absolute;
	top: 12px;
	right: 12px;
	width: 16px;
	height: 16px;
	background: currentColor;
	opacity: .7;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v6H4V6h6'/%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='black' stroke-width='2'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v6H4V6h6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.qrm-team__back {
	justify-content: space-between; /* name at the top, title at the bottom (Zack) */
	gap: 6px;
	opacity: 0;
	isolation: isolate;
}
/* Baltic tint over the hover photo (live) */
.qrm-team__back::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(35, 125, 171, .52); }
.qrm-team__alt { position: absolute; inset: 0; z-index: -2; }
.qrm-team__name, .qrm-team__role { position: relative; }
.qrm-team__name { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; }
.qrm-team__role { font-size: 16px; line-height: 1.3; }
.qrm-team__card:hover .qrm-team__back, .qrm-team__card:focus-visible .qrm-team__back { opacity: 1; }
.qrm-team__card:hover .qrm-team__front, .qrm-team__card:focus-visible .qrm-team__front { opacity: 0; }
@media (hover: none) {
	.qrm-team__card:hover { transform: none; }
}

/* Bio pop-up: photo left, name / title / links / bio right (live layout) */
.qrm-bio {
	display: grid !important;
	grid-template-columns: 272px 1fr;
	align-items: center;
	gap: 40px;
	padding: 60px;
}
.qrm-bio__photo img { display: block; width: 100%; aspect-ratio: 272 / 372; object-fit: cover; }
.qrm-bio__text > * { margin: 0; }
.qrm-bio__name { font-size: clamp(34px, calc(34px + 18 * var(--qrm-fl)), 52px); font-weight: 700; line-height: 1; color: #2B2B2B; }
.qrm-bio p.qrm-bio__role { margin-top: 10px !important; font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-bio__links { display: flex; gap: 8px; margin-top: 12px !important; }
.qrm-bio__body { margin-top: 16px !important; font-size: 16px; line-height: 1.6; }
.qrm-bio__body p { margin: 0 0 12px; }
.qrm-bio__body ul { margin: 0 0 12px; padding-left: 1.2em; }
@media (max-width: 700px) {
	.qrm-bio { grid-template-columns: 1fr; gap: 24px; padding: 56px 24px 28px; }
	.qrm-bio__photo { width: min(200px, 60%); }
}

/* Logo pillar pop-ups (Quality Solutions / Patient-Centered / Hive-Mentality) */
.qrm-modal:has(.qrm-pillar) { width: min(504px, calc(100vw - 32px)); background: var(--qrm-glass-light); -webkit-backdrop-filter: var(--qrm-glass-blur); backdrop-filter: var(--qrm-glass-blur); }
.qrm-pillar { padding: 50px 40px 40px; text-align: center; }
.qrm-pillar > * { margin: 0; }
.qrm-pillar figure { margin: 0 auto; }
.qrm-pillar img { display: block; width: min(260px, 70%); height: auto; margin: 0 auto; }
.qrm-pillar h2 { margin-top: 16px; font-size: clamp(30px, calc(30px + 10 * var(--qrm-fl)), 40px); font-weight: 500; line-height: 1.1; color: var(--qrm-baltic); }


/* =====================================================================
 * Service pages (patterns "QRM Service: …") — live at 1440 / 375, fluid in between.
 * Sections: .qrm-svc-hero, .qrm-svc-intro (+ .qrm-svc-quote), .qrm-svc-panel, .qrm-svc-split, .qrm-svc-more
 * ===================================================================== */

/* Photo under any split section fills its box */
.qrm-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qrm-split__media.wp-block-image { margin: 0; }

/* Lists inside service sections: live bullets, 16px */
.qrm-sec .wp-block-list { margin: 0; padding-left: 1.25em; font-size: 16px; line-height: 1.5; }
.qrm-sec .wp-block-list li + li { margin-top: 4px; }

/* 1. Hero: looping video under a 55% charcoal tint, title + Learn More (shorter on phones, like About) */
.qrm-page .qrm-svc-hero, .qrm-svc-hero {
	min-height: clamp(340px, calc(340px + 110 * var(--qrm-fl)), 450px);
	margin-block: 0;
	padding: clamp(80px, calc(80px + 10 * var(--qrm-fl)), 90px) 0 clamp(40px, calc(40px + 20 * var(--qrm-fl)), 60px);
	background: var(--qrm-navy);
	align-items: center;
}
.qrm-svc-hero .wp-block-cover__background { opacity: .55; }
.qrm-svc-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: min(calc(1140px + var(--qrm-xl)), 100% - 2 * clamp(28px, calc(8vw - 20px), 143px));
	margin: 0 auto;
	color: #fff;
}
.qrm-svc-hero .wp-block-cover__inner-container > * { margin: 0; }
.qrm-svc-hero__title {
	font-size: calc(clamp(32px, calc(32px + 32 * var(--qrm-fl)), 64px) + 8 * var(--qrm-xfl));
	font-weight: 600;
	line-height: 1.05;
	color: #fff;
	text-wrap: balance;
}

/* 2. Overview: text left, photo right with the client quote overlapping its bottom edge */
.qrm-svc-intro {
	display: flex;
	align-items: center;
	gap: clamp(32px, calc(32px + 48 * var(--qrm-fl)), 80px);
	padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) var(--qrm-pad-x);
}
.qrm-svc-intro > * { margin-block: 0; }
.qrm-svc-intro__text { display: flex; flex-direction: column; gap: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); flex: 0 1 40%; min-width: 0; }
.qrm-svc-intro__text > * { margin: 0; }
.qrm-svc-intro__media { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.qrm-svc-intro__media > .wp-block-image { width: min(100%, calc(500px + 100 * var(--qrm-xfl))); margin: 0; }
.qrm-svc-intro__media > .wp-block-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.qrm-svc-quote {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: min(580px, 100%);
	margin: -60px 25px 0 0;
	padding: 56px 60px 44px; /* room from the rounded corners (Zack: padding looked off) */
	box-sizing: border-box;
	border-radius: 150px 150px 0 150px;
	background: var(--qrm-glass-light);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
	box-shadow: 0 0 100px 2px rgba(42, 64, 89, .25);
	text-align: right;
}
.qrm-svc-quote > * { margin: 0; }
.qrm-sec p.qrm-svc-quote__text { font-weight: 600; line-height: 1.45; }
.qrm-sec p.qrm-svc-quote__name { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-sec p.qrm-svc-quote__role { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); } /* name + title bold crimson (Zack) */
.qrm-sec p.qrm-svc-quote__org { font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
@media (max-width: 767px) {
	.qrm-svc-intro { flex-direction: column; align-items: stretch; gap: 20px; }
	.qrm-svc-intro__text { flex: 0 0 auto; }
	.qrm-svc-intro__media > .wp-block-image { width: 100%; }
	/* phones: the frosted bubble stays, overlapping the photo like the homepage quote (Zack: plain text felt off) */
	.qrm-svc-quote { width: auto; margin: -48px 12px 0; padding: 32px 24px 24px; border-radius: 64px 64px 0 64px; gap: 4px; }
	.qrm-sec p.qrm-svc-quote__text { margin-bottom: 8px; font-weight: 500; text-align: left; }
	.qrm-sec p.qrm-svc-quote__name { margin-top: 0; }
	.qrm-sec p.qrm-svc-quote__name, .qrm-sec p.qrm-svc-quote__role, .qrm-sec p.qrm-svc-quote__org { letter-spacing: 1.5px; }
}

/* 3. Photo panel: fixed photo under a charcoal tint, frosted box with white text */
.qrm-page .qrm-svc-panel, .qrm-svc-panel {
	min-height: 0;
	padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) 0;
	background: var(--qrm-navy);
	align-items: center;
}
.qrm-svc-panel .wp-block-cover__inner-container { width: var(--qrm-col); margin: 0 auto; }
.qrm-svc-panel__box {
	display: flex;
	flex-direction: column;
	gap: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px);
	width: min(65%, calc(741px + 200 * var(--qrm-xfl)));
	padding: clamp(20px, calc(20px + 10 * var(--qrm-fl)), 30px);
	box-sizing: border-box;
	background: var(--qrm-glass-bg);
	-webkit-backdrop-filter: var(--qrm-glass-blur);
	backdrop-filter: var(--qrm-glass-blur);
	color: #fff;
}
.qrm-svc-panel__box > * { margin: 0; }
.qrm-svc-panel .qrm-h2, .qrm-sec.qrm-svc-panel p:not(.qrm-kicker), .qrm-svc-panel .wp-block-list { color: #fff; }
@media (max-width: 1024px) { .qrm-svc-panel__box { width: 100%; } }

/* 4. Photo left, text right (reuses the About page's split section) */
.qrm-svc-split { --qrm-media-w: 40.6%; --qrm-media-ratio: 463 / 617; --qrm-split-top: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px); --qrm-split-bottom: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px); --qrm-text-gap: clamp(32px, calc(32px + 25 * var(--qrm-fl)), 57px); background: rgba(42, 64, 89, .02); }
@media (max-width: 767px) { .qrm-svc-split .qrm-split__media { aspect-ratio: 338 / 450; } }

/* 5. Additional Solutions: the other services, same cards as the homepage */
.qrm-svc-more { padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) var(--qrm-pad-x); background: rgba(42, 64, 89, .02); }
.qrm-svc-more > * { margin-block: 0; }
.qrm-svc-more .qrm-h2 { margin-top: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); }
.qrm-svc-more .qrm-carousel { margin-top: clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px); }

/* Crimson is hard to read on the dark frosted glass, so small caps lines on glass are white
   (Zack, 2026-11-18: tried yellow, then Baltic, settled on white): service photo panel,
   Where to Find Us, archive "Like What You See?", and the webinar host/date line. */
.qrm-svc-panel__box .qrm-kicker,
.qrm-about-find__box .qrm-kicker,
.qrm-archive-cta__box .qrm-kicker,
.qrm-webinar__box .qrm-post-meta { color: var(--qrm-on-glass, #fff); }
.qrm-webinar__box .qrm-post-meta li:not(:last-child)::after { background: var(--qrm-on-glass, #fff); }

/* Phones and tablets: arrows centered under the cards on every carousel (Zack: the old spot beside
   the heading collided with long headings, and narrower screens have no room beside the cards). */
@media (max-width: 1199px) {
	/* every carousel in a column (the full-width About photo strip keeps its arrows on the photos) */
	.qrm-carousel:not(.qrm-carousel--4) { padding-bottom: 52px; }
	.qrm-carousel:not(.qrm-carousel--4) > .qrm-carousel__btn { top: auto; bottom: 0; margin-top: 0; translate: none; }
	.qrm-carousel:not(.qrm-carousel--4) > .qrm-carousel__btn--prev { left: calc(50% - 48px); right: auto; }
	.qrm-carousel:not(.qrm-carousel--4) > .qrm-carousel__btn--next { right: calc(50% - 48px); left: auto; }
}

/* Service page variations */
/* Photo + text with the photo on the right (Talent Acquisition: Precision in Every Placement) */
.qrm-split.is-reverse { flex-direction: row-reverse; }
.qrm-split.is-reverse .qrm-split__text { padding-left: 0; padding-right: var(--qrm-text-gap, clamp(32px, calc(32px + 48 * var(--qrm-fl)), 80px)); }
.qrm-svc-split.is-reverse { --qrm-media-w: 45%; --qrm-media-ratio: 513 / 475; background: #fff; } /* live crops this photo nearly square */
/* Wider photo shapes (Senior Living Solutions) */
.qrm-svc-split.is-wide { --qrm-media-w: 52.6%; --qrm-media-ratio: 3 / 2; }
.qrm-svc-split.is-landscape { --qrm-media-w: 40.6%; --qrm-media-ratio: 4 / 3; }
@media (max-width: 767px) {
	.qrm-split.is-reverse { flex-direction: column; }
	.qrm-split.is-reverse .qrm-split__text { padding-right: 0; }
	.qrm-svc-split.is-wide .qrm-split__media { aspect-ratio: 3 / 2; }
	.qrm-svc-split.is-landscape .qrm-split__media { aspect-ratio: 4 / 3; }
	.qrm-svc-split.is-reverse .qrm-split__media { aspect-ratio: 4 / 5; }
}

/* FAQ inside the frosted photo panel (Medical Review, Talent Acquisition): full-width box,
   white questions, one open at a time, sliding (same script as Our Values) */
.qrm-svc-panel.is-faq .qrm-svc-panel__box { width: 100%; }
.qrm-accordion--faq .wp-block-details { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.qrm-accordion--faq summary {
	padding: 14px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
}
.qrm-accordion--faq summary:hover, .qrm-accordion--faq summary:focus-visible { color: var(--qrm-yellow); }
.qrm-accordion--faq details > * + * { margin: 0 0 12px; }
.qrm-accordion--faq details > p:first-of-type { margin-top: 2px; }

/* Invisible jump target for old links (#university-outreach) */
.qrm-anchor { display: block; height: 0; }
.qrm-page > .wp-block-html:has(.qrm-anchor) { margin: 0; }

/* =====================================================================
 * Solutions page (pattern "QRM Solutions Page"): hero with the rotating line, a card per service.
 * ===================================================================== */
.qrm-sol-hero .qrm-rotate, .qrm-about-hero .qrm-rotate { top: 0; height: auto; line-height: 1.25; }
.qrm-sol-hero .qrm-rotate { margin-bottom: 8px !important; } /* a little air between the underline and Learn More */
.qrm-sol-hero .qrm-rotate__word, .qrm-about-hero .qrm-rotate__word { line-height: 1.25; }
/* Phones: "Our solutions are outcome-driven" needs two lines; keep room for two so the button
   doesn't jump as the words change, and so the wrapped word never runs into it (Zack) */
@media (max-width: 767px) {
	.qrm-sol-hero .qrm-rotate { min-height: 2.5em; }
}
.qrm-sol-grid {
	--qrm-colw: calc(1340px + var(--qrm-xl)); /* live's cards run wider than the usual column */
	display: grid;
	/* 3 on top, 2 centered below (Zack); 2-2-1 once three no longer fit; one column on phones */
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 30px;
	padding: clamp(40px, calc(40px + 35 * var(--qrm-fl)), 75px) var(--qrm-pad-x) clamp(60px, calc(60px + 40 * var(--qrm-fl)), 100px);
}
.qrm-sol-grid > * { margin: 0 !important; grid-column: span 2; }
.qrm-sol-grid > .qrm-sol-card:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.qrm-sol-grid > .qrm-sol-card:nth-child(5):last-child { grid-column: 4 / span 2; }
@media (max-width: 1099px) {
	.qrm-sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qrm-sol-grid > *, .qrm-sol-grid > .qrm-sol-card:nth-child(4):nth-last-child(2), .qrm-sol-grid > .qrm-sol-card:nth-child(5):last-child { grid-column: auto; }
	/* an odd last card sits centered under the others */
	.qrm-sol-grid > .qrm-sol-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 15px); }
}
.qrm-sol-card {
	position: relative;
	min-height: 0 !important;
	height: calc(clamp(260px, calc(260px + 20 * var(--qrm-fl)), 280px) + 60 * var(--qrm-xfl));
	padding: 0;
	overflow: hidden;
}
.qrm-sol-card .wp-block-cover__image-background { transition: transform .5s ease; }
.qrm-sol-card .wp-block-cover__background { opacity: .5; transition: background-color .6s, opacity .6s; }
.qrm-sol-card .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	width: auto;
	padding: 24px clamp(24px, calc(24px + 8 * var(--qrm-fl)), 32px);
	box-sizing: border-box;
	text-align: left;
	color: #fff;
}
.qrm-sol-card .wp-block-cover__inner-container > * { margin: 0; }
/* Front: the title, centered on the photo */
.qrm-sol-card__title {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 0 24px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	transition: opacity .5s;
}
/* Back (hover): description, then Learn More, left-aligned (Zack), stacked so they never overlap */
.qrm-sec p.qrm-sol-card__desc { font-size: 16px; line-height: 1.5; color: #fff; }
.qrm-sol-card__desc, .qrm-sol-card .wp-block-buttons { opacity: 0; transition: opacity .5s; }
.qrm-sol-card__desc { position: relative; z-index: 1; }
.qrm-sol-card .wp-block-buttons { justify-content: flex-start; }
.qrm-sol-card .wp-block-button { position: static; }
.qrm-sol-card .wp-block-button__link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.qrm-sol-card:hover .wp-block-cover__background,
.qrm-sol-card:focus-within .wp-block-cover__background { background-color: #237DAB !important; opacity: .78; }
.qrm-sol-card:hover .wp-block-cover__image-background,
.qrm-sol-card:focus-within .wp-block-cover__image-background { transform: scale(1.05); }
.qrm-sol-card:hover .qrm-sol-card__title,
.qrm-sol-card:focus-within .qrm-sol-card__title { opacity: 0; }
.qrm-sol-card:hover .qrm-sol-card__desc, .qrm-sol-card:focus-within .qrm-sol-card__desc,
.qrm-sol-card:hover .wp-block-buttons, .qrm-sol-card:focus-within .wp-block-buttons { opacity: 1; }
/* Phones/tablets (no hover): one column, everything showing over the Baltic tint */
@media (max-width: 767px) {
	.qrm-sol-grid { grid-template-columns: 1fr; gap: 20px; }
	.qrm-sol-grid > .qrm-sol-card:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
}
@media (hover: none) {
	.qrm-sol-card { height: auto; min-height: 280px !important; }
	.qrm-sol-card .wp-block-cover__background { background-color: #237DAB !important; opacity: .78; }
	.qrm-sol-card .wp-block-cover__inner-container { position: relative; padding-block: 32px; }
	.qrm-sol-card__title { position: static; display: block; padding: 0; text-align: left; }
	.qrm-sol-card__desc, .qrm-sol-card .wp-block-buttons { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.qrm-sol-card .wp-block-cover__image-background, .qrm-sol-card .wp-block-cover__background,
	.qrm-sol-card__title, .qrm-sol-card__desc, .qrm-sol-card .wp-block-buttons { transition: none; }
}

/* =====================================================================
 * Contact page + site forms (qrm/form)
 * ===================================================================== */
.qrm-contact {
	display: flex;
	align-items: center;
	gap: clamp(32px, calc(32px + 48 * var(--qrm-fl)), 80px);
	padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) var(--qrm-pad-x);
}
.qrm-contact > * { margin-block: 0; }
.qrm-contact__info { display: flex; flex-direction: column; gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px); flex: 1 1 0; min-width: 0; }
.qrm-contact__info > * { margin: 0; }
.qrm-contact__form { flex: 0 1 min(48%, 560px); min-width: 0; }
.qrm-sec p.qrm-contact__line { position: relative; padding-left: 30px; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; }
.qrm-contact__info .qrm-contact__line:first-of-type { margin-top: 6px; }
.qrm-contact__line a { color: #2A4059; text-decoration: none; transition: color .3s; }
.qrm-contact__line a:hover, .qrm-contact__line a:focus-visible { color: var(--qrm-crimson); }
.qrm-contact__line::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 18px;
	height: 18px;
	background: var(--qrm-crimson);
	-webkit-mask: var(--qrm-icon) center / contain no-repeat;
	mask: var(--qrm-icon) center / contain no-repeat;
}
.qrm-contact__line.is-phone { --qrm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.5 2.5 19 19'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.qrm-contact__line.is-email { --qrm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1.5 2 8.4V22h20V8.4Zm0 13.9L3.9 9.6l1.1-1.6L12 13l7-5 1.1 1.6Z'/%3E%3C/svg%3E"); } /* filled open envelope (Zack) */
.qrm-contact__line.is-address { --qrm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2h12a1 1 0 0 1 1 1v6h3a1 1 0 0 1 1 1v12H3V3a1 1 0 0 1 1-1zm2 3v2h2V5zm4 0v2h2V5zM6 9v2h2V9zm4 0v2h2V9zm-4 4v2h2v-2zm4 0v2h2v-2zm7-2v2h2v-2zm0 4v2h2v-2zM9 18v3h2v-3z'/%3E%3C/svg%3E"); }
@media (max-width: 900px) {
	.qrm-contact { flex-direction: column; align-items: stretch; }
	.qrm-contact__form { flex: 0 0 auto; }
}

/* Form fields: live's look — bold labels, underlined fields, outline pill submit */
.qrm-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qrm-form__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 20px; } /* fields in a row line up even when one label wraps */
.qrm-form__field { flex: 0 0 calc(var(--qrm-w, 100) * 1% - 20px * (100 - var(--qrm-w, 100)) / 100); min-width: 0; margin: 0; padding: 0; border: 0; }
.qrm-form__field[hidden] { display: none; }
/* Phones: half and third widths stack (80/20 rows like City + State stay side by side) */
@media (max-width: 480px) {
	.qrm-form__field.is-w50, .qrm-form__field.is-w33 { flex-basis: 100%; }
	.qrm-form__field.is-w80 { flex-basis: calc(62% - 10px); } /* City + State: room to read the state */
	.qrm-form__field.is-w20 { flex-basis: calc(38% - 10px); }
}
.qrm-form label:not(.qrm-form__check), .qrm-form legend, .qrm-form__group {
	display: block;
	margin: 0 0 4px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 1px;
	color: #2B2B2B;
}
.qrm-form__req { margin-left: 3px; color: var(--qrm-crimson); }
.qrm-form input[type="text"], .qrm-form input[type="email"], .qrm-form input[type="tel"], .qrm-form input[type="number"], .qrm-form input[type="date"], .qrm-form select, .qrm-form textarea {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 8px 2px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #2B2B2B;
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
	color: #1B1B1B;
	transition: border-color .3s, box-shadow .3s;
}
.qrm-form textarea { min-height: 99px; resize: vertical; }
.qrm-form textarea.is-short { min-height: 56px; } /* short answers (Zack: not so many lines) */
/* Dropdowns: same underline as text fields, with a crimson chevron */
.qrm-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 4px center / 14px no-repeat;
	cursor: pointer;
}
.qrm-form select:invalid, .qrm-form select option[value=""] { color: #767676; }
.qrm-form select option { color: #1B1B1B; }
.qrm-form ::placeholder { color: #767676; }
.qrm-form input:focus-visible, .qrm-form select:focus-visible, .qrm-form textarea:focus-visible { outline: none; border-bottom-color: var(--qrm-baltic); box-shadow: 0 1px 0 var(--qrm-baltic); }
.qrm-form__checks { display: grid; grid-template-columns: repeat(var(--qrm-check-cols, 1), minmax(0, 1fr)); gap: 6px 20px; margin-top: 6px; }
@media (max-width: 480px) { .qrm-form__checks { grid-template-columns: 1fr; } }
.qrm-form__check { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 1.4; color: #2B2B2B; cursor: pointer; }
/* Checkboxes: square, charcoal outline, crimson when ticked (one look on every form).
   Ticking: the crimson fills in from the edges, then the tick pops in. Unticking plays it in
   reverse: the tick goes first, then the fill drains out (Zack: smooth both ways). */
.qrm-form__check input {
	appearance: none;
	-webkit-appearance: none;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	border: 1.5px solid #2B2B2B;
	border-radius: 3px;
	background: #fff;
	box-shadow: inset 0 0 0 0 var(--qrm-crimson);
	cursor: pointer;
	transition: box-shadow .25s ease .1s, border-color .25s ease .1s;
}
.qrm-form__check input::after {
	content: "";
	width: 10px;
	height: 10px;
	background: #fff;
	clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 37% 70%);
	opacity: 0;
	scale: .4;
	transition: scale .15s ease, opacity .15s ease;
}
.qrm-form__check input:checked { border-color: var(--qrm-crimson); box-shadow: inset 0 0 0 9px var(--qrm-crimson); transition: box-shadow .25s ease, border-color .25s ease; }
.qrm-form__check input:checked::after { opacity: 1; scale: 1; transition: scale .2s cubic-bezier(.3, 1.6, .5, 1) .15s, opacity .15s ease .15s; }
.qrm-form__check input:hover { border-color: var(--qrm-crimson); }
@media (prefers-reduced-motion: reduce) {
	.qrm-form__check input, .qrm-form__check input::after, .qrm-form__check input:checked, .qrm-form__check input:checked::after { transition: none; }
}
.qrm-form__check input:focus-visible { outline: 2px solid var(--qrm-baltic); outline-offset: 2px; }
.qrm-form__check a { color: var(--qrm-crimson); }
.qrm-form__field--acceptance + .qrm-form__field--acceptance { margin-top: -14px; }
.qrm-form__field.has-error input, .qrm-form__field.has-error textarea, .qrm-form__field.has-error select { border-bottom-color: #C0392B; }
.qrm-form__error { margin: 4px 0 0; font-size: 14px; color: #C0392B; }
.qrm-form__actions { margin-top: 24px; }
.qrm-form__submit {
	padding: 10px 20px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	background: transparent;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2B2B2B;
	cursor: pointer;
	transition: background-color .3s, border-color .3s;
}
.qrm-form__submit:hover, .qrm-form__submit:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-form__submit:disabled { opacity: .6; cursor: progress; }
.qrm-sec p.qrm-form__status:empty { display: none; }
.qrm-sec p.qrm-form__status { margin-top: 12px; font-size: 16px; }
.qrm-sec p.qrm-form__sms, .qrm-form p.qrm-form__sms { margin-top: 20px; font-size: 13px; line-height: 1.5; color: #555; }
.qrm-form__sms a { color: var(--qrm-crimson); }
.qrm-form-thanks { padding: 32px; border-left: 4px solid var(--qrm-crimson); background: rgba(42, 64, 89, .03); }
.qrm-sec .qrm-form-thanks p { font-size: 18px; font-weight: 600; line-height: 1.5; }
.qrm-form-thanks:focus { outline: none; }

/* =====================================================================
 * Careers page: open positions (live's crimson-outlined cards; one open at a time, sliding)
 * ===================================================================== */
.qrm-careers { display: flex; flex-direction: column; gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px); padding: clamp(50px, calc(50px + 50 * var(--qrm-fl)), 100px) var(--qrm-pad-x); }
.qrm-careers > * { margin: 0; }
.qrm-jobs { display: flex; flex-direction: column; gap: 18px; margin-top: 10px !important; }
.qrm-jobs .wp-block-details { border: 2px solid var(--qrm-crimson); border-radius: var(--qrm-radius); background: rgba(164, 51, 79, .05); }
.qrm-jobs summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px clamp(20px, calc(20px + 12 * var(--qrm-fl)), 32px);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 2px;
	color: var(--qrm-crimson);
}
.qrm-jobs summary em { margin-left: auto; font-style: normal; white-space: nowrap; }
.qrm-jobs summary::after {
	/* the chevron, in a soft crimson circle */
	width: 34px;
	height: 34px;
	margin: 0 0 0 auto;
	border: 0;
	border-radius: 50%;
	rotate: 0deg;
	translate: none;
	background: rgba(164, 51, 79, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.qrm-jobs summary:has(em)::after { margin-left: 10px; }
.qrm-jobs.is-js details.is-open > summary::after, .qrm-jobs:not(.is-js) details[open] > summary::after { rotate: 180deg; translate: none; background-color: rgba(164, 51, 79, .18); }
.qrm-jobs summary:hover, .qrm-jobs summary:focus-visible { color: #7E2239; }
/* Inside the card: even padding on every side, bullets indented inside it (Zack: padding looked off) */
.qrm-sec .qrm-jobs details > :not(summary) { margin: 0 clamp(20px, calc(20px + 12 * var(--qrm-fl)), 32px) 14px; max-width: 72em; }
.qrm-sec .qrm-jobs details > .wp-block-buttons { margin-top: 8px; margin-bottom: 24px; }
.qrm-sec .qrm-jobs details > .wp-block-list { padding-left: 1.4em; }
.qrm-sec .qrm-jobs details > :last-child { margin-bottom: clamp(24px, calc(24px + 8 * var(--qrm-fl)), 32px); }
/* Filled crimson pill (Apply Now) */
.qrm-btn-fill .wp-block-button__link {
	padding: 12px 24px;
	border: 2px solid var(--qrm-crimson);
	border-radius: 50px 50px 0 50px;
	background: var(--qrm-crimson);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	transition: background-color .3s, border-color .3s, color .3s;
}
.qrm-btn-fill .wp-block-button__link:hover, .qrm-btn-fill .wp-block-button__link:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; }

/* "FPC Network" tooltip in the email consent (live: dark bubble listing the companies) */
.qrm-tip { position: relative; display: inline-block; color: var(--qrm-crimson); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; cursor: help; }
.qrm-tip:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 2px; border-radius: 2px; }
.qrm-tip__content {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	z-index: 20;
	padding: 8px 12px;
	border-radius: 6px;
	background: #2B2B2B;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	translate: -50% 4px;
	transition: opacity .2s, translate .2s, visibility .2s;
	pointer-events: none;
}
.qrm-tip__content::after { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 6px solid transparent; border-top-color: #2B2B2B; }
.qrm-tip:hover .qrm-tip__content, .qrm-tip:focus-visible .qrm-tip__content, .qrm-tip.is-open .qrm-tip__content { opacity: 1; visibility: visible; translate: -50% 0; }

/* Form extras: shared row label, round radio buttons, file picker, small hints */
.qrm-form__field--group { margin-bottom: -20px; }
.qrm-sec p.qrm-form__group, .qrm-form p.qrm-form__group { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 1px; color: #2B2B2B; }
.qrm-form__checks.is-inline { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.qrm-form__check.is-radio input { border-radius: 50%; }
.qrm-form__check.is-radio input::after { width: 8px; height: 8px; border-radius: 50%; clip-path: none; }
.qrm-form__file { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid #2B2B2B; }
.qrm-form__file input[type="file"] { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.qrm-form__file-btn {
	flex: 0 0 auto;
	padding: 6px 14px;
	border: 1.5px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: background-color .3s, border-color .3s;
}
.qrm-form__file:hover .qrm-form__file-btn, .qrm-form__file:focus-within .qrm-form__file-btn { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-form__file:focus-within { box-shadow: 0 1px 0 var(--qrm-baltic); border-bottom-color: var(--qrm-baltic); }
.qrm-form__file-name { min-width: 0; overflow: hidden; font-size: 15px; color: #767676; text-overflow: ellipsis; white-space: nowrap; }
.qrm-form__file.has-file .qrm-form__file-name { color: #1B1B1B; }
.qrm-sec p.qrm-form__hint, .qrm-form p.qrm-form__hint { margin: 4px 0 0; font-size: 13px; color: #767676; }
.qrm-form__field.has-error .qrm-form__file { border-bottom-color: #C0392B; }
.qrm-form input[type="date"] { min-height: 40px; }
.qrm-form input[type="number"]::-webkit-inner-spin-button { opacity: .5; }

/* =====================================================================
 * Form pages (pattern "QRM Form Page"): one centered column — heading, optional intro, the form
 * ===================================================================== */
.qrm-formpage {
	--qrm-colw: calc(700px + 100 * var(--qrm-xfl));
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px);
	padding: calc(110px + clamp(10px, calc(10px + 30 * var(--qrm-fl)), 40px)) var(--qrm-pad-x) clamp(60px, calc(60px + 40 * var(--qrm-fl)), 100px);
	overflow: hidden;
}
.qrm-formpage > * { position: relative; margin: 0; }
.qrm-formpage .qrm-h1 { margin: 0; font-size: calc(clamp(30.4px, calc(30.4px + 20.8 * var(--qrm-fl)), 51.2px) + 8.8 * var(--qrm-xfl)); font-weight: 600; line-height: 1.05; color: #2B2B2B; }
.qrm-formpage > p:not(.qrm-kicker) { max-width: 44em; }
.qrm-formpage .qrm-form-wrap { margin-top: clamp(10px, calc(10px + 10 * var(--qrm-fl)), 20px); }
/* QRM University forms: the faint QRM-U mark behind the form (live) */
.qrm-formpage.is-qrmu::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(70vw, 620px);
	aspect-ratio: 1;
	translate: -50% -50%;
	background: url("../img/QRM-U-Icon.svg") center / contain no-repeat;
	opacity: .05;
	pointer-events: none;
}
/* Third-party embedded forms (SMS opt-in) */
.qrm-formpage .qrm-embed iframe { display: block; width: 100%; min-height: 700px; border: 0; }


/* ---------- QRM University header (template "QRM University": DOR / Therapy Foundations pages) ----------
   Same header as every other page (floats over the hero, logo + hive pinned, glass bar on phones),
   with the QRM University logo, and a thin turquoise strip on top holding
   Student Portal / phone / email in place of Careers / Blog / Login. */
.qrm-hd--qrmu .qrm-hd__utility {
	top: 0;
	left: 0;
	right: 0;
	justify-content: flex-end;
	gap: 28px;
	padding: 10px 48px;
	background: var(--qrm-turquoise, #63C8D1);
}
.qrm-hd--qrmu .qrm-hd__link.qrm-hd__link--qrmu {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #2B2B2B;
	font-weight: 700;
	line-height: 21px;
}
.qrm-hd--qrmu .qrm-hd__link.qrm-hd__link--qrmu:hover { color: var(--qrm-crimson); }
.qrm-hd__link--qrmu svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
/* Same spot and height as the QRM logo (80px; 50px on phones/tablets), just wider */
.qrm-logo--qrmu img, .qrm-logo--qrmu svg { display: block; width: auto; height: 80px; }
.qrm-logo--qrmu.is-on-dark { --qrmu-logo-ink: #fff; } /* wording white over dark backgrounds (site.js) */
@media (max-width: 1024px) {
	.qrm-hd--qrmu .qrm-hd__utility {
		justify-content: center;
		flex-wrap: wrap;
		gap: 4px 20px;
		padding: 9px 20px;
	}
	.qrm-hd--qrmu .qrm-hd__link.qrm-hd__link--qrmu { line-height: 17px; }
	.qrm-logo--qrmu img, .qrm-logo--qrmu svg { width: auto; height: 50px; }
}
@media (max-width: 480px) {
	.qrm-hd--qrmu .qrm-hd__link.qrm-hd__link--qrmu { letter-spacing: 1px; gap: 6px; }
	.qrm-hd__link--qrmu svg { width: 14px; height: 14px; }
}

/* ---------- Job locations (block qrm/job-locations, QRM University pages) ----------
   Same look as the rest of the site: crimson caps labels, leaf buttons, underline fields (like the
   forms) and the Careers page's crimson-outlined cards. A card opens the resume pop-up. */
.qrm-jobs-loc { width: min(100%, 1140px); margin: 0 auto; text-align: left; }
.qrm-jobs-loc *, .qrm-jobs-loc *::before, .qrm-jobs-loc *::after { box-sizing: border-box; }
.qrm-jobs-loc__panel { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px); }
.qrm-jobs-loc__field { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.qrm-jobs-loc__field > :last-child { margin-top: auto; } /* labels line up on top, controls on the bottom */
.qrm-jobs-loc__field--grow { flex: 1 1 240px; }
.qrm-jobs-loc__field:not(.qrm-jobs-loc__field--roles):not(.qrm-jobs-loc__field--grow) { flex: 0 1 260px; }
.qrm-jobs-loc__label { font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px); font-weight: 700; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-jobs-loc__roles { display: flex; flex-wrap: wrap; gap: 12px; }
/* Position buttons: the site's leaf-shaped outline buttons; the chosen one is filled crimson */
.qrm-jobs-loc__role {
	padding: 12px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	background: transparent;
	color: #2B2B2B;
	font: inherit;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .3s, border-color .3s, color .3s;
}
.qrm-jobs-loc__role:hover, .qrm-jobs-loc__role:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; }
.qrm-jobs-loc__role[aria-pressed="true"] { background: var(--qrm-crimson); border-color: var(--qrm-crimson); color: #fff; }
/* State and city: underline fields like the forms */
.qrm-jobs-loc__state,
.qrm-jobs-loc__search {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 8px 2px;
	border: 0;
	border-bottom: 1px solid #2B2B2B;
	border-radius: 0;
	background: transparent;
	color: #1B1B1B;
	font: inherit;
	font-size: 16px;
	transition: border-color .3s, box-shadow .3s;
}
.qrm-jobs-loc__state {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 4px center / 14px no-repeat;
	cursor: pointer;
}
.qrm-jobs-loc__search {
	padding-right: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6' stroke-linecap='round'/%3E%3C/svg%3E") right 4px center / 16px no-repeat;
}
.qrm-jobs-loc__search::placeholder { color: #767676; }
/* While typing, the magnifier gives way to a crimson clear "×" in the same spot (replaces the browser's blue one) */
.qrm-jobs-loc__search:not(:placeholder-shown) { padding-right: 4px; background-image: none; }
.qrm-jobs-loc__search::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	margin-left: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 16px no-repeat;
	cursor: pointer;
}
.qrm-jobs-loc__state:focus-visible, .qrm-jobs-loc__search:focus-visible { outline: none; border-bottom-color: var(--qrm-baltic); box-shadow: 0 1px 0 var(--qrm-baltic); }
/* Count line: one crimson spaced-caps line, like the section labels */
.qrm-jobs-loc p.qrm-jobs-loc__summary {
	margin: clamp(32px, calc(32px + 8 * var(--qrm-fl)), 40px) 0 clamp(16px, calc(16px + 4 * var(--qrm-fl)), 20px);
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--qrm-crimson);
	text-wrap: pretty;
}
.qrm-jobs-loc p.qrm-jobs-loc__summary:empty { display: none; }
.qrm-jobs-loc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1024px) { .qrm-jobs-loc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.qrm-jobs-loc__grid { grid-template-columns: minmax(0, 1fr); }
	.qrm-jobs-loc__field, .qrm-jobs-loc__field--grow, .qrm-jobs-loc__field:not(.qrm-jobs-loc__field--roles):not(.qrm-jobs-loc__field--grow) { flex: 1 1 100%; }
	.qrm-jobs-loc__role { flex: 1 1 0; padding-inline: 12px; }
}
.qrm-jobs-loc__grid > li { margin: 0; }
/* Location cards: the Careers page's crimson-outlined cards, with its chevron circle */
.qrm-job {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: clamp(20px, calc(20px + 4 * var(--qrm-fl)), 24px); /* same on every side */
	border: 2px solid var(--qrm-crimson);
	border-radius: var(--qrm-radius);
	background: rgba(164, 51, 79, .05);
	color: #2B2B2B;
	text-decoration: none;
	transition: background-color .3s;
}
.qrm-job:hover, .qrm-job:focus-visible { background: rgba(164, 51, 79, .1); }
.qrm-job:focus-visible { outline: 2px solid var(--qrm-crimson); outline-offset: 3px; }
.qrm-job__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; min-width: 0; }
.qrm-job__place { font-size: 16px; font-weight: 700; line-height: 1.25; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* One line always: job-locations.js tightens the spacing on long names until they fit (ellipsis only as a last resort) */
.qrm-job__place.is-tight { letter-spacing: 1px; }
.qrm-job__place.is-tighter { letter-spacing: .5px; font-size: 15px; }
.qrm-job__place.is-tightest { letter-spacing: 0; font-size: 15px; }
.qrm-job__place abbr { text-decoration: none; }
.qrm-job__title { font-size: 16px; line-height: 1.4; color: #2B2B2B; text-wrap: pretty; }
.qrm-job__go {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(164, 51, 79, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: background-color .3s, translate .3s;
}
.qrm-job:hover .qrm-job__go, .qrm-job:focus-visible .qrm-job__go { background-color: rgba(164, 51, 79, .18); translate: 3px 0; }
.qrm-jobs-loc__more { display: flex; justify-content: center; margin-top: clamp(32px, calc(32px + 8 * var(--qrm-fl)), 40px); }
.qrm-jobs-loc__more-btn,
.qrm-jobs-loc__btn {
	display: inline-block;
	padding: 12px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	background: transparent;
	color: #2B2B2B;
	font: inherit;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, border-color .3s, color .3s;
}
.qrm-jobs-loc__more-btn:hover, .qrm-jobs-loc__more-btn:focus-visible,
.qrm-jobs-loc__btn:hover, .qrm-jobs-loc__btn:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); color: #2B2B2B; }
.qrm-jobs-loc__more-btn[hidden] { display: none; }
/* Nothing found: centered, crimson caps line, one sentence and the site's outline button */
.qrm-jobs-loc__none { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(32px, calc(32px + 16 * var(--qrm-fl)), 48px) 0 0; text-align: center; }
.qrm-jobs-loc__none[hidden] { display: none; }
.qrm-jobs-loc .qrm-jobs-loc__none p { margin: 0; font-size: 16px; text-wrap: pretty; }
.qrm-jobs-loc .qrm-jobs-loc__none p.qrm-jobs-loc__none-h { font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px); font-weight: 700; line-height: 1.4; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-jobs-loc__none .qrm-jobs-loc__btn { margin-top: 8px; }
/* Resume pop-up: the position picked from a card, shown like the card itself */
.qrm-job-pick {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 16px 0 8px;
	padding: clamp(16px, calc(16px + 4 * var(--qrm-fl)), 20px);
	border: 2px solid var(--qrm-crimson);
	border-radius: var(--qrm-radius);
	background: rgba(164, 51, 79, .05);
}
.qrm-job-pick[hidden] { display: none; }
.qrm-job-pick__label { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: #2B2B2B; text-wrap: pretty; }
.qrm-job-pick__label strong { color: var(--qrm-crimson); }
.qrm-job-pick__place { font-size: 16px; line-height: 1.4; color: #2B2B2B; }

/* ---------- QRM University program pages (inc/qrmu.php) ---------- */
/* Check-mark lists (live: crimson check, bold caps) */
ul.qrm-checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.qrm-checklist li {
	position: relative;
	padding-left: 34px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2B2B2B;
}
.qrm-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	background: var(--qrm-crimson);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-1.3 15.6-4.6-4.6 1.6-1.6 3 3 6.2-6.2 1.6 1.6Z'/%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'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-1.3 15.6-4.6-4.6 1.6-1.6 3 3 6.2-6.2 1.6 1.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Intro: heading, text and check list on the left, the facts card on the right (stacked ≤1024px) */
.qrm-qu-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); /* facts card a little wider than the text: two columns of facts */
	align-items: center;
	gap: clamp(40px, calc(40px + 40 * var(--qrm-fl)), 80px);
}
.qrm-qu-intro > * { margin: 0 !important; }
.qrm-qu-intro__text { display: flex; flex-direction: column; gap: 24px; }
.qrm-qu-intro__text > * { margin: 0 !important; }
.qrm-qu-intro__text > .qrm-checklist { margin-top: 8px !important; }
@media (max-width: 1024px) {
	.qrm-qu-intro { grid-template-columns: minmax(0, 1fr); }
	.qrm-qu-intro > .qrm-facts { justify-self: center; width: min(100%, 720px); }
}

/* Facts card (live: turquoise box, white type, Inquire pill) */
.qrm-facts {
	width: 100%;
	padding: clamp(24px, calc(24px + 12 * var(--qrm-fl)), 36px);
	border-radius: var(--qrm-radius);
	background: var(--qrm-turquoise, #63C8D1);
	color: #fff;
	box-shadow: 0 10px 30px rgba(42, 64, 89, .15);
}
.qrm-facts > * { margin: 0; }
.qrm-facts__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.qrm-facts__head > *, .qrm-facts__title > * { margin: 0; }
.qrm-facts .qrm-kicker { color: #fff; }
.qrm-facts__h { margin-top: 4px !important; font-size: clamp(28px, calc(28px + 8 * var(--qrm-fl)), 36px); font-weight: 400; line-height: 1.2; color: #fff; }
.qrm-facts__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, auto);
	grid-auto-flow: column;
	gap: 20px 28px;
	margin-top: clamp(20px, calc(20px + 8 * var(--qrm-fl)), 28px);
}
.qrm-facts__grid > .qrm-fact { margin: 0 !important; } /* no block-gap margin, so both columns start level */
.qrm-fact { position: relative; padding-left: 36px; }
.qrm-fact > * { margin: 0; }
.qrm-fact::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	background: var(--qrm-navy);
	-webkit-mask: var(--qrm-fact-icon) center / contain no-repeat;
	mask: var(--qrm-fact-icon) center / contain no-repeat;
}
.qrm-fact.is-stage { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4 2h12v2h4v18h-2V6h-2v16H4Zm9 9.2a1.2 1.2 0 1 0 0 2.4 1.2 1.2 0 0 0 0-2.4Z'/%3E%3C/svg%3E"); }
.qrm-fact.is-format { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5a1 1 0 0 1 1-1h6.5l2 2.5H21a1 1 0 0 1 1 1V19a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E"); }
.qrm-fact.is-tuition { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2.65 1.87 1.96 0 2.4-.98 2.4-1.59 0-.83-.44-1.61-2.67-2.14-2.48-.6-4.18-1.62-4.18-3.67 0-1.72 1.39-2.84 3.11-3.21V4h2.67v1.95c1.86.45 2.79 1.86 2.85 3.39H14.3c-.05-1.11-.64-1.87-2.22-1.87-1.5 0-2.4.68-2.4 1.64 0 .84.65 1.39 2.67 1.91s4.18 1.39 4.18 3.91c-.01 1.83-1.38 2.83-3.12 3.16Z'/%3E%3C/svg%3E"); }
.qrm-fact.is-library { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 4.5C4.5 3.3 8.3 3.6 11 5.6V21c-2.7-1.9-6.5-2.2-10-1Zm22 0c-3.5-1.2-7.3-.9-10 1.1V21c2.7-1.9 6.5-2.2 10-1Z'/%3E%3C/svg%3E"); }
.qrm-fact.is-courses { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2ZM9.5 16.5v-9l7 4.5Z'/%3E%3C/svg%3E"); }
.qrm-fact.is-duration { --qrm-fact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm1 5h-2v7l5.2 3.1 1-1.7-4.2-2.5Z'/%3E%3C/svg%3E"); }

.qrm-sec p.qrm-fact__label { font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.qrm-sec p.qrm-fact__value { font-size: 16px; line-height: 1.5; color: var(--qrm-navy); text-wrap: pretty; }
@media (max-width: 640px) {
	.qrm-facts__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 20px; }
}

/* Courses (QRMU Tools list) on a faint navy wash, like live */
.qrm-qu-courses { background: rgba(42, 64, 89, .02); }
.qrm-qu-courses > .wp-block-buttons { justify-content: center; margin-top: clamp(32px, calc(32px + 16 * var(--qrm-fl)), 48px); }

/* Course rows: caret centered on the row; open/close slides (site.js animates the height) */
.qrm-qu-courses .qrmu-course__caret { display: flex; align-self: center; padding-top: 0; transition: transform .3s ease; }
.qrm-qu-courses .qrmu-course.is-closing .qrmu-course__caret { transform: none; }
.qrm-qu-courses .qrmu-course { padding: clamp(18px, calc(18px + 6 * var(--qrm-fl)), 24px); border-radius: var(--qrm-radius); } /* even padding (plugin: 10px 30px); site rounding (plugin: 10px) */
.qrm-qu-courses .qrmu-course__desc { padding-top: 16px; padding-bottom: 0; text-wrap: pretty; }

/* Open positions */
.qrm-qu-jobs { padding-top: 0 !important; text-align: center; }

/* /university/ program cards */
.qrm-qu-programs { text-align: center; }
.qrm-qu-programs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: clamp(28px, calc(28px + 20 * var(--qrm-fl)), 48px) !important;
}
.qrm-qu-programs__grid > * { margin: 0 !important; }
.qrm-qu-card {
	position: relative;
	min-height: 0 !important;
	height: calc(clamp(300px, calc(300px + 60 * var(--qrm-fl)), 360px) + 60 * var(--qrm-xfl));
	padding: 0;
	overflow: hidden;
}
.qrm-qu-card .wp-block-cover__image-background { transition: transform .5s ease; }
.qrm-qu-card .wp-block-cover__background { opacity: .5; transition: background-color .5s, opacity .5s; }
.qrm-qu-card .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: auto;
	padding: 56px 24px 32px;
	color: #fff;
}
.qrm-qu-card .wp-block-cover__inner-container > * { margin: 0; }
.qrm-sec p.qrm-qu-card__label {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 8px 12px;
	background: var(--qrm-crimson);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}
.qrm-qu-card__title { font-size: clamp(22px, calc(22px + 6 * var(--qrm-fl)), 28px); font-weight: 700; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.qrm-qu-card .wp-block-button { position: static; }
.qrm-qu-card .wp-block-button__link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.qrm-qu-card:hover .wp-block-cover__background,
.qrm-qu-card:focus-within .wp-block-cover__background { background-color: #237DAB !important; opacity: .7; }
.qrm-qu-card:hover .wp-block-cover__image-background,
.qrm-qu-card:focus-within .wp-block-cover__image-background { transform: scale(1.05); }
@media (max-width: 900px) {
	.qrm-qu-programs__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto !important; gap: 20px; }
}

/* Pop-ups */
.qrm-qu-dialog { padding: clamp(32px, calc(32px + 24 * var(--qrm-fl)), 56px) clamp(20px, calc(20px + 36 * var(--qrm-fl)), 56px); }
.qrm-qu-dialog > * { margin: 0; }
.qrm-qu-dialog > * + * { margin-top: 20px; }
.qrm-qu-dialog .qrm-kicker + .qrm-qu-dialog__h { margin-top: 6px; }
.qrm-qu-dialog__h { padding-right: 32px; font-size: clamp(24px, calc(24px + 8 * var(--qrm-fl)), 32px); font-weight: 400; line-height: 1.25; color: #2B2B2B; }
.qrm-modal:has(.qrm-qu-dialog.is-question) { width: min(560px, calc(100vw - 32px)); }
.qrm-modal:has(.qrm-qu-dialog.is-share) { width: min(640px, calc(100vw - 32px)); } /* all five share options in one row */
/* Form pop-ups (newsletter, PDPM access, Learn More, resume): narrower and tighter than the 800px default
   so short forms don't float in empty space (Zack, 2026-11-20: "a bit larger than needed"). */
.qrm-modal:has(.qrm-qu-dialog.is-form) { width: min(640px, calc(100vw - 32px)); }
.qrm-qu-dialog.is-form { padding: clamp(28px, calc(28px + 12 * var(--qrm-fl)), 40px) clamp(20px, calc(20px + 20 * var(--qrm-fl)), 40px); }
.qrm-qu-dialog.is-form > * + * { margin-top: 16px; }
.qrm-qu-dialog.is-form .qrm-form__fields { row-gap: 18px; }
.qrm-qu-dialog.is-form textarea { min-height: 72px; }
.qrm-qu-dialog.is-form .qrm-form__file { flex-wrap: wrap; gap: 6px 12px; padding-bottom: 8px; } /* upload hint / file name on its own line under the button, never cut off */
.qrm-qu-dialog.is-form .qrm-form__file-name { flex-basis: 100%; }
.qrm-qu-dialog.is-question, .qrm-qu-dialog.is-share { text-align: center; }
.qrm-qu-dialog.is-question .qrm-qu-dialog__h, .qrm-qu-dialog.is-share .qrm-qu-dialog__h { padding-inline: 32px; }
.qrm-qu-dialog.is-question .wp-block-buttons { justify-content: center; gap: 16px 24px; }
.qrm-qu-dialog.is-share .qrm-share { justify-content: center; margin-top: clamp(24px, calc(24px + 8 * var(--qrm-fl)), 32px); }
.qrm-qu-dialog.is-share .qrm-share__subscribe { display: none; }
.qrm-qu-dialog.is-share .qrm-share-what { margin: 8px 0 0; font-size: 16px; color: #2B2B2B; text-wrap: pretty; } /* what's being shared */
/* Share pop-up: bigger rings (same drawing hover as everywhere else) with each one's name under it */
.qrm-qu-dialog.is-share .qrm-share__icons { flex-wrap: wrap; justify-content: center; gap: 34px 4px; padding-bottom: 26px; }
.qrm-qu-dialog.is-share .qrm-share__icons > li { display: flex; justify-content: center; width: 92px; } /* room for the name under each ring */
.qrm-qu-dialog.is-share .qrm-share__icon { width: 56px; height: 56px; }
.qrm-qu-dialog.is-share .qrm-ring circle { stroke-width: 1.2px; }
.qrm-qu-dialog.is-share .qrm-share__icon .qrm-icon { transform: scale(1.45); }
.qrm-qu-dialog.is-share .qrm-share__icon::after {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	translate: -50% 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	white-space: nowrap;
	color: #2B2B2B;
	transition: color .3s;
}
.qrm-qu-dialog.is-share .qrm-share__icon--linkedin::after { content: "LinkedIn"; }
.qrm-qu-dialog.is-share .qrm-share__icon--facebook::after { content: "Facebook"; }
.qrm-qu-dialog.is-share .qrm-share__icon--link::after { content: "Copy Link"; }
.qrm-qu-dialog.is-share .qrm-share__icon--link.is-copied::after { content: "Copied!"; color: var(--qrm-crimson); }
.qrm-qu-dialog.is-share .qrm-share__icon--sms::after { content: "Text"; }
.qrm-qu-dialog.is-share .qrm-share__icon--email::after { content: "Email"; }
.qrm-qu-dialog.is-share .qrm-share__icon:hover::after,
.qrm-qu-dialog.is-share .qrm-share__icon:focus-visible::after { color: var(--qrm-crimson); }
@media (max-width: 480px) {
	.qrm-qu-dialog.is-share .qrm-share__icons { gap: 30px 0; }
	.qrm-qu-dialog.is-share .qrm-share__icon { width: 48px; height: 48px; }
	.qrm-qu-dialog.is-share .qrm-share__icon .qrm-icon { transform: scale(1.25); }
}
.qrm-qu-intro, .qrm-qu-courses, .qrm-qu-jobs, .qrm-qu-programs {
	padding: clamp(70px, calc(70px + 30 * var(--qrm-fl)), 100px) var(--qrm-pad-x);
}
.qrm-qu-courses, .qrm-qu-jobs, .qrm-qu-programs { text-align: center; }
.qrm-qu-courses > *, .qrm-qu-jobs > *, .qrm-qu-programs > * { margin-block: 0; }
.qrm-qu-courses > .qrmu-courses { margin-top: clamp(32px, calc(32px + 16 * var(--qrm-fl)), 48px); }
.qrm-qu-courses > .wp-block-buttons { justify-content: center; margin-top: clamp(32px, calc(32px + 16 * var(--qrm-fl)), 48px); }
.qrm-qu-jobs > .qrm-h2 { margin-bottom: 12px; }
.qrm-qu-jobs > .qrm-qu-jobs__lede { max-width: 820px; margin: 0 auto clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px); text-wrap: pretty; }
.qrm-qu-benefits .qrm-checklist { margin-top: 8px; padding: 0; }
.qrm-qu-courses .qrmu-courses { text-align: left; }
.qrm-qu-courses, .qrm-qu-jobs { scroll-margin-top: 24px; }
@media (max-width: 1024px) { .qrm-qu-courses, .qrm-qu-jobs { scroll-margin-top: calc(var(--qrm-admin-bar) + 80px); } }

/* QRM University pages: every box uses the site rounding (--qrm-radius). Buttons keep the leaf shape,
   icons stay round, photos and form fields stay as they are, and the photo program cards stay square.
   (Zack, 2026-11-19: University pages only.) */
.qrm-modal:has(.qrm-qu-dialog:not(.is-site)) { border-radius: var(--qrm-radius); }
.qrm-qu-dialog:not(.is-site) .qrm-form-thanks,
.qrm-formpage.is-qrmu .qrm-form-thanks { border-radius: var(--qrm-radius); }

/* QRM University hero video (University + Therapy Foundations): her face is in the top third of the
   frame, a little left of center. Anchor the crop there so it never gets cut off at any width. */
.wp-block-cover__video-background[src*="qrm-university-bg-video"] { object-position: 34% 0%; }

/* ---------- Navy band hero (PDPM Calculator, legal pages): solid navy, yellow kicker, title, short line ----------
   PDPM: the calculator then sits in its own frame on its gray page color. */
.qrm-band-hero .wp-block-cover__background { opacity: 1; }
/* More text than the other heroes: grows to fit instead of a fixed height, and its top clears the logo/top links */
.qrm-page .qrm-svc-hero.qrm-band-hero, .qrm-svc-hero.qrm-band-hero { height: auto; min-height: 450px; padding-top: clamp(130px, calc(130px + 20 * var(--qrm-fl)), 150px); padding-bottom: clamp(48px, calc(48px + 32 * var(--qrm-fl)), 80px); }
.qrm-band-hero .qrm-kicker { color: var(--qrm-yellow); }
.qrm-band-hero .qrm-band-hero__lede { max-width: 720px; font-size: 16px; line-height: 1.5; color: #d7dee7; text-wrap: pretty; }
.qrm-pdpm-sec { margin-block: 0; padding: 0; background: #F4F5F7; }
.qrm-pdpm { width: 100%; }
.qrm-pdpm__frame { display: block; width: 100%; height: 1600px; border: 0; background: #F4F5F7; } /* until pdpm.js sets the real height */
/* Gate: no close button until the form is sent (pdpm.js) */
dialog.is-gate .qrm-modal__close { display: none; }

/* ---------- Legal pages (Privacy, Cookie, Terms): navy band hero (title + last updated), then the policy text
   in the site's styles: 16px #2B2B2B, heavy headings, crimson links, crimson-edged note boxes. ---------- */
.qrm-page > .qrm-sec.qrm-legal, .qrm-sec.qrm-legal {
	--qrm-colw: calc(960px + var(--qrm-xl) / 4);
	margin-block: 0;
	padding: clamp(50px, calc(50px + 30 * var(--qrm-fl)), 80px) var(--qrm-pad-x) clamp(60px, calc(60px + 40 * var(--qrm-fl)), 100px) !important;
	color: #2B2B2B;
	font-size: 16px;
	line-height: 1.6;
}
.qrm-legal > * { margin: 0; }
.qrm-legal h2 { scroll-margin-top: 100px; margin: 1.8em 0 .5em; font-size: clamp(24px, calc(24px + 12 * var(--qrm-fl)), 36px); font-weight: 600; line-height: 1.15; color: #2B2B2B; }
.qrm-legal h3 { scroll-margin-top: 100px; margin: 1.5em 0 .4em; font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px); font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-legal section:first-child h2, .qrm-legal > h2:first-child { margin-top: 0; }
.qrm-legal p, .qrm-legal li, .qrm-legal td, .qrm-legal th { text-wrap: pretty; }
.qrm-sec.qrm-legal p { margin: 0 0 1em; font-size: 16px; line-height: 1.6; color: #2B2B2B; }
.qrm-legal ul, .qrm-legal ol { margin: 0 0 1em; padding-left: 1.4em; }
.qrm-legal li + li { margin-top: .35em; }
.qrm-legal li::marker { color: var(--qrm-crimson); }
.qrm-legal a { color: var(--qrm-crimson); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.qrm-legal .callout, .qrm-legal .in-short { margin: 1.2em 0; padding: 20px 24px; border-left: 4px solid var(--qrm-crimson); background: rgba(42, 64, 89, .03); }
.qrm-sec.qrm-legal .callout > :last-child, .qrm-sec.qrm-legal .in-short > :last-child { margin-bottom: 0; }
.qrm-legal .toc { margin: 1em 0 1.4em; padding-left: 1.6em; columns: 2 300px; column-gap: 40px; }
.qrm-legal .toc li { break-inside: avoid; }
.qrm-legal table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: 15px; }
.qrm-legal th, .qrm-legal td { padding: 10px 14px; border-bottom: 1px solid #E3E6EA; text-align: left; vertical-align: top; }
.qrm-legal th { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--qrm-crimson); }
.qrm-legal td:first-child { width: 9em; font-weight: 700; }
@media (max-width: 640px) { .qrm-legal table { display: block; overflow-x: auto; } }

/* ---------- Simple pages: download section, message page, password-locked section ---------- */
.qrm-svc-hero--photo .wp-block-cover__image-background { object-position: right center; } /* live: photo anchored right */
.qrm-svc-hero--photo .wp-block-cover__background { opacity: .44; }

.qrm-download, .qrm-locked, .qrm-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px);
	padding: clamp(70px, calc(70px + 30 * var(--qrm-fl)), 100px) var(--qrm-pad-x);
	text-align: center;
}
.qrm-download > *, .qrm-locked > *, .qrm-message > * { margin: 0 !important; }
.qrm-download .qrm-h2, .qrm-message .qrm-h2 { max-width: 900px; text-wrap: balance; }
.qrm-download > .wp-block-buttons { justify-content: center; margin-top: 8px !important; }
.qrm-sec p.qrm-download__note { font-size: 16px; color: #2B2B2B; }
.qrm-download__thumb { width: min(100%, 420px); }
.qrm-download__thumb a { display: block; box-shadow: 0 10px 30px rgba(42, 64, 89, .18); transition: transform .3s ease, box-shadow .3s ease; }
.qrm-download__thumb a:hover, .qrm-download__thumb a:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42, 64, 89, .24); }
.qrm-download__thumb img { display: block; width: 100%; height: auto; }

/* Message page (Email Communications): white page, text centered in the first screen */
.qrm-page > .qrm-sec.qrm-message, .qrm-sec.qrm-message { min-height: 70vh; justify-content: center; padding-top: clamp(130px, calc(130px + 30 * var(--qrm-fl)), 160px); }
.qrm-message p { max-width: 640px; text-wrap: pretty; }

/* Locked section: a centered box with the password field (underline, like the forms) and a leaf button */
.qrm-locked.is-locked { background: rgba(42, 64, 89, .03); }
.qrm-locked__box { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(100%, 520px); }
.qrm-locked__box > * { margin: 0; }
.qrm-locked__h { font-size: calc(clamp(30.4px, calc(30.4px + 20.8 * var(--qrm-fl)), 51.2px) + 8.8 * var(--qrm-xfl)); font-weight: 600; line-height: 1.05; color: #2B2B2B; }
.qrm-sec p.qrm-locked__p { font-size: 16px; color: #2B2B2B; }
.qrm-locked__form { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 16px 20px; width: 100%; margin-top: 8px; }
.qrm-locked__input { flex: 1 1 240px; min-height: 40px; padding: 8px 2px; border: 0; border-bottom: 1px solid #2B2B2B; border-radius: 0; background: transparent; font: inherit; font-size: 16px; color: #1B1B1B; }
.qrm-locked__input:focus-visible { outline: none; border-bottom-color: var(--qrm-baltic); box-shadow: 0 1px 0 var(--qrm-baltic); }
.qrm-locked__btn {
	padding: 12px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	background: transparent;
	color: #2B2B2B;
	font: inherit;
	font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .3s, border-color .3s;
}
.qrm-locked__btn:hover, .qrm-locked__btn:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-sec p.qrm-locked__error { font-size: 16px; font-weight: 700; color: var(--qrm-crimson); }
.qrm-sec p.qrm-locked__help { font-size: 14px; }
.qrm-locked__help a { color: var(--qrm-crimson); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Clinical Connection Network ---------- */
.qrm-ccn-split .qrm-checklist { margin-top: 4px; }
.qrm-ccn-rotations { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, calc(24px + 16 * var(--qrm-fl)), 40px); padding: clamp(60px, calc(60px + 40 * var(--qrm-fl)), 100px) var(--qrm-pad-x); text-align: center; }
.qrm-ccn-rotations > * { margin: 0 !important; }
.qrm-ccn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, calc(16px + 14 * var(--qrm-fl)), 30px); width: 100%; }
@media (max-width: 767px) { .qrm-ccn-cards { grid-template-columns: minmax(0, 1fr); } }
/* Photo cards (live: flip boxes that grow and tint on hover) */
.qrm-ccn-card { min-height: 0 !important; height: clamp(220px, calc(220px + 80 * var(--qrm-fl)), 300px); margin: 0 !important; padding: 0; overflow: hidden; }
.qrm-ccn-card .wp-block-cover__image-background { transition: transform .6s ease; }
.qrm-ccn-card .wp-block-cover__background { transition: opacity .4s ease; }
.qrm-ccn-card:hover .wp-block-cover__image-background { transform: scale(1.08); }
.qrm-ccn-card:hover .wp-block-cover__background { opacity: .6 !important; }
.qrm-ccn-card .wp-block-cover__inner-container { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.qrm-sec .qrm-ccn-card p.qrm-ccn-card__label, .qrm-ccn-card p.qrm-ccn-card__label { margin: 0; font-size: clamp(16px, calc(16px + 4 * var(--qrm-fl)), 20px); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
/* Tabs in the middle of a page: buttons sit on the page (About's sit half over its hero) */
.qrm-tabs--inline > .qrm-tabs__bar { margin: 0 auto clamp(10px, calc(10px + 20 * var(--qrm-fl)), 30px); padding-top: clamp(20px, calc(20px + 20 * var(--qrm-fl)), 40px); }

/* ---------- Members pages after the password (Diamond, Respiratory), like live ----------
   Intro (text left, animation / photo right), then tabs from the Google Sheet (qrm/sheet-resources). */
.qrm-locked:not(.is-locked) { display: block; padding-top: clamp(60px, calc(60px + 40 * var(--qrm-fl)), 100px); text-align: left; }
.qrm-locked:not(.is-locked) > * { margin: 0 !important; }
.qrm-mem-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, calc(32px + 48 * var(--qrm-fl)), 80px); }
.qrm-mem-intro > * { margin: 0 !important; }
.qrm-mem-intro__text { display: flex; flex-direction: column; gap: clamp(13px, calc(13px + 7 * var(--qrm-fl)), 20px); }
.qrm-mem-intro__text > * { margin: 0 !important; }
.qrm-mem-intro__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qrm-mem-intro__sparkle { display: block; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
@media (max-width: 900px) {
	.qrm-mem-intro { grid-template-columns: minmax(0, 1fr); }
	.qrm-mem-intro__sparkle { width: min(70%, 300px); }
}
.qrm-locked:not(.is-locked) > .qrm-mem { margin-top: clamp(48px, calc(48px + 32 * var(--qrm-fl)), 80px) !important; }
.qrm-mem.qrm-tabs--inline > .qrm-tabs__bar { flex-wrap: wrap; padding-top: 0; }
.qrm-mem__panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, calc(24px + 24 * var(--qrm-fl)), 48px); padding-top: clamp(20px, calc(20px + 20 * var(--qrm-fl)), 40px); }
.qrm-mem__panel.has-covers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.qrm-mem__panel.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
@media (max-width: 900px) { .qrm-mem__panel.has-covers, .qrm-mem__panel.has-photo { grid-template-columns: minmax(0, 1fr); } }
.qrm-mem__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qrm-mem__main > * { margin: 0; }
.qrm-mem__h { font-size: calc(clamp(28px, calc(28px + 14 * var(--qrm-fl)), 42px) + 4 * var(--qrm-xfl)); font-weight: 600; line-height: 1.1; color: #2B2B2B; }
.qrm-sec p.qrm-mem__p { font-size: 16px; line-height: 1.6; color: #2B2B2B; text-wrap: pretty; }
.qrm-sec p.qrm-mem__kicker { margin-top: 10px; }
/* Diamond: file names in crimson caps with a download arrow */
.qrm-mem__list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.qrm-mem__list a { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px); font-weight: 700; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; color: var(--qrm-crimson); text-decoration: none; text-wrap: pretty; }
.qrm-mem__list a:hover, .qrm-mem__list a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.qrm-mem__icon { flex: none; width: 20px; height: 20px; }
/* Respiratory: video, then Resources / Quiz buttons */
.qrm-mem__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.qrm-mem__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qrm-mem__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.qrm-mem__btn {
	display: inline-block;
	padding: 12px 20px;
	border: 2px solid #2B2B2B;
	border-radius: 50px 50px 0 50px;
	color: #2B2B2B;
	font-size: clamp(12.8px, calc(12.8px + 1.2 * var(--qrm-fl)), 14px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .3s, border-color .3s;
}
.qrm-mem__btn:hover, .qrm-mem__btn:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-mem__photo { margin: 0; }
.qrm-mem__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Diamond: cover row (scrolls; arrows move one cover) */
.qrm-mem__covers { position: relative; min-width: 0; }
.qrm-mem__strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 16px; }
.qrm-mem__strip::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { .qrm-mem__strip { grid-auto-columns: 78%; } } /* phones: one cover plus a peek of the next */
.qrm-mem__cover { margin: 0; scroll-snap-align: start; }
.qrm-mem__cover a { display: flex; flex-direction: column; gap: 10px; color: #2B2B2B; text-decoration: none; }
.qrm-mem__cover img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #F4F5F7; box-shadow: 0 8px 24px rgba(42, 64, 89, .18); transition: transform .3s ease; }
.qrm-mem__cover a:hover img, .qrm-mem__cover a:focus-visible img { transform: translateY(-4px); }
.qrm-mem__cover figcaption { font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center; text-wrap: pretty; }
.qrm-mem__arrows { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.qrm-mem__arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 2px solid #2B2B2B; border-radius: 50%; background: transparent; color: #2B2B2B; cursor: pointer; transition: background-color .3s, border-color .3s; }
.qrm-mem__arrow svg { width: 18px; height: 18px; }
.qrm-mem__arrow:hover, .qrm-mem__arrow:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-res__empty { padding: 20px; border-left: 4px solid var(--qrm-crimson); background: rgba(42, 64, 89, .03); }

/* ---------- Search results (templates/search.html): the archive layout with a search box ---------- */
.qrm-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; width: min(100%, 640px); margin: 8px 0 0; }
.qrm-search__input { flex: 1 1 260px; min-height: 40px; padding: 8px 28px 8px 2px; border: 0; border-bottom: 1px solid #2B2B2B; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4334F' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6' stroke-linecap='round'/%3E%3C/svg%3E") right 4px center / 16px no-repeat; font: inherit; font-size: 16px; color: #1B1B1B; }
.qrm-search__input:focus-visible { outline: none; border-bottom-color: var(--qrm-baltic); box-shadow: 0 1px 0 var(--qrm-baltic); }
.qrm-search__btn { padding: 12px 24px; border: 2px solid #2B2B2B; border-radius: 50px 50px 0 50px; background: transparent; color: #2B2B2B; font: inherit; font-size: clamp(12.8px, calc(12.8px + 3.2 * (100vw - 375px) / 1065), 16px); font-weight: 700; line-height: 1; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background-color .3s, border-color .3s; }
.qrm-search__btn:hover, .qrm-search__btn:focus-visible { background: var(--qrm-yellow); border-color: var(--qrm-yellow); }
.qrm-archive__head p.qrm-search__count { margin: 4px 0 0; font-size: 16px; color: #2B2B2B; }
