/* ==========================================================================
   RiskLogic — main.css
   1. Tokens
   2. Reset / base
   3. Layout + type
   4. Buttons
   5. Header + nav
   6. Banner
   7. Shared sections (strip, testimonials, CTA)
   8. Content / prose
   9. Footer
   10. Responsive
   11. Reduced motion
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
	--rl-purple:       #671e75;
	--rl-purple-dark:  #521760;
	--rl-cream:        #f0f0eb;
	--rl-body:         #333333;
	--rl-black:        #000000;
	--rl-white:        #ffffff;
	--rl-on-purple:    #eeeeee;   /* secondary text on purple */
	--rl-dot:          #cccccc;
	--rl-line:         rgba(0, 0, 0, 0.1);
	--rl-line-light:   rgba(255, 255, 255, 0.3);
	--rl-border:       #d9d9d9;   /* cards, list dividers */
	--rl-grey-bg:      #f9f8f8;   /* section fill */
	--rl-muted:        #484848;   /* secondary body text */
	--rl-lead-light:   #dddddd;   /* hero text on purple */

	--rl-font-display: "Neo Sans Std", "neo-sans", Arial, sans-serif;
	--rl-font-body:    Arial, "Helvetica Neue", Helvetica, sans-serif;
	--rl-font-mono:    "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--rl-container:    1220px;
	--rl-gutter:       24px;
	--rl-section-y:    100px;
	--rl-header-h:     100px;     /* drawer offsets off this */
	--rl-adminbar:     0px;
	--rl-radius-pill:  500px;
	--rl-ease:         cubic-bezier(0.2, 0.7, 0.2, 1);
	--rl-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);      /* expo out */
	--rl-ease-inout:   cubic-bezier(0.76, 0, 0.24, 1);
	--rl-ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-bar { --rl-adminbar: 32px; }

/* 2. Reset / base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rl-header-h) + var(--rl-adminbar) + 16px);
}

body {
	margin: 0;
	background: var(--rl-white);
	color: var(--rl-body);
	font-family: var(--rl-font-body);
	font-size: 16px;
	line-height: 26px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.rl-nav-open { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }

ul[class],
ol[class] { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

[hidden] { display: none !important; }

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.rl-main:focus { outline: none; }

/* Reveal offsets must never create sideways scroll. clip keeps the sticky header working. */
.rl-main,
.rl-footer { overflow-x: clip; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rl-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--rl-cream);
	color: var(--rl-black);
	border-radius: 4px;
	transform: translateY(-200%);
}
.rl-skip:focus { transform: none; }

/* 3. Layout + type -------------------------------------------------------- */
.rl-container {
	width: 100%;
	max-width: calc(var(--rl-container) + 2 * var(--rl-gutter));
	margin-inline: auto;
	padding-inline: var(--rl-gutter);
}

.rl-section { padding-block: var(--rl-section-y); }

.rl-icon {
	display: block;
	flex: none;
	width: 1em;
	height: 1em;
}

.rl-h2 {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 44px;
	line-height: 52px;
	letter-spacing: -0.01em;                  /* matches Figma line lengths */
	color: var(--rl-black);
}

/* Italic ending on headings: Neo Sans Italic is the regular weight. */
.rl-h2 em,
.rl-banner__title em {
	font-style: italic;
	font-weight: 400;
}

.rl-eyebrow {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--rl-purple);
}

/* Breadcrumb — only the pages inside a menu dropdown carry one. Sits on the
   purple of a hero or banner, so it takes its colour from there and marks the
   trail by weight rather than by hue. */
.rl-crumb {
	margin-bottom: 30px;
}
.rl-crumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--rl-font-mono);
	font-weight: 500;
	font-size: 12px;
	line-height: 19.2px;
	letter-spacing: 1.08px;
	text-transform: uppercase;
	/* Always sits on the purple, so it is set white rather than inheriting
	   the dark body colour. */
	color: var(--rl-white);
}
.rl-crumb__item {
	opacity: 0.7;
}
/* The separator belongs to the item before it, so a trail that wraps breaks
   as "Solutions /" then the page, never with a stray slash opening the line. */
.rl-crumb__item:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
}
.rl-crumb__item--current {
	opacity: 1;
}

.rl-bg--grey { background: var(--rl-grey-bg); }
.rl-bg--cream { background: var(--rl-cream); }

.rl-stack {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* Heading left, intro right (testimonials and similar section heads). */
.rl-split-head {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.rl-split-head__main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rl-split-head__intro {
	flex: 0 0 520px;
	max-width: 520px;
	color: var(--rl-body);
}
.rl-split-head__intro > * + * { margin-top: 10px; }
.rl-split-head--even .rl-split-head__intro {
	flex: 1 1 0;
	max-width: none;
}

/* 4. Buttons -------------------------------------------------------------- */
.rl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 54px;
	padding: 11px 25px;
	border: 1px solid transparent;
	border-radius: var(--rl-radius-pill);
	background: var(--rl-cream);
	color: var(--rl-black);
	font-family: var(--rl-font-body);
	font-size: 16px;
	line-height: 26px;
	letter-spacing: -0.32px;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.rl-btn:hover { background: var(--rl-white); }

.rl-btn__icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--rl-ease);
}
.rl-btn:hover .rl-btn__icon { transform: translateX(3px); }

.rl-btn--sm {
	min-height: 48px;
	padding-inline: 22px;
}

.rl-btn--outline {
	background: transparent;
	border-color: var(--rl-white);
	color: var(--rl-white);
}
.rl-btn--outline:hover {
	background: var(--rl-cream);
	border-color: var(--rl-cream);
	color: var(--rl-black);
}

.rl-btn--purple {
	background: var(--rl-purple);
	color: var(--rl-white);
}
.rl-btn--purple:hover { background: var(--rl-purple-dark); }

/* 5. Header + nav --------------------------------------------------------- */
.rl-header {
	position: sticky;
	top: var(--rl-adminbar);
	z-index: 60;                              /* vs page content */
	background: var(--rl-purple);
	border-bottom: 1px solid var(--rl-line-light);
	color: var(--rl-white);
	transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.rl-header.is-scrolled { box-shadow: 0 12px 32px -14px rgba(30, 6, 36, 0.55); }
body.rl-nav-open .rl-header {
	box-shadow: none;
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.rl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-height: calc(var(--rl-header-h) - 1px);
}

.rl-logo {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	flex: none;
}
.rl-logo__img {
	width: auto;
	height: 52px;
}
.rl-logo__text {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 30px;
	line-height: 1;
}

.rl-nav { position: relative; z-index: 1; }   /* inside the header context */

.rl-nav__list {
	display: flex;
	align-items: center;
	gap: 36px;
}

.rl-nav__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
}

.rl-nav__link {
	position: relative;
	font-size: 14px;
	line-height: 24px;
	color: var(--rl-white);
}
.rl-nav__list > .rl-nav__item > .rl-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.4s var(--rl-ease-out);
}
.rl-nav__list > .rl-nav__item > .rl-nav__link:hover::after,
.rl-nav__list > .rl-nav__item.is-current > .rl-nav__link::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.rl-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--rl-white);
}
.rl-nav__toggle .rl-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}
.rl-nav__item.is-open > .rl-nav__toggle .rl-icon { transform: rotate(180deg); }

/* Desktop dropdown */
.rl-nav__sub {
	position: absolute;
	top: calc(100% + 22px);
	left: -20px;
	z-index: 2;
	min-width: 264px;
	max-height: calc(100vh - var(--rl-header-h) - 60px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--rl-white);
	border-radius: 8px;
	box-shadow: 0 18px 44px -12px rgba(30, 6, 36, 0.28), 0 2px 8px rgba(0, 0, 0, 0.06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px) scale(0.985);
	transform-origin: 40px top;
	transition: opacity 0.2s var(--rl-ease-out), transform 0.26s var(--rl-ease-out), visibility 0s linear 0.26s;
}
.rl-nav__sub::before {                        /* hover bridge over the gap */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 24px;
}
.rl-nav__item--parent:hover > .rl-nav__sub,
.rl-nav__item--parent:focus-within > .rl-nav__sub,
.rl-nav__item--parent.is-open > .rl-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.rl-nav__sub .rl-nav__item { display: block; }
.rl-nav__sub .rl-nav__item + .rl-nav__item { border-top: 1px solid rgba(0, 0, 0, 0.09); }
.rl-nav__sub .rl-nav__link {
	display: block;
	position: relative;
	padding: 13px 20px;
	font-size: 14px;
	line-height: 22px;
	color: var(--rl-body);
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, padding-left 0.25s var(--rl-ease-out);
}
.rl-nav__sub .rl-nav__link::after { content: none; }
.rl-nav__sub .rl-nav__link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--rl-purple);
	transform: scaleY(0);
	transform-origin: center top;
	transition: transform 0.25s var(--rl-ease-out);
}
.rl-nav__sub .rl-nav__link:hover,
.rl-nav__sub .rl-nav__link:focus-visible,
.rl-nav__sub .rl-nav__item.is-current > .rl-nav__link {
	background: var(--rl-cream);
	color: var(--rl-purple);
	padding-left: 24px;
}
.rl-nav__sub .rl-nav__link:hover::before,
.rl-nav__sub .rl-nav__link:focus-visible::before,
.rl-nav__sub .rl-nav__item.is-current > .rl-nav__link::before { transform: scaleY(1); }


