/* =============================================================================
   Be Bold Media — base stylesheet

   This file is structured in three layers:
     1. :root tokens     — every brand-specific value lives here, nowhere else
     2. Base + reset     — sensible defaults, generic typography
     3. Components       — site-specific UI

   Rule: NO hex codes outside the :root block. Use var(--brand-*) everywhere.
   The rebrand child theme overrides only the :root block to change identity.
   ============================================================================= */

/* ─── 0. Fonts (self-hosted Satoshi — variable, weights 300–900) ───────────── */

@font-face {
	font-family: "Satoshi";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/satoshi-variable.woff2") format("woff2");
}

/* ─── 1. Brand tokens ─────────────────────────────────────────────────────── */

:root {
	/* Brand identity */
	--brand-primary:         #A30084;
	--brand-primary-hover:   #8C0071;
	--brand-primary-contrast:#FFFFFF;

	--brand-text:            #333333;
	--brand-text-muted:      #555555;
	--brand-text-inverse:    #FFFFFF;
	--brand-heading:         #404048; /* headings: soft dark grey — brand uses no pure black */

	--brand-surface:         #FFFFFF;
	--brand-surface-alt:     #F4F4F4;
	--brand-surface-inverse: #333333;

	--brand-border:          #EEEEEE;

	--brand-font-sans:       -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--brand-font-display:    "Satoshi", var(--brand-font-sans);

	--brand-radius-sm:       4px;
	--brand-radius:          8px;
	--brand-shadow-sm:       0 1px 3px rgba(0, 0, 0, 0.04);
	--brand-shadow:          0 4px 12px rgba(0, 0, 0, 0.06);
	--brand-shadow-lg:       0 24px 50px -18px rgba(20, 0, 16, 0.22);
	--brand-tint:            rgba(163, 0, 132, 0.06);

	/* State colours */
	--state-success:         #00B46C;
	--state-error:           #D8000C;

	/* Layout */
	--layout-container:      1100px;
	--layout-gutter:         1.5rem;
	--layout-section-pad-y:  3.25rem;
	--layout-section-pad-y-sm: 2.5rem;
	--bp-tablet:             992px;
	--bp-desktop:            1200px;
	--bp-mobile:             768px;

	/* Type scale (1.25 modular) */
	--text-base:             1rem;
	--text-sm:               0.875rem;
	--text-lg:               1.125rem;
	--text-h4:               1.5rem;
	--text-h3:               1.75rem;
	--text-h2:               1.95rem;
	--text-h1:               2.5rem;
	--line-height-tight:     1.2;
	--line-height-body:      1.6;
	--line-height-article:   1.7;

	/* Motion */
	--transition-fast:       0.15s ease;
	--transition:            0.3s ease;
	--ease-out:              cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. Base + reset ─────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--brand-font-sans);
	font-size: var(--text-base);
	line-height: var(--line-height-body);
	color: var(--brand-text);
	background: var(--brand-surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--brand-primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}
a:hover { color: var(--brand-primary-hover); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--brand-font-display);
	font-weight: 700;
	line-height: var(--line-height-tight);
	margin: 0 0 1rem;
	color: var(--brand-heading);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

p { margin: 0 0 1rem; }

@media (max-width: 768px) {
	h1 { font-size: 2.25rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.4rem; }
}

/* ─── 3. Components ───────────────────────────────────────────────────────── */

.container {
	max-width: var(--layout-container);
	margin-inline: auto;
	padding-inline: var(--layout-gutter);
}

