/**
 * AOR WPBakery Components — component styles.
 *
 * Tokens live in tokens.css, which this file depends on. Never hard-code a
 * size, colour or spacing value here: if it is not a var(), it is a bug.
 */

/* ==========================================================================
   Container

   Width only — no horizontal padding. These sections sit inside a WPBakery
   column that already supplies gutters, and adding our own would double them.
   Kept as an inner wrapper rather than on the <section> itself so a section
   can later go full-bleed while its content stays constrained.
   ========================================================================== */

.aor-container {
	width: 100%;
	max-width: var(--aor-container-max);
	margin-inline: auto;
}

/*
 * Inside a breakout there are no Salient column gutters, so the container
 * carries its own edge padding; the max-width widens by the same amount so
 * the content still measures a full --aor-container-max between the pads.
 */
.aor-breakout .aor-container,
.aor-hero--breakout .aor-container {
	max-width: calc(var(--aor-container-max) + 2 * var(--aor-space-md));
	padding-inline: var(--aor-space-md);
}

/*
 * Vertical rhythm. Applied to the <section> rather than the container so a
 * future section background covers the padding too.
 */
.aor-section {
	padding-block: var(--aor-section-padding-y);
}

/*
 * Two sections with the SAME background back to back read as one band — the
 * second drops its top padding so the shared rhythm isn't doubled.
 *
 * The decision is made in PHP, not by DOM adjacency: shortcodes render in
 * visual order, so AOR_Section_Intro::bg_classes() compares each section's
 * background category (aor-bg-white/gray/brand/gradient) against the
 * previously rendered section and stamps aor-flush-top on a match. That
 * makes the collapse independent of how WPBakery nests the markup —
 * siblings, separate columns, inner rows and separate rows all behave the
 * same. Caveat: non-AOR content sandwiched between two same-background
 * sections is invisible to the sequence, and a Salient ROW background can
 * repaint the surface behind transparent (white) sections — set backgrounds
 * on the module, never the row.
 */
.aor-section.aor-flush-top {
	padding-top: 0;
}

/* ==========================================================================
   Shared button
   ========================================================================== */

.aor-btn {
	display: inline-block;
	padding: var(--aor-space-4xs) var(--aor-space-sm);
	border: 1px solid transparent;
	border-radius: var(--aor-radius-pill);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-md);
	font-weight: var(--aor-weight-heading);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aor-btn--primary,
.aor-btn--primary:visited {
	background-color: var(--aor-color-btn-bg);
	border-color: var(--aor-color-btn-bg);
	color: var(--aor-color-btn-text);
}

.aor-btn--primary:hover,
.aor-btn--primary:focus {
	background-color: var(--aor-color-btn-bg-hover);
	border-color: var(--aor-color-btn-bg-hover);
	color: var(--aor-color-btn-text);
	text-decoration: none;
}

.aor-btn--dark,
.aor-btn--dark:visited {
	background-color: var(--aor-color-surface-dark);
	border-color: var(--aor-color-surface-dark);
	color: var(--aor-color-btn-text);
}

.aor-btn--dark:hover,
.aor-btn--dark:focus {
	background-color: var(--aor-color-brand);
	border-color: var(--aor-color-brand);
	color: var(--aor-color-btn-text);
	text-decoration: none;
}

/* Outline — the R3 secondary button: 2px brand stroke, transparent fill. */
.aor-btn--outline,
.aor-btn--outline:visited {
	background-color: transparent;
	border-width: 2px;
	border-color: var(--aor-color-brand);
	color: var(--aor-color-brand);
}

.aor-btn--outline:hover,
.aor-btn--outline:focus {
	background-color: var(--aor-color-brand);
	border-color: var(--aor-color-brand);
	color: var(--aor-color-btn-text);
	text-decoration: none;
}

/* ==========================================================================
   Section Intro — shared eyebrow / heading / description / button
   ========================================================================== */

.aor-section-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--aor-space-md);
	margin-bottom: var(--aor-section-intro-gap);
}

.aor-section-intro__text {
	min-width: 0;
	max-width: var(--aor-section-intro-text-max);
}

.aor-section-intro--has-button .aor-section-intro__text {
	flex: 1 1 28rem;
}

.aor-section-intro__actions {
	flex: 0 0 auto;
}

.aor-section-intro--center {
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}

.aor-section-intro--center .aor-section-intro__text {
	max-width: var(--aor-section-intro-text-max);
	/* In column direction the --has-button flex-basis (28rem) would become a
	 * forced height and open a band of empty space under the text. */
	flex: 0 0 auto;
}

.aor-section-intro__eyebrow {
	margin: 0 0 var(--aor-space-4xs);
	/* Salient gives every p a 27px padding-bottom; the margin owns this gap. */
	padding-bottom: 0;
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	/* 18 -> 20 with 1.3 leading — the R3 eyebrow/pre-header style. */
	font-size: var(--aor-font-size-lg);
	font-weight: var(--aor-weight-heading);
	/* 2px tracking at the 20px design size, per the Figma eyebrow style. */
	letter-spacing: 0.1em;
	line-height: var(--aor-leading-h5);
	text-transform: uppercase;
}

.aor-section-intro__heading {
	margin: 0;
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h2);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h2);
}

.aor-section-intro__description {
	margin-top: var(--aor-space-4xs);
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	/* 18 -> 20 — R3 intro copy runs a step above standard body text. */
	font-size: var(--aor-font-size-lg);
	line-height: var(--aor-leading-body);
}

.aor-section-intro__description p:last-child {
	margin-bottom: 0;
}

/* Standalone element — the intro promoted to a full section. The pattern's
 * built-in bottom margin exists to push a host module's grid away; inside
 * its own padded section it would just double the rhythm. */
.aor-intro-section .aor-section-intro {
	margin-bottom: 0;
}

.aor-intro-section--gray {
	background-color: var(--aor-color-surface-alt);
}

/* ==========================================================================
   Icon Blocks
   ========================================================================== */

/*
 * The shortcode sets --aor-ib-cols inline; this indirection exists because an
 * inline custom property would beat any media query, so the breakpoints below
 * override the derived --aor-ib-columns instead.
 */
.aor-icon-blocks {
	--aor-ib-columns: var(--aor-ib-cols, 3);
}

.aor-icon-blocks--gray {
	background-color: var(--aor-color-surface-alt);
}

.aor-icon-blocks__grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aor-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * A full row consumes exactly 100% width, so justify-content only ever has
 * slack to distribute on a partial final row — which is precisely the
 * "centre the orphan card" behaviour the design calls for.
 */