.rl-header__actions {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 16px;
	flex: none;
}

.rl-phone {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-white);
	white-space: nowrap;
}
.rl-phone .rl-icon {
	width: 20px;
	height: 20px;
}
.rl-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }

.rl-header .rl-btn--sm { min-width: 160px; }

.rl-burger {
	position: relative;
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -2px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: var(--rl-white);
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.25s var(--rl-ease-out);
}
.rl-burger:active { transform: scale(0.92); }
.rl-nav-open .rl-burger {
	background: var(--rl-cream);
	border-color: var(--rl-cream);
	color: var(--rl-purple);
}

.rl-burger__box {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

/*
 * Lines are staggered in length. Opening: they slide to the centre, then
 * rotate into an X (with a little overshoot). Closing runs the reverse.
 */
.rl-burger__line {
	position: absolute;
	right: 0;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition:
		rotate 0.25s var(--rl-ease-out) 0s,
		translate 0.25s var(--rl-ease-out) 0.22s,
		width 0.35s var(--rl-ease-out),
		opacity 0.2s ease 0.2s;
}
.rl-burger__line--top { top: 0; width: 100%; }
.rl-burger__line--mid { top: 6px; width: 70%; }
.rl-burger__line--bot { top: 12px; width: 40%; }

.rl-nav-open .rl-burger__line {
	width: 100%;
	transition:
		translate 0.22s var(--rl-ease-out) 0s,
		rotate 0.45s var(--rl-ease-spring) 0.2s,
		width 0.2s var(--rl-ease-out),
		opacity 0.12s ease;
}
.rl-nav-open .rl-burger__line--top { translate: 0 6px; rotate: 45deg; }
.rl-nav-open .rl-burger__line--mid { opacity: 0; translate: 10px 0; }
.rl-nav-open .rl-burger__line--bot { translate: 0 -6px; rotate: -45deg; }

@media (hover: hover) {
	.rl-burger:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
	.rl-burger:hover .rl-burger__line--mid,
	.rl-burger:hover .rl-burger__line--bot { width: 100%; }
	.rl-nav-open .rl-burger:hover { background: var(--rl-white); }
}

/* Mobile drawer — hidden on desktop */
.rl-drawer { display: none; }

/* 6. Banner --------------------------------------------------------------- */
.rl-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 340px;
	background: var(--rl-purple);
	color: var(--rl-white);
	overflow: hidden;
}
.rl-banner__inner { position: relative; z-index: 1; }
.rl-banner__copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 570px;
	padding-block: 60px;
}
/* With an image, the copy must stop short of the photo's half. */
@media (min-width: 901px) {
	.rl-banner--media .rl-banner__copy { max-width: min(570px, calc(50vw - var(--rl-gutter) - 32px)); }
	/* Without one, the heading has the full column to itself. */
	.rl-banner:not(.rl-banner--media) .rl-banner__copy { max-width: 860px; }
}
.rl-banner__eyebrow { color: var(--rl-white); }
.rl-banner__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 52px;
	line-height: 72px;
}
.rl-banner__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	overflow: hidden;
}
.rl-banner__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 7. Shared sections ------------------------------------------------------ */

/* People strip */
.rl-strip {
	padding-block: 80px;
	background: var(--rl-purple);
	color: var(--rl-white);
}
.rl-strip__inner {
	display: flex;
	align-items: flex-start;
	gap: 100px;                               /* design 120 / 560; browser Neo Sans runs ~1% wider */
}
.rl-strip__title {
	flex: 0 1 580px;
	color: var(--rl-white);
}
@media (min-width: 1100px) {
	.rl-strip__title em,
	.rl-cta__title em { display: block; }
}
.rl-strip__text {
	flex: 0 1 540px;
	font-size: 20px;
	line-height: 30px;
}

/* Testimonials */
.rl-testi { background: var(--rl-white); }
.rl-testi .rl-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.rl-testi__viewport {
	position: relative;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.rl-testi__viewport::-webkit-scrollbar { display: none; }

.rl-testi__list {
	--rl-testi-gap: 44px;
	--rl-testi-per: 3;
	display: flex;
	align-items: flex-start;
	column-gap: var(--rl-testi-gap);
}

.rl-testi__card {
	position: relative;
	flex: 0 0 calc((100% - (var(--rl-testi-per) - 1) * var(--rl-testi-gap)) / var(--rl-testi-per));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	scroll-snap-align: start;
}
.rl-testi__card + .rl-testi__card::before {   /* divider sits in the middle of the gap */
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--rl-testi-gap) / -2);
	width: 1px;
	background: var(--rl-border);
}

.rl-testi__mark {
	width: 50px;
	height: 50px;
	color: var(--rl-purple);
}

.rl-testi__quote { color: var(--rl-body); }
.rl-testi__quote:not(.is-open) p,
.rl-clamp:not(.is-open) p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
}

.rl-testi__more {
	margin-block: -7px;                       /* 40px tap target, same visual spacing */
	padding-block: 7px;
	color: var(--rl-purple);
	line-height: 26px;
}
.rl-testi__more:hover { text-decoration: underline; text-underline-offset: 4px; }

.rl-testi__author {
	font-weight: 700;
	color: var(--rl-black);
}

.rl-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-block: -14px;                      /* 40px targets, same visual spacing */
}
/* The button is the tap target; the visible dot is drawn inside it. */
.rl-dots__dot {
	position: relative;
	width: 24px;
	height: 40px;
	transition: width 0.25s var(--rl-ease);
}
.rl-dots__dot::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 6px;
	right: 6px;
	height: 12px;
	border-radius: 10px;
	background: var(--rl-dot);
	transition: background-color 0.25s ease;
}
.rl-dots__dot.is-active { width: 38px; }
.rl-dots__dot.is-active::before { background: var(--rl-purple); }
.rl-dots__dot:focus-visible { outline: none; }
.rl-dots__dot:focus-visible::before { outline: 2px solid var(--rl-purple); outline-offset: 3px; }

/* Call to action */
.rl-cta {
	padding-block: var(--rl-section-y);
	background: var(--rl-purple);
	color: var(--rl-white);
}
.rl-cta__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 80px;
}
.rl-cta__copy {
	flex: 0 1 630px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.rl-cta__title { color: var(--rl-cream); }
.rl-cta__text { color: var(--rl-on-purple); }

.rl-cta__list {
	flex: 0 1 484px;
	width: 484px;
}
.rl-cta__item { border-bottom: 1px solid var(--rl-white); }
.rl-cta__item:first-child { border-top: 1px solid var(--rl-white); }

.rl-cta__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 18px;
	grid-template-rows: auto auto;
	column-gap: 16px;
	row-gap: 4px;
	align-items: center;
	padding-block: 16px;
	color: var(--rl-white);
}
.rl-cta__label {
	grid-column: 1;
	grid-row: 1;
	font-family: var(--rl-font-display);
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--rl-on-purple);
}
.rl-cta__value {
	grid-column: 1;
	grid-row: 2;
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 24px;
	line-height: 34px;
	overflow-wrap: anywhere;
}
.rl-cta__icon {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--rl-ease);
}
.rl-cta__link:hover .rl-cta__value { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.rl-cta__link:hover .rl-cta__icon { transform: translateX(-3px); }


/* 7b. Homepage + reusable section parts ---------------------------------- */

/* Hero */
.rl-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 680px;
	background: var(--rl-purple);
	color: var(--rl-white);
	overflow: hidden;
}
.rl-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 80px;
}
.rl-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	max-width: 570px;
}
.rl-hero__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rl-hero__eyebrow { color: var(--rl-white); }
.rl-hero__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 64px;
	line-height: 72px;
}
.rl-hero__lead { color: var(--rl-lead-light); }
.rl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.rl-hero__actions .rl-btn--outline { letter-spacing: -0.64px; }