.section { padding-block: var(--layout-section-pad-y); }
.section--alt { background: var(--brand-surface-alt); }
.section--dark { background: var(--brand-surface-inverse); color: var(--brand-text-inverse); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--brand-text-inverse); }
.section--dark .section__lead { color: var(--brand-text-inverse); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 992px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	border-radius: var(--brand-radius-sm);
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.btn--primary {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
}
.btn--primary:hover {
	background: var(--brand-primary-hover);
	color: var(--brand-primary-contrast);
}
.btn--outline {
	background: transparent;
	color: var(--brand-primary);
	border-color: var(--brand-primary);
}
.btn--outline:hover {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
}

/* ─── Site chrome (header / footer) ───────────────────────────────────────── */

.site-header {
	position: relative;
	background: var(--brand-surface);
	border-bottom: 1px solid var(--brand-border);
	padding: 1rem 0;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.site-logo { display: inline-block; line-height: 0; }
.site-logo img { height: 50px; width: auto; max-width: 100%; }

.site-nav__menu {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__menu a {
	color: var(--brand-text);
	font-weight: 600;
}
.site-nav__menu a:hover { color: var(--brand-primary); }

/* Contact menu item rendered as a button */
.site-nav__menu .nav-cta a {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
	padding: 0.55rem 1.4rem;
	border-radius: var(--brand-radius-sm);
	font-weight: 700;
}
.site-nav__menu .nav-cta a:hover {
	background: var(--brand-primary-hover);
	color: var(--brand-primary-contrast);
}

/* Dropdown sub-menus */
.site-nav__menu .menu-item-has-children { position: relative; }
.site-nav__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: var(--brand-radius-sm);
	box-shadow: var(--brand-shadow);
	z-index: 1000;
}
.site-nav__menu .menu-item-has-children:hover > .sub-menu,
.site-nav__menu .menu-item-has-children:focus-within > .sub-menu { display: block; }
.site-nav__menu .sub-menu a {
	display: block;
	padding: 0.6rem 1.25rem;
	white-space: nowrap;
}
.site-nav__menu .sub-menu a:hover { background: var(--brand-surface-alt); color: var(--brand-primary); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--brand-text);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile navigation — panel below the header */
@media (max-width: 1200px) {
	.nav-toggle { display: flex; }
	.site-nav--primary {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		background: var(--brand-surface);
		border-top: 1px solid var(--brand-border);
		box-shadow: var(--brand-shadow);
		z-index: 999;
	}
	.site-nav--primary.is-open { display: block; }
	.site-nav--primary .site-nav__menu {
		flex-direction: column;
		gap: 0;
		padding: 0.5rem 0;
	}
	.site-nav--primary .site-nav__menu > li { width: 100%; }
	.site-nav--primary .site-nav__menu a {
		display: block;
		padding: 0.75rem var(--layout-gutter);
	}
	.site-nav--primary .site-nav__menu .nav-cta a {
		display: inline-block;
		margin: 0.5rem var(--layout-gutter);
	}
	.site-nav--primary .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: var(--brand-surface-alt);
	}
	.site-nav--primary .sub-menu a { padding-left: calc(var(--layout-gutter) * 2); }
}

.site-footer {
	background: var(--brand-surface-inverse);
	color: #ccc;
	padding: 3rem 0 1.5rem;
}
.site-footer a { color: #ccc; }
.site-footer a:hover { color: var(--brand-text-inverse); }
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}
@media (max-width: 768px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__badge { max-width: 72px; }
}
.site-footer__col h4 { color: var(--brand-text-inverse); margin-bottom: 1rem; }
.site-footer__tagline { margin-top: 1rem; }
.site-footer__badges {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}
.site-footer__badge {
	max-width: 100px;
	height: auto;
	opacity: 0.8;
	object-fit: contain;
	transition: opacity var(--transition);
}
.site-footer__badge:hover { opacity: 1; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 0.5rem; }
.site-footer__bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid #555;
	font-size: 0.9rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { margin-top: 0.5rem; }
.site-footer__legal a { margin: 0 0.5rem; }
.site-footer__legal span { color: #555; }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	position: fixed; top: 1rem; left: 1rem;
	width: auto; height: auto;
	padding: 0.75rem 1.25rem; margin: 0; clip: auto;
	background: var(--brand-primary); color: var(--brand-primary-contrast);
	z-index: 9999; border-radius: var(--brand-radius-sm);
}

/* Content widths — mirror the live site:
   .container          1100px  (live --container-width)
   .container--article  900px  (live .article-container — insights, case studies, legal)
   .container--faq      800px  (live .faq-container) */
.container--article { max-width: 900px; }
.container--faq { max-width: 800px; }

.section__heading { margin-bottom: 1.5rem; }
/* Centred section heading block — mirrors the live .headline-container (850px) */
.section__heading--centered {
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: 2.25rem;
	text-align: center;
}
.section__heading--centered .section__heading { margin-bottom: 1rem; }
.section__heading--centered .section__lead { margin-bottom: 0; }
.section__lead { font-size: var(--text-lg); color: var(--brand-text-muted); }
.section__action { text-align: center; margin-top: 2.5rem; margin-bottom: 0; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--brand-surface);
	padding-block: 5rem;
}
.hero__inner {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	width: 100%;
}
.hero__content { max-width: 560px; }
.hero__headline { color: var(--brand-text); margin-bottom: 1rem; }
.hero__body {
	font-size: 1.15rem;
	color: var(--brand-text-muted);
	margin-bottom: 2rem;
}