.aor-icon-blocks--center-last-row .aor-icon-blocks__grid {
	justify-content: center;
}

.aor-icon-blocks__item {
	display: flex;
	flex: 0 1 calc((100% - (var(--aor-ib-columns) - 1) * var(--aor-grid-gap)) / var(--aor-ib-columns));
	min-width: 0;
	margin: 0;
}

.aor-icon-blocks__card {
	/* Split into axes so the photo's negative margins always mirror the
	 * padding, whichever variant sets it. */
	--aor-ib-pad-y: var(--aor-card-padding);
	--aor-ib-pad-x: var(--aor-card-padding);

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: var(--aor-ib-pad-y) var(--aor-ib-pad-x);
	border: 1px solid var(--aor-color-border);
	border-radius: var(--aor-radius-card);
	background-color: var(--aor-color-surface);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.aor-icon-blocks__card:hover,
a.aor-icon-blocks__card:focus {
	border-color: var(--aor-color-brand);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	color: inherit;
	text-decoration: none;
}

.aor-icon-blocks__icon {
	display: block;
	margin-bottom: var(--aor-space-md);
	color: var(--aor-color-brand);
	line-height: 0;
}

.aor-icon-blocks__icon-svg {
	display: block;
	width: var(--aor-icon-size);
	height: auto;
}

.aor-icon-blocks__title {
	display: block;
	margin-bottom: var(--aor-space-4xs);
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h4);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h4);
}

.aor-icon-blocks__text {
	display: block;
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-md);
	line-height: var(--aor-leading-body);
}

/*
 * Clickability cue on linked cards. The card is a flex column, so
 * margin-top: auto pins the label to the bottom edge -- across a row of
 * equal-height cards the labels sit on one line however long the copy runs.
 */
.aor-icon-blocks__more {
	display: inline-flex;
	align-items: center;
	gap: var(--aor-space-6xs);
	margin-top: auto;
	padding-top: var(--aor-space-4xs);
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-md);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-body);
}

/* Same border-drawn chevron recipe as the split carousel arrows. */
.aor-icon-blocks__more::after {
	content: '';
	display: block;
	width: 0.4em;
	height: 0.4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}

a.aor-icon-blocks__card:hover .aor-icon-blocks__more,
a.aor-icon-blocks__card:focus .aor-icon-blocks__more {
	color: var(--aor-color-brand-dark);
}

/*
 * Light-gray variant — the R3 careers row: cards drop their border (they sit
 * white-on-gray), titles step down to h5, and side padding tightens.
 */
.aor-icon-blocks--gray .aor-icon-blocks__card {
	--aor-ib-pad-y: var(--aor-space-md);
	--aor-ib-pad-x: var(--aor-space-xs);

	border: 0;
}

.aor-icon-blocks--gray .aor-icon-blocks__title {
	margin-bottom: var(--aor-space-xs);
	font-size: var(--aor-text-h5);
	line-height: var(--aor-leading-h5);
}

/* "Highlight first letters" option: the initials of the card titles read
 * as an acronym (BUILD / OWN / LEAD / DELIVER). */
.aor-icon-blocks--initials .aor-icon-blocks__title::first-letter {
	color: var(--aor-color-brand);
	font-size: var(--aor-initial-scale);
}

/* A title with nothing after it owns the card's bottom edge — without this,
 * title-only cards carry the text gap as dead space above the padding. */
.aor-icon-blocks__card .aor-icon-blocks__title:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Content Tiles — photo/icon cards with headline, copy and button
   (Figma "Content Tiles" 2129:2111 / "Card" 2020:784)
   ========================================================================== */

/* Same inline-var indirection as the icon grid: media queries override the
 * derived property, never the inline one. */
.aor-content-tiles {
	--aor-ct-columns: var(--aor-ct-cols, 3);
}

/* Default backdrop is the brand gradient sweep. */
.aor-content-tiles--gradient {
	background: linear-gradient(135deg, var(--aor-color-grad-red) 0%, var(--aor-color-grad-gold) 100%);
}

.aor-content-tiles--white {
	background-color: var(--aor-color-surface);
}

.aor-content-tiles--gray {
	background-color: var(--aor-color-surface-alt);
}

/* Intro copy reads white over the gradient. */
.aor-content-tiles--gradient .aor-section-intro__eyebrow,
.aor-content-tiles--gradient .aor-section-intro__heading,
.aor-content-tiles--gradient .aor-section-intro__description {
	color: var(--aor-color-text-inverse);
}

.aor-content-tiles__grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aor-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.aor-content-tiles--center-last-row .aor-content-tiles__grid {
	justify-content: center;
}

.aor-content-tiles__item {
	display: flex;
	flex: 0 1 calc((100% - (var(--aor-ct-columns) - 1) * var(--aor-grid-gap)) / var(--aor-ct-columns));
	min-width: 0;
	margin: 0;
	list-style: none;
}

.aor-content-tiles__item::before,
.aor-content-tiles__item::marker {
	content: none;
}

.aor-content-tiles__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: var(--aor-radius-card);
	background-color: var(--aor-color-surface-dark);
	color: var(--aor-color-text-inverse);
}

.aor-content-tiles__card--light {
	background-color: var(--aor-color-surface);
	color: var(--aor-color-body);
}

.aor-content-tiles__media {
	line-height: 0;
}

/* The card prefix out-specifies Salient's .row .col img sizing rules. */
.aor-content-tiles__card .aor-content-tiles__img {
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Copy grows, so the button pins to the bottom and rows stay flush. */
.aor-content-tiles__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	padding: var(--aor-space-xs);
}

.aor-content-tiles__eyebrow {
	margin: 0 0 var(--aor-space-6xs);
	padding-bottom: 0;
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-sm);
	font-weight: var(--aor-weight-heading);
	/* 2px tracking at the 20px design size, per the Figma eyebrow style. */
	letter-spacing: 0.1em;
	line-height: var(--aor-leading-h6);
	text-transform: uppercase;
}

.aor-content-tiles__card--light .aor-content-tiles__eyebrow {
	color: var(--aor-color-brand);
}

.aor-content-tiles__title {
	margin: 0 0 var(--aor-space-xs);
	padding-bottom: 0;
	color: inherit;
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h4);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h4);
}

.aor-content-tiles__text {
	margin-bottom: var(--aor-space-md);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-md);
	/* The card comp runs tighter than standard body copy. */
	line-height: 1.3;
}

.aor-content-tiles__text > p:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* White copy inside .aor-typography would otherwise pick up the default
 * body colour on the dark card. */