/* Image starts 40px right of centre; the runsheet sits on the centre line. */
.rl-hero__media {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% + 40px);
	right: 0;
	overflow: hidden;
}
.rl-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rl-runsheet {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	width: 432px;
	max-width: calc(100% - 2 * var(--rl-gutter));
	margin: 0;
	background: var(--rl-cream);
	border-radius: 9px;
	color: #0d2320;
	box-shadow: 0 1px 1px rgba(8, 25, 20, 0.16), 0 18px 20px rgba(8, 25, 20, 0.5);
	overflow: hidden;
}
.rl-runsheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px 14px;
	border-bottom: 2px solid #685a6a;
}
.rl-runsheet__title,
.rl-runsheet__badge {
	font-family: var(--rl-font-mono);
	font-weight: 500;
	font-size: 12px;
	line-height: 19.2px;
	letter-spacing: 1.08px;
	text-transform: uppercase;
	white-space: nowrap;
}
.rl-runsheet__title { color: #47574f; }
.rl-runsheet__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--rl-purple);
}
.rl-runsheet__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 1px;
	background: #824292;
	transform: rotate(45deg);
}
.rl-runsheet__table {
	width: 100%;
	border-collapse: collapse;
}
.rl-runsheet__table tbody tr + tr { border-top: 1px solid #cdd2c9; }
.rl-runsheet__table td {
	padding: 9px 0 10px;
	vertical-align: baseline;
}
.rl-runsheet__table .rl-runsheet__time {
	width: 84px;
	padding-left: 16px;
	font-family: var(--rl-font-display);
	font-size: 12px;
	line-height: 20px;
	color: var(--rl-purple);
	white-space: nowrap;
}
.rl-runsheet__label {
	font-size: 15px;
	line-height: 20px;
	letter-spacing: -0.38px;
}
.rl-runsheet__table .rl-runsheet__role {
	width: 96px;
	padding-right: 16px;
	font-family: var(--rl-font-mono);
	font-size: 10px;
	line-height: 16px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #5a6a62;
	white-space: nowrap;
}
.rl-runsheet__caption {
	padding: 12px 16px 11px;
	border-top: 1px dashed #5a6a62;
	font-size: 12px;
	line-height: 16.8px;
	color: #47574f;
}

/* Numbers */
.rl-stats { padding-block: 40px; }
.rl-stats__eyebrow {
	margin-bottom: 20px;
	text-align: center;
}
.rl-stats__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 570px));
	gap: 20px 40px;
}
.rl-stats__item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.rl-stats__number {
	flex: none;
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 82px;
	line-height: 90px;
	letter-spacing: -4px;
	color: var(--rl-purple);
	white-space: nowrap;
}
.rl-stats__text {
	max-width: 310px;
	font-family: var(--rl-font-display);
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-muted);
}

/* Icon cards */
.rl-cards {
	--rl-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--rl-cols), minmax(0, 1fr));
	gap: 18px;
}
.rl-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 30px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 10px;
}
.rl-card__head {
	display: flex;
	align-items: center;
	gap: 20px;
}
/* Icons carry their own tile and colours — size the slot only. */
.rl-card__icon,
.rl-iconlist__icon {
	flex: none;
	width: 54px;
	height: 54px;
	object-fit: contain;
}
.rl-card__title,
.rl-iconlist__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-card__link:hover,
.rl-iconlist__link:hover { color: var(--rl-purple); text-decoration: underline; text-underline-offset: 4px; }
.rl-card__text > * + * { margin-top: 10px; }

/* Intro + icon list */
.rl-iconsplit__inner {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}
.rl-iconsplit__intro {
	flex: 0 0 470px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-iconsplit__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rl-iconlist {
	flex: 1 1 0;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 20px;
}
.rl-iconlist__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
/* Row divider: drawn from the first item in each row, across both columns. */
.rl-iconlist__item:nth-child(2n+3) { padding-top: 20px; }
.rl-iconlist__item:nth-child(2n+4) { padding-top: 20px; }
.rl-iconlist__item:nth-child(2n+3)::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(200% + 30px);
	height: 1px;
	background: var(--rl-border);
}
.rl-iconlist__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.rl-iconlist__text { color: var(--rl-muted); }

/* Copy + image with points card */
.rl-mpoints__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 44px;                                /* design 50; browser Neo Sans runs ~1% wider */
}
.rl-mpoints__copy {
	flex: 1 1 572px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.rl-mpoints__text > * + * { margin-top: 10px; }
.rl-mpoints__visual {
	position: relative;
	flex: 0 0 598px;
}
.rl-mpoints__media {
	position: absolute;
	top: 0;
	left: 60px;
	width: 540px;
	height: 360px;
	border-radius: 10px;
	overflow: hidden;
}
.rl-mpoints__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rl-mpoints__list {
	position: relative;
	width: 380px;
	margin-left: 12px;
	background: var(--rl-grey-bg);
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(8, 25, 20, 0.1), 0 10px 20px -10px rgba(8, 25, 20, 0.3);
}
.rl-mpoints__visual--media .rl-mpoints__list { margin-top: 250px; }
/* Purple squares on the card's top-left and bottom-right corners. */
.rl-mpoints__list::before,
.rl-mpoints__list::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--rl-purple);
}
.rl-mpoints__list::before { top: -10px; left: -10px; }
.rl-mpoints__list::after { right: -10px; bottom: -10px; }
.rl-mpoints__point {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
	padding: 12px 20px;
	font-family: var(--rl-font-display);
	color: var(--rl-black);
}
.rl-mpoints__point + .rl-mpoints__point { border-top: 1px solid var(--rl-border); }
.rl-mpoints__icon {
	flex: none;
	width: 32px;
	height: 32px;
	object-fit: contain;
}


/* Bullet lists: 6px purple dot. Ruled variant has hairlines between items. */
.rl-points {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rl-points li {
	position: relative;
	padding-left: 16px;
	font-size: 14px;
	line-height: 24px;
	color: #171317;
}
.rl-points li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rl-purple);
}
.rl-points--ruled { gap: 0; }
.rl-points--ruled li {
	padding-block: 10px;
	border-top: 1px solid var(--rl-border);
	font-weight: 700;
}
.rl-points--ruled li:last-child { border-bottom: 1px solid var(--rl-border); }
.rl-points--ruled li::before { top: 19px; }

.rl-card__points {
	padding-top: 10px;
	border-top: 1px solid var(--rl-border);
}
.rl-cards--2 { gap: 20px 32px; }

/* Copy + single image */
.rl-msplit__inner {
	display: flex;
	align-items: flex-start;
	gap: 72px;                                /* design 80; browser Neo Sans runs ~1% wider */
}
.rl-msplit__copy {
	flex: 1 1 570px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.rl-msplit__text > * + * { margin-top: 10px; }
.rl-msplit__text + .rl-points { margin-top: -10px; }
.rl-msplit__copy .rl-points { align-self: stretch; }
.rl-msplit__media {
	flex: 0 1 570px;
	aspect-ratio: 3 / 2;
	border-radius: 10px;
	overflow: hidden;
}
.rl-msplit__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--rl-pos, 50% 50%);
}
.rl-msplit--media-left .rl-msplit__media { order: -1; }
.rl-msplit--media-center .rl-msplit__media { align-self: center; }

/* Fill the row instead of keeping the photo's own proportions. Only while the
   two columns sit side by side — once they stack, 'ratio' takes over again so
   the picture is shown whole. */
@media (min-width: 1024px) {
	.rl-msplit--media-stretch .rl-msplit__media {
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 260px;
	}
}
.rl-msplit--no-media .rl-msplit__copy { max-width: 780px; }

/* Section spacing helper: sits straight after a same-colour section. */
.rl-section--flush-top { padding-top: 0; }

.rl-msplit__media { aspect-ratio: var(--rl-ratio, 3 / 2); }

/* Heading with a fixed-width title column and a wide intro. */
.rl-split-head--wide-intro .rl-split-head__main { flex: 0 0 421px; }
.rl-split-head--wide-intro .rl-split-head__intro {
	flex: 1 1 0;
	max-width: none;
}

/* Outline purple button (on light backgrounds). */
.rl-btn--outline-purple {
	background: transparent;
	border-color: var(--rl-purple);
	color: var(--rl-purple);
}
.rl-btn--outline-purple:hover {
	background: var(--rl-purple);
	color: var(--rl-white);
}