.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Static fallback sits beneath the video — visible on mobile (video hidden)
   or briefly until the Vimeo background video loads. */
.hero-video__fallback {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero-video__frame { position: absolute; inset: 0; z-index: 1; }
.hero-video__frame iframe {
	position: absolute;
	top: 50%; left: 50%;
	width: max(100%, calc(100vh * 16 / 9));
	height: max(100%, calc(100vw * 9 / 16));
	min-width: 100%; min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
}
/* Subtle purple brand tint over the video */
.hero-video__tint {
	position: absolute; inset: 0;
	background: rgba(163, 0, 132, 0.10);
	z-index: 2;
	pointer-events: none;
}
/* Left-to-right white fade — keeps the headline readable over the video */
.hero-video__fade {
	position: absolute; inset: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(
		to right,
		rgba(255,255,255,1) 0%,
		rgba(255,255,255,0.92) 30%,
		rgba(255,255,255,0.7) 45%,
		rgba(255,255,255,0.3) 60%,
		rgba(255,255,255,0) 78%
	);
}

@media (max-width: 768px) {
	.hero { min-height: 420px; padding-block: 3rem; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__spacer { display: none; }
	.hero-video__frame { display: none; }
	.hero-video__fade {
		background: linear-gradient(
			to bottom,
			rgba(255,255,255,1) 0%,
			rgba(255,255,255,0.9) 40%,
			rgba(255,255,255,0.7) 60%,
			rgba(255,255,255,0.4) 100%
		);
	}
}

/* ─── Credibility bar ─────────────────────────────────────────────────────── */

.credibility-bar {
	background: var(--brand-surface-alt);
	color: var(--brand-text-muted);
	padding: 1rem 0;
	min-height: 60px;
	display: flex;
	align-items: center;
	text-align: center;
}
.credibility-bar p { margin: 0; width: 100%; font-weight: 600; }

/* ─── Feature cards ───────────────────────────────────────────────────────── */

/* Feature = flat editorial column: top rule + small icon, left-aligned. */
.feature {
	display: block;
	padding: 1.1rem 0 0;
	border-top: 2px solid var(--brand-heading);
	text-align: left;
}
.feature__icon {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 0 1rem;
	color: var(--brand-primary);
}
.feature__icon img { width: 32px; height: 32px; }
.feature__title { font-size: var(--text-h4); margin: 0 0 0.55rem; line-height: 1.2; }
.feature__text { color: var(--brand-text-muted); line-height: 1.65; margin: 0; }

/* ─── Cards ───────────────────────────────────────────────────────────────── */

.card {
	display: flex;
	flex-direction: column;
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: var(--brand-radius);
	overflow: hidden;
	box-shadow: var(--brand-shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}
.card { border-radius: 14px; }
.card:hover { transform: translateY(-6px); box-shadow: var(--brand-shadow-lg); }
.card__media { display: block; background: var(--brand-surface-alt); }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }
/* Branded fallback for posts with no featured image (mostly recovered legacy
   Insights). Kept deliberately soft so cards with real photography lead the eye. */
.card__media-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--brand-surface-alt);
	background-image:
		url("../images/logo-color.svg"),
		radial-gradient(120% 130% at 50% 0%, var(--brand-tint), transparent 70%);
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: 42%, cover;
}
.card__body { display: flex; flex-direction: column; padding: 1.5rem; flex: 1; }
.card__eyebrow {
	font-size: var(--text-sm);
	color: var(--brand-text-muted);
	margin: 0 0 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.card__meta {
	font-size: 0.85rem;
	color: var(--brand-text-muted);
	margin: 0 0 0.5rem;
}
.card__title { font-size: 1.25rem; margin: 0 0 0.5rem; }
.card__title a { color: var(--brand-text); }
.card__title a:hover { color: var(--brand-primary); }
.card__excerpt { color: var(--brand-text-muted); margin: 0 0 1rem; }
.card__link { margin-top: auto; font-weight: 700; }

/* ─── Page header ─────────────────────────────────────────────────────────── */

.page-header {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem) 0 clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
	text-align: center;
	background:
		radial-gradient(58% 110% at 88% -15%, var(--brand-tint), transparent 60%),
		var(--brand-surface);
}
.page-header__inner { max-width: 820px; }
.page-header__title {
	margin: 0;
	font-size: clamp(1.85rem, 1.2rem + 2vw, 2.5rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
/* When no kicker is supplied, keep a brand underline for accent. */
.page-header__inner:not(:has(.kicker)) .page-header__title::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	background: var(--brand-primary);
	margin: 1.25rem auto 0;
}
.page-header__intro {
	margin: 1.5rem auto 0;
	max-width: 62ch;
	color: var(--brand-text-muted);
	font-size: var(--text-lg);
	line-height: 1.7;
}

/* ─── Insight hub ─────────────────────────────────────────────────────────── */

.insight-featured {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2.5rem;
	align-items: stretch;
	margin-bottom: 3rem;
}
.insight-featured__media {
	position: relative;
	display: block;
	border-radius: var(--brand-radius);
	overflow: hidden;
}
/* Absolutely positioned so the image doesn't drive the row height — the text
   column sets the height and the picture fills it (cropped, heads kept). */
.insight-featured__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}
.insight-featured__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--brand-primary);
	margin-bottom: 0.5rem;
}
.insight-featured__title { font-size: var(--text-h2); }
.insight-featured__excerpt { color: var(--brand-text-muted); }
.insight-featured__meta { font-size: var(--text-sm); color: var(--brand-text-muted); margin-bottom: 1.25rem; }