.aor-content-tiles__card:not(.aor-content-tiles__card--light) .aor-content-tiles__text,
.aor-content-tiles__card:not(.aor-content-tiles__card--light) .aor-content-tiles__text p {
	color: var(--aor-color-text-inverse);
}

.aor-content-tiles__btn {
	margin-top: auto;
	align-self: flex-start;
}

/* ==========================================================================
   CTA — gradient band: headline + copy left, Marketo email signup right
   ========================================================================== */

.aor-cta {
	background: linear-gradient(135deg, var(--aor-color-grad-red) 0%, var(--aor-color-grad-gold) 100%);
	color: var(--aor-color-text-inverse);
}

.aor-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* Copy and form travel together as a centred pair -- space-between would
	 * push them to the band's far edges. */
	justify-content: center;
	gap: var(--aor-space-2xl);
}

.aor-cta__copy {
	flex: 1 1 28rem;
	min-width: 0;
	max-width: 40rem;
}

.aor-cta__heading {
	margin: 0 0 var(--aor-space-4xs);
	padding-bottom: 0;
	color: var(--aor-color-text-inverse);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h2);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h2);
}

.aor-cta__description {
	font-size: var(--aor-text-p-lg);
	line-height: var(--aor-leading-body);
}

.aor-cta__description,
.aor-cta__description p {
	color: var(--aor-color-text-inverse);
}

.aor-cta__description p:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.aor-cta__form {
	flex: 0 1 27rem;
	min-width: 0;
}

/* --------------------------------------------------------------------------
 * Marketo forms, light surfaces — the site-wide default skin for embedded
 * forms (e.g. the contact page's "Talk to an expert" form). Field anatomy
 * from the Figma Text Field / Dropdown comps: 600 label, white field with a
 * 1px #333 stroke, 8px radius. Marketo's forms2 JS injects inline widths
 * and floated columns — the !important flags are what it takes to beat
 * them. The .aor-cta block further down re-skins the same anatomy for the
 * dark gradient band and wins there on specificity.
 * ------------------------------------------------------------------------ */

.mktoForm {
	width: 100% !important;
	padding: 0;
	color: var(--aor-color-body);
	font-family: var(--aor-font-body) !important;
	font-size: var(--aor-text-p-md);
}

.mktoForm .mktoOffset,
.mktoForm .mktoGutter,
.mktoForm .mktoAsterix {
	display: none !important;
}

.mktoForm .mktoFormCol,
.mktoForm .mktoFieldWrap {
	float: none;
	width: 100% !important;
}

.mktoForm .mktoFormRow {
	margin-bottom: var(--aor-space-3xs);
}

.mktoForm .mktoLabel {
	float: none;
	display: block;
	width: auto !important;
	padding-top: 0;
	margin-bottom: var(--aor-space-4xs);
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-font-size-lg);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h5);
}

/* The hidden Marketo asterisk comes back as a brand mark on the label. */
.mktoForm .mktoRequiredField .mktoLabel::after {
	content: '*';
	margin-left: var(--aor-space-8xs);
	color: var(--aor-color-brand);
}

.mktoForm input.mktoField,
.mktoForm select.mktoField,
.mktoForm textarea.mktoField {
	width: 100% !important;
	/* Marketo's remote forms2 CSS pins a fixed em height on fields, which
	 * swallows any padding increase — auto lets the padding set the height. */
	height: auto !important;
	margin: 0;
	padding: var(--aor-space-4xs) var(--aor-space-4xs);
	background-color: var(--aor-color-surface);
	border: 1px solid var(--aor-color-heading);
	border-radius: var(--aor-radius-input);
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-md);
	line-height: 1.3;
}

/* Checks and radios keep their natural size, sitting beside their label. */
.mktoForm input.mktoField[type='checkbox'],
.mktoForm input.mktoField[type='radio'] {
	width: auto !important;
}

.mktoForm textarea.mktoField {
	min-height: 8rem;
	resize: vertical;
}

.mktoForm input.mktoField:focus,
.mktoForm select.mktoField:focus,
.mktoForm textarea.mktoField:focus {
	outline: 2px solid var(--aor-color-brand);
	outline-offset: 2px;
}

.mktoForm .mktoButtonRow {
	margin-top: var(--aor-space-4xs);
}

.mktoForm .mktoButtonWrap {
	margin-left: 0 !important;
}

/* The primary pill, restated over Marketo's own button skin. Marketo can
 * hand the button a narrow box, which folds the label into a tall blob —
 * the auto width and nowrap keep it a single-line pill. */
.mktoForm .mktoButton {
	display: inline-block;
	width: auto !important;
	white-space: nowrap;
	padding: var(--aor-space-4xs) var(--aor-space-lg) !important;
	background: var(--aor-color-btn-bg) !important;
	border: 1px solid var(--aor-color-btn-bg) !important;
	border-radius: var(--aor-radius-pill) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: var(--aor-color-btn-text) !important;
	font-family: var(--aor-font-heading) !important;
	font-size: var(--aor-text-p-md) !important;
	font-weight: var(--aor-weight-heading);
	line-height: 1.2 !important;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mktoForm .mktoButton:hover,
.mktoForm .mktoButton:focus {
	background: var(--aor-color-btn-bg-hover) !important;
	border-color: var(--aor-color-btn-bg-hover) !important;
	top: auto;
}

.mktoForm .mktoError {
	position: static !important;
	margin-top: var(--aor-space-6xs);
}

/* --------------------------------------------------------------------------
 * Marketo form restyle for the CTA band. Scoped to the module — these win
 * over the light skin above on specificity and flip the palette for the
 * gradient background.
 * ------------------------------------------------------------------------ */

/* The band's form lays out as one line: field rows stretch, the button row
 * sits beside the last field, bottoms aligned to the input line. On narrow
 * screens the button wraps under the field. */
.aor-cta .mktoForm {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--aor-space-4xs);
	width: 100% !important;
	padding: 0;
	color: var(--aor-color-text-inverse);
	font-family: var(--aor-font-body) !important;
	font-size: var(--aor-text-p-md);
}

.aor-cta .mktoForm .mktoFormRow {
	flex: 1 1 14rem;
	margin-bottom: 0;
}

/* Marketo emits hidden-field rows too; as flex items they would occupy a
 * slot in the line, so they are removed from layout entirely. */
.aor-cta .mktoForm .mktoFormRow:has(> input[type='hidden']) {
	display: none;
}

.aor-cta .mktoForm .mktoOffset,
.aor-cta .mktoForm .mktoGutter,
.aor-cta .mktoForm .mktoAsterix {
	display: none !important;
}