/* Larger bullet list (course details). */
.rl-points--lg { gap: 10px; }
.rl-points--lg li {
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-points--lg li::before { top: 10px; }

/* White bordered panel. */
.rl-panel {
	padding: 20px 30px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 10px;
}

/* Course details */
.rl-course__inner {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}
.rl-course__aside {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-course__partner {
	display: flex;
	align-items: center;
	gap: 18px;
}
.rl-course__logo {
	flex: none;
	width: 100px;
	height: 56px;
	object-fit: contain;
}
.rl-course__partner-copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 700;
}
.rl-course__partner-label {
	font-size: 14px;
	line-height: 22px;
	text-transform: uppercase;
	color: var(--rl-purple);
}
.rl-course__partner-name {
	font-size: 20px;
	line-height: 30px;
	color: #171717;
}
.rl-course__details {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rl-course__details-title {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rl-border);
	font-size: 20px;
	font-weight: 400;
	line-height: 30px;
	color: #171717;
}
.rl-course__actions {
	display: flex;
	gap: 20px;
}
.rl-course__actions .rl-btn { flex: 1 1 0; }
.rl-course__copy {
	flex: 0 1 570px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.rl-course__text > * + * { margin-top: 10px; }

/* Numbered cards. Subgrid lines titles and text up across each row. */
.rl-numcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 18px;
}
.rl-numcard {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 30px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 10px;
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
@supports (grid-template-rows: subgrid) {
	.rl-numcard {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
		row-gap: 20px;
		justify-items: start;
		align-content: start;
	}
}
.rl-numcard__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding-top: 4px;
	border-radius: 8px;
	background: var(--rl-purple);
	color: var(--rl-white);
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 1;
	transition: transform 0.5s var(--rl-ease-spring);
}
.rl-numcard__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-numcard__text { color: var(--rl-body); }

/* Icon feature rows */
.rl-features {
	align-self: stretch;
	display: flex;
	flex-direction: column;
}
.rl-feature { display: flex; }
.rl-feature__icon {
	flex: none;
	width: var(--rl-icon, 44px);
	height: var(--rl-icon, 44px);
	object-fit: contain;
	transition: transform 0.5s var(--rl-ease-spring);
}
.rl-feature__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rl-feature__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-feature__text { color: var(--rl-body); }

.rl-features--ruled .rl-feature {
	align-items: center;
	gap: 16px;
	padding-block: 16px;
	border-top: 1px solid var(--rl-border);
}
.rl-features--ruled .rl-feature:last-child { border-bottom: 1px solid var(--rl-border); }

.rl-features--divided .rl-feature {
	align-items: flex-start;
	gap: 14px;
	padding-block: 8px;
}
.rl-features--divided .rl-feature + .rl-feature {
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid var(--rl-border);
}
.rl-features--divided .rl-feature__body { gap: 2px; }
.rl-features--divided .rl-feature__text { color: var(--rl-muted); }

@media (hover: hover) {
	.rl-numcard:hover {
		transform: translateY(-6px);
		border-color: rgba(103, 30, 117, 0.28);
		box-shadow: 0 26px 48px -28px rgba(103, 30, 117, 0.45);
	}
	.rl-numcard:hover .rl-numcard__num { transform: scale(1.08) rotate(-4deg); }
	.rl-feature:hover .rl-feature__icon { transform: scale(1.1); }
}

/* Slightly tighter section rhythm (80px on desktop). */
.rl-section--compact { padding-block: calc(var(--rl-section-y) * 0.8); }

/* Knowledge Hub resource cards */
.rl-resources {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.rl-resource {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 8px;
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.rl-resource__top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}
.rl-resource__icon {
	flex: none;
	width: 36px;
	height: 36px;
	transition: transform 0.5s var(--rl-ease-spring);
}
.rl-resource__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-purple);
}
.rl-resource__text {
	flex: 1 1 auto;
	color: var(--rl-body);
}
.rl-resource__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 4px;
	margin-block: -7px;                       /* 40px tap target, same visual spacing */
	padding-block: 7px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: -0.32px;
	color: var(--rl-purple);
}
.rl-resource__dl {
	width: 20px;
	height: 20px;
	transition: transform 0.3s var(--rl-ease-out);
}
.rl-resource__link:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.rl-resource__link:hover .rl-resource__dl { transform: translateY(2px); }
.rl-resource__link--pending { opacity: 0.4; }

@media (hover: hover) {
	.rl-resource:hover {
		transform: translateY(-6px);
		border-color: rgba(103, 30, 117, 0.28);
		box-shadow: 0 26px 48px -28px rgba(103, 30, 117, 0.45);
	}
	.rl-resource:hover .rl-resource__icon { transform: scale(1.08) rotate(-4deg); }
}

/* Plain intro section */
.rl-intro__inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rl-intro__text { margin-top: 8px; }
.rl-intro__text > * + * { margin-top: 10px; }

/* Level-3 heading used inside panels. */
.rl-h3 {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -0.01em;
	color: var(--rl-black);
}

/* White pill button (on purple). */
.rl-btn--white { background: var(--rl-white); }
.rl-btn--white:hover { background: var(--rl-cream); }

/* Generic "Read More" toggle */
.rl-more {
	align-self: flex-start;
	margin-block: -7px;                       /* 40px tap target, same visual spacing */
	padding-block: 7px;
	color: var(--rl-purple);
	line-height: 26px;
}
.rl-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Industry accordion */
.rl-acc__item { padding-block: 60px; }
.rl-bg--white { background: var(--rl-white); }
.rl-acc__heading { margin: 0; }
.rl-acc__toggle {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	padding-block: 10px;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}
.rl-acc__num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding-top: 4px;
	border-radius: 8px;
	background: var(--rl-purple);
	color: var(--rl-white);
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 1;
}
.rl-acc__titles {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--rl-font-display);
	font-weight: 500;
}
.rl-acc__kicker {
	font-size: 16px;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--rl-purple);
}
.rl-acc__title {
	font-size: 36px;
	line-height: 46px;
	letter-spacing: -0.01em;
	color: var(--rl-black);
	transition: color 0.3s ease;
}
.rl-acc__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--rl-purple);
	color: var(--rl-white);
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.3s ease;
}
.rl-acc__icon .rl-icon { width: 14px; height: 14px; }
.rl-acc__item.is-open .rl-acc__icon { transform: rotate(180deg); }
.rl-acc__toggle:focus-visible { outline: none; }
.rl-acc__toggle:focus-visible .rl-acc__icon { box-shadow: 0 0 0 3px var(--rl-white), 0 0 0 5px var(--rl-purple); }

/* Collapse animates the grid row from 0fr to 1fr; only when JS is running. */
.rl-acc__panel {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.6s var(--rl-ease-out), visibility 0s linear 0s;
}
.rl-js .rl-acc__item:not(.is-open) .rl-acc__panel {
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 0.45s var(--rl-ease-out), visibility 0s linear 0.45s;
}
.rl-acc__inner {
	min-height: 0;
	overflow: hidden;
}
.rl-acc__body {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: 40px;
	transition: opacity 0.4s ease, transform 0.6s var(--rl-ease-out);
}
.rl-js .rl-acc__item:not(.is-open) .rl-acc__body {
	opacity: 0;
	transform: translate3d(0, -12px, 0);
}

.rl-acc__block {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-acc__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rl-acc__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
.rl-acc__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.rl-acc__col .rl-clamp { color: var(--rl-body); }
.rl-acc__col-label {
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	text-transform: uppercase;
	color: var(--rl-purple);
}

.rl-svcs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.rl-svc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 30px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 10px;
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.rl-svc__head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.rl-svc__icon {
	flex: none;
	width: 32px;
	height: 32px;
}
.rl-svc__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-svc__text {
	padding-left: 44px;
	color: var(--rl-body);
}

.rl-callout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 30px;
	border-radius: 10px;
	background: var(--rl-purple);
	color: var(--rl-white);
}
.rl-callout__copy {
	flex: 0 1 750px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--rl-font-display);
	font-weight: 500;
}
.rl-callout__eyebrow {
	font-size: 16px;
	line-height: 26px;
	text-transform: uppercase;
}
.rl-callout__line {
	font-size: 24px;
	line-height: 30px;
}
.rl-callout .rl-btn { flex: none; }

.rl-resources--tight { gap: 20px; }

@media (hover: hover) {
	.rl-acc__toggle:hover .rl-acc__title { color: var(--rl-purple); }
	.rl-acc__toggle:hover .rl-acc__icon { box-shadow: 0 8px 18px -6px rgba(103, 30, 117, 0.6); }
	.rl-svc:hover {
		transform: translateY(-4px);
		border-color: rgba(103, 30, 117, 0.28);
		box-shadow: 0 22px 40px -26px rgba(103, 30, 117, 0.45);
	}
}