@media (max-width: 768px) {
	.insight-featured { grid-template-columns: 1fr; gap: 1.5rem; }
	/* Single column: no text column to set the height, so give the image a ratio. */
	.insight-featured__media { aspect-ratio: 4 / 3; }
}

/* ─── Article (insight + case study) ──────────────────────────────────────── */

.article__header { padding: 2.5rem 0 1.5rem; text-align: center; }
.article__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--brand-primary);
	margin-bottom: 0.25rem;
}
.article__title { font-size: 2.75rem; margin-bottom: 0.75rem; }
.article__meta { color: var(--brand-text-muted); font-size: var(--text-sm); margin-bottom: 0.25rem; }
@media (max-width: 768px) {
	.article__title { font-size: 2rem; }
}
.article__featured-image {
	margin: 0 0 2rem;
	max-width: var(--layout-container);
	margin-inline: auto;
	padding-inline: var(--layout-gutter);
}
.article__featured-image img { width: 100%; border-radius: var(--brand-radius); }
.article__body { font-size: var(--text-lg); line-height: var(--line-height-article); }
.article__body p,
.article__body ul,
.article__body ol { margin-bottom: 1.5rem; }
/* Article content headings — match live .article-container h2/h3 */
.article__body h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article__body h3 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

/* ─── Breadcrumbs ─────────────────────────────────────────────────────────── */

.breadcrumbs {
	font-size: var(--text-sm);
	color: var(--brand-text-muted);
	margin-bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.breadcrumbs__sep { color: var(--brand-border); }

/* ─── Post navigation ─────────────────────────────────────────────────────── */

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	margin: 3rem 0;
	padding-top: 2rem;
	border-top: 1px solid var(--brand-border);
}
.post-nav__link { display: flex; flex-direction: column; gap: 0.25rem; max-width: 45%; }
.post-nav__link--next { text-align: right; margin-left: auto; }
.post-nav__label {
	font-size: var(--text-sm);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--brand-text-muted);
}
.post-nav__title { font-weight: 600; }

/* ─── Case study ──────────────────────────────────────────────────────────── */

.case-study__logo { max-width: 140px; height: auto; margin: 0 auto 1.5rem; }
.case-study__summary { font-size: var(--text-h4); line-height: 1.4; }
.case-study__section { margin-bottom: 2rem; }
.case-study__back { margin: 2.5rem 0; }

/* ─── Subscribe ───────────────────────────────────────────────────────────── */

.subscribe {
	background: var(--brand-surface-alt);
	border-radius: var(--brand-radius);
	padding: 2rem;
	margin: 3rem 0;
}
.subscribe__title { font-size: var(--text-h4); margin-bottom: 0.5rem; }
.subscribe__intro { color: var(--brand-text-muted); margin-bottom: 1rem; }
.subscribe__placeholder { color: var(--brand-text-muted); }