.aor-cta .mktoForm .mktoFormCol,
.aor-cta .mktoForm .mktoFieldWrap {
	float: none;
	width: 100% !important;
	/* Marketo's JS writes an inline 10px bottom margin on the column, which
	 * drags the flex line's bottom edge below the input and knocks the
	 * Subscribe button out of line with the field. */
	margin-bottom: 0 !important;
}

.aor-cta .mktoForm .mktoLabel {
	float: none;
	display: block;
	width: auto !important;
	padding-top: 0;
	margin-bottom: var(--aor-space-6xs);
	color: var(--aor-color-text-inverse);
	font-family: var(--aor-font-heading);
	font-weight: var(--aor-weight-heading);
}

.aor-cta .mktoForm .mktoLabel span {
	/* Marketo bakes a colour on a span inside the label. */
	color: var(--aor-color-text-inverse) !important;
}

.aor-cta .mktoForm .mktoRequiredField .mktoLabel::after {
	color: var(--aor-color-text-inverse);
}

.aor-cta .mktoForm input.mktoField {
	width: 100% !important;
	margin: 0;
	padding: var(--aor-space-5xs) var(--aor-space-4xs);
	background-color: transparent;
	border: 1px solid var(--aor-color-text-inverse);
	border-radius: var(--aor-radius-input);
	color: var(--aor-color-text-inverse);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-md);
	line-height: 1.3;
}

.aor-cta .mktoForm input.mktoField:focus {
	outline: 2px solid var(--aor-color-text-inverse);
	outline-offset: 2px;
}

.aor-cta .mktoForm .mktoButtonRow {
	flex: 0 0 auto;
	margin-top: 0;
}

.aor-cta .mktoForm .mktoButtonWrap {
	margin-left: 0 !important;
}

/* Same recipe as .aor-btn--primary, restated over Marketo's own button
 * skin (it ships gradients, text-shadows and borders of its own). */
.aor-cta .mktoForm .mktoButton {
	display: inline-block;
	padding: var(--aor-space-4xs) var(--aor-space-md) !important;
	background: var(--aor-color-btn-bg) !important;
	border: 1px solid var(--aor-color-btn-bg) !important;
	border-radius: var(--aor-radius-pill) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: var(--aor-color-btn-text) !important;
	font-family: var(--aor-font-heading) !important;
	font-size: var(--aor-text-p-md) !important;
	font-weight: var(--aor-weight-heading);
	line-height: 1.2 !important;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aor-cta .mktoForm .mktoButton:hover,
.aor-cta .mktoForm .mktoButton:focus {
	background: var(--aor-color-btn-bg-hover) !important;
	border-color: var(--aor-color-btn-bg-hover) !important;
	top: auto;
}

.aor-cta .mktoForm .mktoError {
	position: static !important;
	margin-top: var(--aor-space-6xs);
}

/* ==========================================================================
   Team -- people grid; each card opens a native <dialog> bio pop-up
   ========================================================================== */

/* Same inline-var indirection as the icon grid: media queries override the
 * derived --aor-team-columns, never the inline value. */
.aor-team {
	--aor-team-columns: var(--aor-team-cols, 6);
}

.aor-team--gray {
	background-color: var(--aor-color-surface-alt);
}

.aor-team__grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aor-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.aor-team--center-last-row .aor-team__grid {
	justify-content: center;
}

.aor-team__item {
	display: flex;
	flex: 0 1 calc((100% - (var(--aor-team-columns) - 1) * var(--aor-grid-gap)) / var(--aor-team-columns));
	min-width: 0;
	margin: 0;
}

/* The card is a real <button>: strip the UA skin before restyling. */
.aor-team__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--aor-color-border);
	border-radius: var(--aor-radius-card);
	background-color: var(--aor-color-surface);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aor-team__card:hover {
	border-color: var(--aor-color-brand);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.aor-team__card:focus-visible {
	border-color: var(--aor-color-brand);
	outline: 2px solid var(--aor-color-brand);
	outline-offset: 2px;
}

.aor-team__photo {
	display: block;
	width: 100%;
}

.aor-team__photo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.aor-team__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: var(--aor-space-3xs);
}

.aor-team__name {
	display: block;
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h5);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h5);
}

.aor-team__role {
	display: block;
	margin-top: var(--aor-space-8xs);
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-sm);
	line-height: var(--aor-leading-body);
}

/* Same clickability cue as the linked icon-block cards, pinned to the foot
 * so it lines up across a row of equal-height cards. */
.aor-team__more {
	display: inline-flex;
	align-items: center;
	gap: var(--aor-space-6xs);
	margin-top: auto;
	padding-top: var(--aor-space-4xs);
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-sm);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-body);
}

.aor-team__more::after {
	content: '';
	display: block;
	width: 0.4em;
	height: 0.4em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}

.aor-team__card:hover .aor-team__more,
.aor-team__card:focus-visible .aor-team__more {
	color: var(--aor-color-brand-dark);
}

/* --------------------------------------------------------------------------
 * Bio dialog. Modal <dialog> is fixed-positioned by the UA, so the close
 * button can anchor to it directly; the inner wrapper owns scrolling.
 * ------------------------------------------------------------------------ */

.aor-team__dialog {
	width: min(56rem, calc(100vw - 2 * var(--aor-space-md)));
	max-height: calc(100vh - 2 * var(--aor-space-md));
	padding: 0;
	border: 0;
	border-radius: var(--aor-radius-card);
	background: var(--aor-color-surface);
	color: var(--aor-color-body);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.aor-team__dialog::backdrop {
	/* Literal first: not every engine carries custom properties into
	 * ::backdrop yet, and the overlay must never be transparent. */
	background: rgba(0, 0, 0, 0.5);
	background: var(--aor-overlay-photo);
}

.aor-team__dialog-inner {
	display: flex;
	gap: var(--aor-space-md);
	max-height: calc(100vh - 2 * var(--aor-space-md));
	padding: var(--aor-space-md);
	overflow-y: auto;
}

.aor-team__dialog-media {
	flex: 0 0 16rem;
}

.aor-team__dialog-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--aor-radius-card);
}

.aor-team__dialog-body {
	flex: 1 1 auto;
	min-width: 0;
}

.aor-team__dialog-name {
	margin: 0;
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h3);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h3);
}

.aor-team__dialog-role {
	margin: var(--aor-space-8xs) 0 0;
	/* Salient gives every p a padding-bottom; the margins own these gaps. */
	padding-bottom: 0;
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-lg);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-body);
}

.aor-team__dialog-bio {
	margin-top: var(--aor-space-xs);
	font-size: var(--aor-text-p-md);
	line-height: var(--aor-leading-body);
}