/* Office cards */
.rl-offices__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-offices__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rl-offices__text > * + * { margin-top: 10px; }
.rl-offices__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.rl-office {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	background: var(--rl-grey-bg);
	border: 1px solid #eeeeee;
	border-radius: 16px;
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.rl-office__media {
	height: 220px;
	border-radius: 12px;
	overflow: hidden;
}
.rl-office__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--rl-ease-out);
}
.rl-office__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.rl-office__name {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-purple);
}
.rl-office__address { color: #54585a; }

/* Contact section */
.rl-contact__inner {
	display: flex;
	align-items: flex-start;
	gap: 72px;
}
.rl-contact__copy {
	flex: 1 1 570px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.rl-contact__text > * + * { margin-top: 10px; }
.rl-contact__expect {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-contact__expect-title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-checks {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-family: var(--rl-font-display);
	font-weight: 500;
	line-height: 20px;
	color: var(--rl-black);
}
.rl-checks li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rl-checks__icon {
	flex: none;
	width: 20px;
	height: 20px;
}

/* Enquiry form */
.rl-formcard {
	flex: 0 1 570px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 20px;
}
.rl-formcard__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 24px;
	line-height: 30px;
	color: var(--rl-purple);
}
.rl-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-form__trap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.rl-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}
.rl-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rl-field--full { grid-column: 1 / -1; }
.rl-field__label {
	font-weight: 700;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-field__label span { color: var(--rl-purple); }
.rl-field__input {
	width: 100%;
	height: 48px;
	padding: 10px 16px;
	background: var(--rl-white);
	border: 1px solid var(--rl-border);
	border-radius: 8px;
	font-family: var(--rl-font-body);
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.rl-field__input--area {
	height: 120px;
	padding-block: 12px;
	resize: vertical;
}
.rl-field__input::placeholder { color: #666666; }
.rl-field__input:focus {
	outline: none;
	border-color: var(--rl-purple);
	box-shadow: 0 0 0 3px rgba(103, 30, 117, 0.15);
}
.rl-field.has-error .rl-field__input {
	border-color: #b3261e;
	box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.rl-form__submit { width: 100%; }
.rl-form__submit.is-busy { opacity: 0.7; pointer-events: none; }
.rl-form__status:empty { display: none; }
.rl-form__status {
	margin-top: -8px;
	font-size: 15px;
	line-height: 24px;
	color: var(--rl-body);
}
.rl-form__status.is-ok { color: #1c7a3e; }
.rl-form__status.is-error { color: #b3261e; }

@media (hover: hover) {
	.rl-office:hover {
		transform: translateY(-6px);
		border-color: rgba(103, 30, 117, 0.24);
		box-shadow: 0 26px 48px -28px rgba(103, 30, 117, 0.4);
	}
	.rl-office:hover .rl-office__img { transform: scale(1.05); }
}

/* 7c. Motion ---------------------------------------------------------------
   Scroll reveal: elements with [data-reveal] start hidden only when JS has
   flagged <html class="rl-js">. main.js adds .is-visible when they enter the
   viewport, then .is-revealed so their own hover transitions take over.
   ------------------------------------------------------------------------- */
.rl-js [data-reveal]:not(.is-revealed) {
	transition:
		opacity 0.9s ease var(--rl-delay, 0ms),
		transform 1.1s var(--rl-ease-out) var(--rl-delay, 0ms),
		clip-path 1.3s var(--rl-ease-inout) var(--rl-delay, 0ms);
}
.rl-js [data-reveal]:not(.is-visible) {
	opacity: 0;
	transform: translate3d(0, 32px, 0);
}
.rl-js [data-reveal="fade"]:not(.is-visible) { transform: none; }
.rl-js [data-reveal="left"]:not(.is-visible) { transform: translate3d(-40px, 0, 0); }
.rl-js [data-reveal="right"]:not(.is-visible) { transform: translate3d(40px, 0, 0); }
.rl-js [data-reveal="scale"]:not(.is-visible) { transform: scale(0.94); }

/* Images wipe in from the right while settling from a slight zoom.
   The end state must be inset(0) — clip-path can't animate to "none". */
.rl-js [data-reveal="media"] {
	overflow: hidden;
	clip-path: inset(0 0 0 0);
}
.rl-js [data-reveal="media"]:not(.is-visible) {
	opacity: 1;
	transform: none;
	clip-path: inset(0 0 0 100%);
}
.rl-js [data-reveal="media"] img { transition: transform 1.8s var(--rl-ease-out) var(--rl-delay, 0ms); }
.rl-js [data-reveal="media"]:not(.is-visible) img { transform: scale(1.14); }

/* Left-hand images wipe in from the left. */
.rl-js .rl-msplit--media-left [data-reveal="media"]:not(.is-visible) { clip-path: inset(0 100% 0 0); }

/* Runsheet rows tick in one after another. */
.rl-js [data-reveal="row"]:not(.is-visible) { transform: none; }
.rl-js [data-reveal="row"] td { transition: transform 0.7s var(--rl-ease-out) var(--rl-delay, 0ms); }
.rl-js [data-reveal="row"]:not(.is-visible) td { transform: translate3d(0, 10px, 0); }

/* Heading italic endings arrive a beat later. */
.rl-js [data-reveal] em {
	display: inline-block;
	transition: opacity 0.9s ease calc(var(--rl-delay, 0ms) + 250ms), transform 1.1s var(--rl-ease-out) calc(var(--rl-delay, 0ms) + 250ms);
}
.rl-js [data-reveal]:not(.is-visible) em {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
}
@media (min-width: 1100px) {
	.rl-js .rl-strip__title em,
	.rl-js .rl-cta__title em { display: block; }
}

/* Icon list dividers draw across. */
.rl-iconlist__item::before { transform-origin: left center; }
.rl-js .rl-iconlist__item::before { transition: transform 1.2s var(--rl-ease-out) calc(var(--rl-delay, 0ms) + 200ms); }
.rl-js .rl-iconlist__item:not(.is-visible)::before { transform: scaleX(0); }

/* Points card corner squares pop in after the card lands. */
.rl-js .rl-mpoints__list::before,
.rl-js .rl-mpoints__list::after { transition: transform 0.6s var(--rl-ease-spring) 0.9s; }
.rl-js .rl-mpoints__list:not(.is-visible)::before,
.rl-js .rl-mpoints__list:not(.is-visible)::after { transform: scale(0); }

/* Counters: keep digits from jittering. */
.rl-stats__number [data-rl-count] {
	display: inline-block;
	font-variant-numeric: tabular-nums;
}

/* Runsheet badge: slow breathing marker. */
.rl-runsheet__badge::before { animation: rl-breathe 2.8s ease-in-out infinite; }
@keyframes rl-breathe {
	0%, 100% { box-shadow: 0 0 0 0 rgba(130, 66, 146, 0.45); }
	50%      { box-shadow: 0 0 0 5px rgba(130, 66, 146, 0); }
}

/* Hover details (pointer devices only). */
.rl-btn { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s var(--rl-ease-out), box-shadow 0.3s ease; }
.rl-btn:active { transform: scale(0.97); }

.rl-card {
	transition: transform 0.45s var(--rl-ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.rl-card__icon,
.rl-iconlist__icon,
.rl-mpoints__icon { transition: transform 0.5s var(--rl-ease-spring); }
.rl-mpoints__point { transition: background-color 0.3s ease; }
.rl-testi__mark { transition: transform 0.5s var(--rl-ease-spring); }

@media (hover: hover) {
	.rl-btn--purple:hover { box-shadow: 0 12px 24px -12px rgba(103, 30, 117, 0.6); }
	.rl-card:hover {
		transform: translateY(-6px);
		border-color: rgba(103, 30, 117, 0.28);
		box-shadow: 0 26px 48px -28px rgba(103, 30, 117, 0.45);
	}
	.rl-card:hover .rl-card__icon { transform: scale(1.08) rotate(-5deg); }
	.rl-iconlist__item:hover .rl-iconlist__icon { transform: translateY(-3px) scale(1.06); }
	.rl-mpoints__point:hover { background: var(--rl-white); }
	.rl-mpoints__point:hover .rl-mpoints__icon { transform: scale(1.12); }
	.rl-testi__card:hover .rl-testi__mark { transform: translateY(-4px); }
	.rl-mpoints__media img,
	.rl-hero__media img { transition: transform 1.2s var(--rl-ease-out); }
	.rl-mpoints__visual:hover .rl-mpoints__media img { transform: scale(1.04); }
}

/* 7d. Policy page --------------------------------------------------------- */
.rl-policy { padding: 80px 0; }
.rl-policy__inner {
	display: flex;
	align-items: flex-start;
	gap: 60px;
}

.rl-policy__side {
	flex: 0 0 300px;
	max-width: 300px;
}
.rl-policy__sticky {
	position: sticky;
	top: calc(var(--rl-header-h) + var(--rl-adminbar) + 32px);
	max-height: calc(100vh - var(--rl-header-h) - var(--rl-adminbar) - 64px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.rl-policy__navtitle {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rl-border);
	font-weight: 700;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--rl-black);
}
.rl-policy__navlist {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
}
.rl-policy__navlink {
	display: flex;
	gap: 6px;
	font-size: 16px;
	line-height: 26px;
	color: #666666;
	text-decoration: none;
	transition: color 0.25s ease;
}
.rl-policy__num { flex: none; }
.rl-policy__navlink:hover { color: var(--rl-purple); }
.rl-policy__navlink.is-current {
	font-weight: 700;
	color: var(--rl-purple);
}

.rl-policy__body {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 860px;
}
.rl-policy__block {
	display: flex;
	flex-direction: column;
	gap: 10px;
	scroll-margin-top: calc(var(--rl-header-h) + var(--rl-adminbar) + 24px);
}
.rl-policy__block + .rl-policy__block {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--rl-border);
}
.rl-policy__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: var(--rl-black);
}
.rl-policy__text {
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-policy__text a,
.rl-policy__bullets a {
	color: var(--rl-purple);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rl-policy__text a:hover,
.rl-policy__bullets a:hover { text-decoration-thickness: 2px; }

.rl-policy__bullets {
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: none;
}
.rl-policy__bullets li {
	position: relative;
	padding-left: 14px;
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-policy__bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rl-body);
}

ol.rl-policy__clauses {
	margin-top: 2px;
	padding-left: 30px;
	list-style: decimal outside;
}
.rl-policy__clauses li {
	margin-top: 10px;
	padding-left: 4px;
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-policy__clauses li:first-child { margin-top: 0; }
.rl-policy__clauses li::marker {
	font-weight: 700;
	color: var(--rl-purple);
}

.rl-policy__address {
	display: flex;
	flex-direction: column;
	margin-top: 4px;
	padding: 16px 20px;
	background: var(--rl-grey-bg);
	border: 1px solid var(--rl-border);
	border-radius: 6px;
	font-style: normal;
	font-size: 16px;
	line-height: 26px;
	color: var(--rl-body);
}
.rl-policy__address span:first-child {
	font-weight: 700;
	color: var(--rl-black);
}

/* Floating back-to-top */
.rl-totop {
	position: fixed;
	right: max(20px, calc((100vw - var(--rl-container)) / 2 - 64px));
	bottom: 28px;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--rl-purple);
	color: var(--rl-white);
	box-shadow: 0 10px 28px -8px rgba(30, 6, 36, 0.55);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px) scale(0.9);
	transition: opacity 0.3s ease, transform 0.45s var(--rl-ease-out), background 0.25s ease;
}
.rl-totop[hidden] { display: none; }
.rl-totop.is-visible {
	opacity: 1;
	transform: none;
}
.rl-totop:hover { background: var(--rl-purple-dark); }
.rl-totop__icon {
	width: 20px;
	height: 20px;
	transform: rotate(-90deg);
}

/* 7e. Photo gallery ------------------------------------------------------- */
.rl-gallery__viewport {
	position: relative;
	margin-top: 56px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.rl-gallery__viewport::-webkit-scrollbar { display: none; }
.rl-gallery__viewport:focus-visible { outline: 2px solid var(--rl-purple); outline-offset: 6px; }

.rl-gallery__list {
	--rl-gal-gap: 32px;
	--rl-gal-per: 3;
	display: flex;
	align-items: stretch;
	column-gap: var(--rl-gal-gap);
	list-style: none;
}
.rl-gallery__item {
	flex: 0 0 calc((100% - (var(--rl-gal-per) - 1) * var(--rl-gal-gap)) / var(--rl-gal-per));
	scroll-snap-align: start;
}
.rl-gallery__figure {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
}
.rl-gallery__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center 35%;
	border-radius: 10px;
	background: var(--rl-grey-bg);
}
.rl-gallery__caption {
	margin-top: 14px;
	font-size: 15px;
	line-height: 22px;
	color: var(--rl-muted);
}
.rl-gallery .rl-dots { margin-top: 18px; }

@media (hover: hover) {
	.rl-gallery__img { transition: transform 0.9s var(--rl-ease-out); }
	.rl-gallery__item:hover .rl-gallery__img { transform: scale(1.02); }
}

/* 8. Content / prose ------------------------------------------------------ */
.rl-prose {
	max-width: 800px;
	color: var(--rl-body);
}
.rl-prose > * + * { margin-top: 1em; }
.rl-prose h2,
.rl-prose h3,
.rl-prose h4 {
	margin-top: 1.6em;
	font-family: var(--rl-font-display);
	font-weight: 500;
	color: var(--rl-black);
}
.rl-prose h2 { font-size: 32px; line-height: 40px; }
.rl-prose h3 { font-size: 24px; line-height: 34px; }
.rl-prose h4 { font-size: 20px; line-height: 30px; }
.rl-prose > :first-child { margin-top: 0; }
.rl-prose a:not(.rl-btn) {
	color: var(--rl-purple);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rl-prose ul,
.rl-prose ol { padding-left: 1.25em; }
.rl-prose li + li { margin-top: 0.35em; }
.rl-prose img { border-radius: 8px; }

.rl-post-list { display: grid; gap: 32px; max-width: 800px; }
.rl-post-list__item { padding-bottom: 32px; border-bottom: 1px solid var(--rl-line); }
.rl-post-list__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 24px;
	line-height: 34px;
	color: var(--rl-black);
}
.rl-post-list__title a:hover { color: var(--rl-purple); }
.rl-post-list__meta { margin: 4px 0 8px; font-size: 14px; color: #666; }

.rl-pagination .nav-links { display: flex; gap: 8px; margin-top: 40px; }
.rl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-pill);
}
.rl-pagination .page-numbers.current { background: var(--rl-purple); border-color: var(--rl-purple); color: var(--rl-white); }

/* 9. Footer --------------------------------------------------------------- */
.rl-footer { background: var(--rl-white); color: var(--rl-body); }

.rl-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	padding-top: 80px;
	padding-bottom: 60px;
}

.rl-footer__brand {
	flex: 0 1 394px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.rl-logo--footer .rl-logo__img { height: 80px; }
.rl-logo--footer .rl-logo__text { color: var(--rl-purple); }

.rl-footer__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rl-footer__title {
	font-family: var(--rl-font-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	text-transform: uppercase;
	color: var(--rl-black);
	white-space: nowrap;
}

.rl-footer__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.rl-footer__links a:hover,
.rl-footer__contact a:hover span { color: var(--rl-purple); text-decoration: underline; text-underline-offset: 4px; }
.rl-footer__links .current-menu-item > a { color: var(--rl-purple); }

.rl-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rl-footer__contact a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rl-footer__icon {
	width: 24px;
	height: 24px;
	color: var(--rl-purple);
}

.rl-footer__notice {
	padding-block: 16px;
	border-top: 1px solid var(--rl-line);
	border-bottom: 1px solid var(--rl-line);
	font-family: var(--rl-font-display);
	font-weight: 400;
	color: var(--rl-black);
}

.rl-footer__bar {
	padding-block: 20px;
	font-size: 12px;
	line-height: 22px;
	color: var(--rl-black);
}
.rl-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.rl-footer__credit:hover { color: var(--rl-purple); text-decoration: underline; }

/* 10. Responsive ---------------------------------------------------------- */
@media (max-width: 1280px) {
	.rl-nav__list { gap: 26px; }
	.rl-banner__title { font-size: 46px; line-height: 56px; }
	.rl-strip__inner { gap: 64px; }
	.rl-cta__inner { gap: 56px; }
}

/* Drawer nav */
@media (max-width: 1099.98px) {
	:root { --rl-header-h: 84px; }

	.rl-logo__img { height: 44px; }
	.rl-nav { display: none; }
	.rl-burger { display: inline-flex; }

	.rl-drawer {
		position: fixed;
		inset: 0;
		z-index: 55;                          /* under the header, so the burger stays on top */
		display: block;
		padding-top: var(--rl-drawer-top, calc(var(--rl-header-h) + var(--rl-adminbar)));
		background: var(--rl-purple);
		color: var(--rl-white);
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}
	.rl-nav-open .rl-drawer {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.3s ease, visibility 0s linear 0s;
	}

	.rl-drawer__inner {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 40px;
		height: 100%;
		max-width: 720px;
		padding: 24px var(--rl-gutter) max(32px, env(safe-area-inset-bottom));
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.rl-drawer__item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}
	.rl-drawer__link {
		position: relative;
		display: flex;
		align-items: center;
		gap: 16px;
		padding: 16px 4px 16px 0;
		font-family: var(--rl-font-display);
		font-weight: 500;
		font-size: 30px;
		line-height: 38px;
		letter-spacing: -0.3px;
		color: var(--rl-white);
		-webkit-tap-highlight-color: transparent;
	}
	.rl-drawer__label {
		flex: 1 1 auto;
		transition: transform 0.45s var(--rl-ease-out);
	}
	.rl-drawer__arrow {
		flex: none;
		width: 22px;
		height: 22px;
		opacity: 0.35;
		transition: opacity 0.35s ease, transform 0.45s var(--rl-ease-out);
	}
	.rl-drawer__link:hover .rl-drawer__label,
	.rl-drawer__link:focus-visible .rl-drawer__label { transform: translateX(6px); }
	.rl-drawer__link:hover .rl-drawer__arrow,
	.rl-drawer__link:focus-visible .rl-drawer__arrow { opacity: 1; transform: translateX(4px); }
	.rl-drawer__link:active .rl-drawer__label { transform: translateX(10px); }
	.rl-drawer__item.is-current .rl-drawer__label {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 8px;
	}

	/* Collapsible sub-menus */
	.rl-drawer__row {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.rl-drawer__row .rl-drawer__link { flex: 1 1 auto; min-width: 0; }
	.rl-drawer__link--parent {
		width: 100%;
		text-align: left;
		background: none;
		border: 0;
		cursor: pointer;
	}
	.rl-drawer__toggle {
		flex: none;
		display: inline-flex;
		align-items: center;
		justify-content: flex-end;
		width: 44px;
		height: 44px;
		padding-right: 4px;
		color: var(--rl-white);
		background: none;
		border: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.rl-drawer__chevron {
		flex: none;
		width: 22px;
		height: 22px;
		opacity: 0.6;
		transition: transform 0.4s var(--rl-ease-out), opacity 0.3s ease;
	}
	.rl-drawer__link--parent .rl-drawer__chevron { margin-left: auto; }
	.rl-drawer__item--parent.is-open .rl-drawer__chevron {
		transform: rotate(180deg);
		opacity: 1;
	}

	.rl-drawer__sub {
		display: grid;
		grid-template-rows: 1fr;
		transition: grid-template-rows 0.5s var(--rl-ease-out), visibility 0s linear 0s;
	}
	.rl-js .rl-drawer__item--parent:not(.is-open) > .rl-drawer__sub {
		grid-template-rows: 0fr;
		visibility: hidden;
		transition: grid-template-rows 0.4s var(--rl-ease-out), visibility 0s linear 0.4s;
	}
	.rl-drawer__sublist {
		overflow: hidden;
		min-height: 0;
	}
	.rl-drawer__item--sub { border-bottom: 0; }
	.rl-drawer__item--sub:first-child { padding-top: 2px; }
	.rl-drawer__item--sub:last-child { padding-bottom: 14px; }
	.rl-drawer__item--sub .rl-drawer__link {
		padding: 9px 4px 9px 0;
		font-family: var(--rl-font-body);
		font-weight: 400;
		font-size: 17px;
		line-height: 26px;
		letter-spacing: 0;
		color: rgba(255, 255, 255, 0.76);
	}
	.rl-drawer__item--sub .rl-drawer__arrow { width: 16px; height: 16px; }
	.rl-drawer__item--sub .rl-drawer__link:hover,
	.rl-drawer__item--sub .rl-drawer__link:focus-visible { color: var(--rl-white); }
	.rl-drawer__item--sub.is-current .rl-drawer__link { color: var(--rl-white); }

	.rl-drawer__foot {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.rl-drawer__eyebrow {
		margin-bottom: 4px;
		font-family: var(--rl-font-mono);
		font-size: 12px;
		letter-spacing: 1.2px;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.55);
	}
	.rl-drawer__contact {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		font-size: 18px;
		line-height: 28px;
		color: var(--rl-white);
	}
	.rl-drawer__contact .rl-icon { width: 20px; height: 20px; opacity: 0.8; }
	.rl-drawer__btn {
		align-self: stretch;
		margin-top: 12px;
	}

	/* Staggered entrance: list, then contact rows, then the button. */
	.rl-drawer__list > .rl-drawer__item,
	.rl-drawer__foot > * {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
		transition: opacity 0.15s ease, transform 0.15s ease;
	}
	.rl-nav-open .rl-drawer__list > .rl-drawer__item,
	.rl-nav-open .rl-drawer__foot > * {
		opacity: 1;
		transform: none;
		transition: opacity 0.5s ease, transform 0.6s var(--rl-ease-out);
		transition-delay: calc(0.1s + var(--rl-i, 0) * 0.05s);
	}
	.rl-drawer__list > .rl-drawer__item:nth-child(2) { --rl-i: 1; }
	.rl-drawer__list > .rl-drawer__item:nth-child(3) { --rl-i: 2; }
	.rl-drawer__list > .rl-drawer__item:nth-child(4) { --rl-i: 3; }
	.rl-drawer__list > .rl-drawer__item:nth-child(5) { --rl-i: 4; }
	.rl-drawer__list > .rl-drawer__item:nth-child(6) { --rl-i: 5; }
	.rl-drawer__list > .rl-drawer__item:nth-child(7) { --rl-i: 6; }
	.rl-drawer__list > .rl-drawer__item:nth-child(n+8) { --rl-i: 7; }
	.rl-drawer__foot > :nth-child(1) { --rl-i: 5; }
	.rl-drawer__foot > :nth-child(2) { --rl-i: 6; }
	.rl-drawer__foot > :nth-child(3) { --rl-i: 7; }
	.rl-drawer__foot > :nth-child(n+4) { --rl-i: 8; }

	.rl-cta__inner { flex-direction: column; gap: 48px; }
	.rl-cta__copy { flex: none; max-width: 640px; }
	.rl-cta__list { flex: none; width: 100%; max-width: 640px; }

	.rl-footer__top { flex-wrap: wrap; row-gap: 48px; }
	.rl-footer__brand { flex: 0 0 100%; }
	.rl-footer__blurb { max-width: 480px; }
	.rl-footer__col { flex: 1 1 200px; }
}

@media (max-width: 900px) {
	:root { --rl-section-y: 72px; }

	.rl-h2 { font-size: 36px; line-height: 44px; }

	.rl-banner {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}
	.rl-banner__copy { padding-block: 48px; }
	.rl-banner--media .rl-banner__copy { padding-bottom: 36px; }
	.rl-banner__title { font-size: 40px; line-height: 50px; }
	.rl-banner__media {
		position: relative;
		width: 100%;
		aspect-ratio: 16 / 7;
	}

	.rl-strip { padding-block: 64px; }
	.rl-strip__inner,
	.rl-cta__inner,
	.rl-split-head {
		flex-direction: column;
		gap: 20px;
	}
	.rl-strip__title,
	.rl-strip__text,
	.rl-cta__copy,
	.rl-split-head__intro { flex: none; max-width: 640px; }
	.rl-cta__inner { gap: 48px; }
	.rl-cta__list { flex: none; width: 100%; max-width: 640px; }

	.rl-testi__list { --rl-testi-per: 2; --rl-testi-gap: 40px; }
}

@media (max-width: 782px) {
	.admin-bar { --rl-adminbar: 46px; }
}

@media (max-width: 700px) {
	.rl-header__actions .rl-phone,
	.rl-header__actions .rl-btn { display: none; }
}

@media (max-width: 600px) {
	:root {
		--rl-gutter: 20px;
		--rl-section-y: 56px;
		--rl-header-h: 72px;
	}
	/* WP admin bar scrolls away on small screens. */
	.admin-bar { --rl-adminbar: 0px; }

	.rl-logo__img { height: 38px; }
	.rl-logo--footer .rl-logo__img { height: 64px; }

	.rl-h2 { font-size: 30px; line-height: 38px; }
	.rl-banner__title { font-size: 34px; line-height: 42px; }
	.rl-banner__copy { padding-block: 40px; }
	.rl-banner__media { aspect-ratio: 3 / 2; }

	.rl-strip__text { font-size: 18px; line-height: 28px; }

	.rl-testi__list { --rl-testi-per: 1.12; --rl-testi-gap: 32px; }

	.rl-cta__value { font-size: 20px; line-height: 30px; }
	.rl-cta__btn { align-self: stretch; }       /* standalone action row only */

	.rl-footer__top { padding-top: 56px; padding-bottom: 40px; }
	.rl-footer__col { flex-basis: 100%; }
	.rl-footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}


/* Homepage parts */
@media (max-width: 1280px) {
	.rl-hero__title { font-size: 56px; line-height: 64px; }
	.rl-stats__number { font-size: 68px; line-height: 76px; letter-spacing: -3px; }
	.rl-mpoints__visual { flex-basis: 500px; }
	.rl-mpoints__media { left: 40px; width: calc(100% - 40px); height: 320px; }
	.rl-mpoints__visual--media .rl-mpoints__list { margin-top: 220px; }
	.rl-iconsplit__intro { flex-basis: 380px; }
	.rl-card { padding: 26px; }
}

@media (max-width: 1100px) {
	.rl-h2 { font-size: 40px; line-height: 48px; }
	.rl-strip__title { font-size: 36px; line-height: 44px; }
	.rl-mpoints__visual { flex-basis: 440px; }
	.rl-mpoints__media { left: 30px; width: calc(100% - 30px); height: 290px; }
	.rl-mpoints__visual--media .rl-mpoints__list { margin-top: 200px; width: 360px; }
	.rl-iconsplit__intro { flex-basis: 360px; }
	.rl-iconlist { column-gap: 24px; }
	.rl-iconlist__item:nth-child(2n+3)::before { width: calc(200% + 24px); }
	.rl-card { padding: 24px; }
	.rl-card__head { gap: 14px; }
}

@media (max-width: 1199.98px) {
	.rl-hero {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}
	.rl-hero__inner { padding-block: 72px 56px; }
	.rl-hero__copy { max-width: 680px; }
	.rl-hero__visual {
		position: relative;
		padding-bottom: 32px;
	}
	.rl-hero__media {
		position: relative;
		inset: auto;
		aspect-ratio: 2 / 1;
	}
	.rl-runsheet {
		position: relative;
		top: auto;
		left: auto;
		margin: -120px var(--rl-gutter) 0;
	}
	.rl-hero--runsheet:not(.rl-hero--media) .rl-runsheet { margin-top: 0; }
	.rl-stats__number { font-size: 60px; line-height: 68px; letter-spacing: -2px; }
}

@media (max-width: 1023.98px) {
	.rl-iconsplit__inner,
	.rl-mpoints__inner {
		flex-direction: column;
		gap: 48px;
	}
	.rl-iconsplit__intro,
	.rl-mpoints__copy { flex: none; max-width: 680px; }
	.rl-iconlist { flex: none; width: 100%; column-gap: 30px; }
	.rl-iconlist__item:nth-child(2n+3)::before { width: calc(200% + 30px); }
	.rl-mpoints__visual {
		flex: none;
		width: 100%;
		max-width: 680px;
	}
	.rl-mpoints__media {
		position: relative;
		left: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
	}
	.rl-mpoints__visual--media .rl-mpoints__list { margin-top: -80px; width: 380px; }
}

@media (max-width: 900px) {
	.rl-hero__title { font-size: 44px; line-height: 52px; }
	.rl-cards { --rl-cols: 2 !important; }
	/* An odd last card spans the row instead of sitting alone. */
	.rl-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.rl-stats__list { grid-template-columns: minmax(0, 1fr); }
	.rl-stats__number { font-size: 56px; line-height: 64px; letter-spacing: -2px; }
	.rl-stats__text { font-size: 18px; line-height: 28px; }
}

@media (max-width: 700px) {
	.rl-cards { --rl-cols: 1 !important; }
	.rl-hero__media { aspect-ratio: 16 / 9; }

	.rl-iconlist { grid-template-columns: minmax(0, 1fr); }
	.rl-iconlist__item:nth-child(2n+3),
	.rl-iconlist__item:nth-child(2n+4) { padding-top: 0; }
	.rl-iconlist__item:nth-child(2n+3)::before { content: none; }
	.rl-iconlist__item + .rl-iconlist__item { padding-top: 20px; }
	.rl-iconlist__item + .rl-iconlist__item::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background: var(--rl-border);
	}
}

@media (max-width: 600px) {
	.rl-hero__inner { padding-block: 48px 40px; }
	.rl-hero__title { font-size: 38px; line-height: 44px; }
	.rl-hero__actions { flex-direction: column; align-self: stretch; }
	.rl-hero__actions .rl-btn { white-space: normal; text-align: center; }
	.rl-hero__media { aspect-ratio: 4 / 3; }
	.rl-runsheet { margin-top: -64px; }
	.rl-runsheet__head { flex-wrap: wrap; }
	.rl-runsheet__table .rl-runsheet__time { width: 70px; }
	.rl-runsheet__table .rl-runsheet__role { width: auto; }
	.rl-runsheet__label { font-size: 14px; }

	/* Stacked, the number and its line read as one centred unit under the
	   eyebrow, which is centred at every width. */
	.rl-stats__item { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
	.rl-stats__text { margin-inline: auto; }

	.rl-card { padding: 24px; }
	.rl-card__head { gap: 16px; }

	.rl-mpoints__list {
		width: auto;
		margin-left: 12px;
		margin-right: 12px;
	}
	.rl-mpoints__visual--media .rl-mpoints__list { margin-top: -48px; }
	.rl-mpoints__point { padding-inline: 16px; }
}


/* Service page parts */
@media (max-width: 1100px) {
	.rl-msplit__inner { gap: 48px; }
}

@media (max-width: 1023.98px) {
	.rl-msplit__inner {
		flex-direction: column;
		gap: 40px;
	}
	.rl-msplit__copy { flex: none; max-width: 680px; }
	.rl-msplit__media {
		flex: none;
		width: 100%;
		max-width: 680px;
	}
}

@media (max-width: 700px) {
	.rl-cards--2 { gap: 16px; }
}


/* Training page parts */
@media (max-width: 1199.98px) {
	.rl-course__inner { gap: 40px; }
	.rl-course__copy { flex: 1 1 0; }
	.rl-course__partner-name { font-size: 18px; line-height: 26px; }
}

@media (max-width: 1100px) {
	.rl-split-head--wide-intro .rl-split-head__main { flex-basis: 340px; }
	.rl-numcard { padding: 24px; }
}

@media (max-width: 1023.98px) {
	.rl-course__inner {
		flex-direction: column;
		gap: 40px;
	}
	.rl-course__aside,
	.rl-course__copy { flex: none; width: 100%; max-width: 680px; }
	.rl-course__copy { order: -1; }
	.rl-numcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.rl-split-head--wide-intro .rl-split-head__main,
	.rl-split-head--wide-intro .rl-split-head__intro,
	.rl-split-head--even .rl-split-head__intro { flex: none; }
}

@media (max-width: 700px) {
	.rl-numcards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
	.rl-course__actions { flex-direction: column; }
	.rl-course__actions .rl-btn { flex: none; white-space: normal; }
	.rl-panel { padding: 18px 20px; }
	.rl-course__partner { gap: 14px; }
	.rl-course__logo { width: 80px; height: 46px; }
	.rl-course__partner-name { font-size: 18px; line-height: 26px; }
	.rl-feature__title { font-size: 18px; line-height: 28px; }
}


/* Knowledge Hub */
@media (max-width: 1100px) {
	.rl-resources { gap: 20px; }
	.rl-resource { padding: 24px; }
}

@media (max-width: 700px) {
	.rl-resources { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}


/* Industry accordion */
@media (max-width: 1100px) {
	.rl-acc__title { font-size: 32px; line-height: 40px; }
	.rl-h3 { font-size: 28px; line-height: 36px; }
	.rl-svc { padding: 24px; }
	.rl-callout__line { font-size: 22px; line-height: 28px; }
}

@media (max-width: 1023.98px) {
	.rl-acc__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.rl-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rl-callout { flex-direction: column; align-items: flex-start; gap: 20px; }
	.rl-callout__copy { flex: none; }
}

@media (max-width: 700px) {
	.rl-acc__item { padding-block: 32px; }
	.rl-acc__toggle { gap: 14px; align-items: flex-start; }
	.rl-acc__num { width: 44px; height: 44px; font-size: 17px; border-radius: 7px; }
	.rl-acc__titles { gap: 4px; }
	.rl-acc__kicker { font-size: 13px; line-height: 20px; }
	.rl-acc__title { font-size: 24px; line-height: 30px; }
	.rl-acc__icon { margin-top: 4px; }
	.rl-acc__body { gap: 32px; padding-top: 28px; }
	.rl-h3 { font-size: 24px; line-height: 30px; }
	.rl-svcs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.rl-svc { padding: 20px; }
	.rl-svc__text { padding-left: 0; }
	.rl-callout { padding: 24px 20px; }
	.rl-callout__line { font-size: 20px; line-height: 26px; }
	.rl-callout .rl-btn { align-self: stretch; white-space: normal; text-align: center; }
}


/* Contact page */
@media (max-width: 1100px) {
	.rl-contact__inner { gap: 40px; }
	.rl-formcard { padding: 30px; }
}

@media (max-width: 1023.98px) {
	.rl-contact__inner { flex-direction: column; }
	.rl-contact__copy,
	.rl-formcard { flex: none; width: 100%; max-width: 680px; }
	.rl-offices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rl-offices__list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.rl-office__media { height: 260px; }
}

@media (max-width: 700px) {
	.rl-offices__list { grid-template-columns: minmax(0, 1fr); }
	.rl-office__media { height: 200px; }
	.rl-form__fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.rl-formcard { padding: 24px 20px; border-radius: 16px; }
}

/* Photo gallery */
@media (max-width: 1100px) {
	.rl-gallery__list { --rl-gal-per: 2; --rl-gal-gap: 24px; }
}
@media (max-width: 700px) {
	.rl-gallery__list { --rl-gal-per: 1.15; --rl-gal-gap: 16px; }
	.rl-gallery__viewport { margin-top: 36px; }
}

/* Policy page */
@media (max-width: 1199.98px) {
	.rl-policy__inner { gap: 40px; }
	.rl-policy__side { flex-basis: 260px; max-width: 260px; }
}

@media (max-width: 900px) {
	.rl-policy { padding: 0 0 64px; }
	.rl-policy__inner {
		display: block;
		padding-left: 0;
		padding-right: 0;
	}

	/* The index turns into a row of chips that sticks under the header. */
	.rl-policy__side {
		position: sticky;
		top: calc(var(--rl-header-h) + var(--rl-adminbar));
		z-index: 20;
		max-width: none;
		margin-bottom: 28px;
		padding: 14px 0 12px;
		background: var(--rl-white);
		border-bottom: 1px solid var(--rl-border);
	}
	.rl-policy__sticky {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.rl-policy__navtitle {
		margin: 0 0 10px;
		padding: 0 var(--rl-gutter);
		border-bottom: 0;
		font-size: 12px;
		line-height: 20px;
		letter-spacing: 0.1em;
		color: var(--rl-muted);
	}
	.rl-policy__nav {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.rl-policy__nav::-webkit-scrollbar { display: none; }
	.rl-policy__navlist {
		flex-direction: row;
		gap: 8px;
		width: max-content;
		padding: 2px var(--rl-gutter);
	}
	.rl-policy__navitem { flex: none; }
	.rl-policy__navlink {
		align-items: center;
		min-height: 40px;
		padding: 7px 14px;
		border: 1px solid var(--rl-border);
		border-radius: var(--rl-radius-pill);
		font-size: 14px;
		line-height: 24px;
		white-space: nowrap;
		background: var(--rl-white);
		transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
	}
	.rl-policy__navlink.is-current {
		background: var(--rl-purple);
		border-color: var(--rl-purple);
		color: var(--rl-white);
	}

	.rl-policy__body {
		max-width: none;
		padding: 0 var(--rl-gutter);
	}
	.rl-policy__block { scroll-margin-top: calc(var(--rl-header-h) + var(--rl-adminbar) + 96px); }

	.rl-totop {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 600px) {
	.rl-policy__title { font-size: 19px; line-height: 28px; }
}

/* 11. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rl-js [data-reveal],
	.rl-js [data-reveal] em,
	.rl-js [data-reveal] td,
	.rl-js [data-reveal] img {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