.subscribe__form-el {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}
.subscribe__input {
	flex: 1 1 16rem;
	min-width: 0;
	padding: 0.75rem 1rem;
	font: inherit;
	color: var(--brand-text);
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: var(--brand-radius);
}
.subscribe__input:focus {
	outline: 2px solid var(--brand-primary);
	outline-offset: 1px;
}
.subscribe__btn { flex: 0 0 auto; }
/* Honeypot — visually and from AT hidden, but present in the DOM for bots. */
.subscribe__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.subscribe__status {
	flex-basis: 100%;
	margin: 0.25rem 0 0;
	font-size: var(--text-sm);
	min-height: 1.2em;
	color: var(--brand-text-muted);
}
.subscribe__status.is-success { color: var(--brand-primary); font-weight: 600; }
.subscribe__status.is-error { color: #b00020; }

/* ─── Testimonials ────────────────────────────────────────────────────────── */

.testimonial {
	margin: 0;
	padding: 2rem;
	border-radius: var(--brand-radius);
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	break-inside: avoid;
}
.testimonial--highlight {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
	border-color: var(--brand-primary);
}
.testimonial__quote { font-size: var(--text-lg); line-height: 1.5; margin: 0 0 1rem; }
.testimonial__quote::before { content: "\201C"; }
.testimonial__quote::after { content: "\201D"; }
.testimonial__author { display: block; font-weight: 700; }
.testimonial__role { display: block; font-size: var(--text-sm); opacity: 0.8; }
.testimonials-masonry { columns: 3; column-gap: 2rem; }
.testimonials-masonry .testimonial { margin-bottom: 2rem; }
@media (max-width: 992px) { .testimonials-masonry { columns: 2; } }
@media (max-width: 768px) { .testimonials-masonry { columns: 1; } }

/* ─── CTA ─────────────────────────────────────────────────────────────────── */

/* Inner-page CTA — full-width purple band */
.cta {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
}
.cta__inner { text-align: center; }
.cta__heading {
	color: var(--brand-primary-contrast);
	margin-bottom: 0.75rem;
}
.cta__text {
	color: var(--brand-primary-contrast);
	margin-bottom: 1.5rem;
	opacity: 0.92;
}
.btn--on-purple {
	background: var(--brand-surface);
	color: var(--brand-primary);
}
.btn--on-purple:hover {
	background: var(--brand-surface-alt);
	color: var(--brand-primary);
}

/* Homepage final CTA — dark band */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 1.5rem; }

/* ─── Pagination ──────────────────────────────────────────────────────────── */

.pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}
.pagination .page-numbers {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--brand-border);
	border-radius: var(--brand-radius-sm);
	color: var(--brand-text);
}
.pagination .page-numbers.current {
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
	border-color: var(--brand-primary);
}
.pagination a.page-numbers:hover {
	border-color: var(--brand-primary);
	color: var(--brand-primary);
}

/* ─── Marketing layout helpers ────────────────────────────────────────────── */

.prose { font-size: var(--text-lg); line-height: var(--line-height-article); }
.prose > * + * { margin-top: 1.25rem; }
.compliance-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
}
.compliance-logos img { height: 60px; width: auto; }

/* ─── 404 ─────────────────────────────────────────────────────────────────── */

.error-404 { text-align: center; padding: 5rem 0; }
.error-404 .btn + .btn { margin-left: 0.75rem; }

/* ─── Panels (marketing-page content blocks) ──────────────────────────────── */

.panel {
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: 14px;
	box-shadow: var(--brand-shadow);
	padding: 2rem;
}
.panel + .panel { margin-top: 1.5rem; }
/* Inside a grid the `gap` handles spacing — drop the stacking margin so
   grid items stretch to equal height instead of being pushed down. */
.grid > .panel + .panel { margin-top: 0; }
.panel--accent { border-top: 3px solid var(--brand-primary); }
.panel--centered { text-align: center; }
.panel__icon {
	display: inline-flex;
	color: var(--brand-primary);
	margin-bottom: 0.75rem;
}
.panel--centered .panel__icon { justify-content: center; }
.section--alt .panel { background: var(--brand-surface); }

.grid--top { align-items: start; }

/* ─── Lists ───────────────────────────────────────────────────────────────── */

.ticked-list,
.numbered-list,
.sector-list { padding-left: 0; list-style: none; }
.ticked-list li,
.sector-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.6rem;
}
.ticked-list li::before,
.sector-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.45em;
	width: 0.7rem; height: 0.4rem;
	border-left: 2px solid var(--brand-primary);
	border-bottom: 2px solid var(--brand-primary);
	transform: rotate(-45deg);
}
.panel--accent .ticked-list li::before { border-color: var(--brand-primary); }
/* Approach comparison: plain columns, red ✕ / green ✓ (Our Approach page) */
.compare-list { padding-left: 0; list-style: none; }
.compare-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.6rem;
}
.compare-list li::before {
	position: absolute;
	left: 0; top: 0;
	font-weight: 700;
	line-height: inherit;
}
.compare-list--problem li::before { content: "\2715"; color: var(--state-error); }
.compare-list--solution li::before { content: "\2713"; color: var(--state-success); }