.aor-team__linkedin {
	display: inline-flex;
	align-items: center;
	gap: var(--aor-space-6xs);
	margin-top: var(--aor-space-xs);
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-p-md);
	font-weight: var(--aor-weight-heading);
	text-decoration: none;
}

.aor-team__linkedin:hover,
.aor-team__linkedin:focus {
	color: var(--aor-color-brand-dark);
	text-decoration: underline;
}

.aor-team__linkedin-svg {
	width: 1.25em;
	height: 1.25em;
}

/* Close control -- the split-carousel arrow chrome with a CSS-drawn cross. */
.aor-team__close {
	position: absolute;
	top: var(--aor-space-4xs);
	right: var(--aor-space-4xs);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--aor-color-border);
	border-radius: var(--aor-radius-pill);
	background: var(--aor-color-surface);
	color: var(--aor-color-heading);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aor-team__close:hover,
.aor-team__close:focus-visible {
	background: var(--aor-color-brand);
	border-color: var(--aor-color-brand);
	color: var(--aor-color-btn-text);
}

.aor-team__close::before,
.aor-team__close::after {
	content: '';
	position: absolute;
	width: 1rem;
	height: 2px;
	background: currentColor;
}

.aor-team__close::before {
	transform: rotate(45deg);
}

.aor-team__close::after {
	transform: rotate(-45deg);
}

/*
 * Salient decorates list items site-wide (a ::before dot, and a ::marker
 * from list styles that outrank our ul reset); our component lists are pure
 * layout, so kill both on the items themselves.
 */
.aor-icon-blocks__item,
.aor-stats__item,
.aor-logo-grid__item,
.aor-team__item,
.aor-split__slide {
	list-style: none;
}

.aor-icon-blocks__item::before,
.aor-stats__item::before,
.aor-logo-grid__item::before,
.aor-team__item::before,
.aor-split__slide::before {
	content: none;
}

/* ==========================================================================
   Stats — full-bleed brand band with the gradient M watermark
   ========================================================================== */

.aor-stats {
	position: relative;
	overflow: hidden;
	background-color: var(--aor-color-brand);
	color: var(--aor-color-text-inverse);
}

/* The M artwork ships with its 20% opacity baked in; it spans the band and
 * overflows vertically, matching the Figma crop. */
.aor-stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../img/stats-m.svg') center / cover no-repeat;
	pointer-events: none;
}

.aor-stats .aor-section-intro {
	position: relative;
	z-index: 1;
}

.aor-stats .aor-section-intro__heading,
.aor-stats .aor-section-intro__eyebrow,
.aor-stats .aor-section-intro__description {
	color: var(--aor-color-text-inverse);
}

.aor-stats__grid {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: var(--aor-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.aor-stats__item {
	flex: 1 1 12rem;
	min-width: 0;
	margin: 0;
}

/* Fixed per-row count — e.g. six stats as two rows of three. The shortcode
 * sets --aor-stats-cols inline when the option is chosen. */
.aor-stats--columns .aor-stats__item {
	flex: 0 1 calc((100% - (var(--aor-stats-cols, 3) - 1) * var(--aor-grid-gap)) / var(--aor-stats-cols, 3));
}

.aor-stats__value {
	display: block;
	margin-bottom: var(--aor-space-sm);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-stat);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-stat);
}

.aor-stats__label {
	display: block;
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h4);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h4);
}

/* ==========================================================================
   Logo Grid — partner logos + optional Partner of the Month spotlight
   ========================================================================== */

.aor-logo-grid--gray {
	background-color: var(--aor-color-surface-alt);
}

.aor-logo-grid .aor-section-intro {
	margin-bottom: var(--aor-space-5xl);
}

.aor-logo-grid__grid {
	--aor-lg-columns: 5;
	--aor-lg-gap: var(--aor-space-5xl);

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--aor-space-5xl) var(--aor-lg-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Fixed five-across cells, logo centred in each; a partial last row centres
 * itself, same trick as the icon grid. */
.aor-logo-grid__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 calc((100% - (var(--aor-lg-columns) - 1) * var(--aor-lg-gap)) / var(--aor-lg-columns));
	min-width: 0;
	margin: 0;
}

.aor-logo-grid__logo {
	display: block;
}

/* The li in the selector out-specifies Salient's .row .col img rule, which
 * otherwise re-imposes max-width: 100% and a 15px bottom margin. */
.aor-logo-grid li.aor-logo-grid__item img {
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	/* Never wider than the grid cell — marks shrink to fit narrow columns
	 * instead of overflowing and overlapping their neighbours. */
	max-width: min(var(--aor-logo-width), 100%);
	max-height: var(--aor-logo-height);
}

.aor-logo-grid__actions {
	margin-top: var(--aor-space-5xl);
	text-align: center;
}

.aor-logo-grid__spotlight {
	margin-top: var(--aor-space-5xl);
	text-align: center;
}

/* Label flanked by hairlines fading brand-red -> orange -> transparent. */
.aor-logo-grid__spotlight-label {
	display: flex;
	align-items: center;
	gap: var(--aor-space-md);
	margin: 0 0 var(--aor-space-2xl);
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h4);
	font-weight: var(--aor-weight-heading);
	/* 2px tracking at the 20px design size, per the Figma eyebrow style. */
	letter-spacing: 0.1em;
	line-height: var(--aor-leading-h4);
	text-transform: uppercase;
}

.aor-logo-grid__spotlight-label::before,
.aor-logo-grid__spotlight-label::after {
	content: '';
	flex: 1 1 0;
	height: 1px;
}

.aor-logo-grid__spotlight-label::before {
	background: linear-gradient(to right, transparent, var(--aor-color-grad-orange), var(--aor-color-grad-red));
}

.aor-logo-grid__spotlight-label::after {
	background: linear-gradient(to left, transparent, var(--aor-color-grad-orange), var(--aor-color-grad-red));
}

.aor-logo-grid__spotlight-logo {
	display: flex;
	justify-content: center;
}

.aor-logo-grid__spotlight-img {
	display: block;
	width: auto;
	max-height: var(--aor-logo-height);
}

.aor-logo-grid__spotlight-actions {
	margin-top: var(--aor-space-lg);
}

/* ==========================================================================
   Split Section — edge-to-edge image beside contained copy; carousel when
   more than one slide

   Geometry from the 1728px frame: image column 744px (43%) flush to its
   edge, copy 724px max aligned to the container on the other side, 96px gap,
   579px min height, and the gradient slash bleeding off the content-side
   edge (197px wide, taller than the section, partially off-canvas).
   ========================================================================== */

.aor-split {
	position: relative;
	overflow: hidden;
	background-color: var(--aor-color-surface);
}

