/**
 * Variant CSS: offer--editorial-manifesto
 * Layer 2 — Path B universal offer variant (authored 2026-06-10).
 *
 * Concept: ONE flagship service stated as an editorial MANIFESTO — no card, no
 * border, no panel; pure typography on the section background. An accent kicker, a
 * very large display statement (with the keyword underlined in the accent hue via
 * a styled <em>), a left-aligned lede, a thin dot-separated meta row of three
 * decorators, and one understated text-link CTA with an arrow.
 * Built for Element Count: 1 (the rebuild keeps exactly one service).
 *
 * Differentiator vs sibling EC=1 offer variants:
 *   - solo-feature-statement: a bordered, CENTRED card with an icon + text-link.
 *   - signature-spotlight-poster: a DARK poster panel with a ghost numeral.
 *   - bordered-feature-panel: a framed centred panel with corner ticks + price.
 *   - single-split-panel: a two-column split with an accent colour panel.
 *   THIS one: chrome-less, LEFT-aligned typography — a statement, not a container.
 *
 * Colour intent: text on the section --background, --ink family. The <em> keyword
 * gets an --accent text colour + an accent underline drawn with a background
 * gradient (so it hugs the baseline). Left-aligned throughout — nothing is centred,
 * so the A8/A9 left-shift rule does not apply here.
 *
 * area-1-* tokens: title (statement), desc (lede), meta_1..3 (meta row). Section:
 * kicker, cta.
 */

/* == Section shell == */
body.aibt-universal .universal-offer--editorial-manifesto {
	padding-block: calc(clamp(var(--space-2xl), 10vw, var(--space-3xl)) * var(--density, 1));
}

/* == Kicker == */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__kicker {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-widest);
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 var(--space-lg) 0;
	/* Short accent rule before the kicker for an editorial masthead feel. */
	padding-left: calc(var(--space-xl) + var(--space-2xs));
	position: relative;
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__kicker::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: var(--space-xl);
	height: 2px;
	background: var(--accent);
}

/* == Statement (the headline-weight title) == */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__statement {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 6.5vw, 5rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0 0 var(--space-lg) 0;
	max-width: 20ch;
	text-wrap: balance;
}

/* Accent keyword: coloured + a baseline underline drawn as a soft accent band so
   the rule sits just under the glyphs without clipping descenders. */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__statement em {
	font-style: italic;
	color: var(--italic-color, var(--accent));
	font-weight: var(--italic-weight, 700);
	background-image: linear-gradient(var(--accent), var(--accent));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 100% 3px;
	padding-bottom: 0.04em;
}

/* == Lede == */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__lede {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--ink-soft, var(--ink));
	margin: 0 0 var(--space-xl) 0;
	max-width: 60ch;
}

/* == Meta row == */
/* Three decorators in a row, separated by accent dots drawn as ::before bullets on
   every item after the first. Flex-wrap keeps long values from overflowing. */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta {
	gap: var(--space-md) !important;
	row-gap: var(--space-2xs) !important;
	margin-bottom: var(--space-xl);
	padding-top: var(--space-md);
	border-top: 1px solid var(--divider-primary);
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item {
	position: relative;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item + .universal-offer__meta-item {
	padding-left: calc(var(--space-md) + var(--space-2xs));
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item + .universal-offer__meta-item::before {
	content: "";
	position: absolute;
	left: var(--space-xs);
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-radius: var(--decor-radius-pill, 999px);
	background: var(--accent);
}

/* == CTA (text link with arrow) == */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	color: var(--accent);
	background: transparent;
	padding: 0.35rem 0;
	border: 0;
	border-radius: 0;
	transition:
		color var(--duration-fast) var(--ease-default),
		gap var(--duration-fast) var(--ease-default);
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
}

/* Arrow glyph appended after the link text; nudges right on hover. */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link::after {
	content: "\2192"; /* → */
	font-size: 1.1em;
	line-height: 1;
	transition: transform var(--duration-fast) var(--ease-default);
}

/* Animated underline grows from the left on hover/focus. */
body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link {
	background-image: linear-gradient(var(--accent), var(--accent));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 2px;
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link:hover {
	color: var(--accent-hover, var(--accent));
	background-size: 100% 2px;
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
	background-size: 100% 2px;
}

/* == Responsive == */
/* Desktop (≥960): allow the statement to grow to its full display scale. */
@media (min-width: 960px) {
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__statement {
		font-size: clamp(3.2rem, 5.5vw, 5rem);
	}
}

/* Tablet (641-959): keep the layout; ease the statement size band. */
@media (min-width: 641px) and (max-width: 959px) {
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__statement {
		font-size: clamp(2.6rem, 5vw, 3.6rem);
	}
}

/* Mobile (≤640): shorten the kicker rule, drop uppercase tracking (A5), and turn
   the dot-separated meta row into stacked rows (dots would crowd at narrow widths). */
@media (max-width: 640px) {
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__kicker {
		letter-spacing: 0;
		padding-left: calc(var(--space-lg) + var(--space-2xs));
	}
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__kicker::before {
		width: var(--space-lg);
	}
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: var(--space-2xs) !important;
	}
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item {
		letter-spacing: 0;
	}
	/* Stacked: remove the inter-item dot + its left padding. */
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item + .universal-offer__meta-item {
		padding-left: 0;
	}
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__meta-item + .universal-offer__meta-item::before {
		display: none;
	}
}

/* == Motion respect == */
@media (prefers-reduced-motion: reduce) {
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link,
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link::after {
		transition: none;
	}
	body.aibt-universal .universal-offer--editorial-manifesto .universal-offer__cta .wp-block-button__link:hover::after {
		transform: none;
	}
}