.numbered-list { counter-reset: bbm-num; }
.numbered-list li {
	position: relative;
	padding-left: 2.25rem;
	margin-bottom: 0.6rem;
	counter-increment: bbm-num;
}
.numbered-list li::before {
	content: counter(bbm-num);
	position: absolute;
	left: 0; top: 0;
	width: 1.5rem; height: 1.5rem;
	background: var(--brand-primary);
	color: var(--brand-primary-contrast);
	border-radius: 50%;
	font-size: var(--text-sm);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ─── Process steps ───────────────────────────────────────────────────────── */

.process-steps { list-style: none; padding: 0; margin: 0; }
.process-step {
	display: flex;
	gap: 1.5rem;
	padding: 1.5rem 0;
}
.process-step + .process-step { border-top: 1px solid var(--brand-border); }
.process-step__number {
	font-size: var(--text-h2);
	font-weight: 700;
	color: var(--brand-primary);
	line-height: 1;
	flex-shrink: 0;
}
.process-step__outcome {
	margin-top: 1rem;
	margin-bottom: 0;
	padding: 1rem;
	background: rgba(163, 0, 132, 0.05);
	border-left: 3px solid var(--brand-primary);
	border-radius: var(--brand-radius-sm);
	color: var(--brand-text-muted);
}

/* ─── FAQ (native details/summary accordion — flat rows, mirrors live) ────── */

.faq-category { margin-bottom: 2.5rem; }
.faq-category__name {
	font-size: 1.4rem;
	color: var(--brand-primary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	margin-bottom: 1.5rem;
}
.faq-item { border-bottom: 1px solid var(--brand-border); }
.faq-category .faq-item:first-of-type { border-top: 1px solid var(--brand-border); }
.faq-item__question {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 0;
	font-weight: 600;
	font-size: 1.1rem;
	margin: 0;
	transition: color var(--transition-fast);
}
.faq-item__question:hover { color: var(--brand-primary); }
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
	content: "";
	width: 0.6rem; height: 0.6rem;
	border-right: 2px solid var(--brand-primary);
	border-bottom: 2px solid var(--brand-primary);
	transform: rotate(45deg);
	transition: transform var(--transition-fast);
	flex-shrink: 0;
}
.faq-item[open] .faq-item__question::after { transform: rotate(-135deg); }
.faq-item__answer { padding-bottom: 1.25rem; color: var(--brand-text-muted); }
.faq-item__answer :last-child { margin-bottom: 0; }

/* ─── Forms (placeholders + Gravity Forms baseline) ───────────────────────── */

.form-placeholder {
	padding: 1.5rem;
	background: var(--brand-surface-alt);
	border-radius: var(--brand-radius-sm);
	color: var(--brand-text-muted);
}
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 0.75rem; }

/* ─── Testimonials intro ──────────────────────────────────────────────────── */

.testimonials-intro { margin-bottom: 2.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   MODERN REFRESH — reusable design language (2026-06)
   Built on existing brand tokens. Additive + scoped so it can be rolled out
   page-by-page. Start: Community page.
   Tokens (--brand-shadow-lg, --brand-tint, --ease-out) live in the main :root.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Kicker / eyebrow label ──────────────────────────────────────────────── */
.kicker {
	display: inline-block;
	margin: 0 0 0.85rem;
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-primary);
}
.kicker--invert { color: #ff8fe0; }
.kicker--on-purple { color: rgba(255, 255, 255, 0.8); }
.section--dark .kicker { color: #ff8fe0; }

/* ─── Section intro (kicker + heading), centred ───────────────────────────── */
.section-intro {
	max-width: 720px;
	margin: 0 auto 2.25rem;
	text-align: center;
}
.section-intro__title {
	margin: 0;
	font-size: clamp(1.6rem, 1rem + 1.8vw, var(--text-h2));
	letter-spacing: -0.015em;
}

/* ─── Scroll reveal (staggered fade-up; opt-in via body.has-reveal) ───────── */
@media (prefers-reduced-motion: no-preference) {
	.has-reveal .reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
		will-change: opacity, transform;
	}
	.has-reveal .reveal.is-visible {
		opacity: 1;
		transform: none;
	}
	.has-reveal .grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
	.has-reveal .grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
	.has-reveal .grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ─── Community hero (bespoke — replaces generic page-header) ──────────────── */
.community-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem) 0 clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	background:
		radial-gradient(58% 110% at 88% -15%, var(--brand-tint), transparent 60%),
		var(--brand-surface);
	text-align: center;
}
.community-hero__inner { max-width: 860px; }
.community-hero__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.community-hero__lead {
	max-width: 62ch;
	margin: 0 auto;
	font-size: var(--text-lg);
	line-height: 1.7;
	color: var(--brand-text-muted);
}