.aor-split--gray {
	background-color: var(--aor-color-surface-alt);
}

/* The slash: same triangle as the hero's, hugging the content-side edge.
 * Height is capped at the design frame's 733px (42.42vw at 1728) — beyond
 * that, long copy would keep widening the wedge until it ran under the
 * text. Under the cap it still spans the section, so the whole red ->
 * orange -> gold ramp stays visible. Each orientation anchors the wedge to
 * its wide end (top for image-right, bottom for image-left). */
.aor-split::after {
	content: '';
	position: absolute;
	/* Width follows height at the design's proportions, so the diagonal is
	 * the same angle whatever the section height or viewport. */
	width: auto;
	aspect-ratio: 197 / 733;
	height: min(100%, clamp(420px, 42.42vw, 733px));
	pointer-events: none;
	z-index: 1;
}

/* Straight edge sits on the outer edge of the section; the slant faces the
 * content. Wide at the top on the left side, tapering to a point at the
 * bottom; the right side is the same shape rotated 180°. */
.aor-split--image-right::after {
	top: 0;
	left: -1.25%;
	background: linear-gradient(
		to top,
		var(--aor-color-grad-gold) 0%,
		var(--aor-color-grad-orange) 35%,
		var(--aor-color-grad-red) 70%
	);
	clip-path: polygon(0 0, 0 100%, 100% 0);
}

.aor-split--image-left::after {
	bottom: 0;
	right: -1.25%;
	background: linear-gradient(
		to bottom,
		var(--aor-color-grad-gold) 0%,
		var(--aor-color-grad-orange) 35%,
		var(--aor-color-grad-red) 70%
	);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.aor-split__viewport {
	overflow: hidden;
}

.aor-split--carousel .aor-split__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.aor-split--carousel .aor-split__viewport::-webkit-scrollbar {
	display: none;
}

.aor-split__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aor-split__slide {
	display: flex;
	flex: 0 0 100%;
	min-width: 100%;
	min-height: clamp(420px, 33.5vw, 579px);
	margin: 0;
	scroll-snap-align: start;
}

.aor-split--image-right .aor-split__slide {
	flex-direction: row-reverse;
}

/* A background, not an <img> — image-optimizer plugins rewrite img tags and
 * re-impose intrinsic sizing, which stops the column filling its side. The
 * shortcode sets --aor-split-bg inline. */
.aor-split__media {
	position: relative;
	flex: 0 0 43%;
	overflow: hidden;
	background-color: var(--aor-color-surface-alt);
	background-image: var(--aor-split-bg);
	background-size: cover;
	background-position: center;
}

/* "Show the whole image" — screenshots, diagrams, logos. The panel colour
 * letterboxes around the uncropped image; inherit the section background so
 * the panel disappears into it. */
.aor-split--contain .aor-split__media {
	background-color: inherit;
	background-size: contain;
	background-repeat: no-repeat;
}

.aor-split__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	padding-block: var(--aor-space-7xl);
}

/* Copy aligns to the site container on its side; the image owns the other. */
.aor-split--image-right .aor-split__content {
	padding-left: max(var(--aor-space-md), calc((100vw - var(--aor-container-max)) / 2));
	padding-right: var(--aor-space-7xl);
}

.aor-split--image-left .aor-split__content {
	padding-right: max(var(--aor-space-md), calc((100vw - var(--aor-container-max)) / 2));
	padding-left: var(--aor-space-7xl);
}

.aor-split__copy {
	max-width: 45.25rem;
}

.aor-split__eyebrow {
	margin: 0 0 var(--aor-space-4xs);
	padding-bottom: 0;
	color: var(--aor-color-brand);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-font-size-lg);
	font-weight: var(--aor-weight-heading);
	/* 2px tracking at the 20px design size, per the Figma eyebrow style. */
	letter-spacing: 0.1em;
	line-height: var(--aor-leading-h5);
	text-transform: uppercase;
}

.aor-split__heading {
	margin: 0;
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h2);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h2);
}

.aor-split__description {
	margin-top: var(--aor-space-xs);
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	font-size: var(--aor-font-size-lg);
	line-height: var(--aor-leading-body);
}

.aor-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--aor-space-xs);
	margin-top: var(--aor-space-3xl);
}

/* Carousel chrome */

.aor-split__nav {
	position: absolute;
	bottom: var(--aor-space-sm);
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: var(--aor-space-xs);
}

.aor-split__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--aor-color-brand);
	border-radius: var(--aor-radius-pill);
	background: var(--aor-color-surface);
	color: var(--aor-color-brand);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.aor-split__arrow:hover:not(:disabled),
.aor-split__arrow:focus:not(:disabled) {
	background: var(--aor-color-brand);
	color: var(--aor-color-btn-text);
}