/* ─── Modern card (icon tile + hover lift + animated accent) ───────────────── */
.community-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 2.5rem 2rem;
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: 16px;
	text-align: center;
	transition: transform 0.35s var(--ease-out),
	            box-shadow 0.35s var(--ease-out),
	            border-color 0.35s var(--ease-out);
}
.community-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--brand-primary), #e23ac0);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--ease-out);
}
.community-card:hover,
.community-card:focus-within {
	transform: translateY(-6px);
	box-shadow: var(--brand-shadow-lg);
	border-color: transparent;
}
.community-card:hover::before,
.community-card:focus-within::before { transform: scaleX(1); }
.community-card__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 1.5rem;
	border-radius: 18px;
	background: var(--brand-tint);
	color: var(--brand-primary);
}
.community-card h3 {
	margin: 0 0 0.75rem;
	font-size: var(--text-h4);
}
.community-card p {
	margin: 0;
	color: var(--brand-text-muted);
	line-height: 1.7;
}
.community-card a {
	color: var(--brand-primary);
	font-weight: 600;
}
.community-card a:hover { text-decoration: underline; }

.community-cta__action { margin-top: 1.75rem; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SOFT ATMOSPHERE — break up the stark white, add gentle depth (2026-06-19)
   Faint brand-tinted ambient light + barely-there grain + warmer alt panels
   + soft resting shadows on cards + a glow on the dark CTA. All very low
   opacity; the footer is intentionally left alone.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ambient brand light in the page corners (fixed, so it feels like lighting). */
body {
	background-color: var(--brand-surface);
	background-image:
		radial-gradient(42% 32% at 100% 0%, rgba(163, 0, 132, 0.045), transparent 60%),
		radial-gradient(38% 30% at 0% 20%, rgba(163, 0, 132, 0.028), transparent 55%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

/* Whisper of film grain so the white expanses aren't flat/digital. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.022;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Warmer, softly-lit alternate sections instead of flat cool grey. */
.section--alt {
	background-color: #f6f4f7;
	background-image:
		radial-gradient(55% 45% at 92% 4%, rgba(163, 0, 132, 0.05), transparent 60%),
		radial-gradient(50% 40% at 4% 100%, rgba(163, 0, 132, 0.03), transparent 55%);
}

/* Gentle resting depth so media cards / content panels read as soft, not stark. */
.panel,
.card {
	box-shadow: 0 1px 2px rgba(20, 0, 16, 0.03), 0 12px 30px -20px rgba(20, 0, 16, 0.16);
}

/* Depth + brand glow on the dark CTA band (footer left untouched). */
.section--dark {
	background-image:
		radial-gradient(55% 130% at 86% 0%, rgba(163, 0, 132, 0.30), transparent 58%),
		radial-gradient(45% 100% at 8% 100%, rgba(255, 255, 255, 0.06), transparent 55%);
}
.cta {
	background-image: radial-gradient(70% 130% at 88% 0%, rgba(255, 255, 255, 0.14), transparent 55%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDITORIAL / ASYMMETRIC LAYOUT  (pilot: Our Approach, 2026-06-19)
   A pinned left label column (index + section name) + offset content column,
   hairline rules between sections, indexed numbering, left-aligned.
   ═══════════════════════════════════════════════════════════════════════════ */

.ed-hero { padding: clamp(2.5rem, 1.8rem + 2.4vw, 4rem) 0 clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.ed-section {
	padding: clamp(2.25rem, 1.6rem + 2vw, 3.25rem) 0;
	border-top: 1px solid var(--brand-border);
}

.ed-grid {
	display: grid;
	grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
	gap: 1.25rem 4rem;
	align-items: start;
}

.ed-aside {
	position: sticky;
	top: 5.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.ed-aside .kicker { margin: 0; }
.ed-aside__index {
	font-family: var(--brand-font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--brand-primary);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}
.ed-aside__label {
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--brand-heading);
}

.ed-hero__title,
.ed-main__title { margin: 0; letter-spacing: -0.02em; }
.ed-hero__title {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
	line-height: 1.08;
	max-width: 18ch;
}
.ed-main__title {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem);
	line-height: 1.16;
	max-width: 26ch;
	margin-bottom: 1.75rem;
}
.ed-hero__lead,
.ed-main__lead {
	margin: 1.1rem 0 0;
	color: var(--brand-text-muted);
	font-size: var(--text-lg);
	line-height: 1.7;
	max-width: 58ch;
}
/* Title already provides the gap; lead sits directly under it. */
.ed-main__lead { margin: 0 0 2.5rem; }
.ed-main__lead--end { margin-bottom: 0; }

/* Generic two-column content block inside .ed-main */
.ed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* Ruled text columns (paired content blocks) */
.ed-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.ed-block { padding-top: 1rem; border-top: 2px solid var(--brand-heading); }
.ed-block h3 { margin: 0 0 0.6rem; font-size: var(--text-h4); line-height: 1.2; }
.ed-block p { margin: 0 0 1rem; color: var(--brand-text-muted); line-height: 1.65; }
.ed-block p:last-child { margin-bottom: 0; }
.ed-note h3 { margin: 0 0 0.6rem; font-size: var(--text-h4); }
.ed-note p { margin: 0 0 1rem; color: var(--brand-text-muted); line-height: 1.65; }
.ed-note p:last-child { margin-bottom: 0; }

/* Challenge / Solve — two structured columns with ruled rows */
.ed-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}
.ed-compare__title {
	margin: 0 0 0.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--brand-heading);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand-heading);
}
.ed-list { list-style: none; margin: 0; padding: 0; }
.ed-list li {
	position: relative;
	padding: 0.85rem 0 0.85rem 1.85rem;
	border-top: 1px solid var(--brand-border);
	line-height: 1.55;
}
.ed-list li:first-child { border-top: 0; }
.ed-list li::before { position: absolute; left: 0; top: 0.85rem; font-weight: 700; }
.ed-list--problem li::before { content: "\2715"; color: var(--state-error); }
.ed-list--solution li::before { content: "\2713"; color: var(--state-success); }

/* Principles — indexed, top-ruled columns */
.ed-principles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}
.ed-principle { padding-top: 1rem; border-top: 2px solid var(--brand-heading); }
.ed-principle__num {
	display: block;
	margin-bottom: 0.85rem;
	font-family: var(--brand-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--brand-primary);
	font-variant-numeric: tabular-nums;
}
.ed-principle h3 { margin: 0 0 0.55rem; font-size: var(--text-h4); line-height: 1.2; }
.ed-principle p { margin: 0; color: var(--brand-text-muted); line-height: 1.65; }

/* Process — big numbered rows */
.ed-steps { list-style: none; margin: 0; padding: 0; }
.ed-step {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.5rem 2rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--brand-border);
}
.ed-step:first-child { border-top: 0; padding-top: 0; }
.ed-step__num {
	font-family: var(--brand-font-display);
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: var(--brand-primary);
	font-variant-numeric: tabular-nums;
}
.ed-step__body h3 { margin: 0 0 0.5rem; font-size: var(--text-h4); }
.ed-step__body p { margin: 0; color: var(--brand-text-muted); line-height: 1.65; }
.ed-step__body .ed-step__outcome {
	margin-top: 0.9rem;
	padding: 0.85rem 1rem;
	background: var(--brand-tint);
	border-left: 3px solid var(--brand-primary);
	border-radius: var(--brand-radius-sm);
	color: var(--brand-heading);
	font-size: 0.95rem;
}

@media (max-width: 860px) {
	.ed-grid { grid-template-columns: 1fr; gap: 0.85rem; }
	.ed-aside {
		position: static;
		flex-direction: row;
		align-items: baseline;
		gap: 0.6rem;
	}
	.ed-compare,
	.ed-principles { grid-template-columns: 1fr; gap: 1.75rem; }
	.ed-cols,
	.ed-blocks { grid-template-columns: 1fr; gap: 1.75rem; }
	.ed-hero__title,
	.ed-main__title { max-width: none; }
}