.aor-split__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.aor-split__arrow::before {
	content: '';
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.aor-split__arrow--prev::before {
	transform: rotate(135deg) translate(-1px, -1px);
}

.aor-split__arrow--next::before {
	transform: rotate(-45deg) translate(-1px, -1px);
}

.aor-split__dots {
	display: flex;
	align-items: center;
	gap: var(--aor-space-5xs);
}

.aor-split__dot {
	width: 0.75rem;
	height: 0.75rem;
	padding: 0;
	border: 1px solid var(--aor-color-brand);
	border-radius: var(--aor-radius-pill);
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.aor-split__dot.is-active {
	background: var(--aor-color-brand);
}

/* Below ~1850px the container margin is narrower than the wedge's wide
 * end, so tall copy could run into it — give the content a padding floor
 * that clears it. (Above 1850 the margin alone exceeds the capped slash.) */
@media (max-width: 1850px) {
	.aor-split--image-right .aor-split__content {
		padding-left: max(calc(9vw + var(--aor-space-lg)), calc((100vw - var(--aor-container-max)) / 2));
	}

	.aor-split--image-left .aor-split__content {
		padding-right: max(calc(9vw + var(--aor-space-lg)), calc((100vw - var(--aor-container-max)) / 2));
	}
}

@media (max-width: 1024px) {
	.aor-icon-blocks {
		--aor-ib-columns: 2;
	}

	.aor-icon-blocks--cols-6 {
		--aor-ib-columns: 3;
	}

	.aor-team {
		--aor-team-columns: 3;
	}

	.aor-content-tiles {
		--aor-ct-columns: 2;
	}

	/* Side-by-side gets cramped below ~1024: the slash grows with the
	 * content-driven section height and outruns its 9vw clearance, and the
	 * centred carousel nav straddles the column boundary. Stack instead:
	 * image on top, copy below. No tablet design exists — proportions are
	 * judgment via the fluid tokens. */
	.aor-split__slide,
	.aor-split--image-right .aor-split__slide {
		flex-direction: column;
		min-height: 0;
	}

	/* A full-height slash would balloon with the stacked section. Cap its
	 * height — the aspect ratio stays, so the diagonal keeps the design
	 * angle on every screen. Both orientations converge on the image-right
	 * geometry so the wedge always sits top-left. */
	.aor-split::after,
	.aor-split--image-left::after {
		top: 0;
		bottom: auto;
		left: -1.25%;
		right: auto;
		height: clamp(260px, 75vw, 420px);
		background: linear-gradient(
			to top,
			var(--aor-color-grad-gold) 0%,
			var(--aor-color-grad-orange) 35%,
			var(--aor-color-grad-red) 70%
		);
		clip-path: polygon(0 0, 0 100%, 100% 0);
	}

	.aor-split__media {
		flex: none;
		width: 100%;
		aspect-ratio: 3 / 2;
	}

	/* The variant selectors repeat here to out-specify the desktop
	 * wedge-clearance padding (the 9vw max() rules) — without them it would
	 * still win on specificity and push the copy off-centre. Inline padding
	 * matches the container edge padding. */
	.aor-split__content,
	.aor-split--image-right .aor-split__content,
	.aor-split--image-left .aor-split__content {
		padding: var(--aor-space-2xl) var(--aor-space-md);
	}

	.aor-split--carousel .aor-split__content {
		/* Keep the copy clear of the overlaid nav. */
		padding-bottom: var(--aor-space-6xl);
	}

	.aor-logo-grid__grid {
		--aor-lg-columns: 3;
	}
}

@media (max-width: 767px) {
	.aor-icon-blocks,
	.aor-icon-blocks--cols-6 {
		--aor-ib-columns: 1;
	}

	/* Headshot cards stay legible two-up on a phone. */
	.aor-team {
		--aor-team-columns: 2;
	}

	.aor-team__dialog-inner {
		flex-direction: column;
	}

	.aor-team__dialog-media {
		flex: 0 0 auto;
		max-width: 14rem;
	}

	.aor-content-tiles {
		--aor-ct-columns: 1;
	}

	/* Two-across cells are narrow — the column gap comes down with them so
	 * the logos keep a usable width. */
	.aor-logo-grid__grid {
		--aor-lg-columns: 2;
		--aor-lg-gap: var(--aor-space-lg);
	}

	/* Stat blocks read as value + label pairs: the pair hangs together and
	 * clear air separates it from the next stat. */
	.aor-stats__grid {
		row-gap: var(--aor-space-2xl);
	}

	/* A fixed per-row count stacks like the automatic layout on phones. */
	.aor-stats--columns .aor-stats__item {
		flex: 0 1 100%;
	}

	.aor-stats__value {
		margin-bottom: var(--aor-space-4xs);
	}

	.aor-section-intro {
		flex-direction: column;
		align-items: flex-start;
	}

	/* In column direction the --has-button flex-basis (28rem) would become
	 * a forced height and strand the button far below the copy. */
	.aor-section-intro--has-button .aor-section-intro__text {
		flex: 0 0 auto;
	}

	.aor-section-intro--center {
		align-items: center;
	}

}

/* ==========================================================================
   Hero

   Full-bleed page header. Geometry comes from the 1728px Figma frame:
   727px tall, content inset to the container, a gold->red gradient slash on
   the right edge (a right triangle, 197px wide over the full height), and a
   white V-shaped notch cutting the bottom edge — the V-point sits at 48.9%
   width, the side edges 190px above the bottom. The notch is a clip-path on
   the section, not a white overlay, so any following section colour shows
   through. The Salient transparent header overlays the top of this section,
   hence the reserved top padding.
   ========================================================================== */

.aor-hero {
	/* Notch: 190px deep at the edges of a 1728px frame = 11vw. */
	--aor-hero-notch-depth: clamp(64px, 11vw, 190px);
	/* Slash: 197px wide at 1728px = 11.4vw. */
	--aor-hero-slash-width: clamp(80px, 11.4vw, 197px);
	/* Clearance for the transparent header overlaying the section:
	 * 220px at the 1728px design width. */
	--aor-hero-header-clearance: clamp(160px, 15.05vw, 260px);

	position: relative;
	display: flex;
	align-items: center;
	/* Keeps growing past the 1728px design height (727px) on wide screens so
	 * the cover-cropped photo doesn't cut people off; capped at 880px. */
	min-height: clamp(560px, 42vw, 880px);
	padding-block: var(--aor-hero-header-clearance) calc(var(--aor-hero-notch-depth) + var(--aor-space-xl));
	/* --aor-hero-bg is the background IMAGE, set inline by the shortcode. */
	background-color: var(--aor-color-surface-dark);
	background-image: var(--aor-hero-bg);
	background-size: cover;
	background-position: center;
	color: var(--aor-color-text-inverse);
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--aor-hero-notch-depth)),
		48.9% 100%,
		0 calc(100% - var(--aor-hero-notch-depth))
	);
}

/* Photo darkening, matching the Figma fill stack: 50% black multiply over
 * the whole image, plus the #333 tint over the text side (left 64% in the
 * design), faded out so no hard edge shows. */
.aor-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, var(--aor-overlay-tint) 0%, var(--aor-overlay-tint) 55%, transparent 75%),
		linear-gradient(var(--aor-overlay-photo), var(--aor-overlay-photo));
	pointer-events: none;
}

/* The gradient slash: gold at the bottom sweeping to red, clipped to a
 * right triangle along the right edge. The section clip-path trims its
 * bottom into the notch automatically. */
.aor-hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--aor-hero-slash-width);
	background: linear-gradient(
		315deg,
		var(--aor-color-grad-gold) 0%,
		var(--aor-color-grad-red) 55%
	);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

/* Subpage header variant — shorter, and a straight bottom edge instead of
 * the notch. The slash and tint stay. The solid site header sits above it
 * in flow (transparency is homepage-only), so no clearance is reserved.
 * No design comp exists; the height is a judgment call against the full
 * hero. */
.aor-hero--subpage {
	min-height: clamp(280px, 26vw, 440px);
	padding-block: var(--aor-space-lg);
	clip-path: none;
}

/* Full viewport width when placed inside a standard (contained) row/column.
 * .aor-breakout is the generic hook any full-bleed section can use;
 * .aor-hero--breakout predates it and is kept for the hero. */
.wpb_row:not(.full-width-content) .aor-hero--breakout,
.wpb_row:not(.full-width-content) .aor-breakout {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Already in a Salient full-width row — span the row, no viewport hack. */
.wpb_row.full-width-content .aor-hero--breakout,
.wpb_row.full-width-content .aor-breakout {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Prevent column/wrapper clipping of the breakout. */
.wpb_wrapper:has(.aor-hero--breakout),
.vc_column-inner:has(.aor-hero--breakout),
.wpb_wrapper:has(.aor-breakout),
.vc_column-inner:has(.aor-breakout) {
	overflow: visible;
}

/* WPBakery gives every row and content element a 35px bottom margin. AOR
 * sections own their vertical rhythm, so rows that hold one lose it. */
.wpb_row:has([class^="aor-"]),
.wpb_row:has([class*=" aor-"]),
.wpb_content_element:has([class^="aor-"]),
.wpb_content_element:has([class*=" aor-"]) {
	margin-bottom: 0;
}

/* Legacy rows retrofitted with AOR modules often carry percent paddings
 * from the old design (top_padding="7%" etc.), which Salient writes as an
 * INLINE style from data-top-percent — hence the !important. Every full
 * module is a breakout section that owns its own vertical rhythm, so the
 * hosting row must not add any. (The standalone section intro is deliberately
 * not a breakout and is unaffected.) */
.wpb_row:has(.aor-breakout),
.wpb_row:has(.aor-hero--breakout) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Salient pads the bottom of its page wrapper (40px, via a higher-priority
 * rule of its own — hence the !important). On pages built from AOR sections
 * the last section should meet the footer flush. */
.container-wrap:has([class^="aor-"]),
.container-wrap:has([class*=" aor-"]) {
	padding-bottom: 0 !important;
}

/* Salient's content container (1425px max with 90px padding on desktop, 88%
 * of the viewport below 1000px) is narrower than an AOR breakout at every
 * width, so native elements between modules -- Text Blocks, custom headings
 * -- sat visibly inset from them. On pages built from AOR sections, give the
 * container the same measure as .aor-breakout .aor-container so everything
 * shares one content edge. Legacy pages keep Salient's layout. */
.container-wrap:has(.aor-breakout, .aor-hero--breakout) .container.main-content {
	width: 100%;
	max-width: calc(var(--aor-container-max) + 2 * var(--aor-space-md));
	padding-inline: var(--aor-space-md);
}

.aor-hero__container {
	position: relative;
	z-index: 1;
	width: 100%;
}

/*
 * The hero reuses the Section Intro markup but not its side-by-side layout:
 * everything stacks left-aligned, white on the photo, capped at the design's
 * 830px text measure. Design stack gap is 24px (--aor-space-xs).
 */
.aor-hero .aor-section-intro {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	max-width: 52rem;
	margin-bottom: 0;
}

.aor-hero .aor-section-intro__text {
	/* The shared --has-button rule sets flex-basis 28rem, which in this
	 * column-direction context becomes a forced height and strands the
	 * button far below the copy. Neutralise it. */
	flex: 0 0 auto;
	max-width: none;
}

/* Same voice as every other eyebrow (caps, tracking, lg size from the base
 * rule) — the hero only recolours it for the photo and opens the gap. */
.aor-hero .aor-section-intro__eyebrow {
	margin-bottom: var(--aor-space-xs);
	color: var(--aor-color-text-inverse);
}

.aor-hero .aor-section-intro__heading {
	color: var(--aor-color-text-inverse);
	font-size: var(--aor-text-h1);
	line-height: var(--aor-leading-h1);
}

.aor-hero .aor-section-intro__description {
	margin-top: var(--aor-space-xs);
	color: var(--aor-color-text-inverse);
	/* Hero body copy is one step up from standard: 18 -> 20. */
	font-size: var(--aor-font-size-lg);
}

.aor-hero .aor-section-intro__actions {
	margin-top: var(--aor-space-sm);
}

/* ==========================================================================
   Accordion — Section Intro beside an expandable Q&A list
   ========================================================================== */

.aor-accordion--gray {
	background-color: var(--aor-color-surface-alt);
}

/* Single column by default; the intro slides in beside the items only when
 * one exists and the viewport gives both room to breathe. */
.aor-accordion__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--aor-space-lg) var(--aor-space-3xl);
	align-items: start;
}

@media (min-width: 1025px) {
	.aor-accordion--has-intro .aor-accordion__layout {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

/*
 * The shared intro is built for a full-width band: text and button sit side
 * by side and it owns a bottom gap. In the accordion's side column it stacks
 * vertically and the grid gap owns the spacing instead.
 */
.aor-accordion__intro {
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 0;
}

.aor-accordion__intro .aor-section-intro__text {
	flex: 0 0 auto;
}

.aor-accordion__items {
	display: flex;
	flex-direction: column;
	gap: var(--aor-space-4xs);                         /* 12 -> 16 */
}

.aor-accordion__item {
	background-color: var(--aor-color-surface);
	border: 1px solid var(--aor-color-border-strong);
	border-radius: var(--aor-radius-card);
	padding: var(--aor-space-xs);                      /* 20 -> 24 */
	/* Lets block-size transition to auto in browsers that support it. */
	interpolate-size: allow-keywords;
}

.aor-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--aor-space-sm);
	cursor: pointer;
	/* Hide the browser's default disclosure triangle. */
	list-style: none;
}

.aor-accordion__summary::-webkit-details-marker {
	display: none;
}

.aor-accordion__question {
	margin: 0;
	color: var(--aor-color-heading);
	font-family: var(--aor-font-heading);
	font-size: var(--aor-text-h3);
	font-weight: var(--aor-weight-heading);
	line-height: var(--aor-leading-h3);
}

/* Sized by its width/height attributes; CSS only spins it. */
.aor-accordion__chevron {
	flex: 0 0 auto;
	color: var(--aor-color-heading);
	transition: transform 0.2s ease;
}

.aor-accordion__item[open] .aor-accordion__chevron {
	transform: rotate(180deg);
}

.aor-accordion__answer {
	margin-top: var(--aor-space-6xs);                  /* 5.6 -> 8 */
	color: var(--aor-color-body);
	font-family: var(--aor-font-body);
	font-size: var(--aor-text-p-md);
	line-height: var(--aor-leading-body);
}

.aor-accordion__answer > :last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Pure-CSS open/close animation. Browsers without ::details-content support
 * ignore the whole rule and simply snap open, which is fine. */
.aor-accordion__item::details-content {
	block-size: 0;
	overflow-y: clip;
	opacity: 0;
	transition: content-visibility 0.2s allow-discrete, opacity 0.2s ease, block-size 0.2s ease;
}

.aor-accordion__item[open]::details-content {
	block-size: auto;
	opacity: 1;
}
