/* ============================================================================
 * /ot-recovery/ — demand-gen page with per-vertical deep links
 * ============================================================================
 * Brief: a routing page. A campaign links straight to an industry
 * (…/ot-recovery#manufacturing) and the visitor lands on copy written
 * for them. Everything here serves that job.
 *
 * Design register: between /dinner (quiet invitation) and /jiujitsu (bold event).
 * This is a business page for security and operations buyers, so it is dense but
 * calm — hairlines and type rather than cards and colour, Green Primary
 * (`--teal`) for labels, markers and links, ORANGE only on the things you click.
 * docs/brand-dark-theme.md §6: green labels, orange acts, and a page never gets
 * its own palette for vibe.
 *
 * Brought into line with the brand spec 2026-10-13 (Adam: "isn't following the
 * latest branding rules"). The two text links (.cap-link, .proof-link) were
 * orange and are now green, with a cream hover as on /bsidesnyc26: a link
 * orients, it is not the page's action. The tags, the gap-list numerals and the
 * proof stat moved from the --teal-lite tint to --teal itself (§6 rule 4: the
 * tint is for small utility bits, not type). Eyebrows and the reversed logo in
 * the header and footer come from the shared layer, not from this file.
 *
 * Tokens only, no raw hex. Semantic aliases (--accent / --surface / --text) over
 * hue names so a brand change stays a one-line edit in tokens.css.
 * Corners are SQUARE — border-radius: 0 — see the block at the end.
 *
 * ⚠ "nav": "site", SO ENFOLD'S STYLESHEET IS ON THIS PAGE. Four consequences are
 * handled below, each measured rather than assumed:
 *   1. the header is `position: fixed` and takes NO space  -> .hero pads itself
 *   2. `[id]:target::before` injects a spacer               -> killed, see §anchors
 *   3. `li::before` is blanked by lp-components             -> markers re-enabled
 *      with !important where this page draws one
 *   4. `li { margin:0 !important; padding:0 !important }`   -> NO list spacing is
 *      authored on an <li> without !important; row rhythm is `gap`
 * ========================================================================= */

/* ---------- page-level knobs ---------------------------------------------- */

.copia-lp--ot-recovery {

	/*
	 * The real header height, tracked by the theme across breakpoints (90 / 60px).
	 * NOT --headerNav: that adds --banner and over-shoots by 40px, because :root
	 * keeps `has-banner` even where the banner is disabled (CLAUDE.md §4).
	 * The fallback matters — the variable is only defined when theme CSS is present.
	 */
	--lp-header: var(--headerMainMenu, 90px);

	/* Height of the sticky industry jump bar. Referenced by every anchor offset, so
	   it is a variable rather than a number repeated in four places. */
	--lp-jump: 3.5rem;

	/*
	 * `overflow: clip` INSTEAD OF lp-base's `overflow: hidden`, and it is load-bearing.
	 *
	 * `overflow: hidden` makes an element a scroll container, which becomes the
	 * containing block for any `position: sticky` descendant. That container never
	 * scrolls, so the sticky jump bar would silently never stick — no error, nothing in
	 * the CSS to point at, it just sits where it started.
	 *
	 * `clip` suppresses the same horizontal overflow WITHOUT creating a scroll
	 * container, so sticky works. On an engine too old to know `clip` the declaration
	 * is dropped and lp-base's `hidden` still applies: the bar stops sticking and
	 * nothing else changes. That is the right way round to fail.
	 */
	overflow: clip;
}

/* ---------- anchors: the theme fights fragment links, so undo it ----------- */
/*
 * `punch/assets/css/base.css` ships what looks like a sticky-header offset:
 *
 *   [id]:target:before        { content:''; display:block; height:calc(var(--headerNav)); … }
 *   [id]:target>*:first-child { margin-top:calc((var(--headerNav)) * -1) }
 *
 * It is a no-op at best and actively wrong at worst, and WHICH failure you get depends
 * on the shape of the element you anchored (CLAUDE.md §4, measured on a live post):
 *
 *   first child is a BLOCK  -> the negative margin exactly cancels the spacer, net 0px,
 *                              and the element lands flush under the fixed header
 *   first child is INLINE   -> `margin-top` does not apply to an inline box, so the
 *                              spacer is uncompensated and a whole header's worth of
 *                              blank space is injected INSIDE the element
 *
 * Our vertical sections are `<div class="vert"><div class="wrap">…` — block first child,
 * so they would take failure one. But the shape is one refactor away from flipping, so
 * BOTH theme rules are killed, not just the one that currently bites, and the real
 * offset is done with `scroll-margin-top`, which the theme does not touch.
 *
 * Kill both or neither: removing the spacer while leaving the compensating negative
 * margin yanks the element up over whatever precedes it. That exact half-fix shipped to
 * prod once and overlapped a video with the heading above it by 90px.
 */
.copia-lp--ot-recovery [id]:target::before {
	content: none !important;
}

.copia-lp--ot-recovery [id]:target > *:first-child {
	margin-top: 0 !important;
}

/* Clear the fixed header AND the sticky jump bar. Both are variables, so a change to
   either one moves every anchor on the page at once. */
.copia-lp--ot-recovery section[id],
.copia-lp--ot-recovery .vert[id] {
	scroll-margin-top: calc(var(--lp-header) + var(--lp-jump) + 1.25rem);
}

/* The jump bar itself is what pins the verticals, so a link to the industries section
   as a whole should stop above the bar, not under it. */
.copia-lp--ot-recovery #industries {
	scroll-margin-top: calc(var(--lp-header) + 1.25rem);
}

@media (prefers-reduced-motion: no-preference) {
	.copia-lp--ot-recovery { scroll-behavior: smooth; }
}

/* ---------- hero ---------------------------------------------------------- */
/*
 * Enfold's header is fixed and therefore OUT OF FLOW — it occupies no space at all, so
 * this padding is the only thing between the eyebrow and the top of the viewport.
 *
 * Pad EXPLICITLY, never by accident. On /jiujitsu a hero cleared the header only because
 * `align-items: center` happened to push its copy down 92px; adding an unrelated second
 * grid row removed the free offset and the eyebrow landed 4px UNDER the nav, with nothing
 * in the diff to point at. Explicit padding cannot be lost that way (README §8).
 */
.copia-lp--ot-recovery .hero {
	padding-top: calc(var(--lp-header) + clamp(2.5rem, 5vw, 4.5rem));
	padding-bottom: clamp(3rem, 5vw, 4.5rem);
	/* contains the absolutely-positioned photo; the section is already `position: relative`
	   from lp-components, so the media only needs the section to clip it */
	overflow: hidden;
	background:
		radial-gradient(85% 70% at 12% 0%, rgba(91, 102, 220, .26) 0%, transparent 62%),
		radial-gradient(60% 55% at 92% 88%, rgba(5, 165, 149, .14) 0%, transparent 66%),
		var(--surface-sunken);
}

/* ---------- hero photograph ----------------------------------------------- */
/*
 * A right-side photo that dissolves into the page rather than sitting on it as a rectangle.
 *
 * ⚠ THE SOURCE IS A BRIGHT, HIGH-KEY FACTORY SHOT — white ceilings, fluorescent light,
 * yellow robot arms. Dropped in untreated it is the single lightest thing on a page whose
 * whole identity is deep navy, and it fights the copy for attention. Everything below exists
 * to make it read as *texture in the dark* instead of a stock photo pasted onto a dark page.
 * If the image is ever swapped, re-check this: a darker source under the same filter comes
 * out muddy rather than moody, and the numbers here are tuned to THIS photo.
 *
 * Layered rather than done with `mask-image`: a two-stop mask would fade the photo to
 * transparency evenly, whereas gradients over the top let the fade and the navy tint be
 * shaped independently. It is also the treatment already proven on /dinner.
 */
.copia-lp--ot-recovery .hero-media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	/* never wider than the photo's own 1000px, so it is downscaled and stays crisp */
	width: min(62%, 1000px);
	z-index: 0;
	pointer-events: none;

	/*
	 * THE PHOTO IS MASKED, NOT VEILED — and the difference is visible.
	 *
	 * The first version painted an opaque `--surface-sunken` wash over the photo's left edge
	 * to hide it. That works on the photo but not on what is UNDERNEATH: the section's own
	 * indigo radial bloom kept rendering to the left of the media box and was covered by the
	 * veil to the right of it, leaving a hard vertical seam down the hero at x=548. Subtle,
	 * but once seen you cannot unsee it.
	 *
	 * A mask fades the element itself to nothing, so the section background continues
	 * uninterrupted underneath and there is no edge to mismatch. The `::after` tint below is
	 * a child, so it is masked along with the image and the two can never come apart.
	 *
	 * A gradient mask, never `url()` — WP Rocket's minifier mangles data URIs inside `url()`
	 * (CLAUDE.md §9) but leaves plain gradients alone. Both spellings shipped: unprefixed for
	 * Firefox and current Chrome, `-webkit-` for Safari and older Chrome.
	 *
	 * The `#000` below is NOT a colour and is not a token violation: in a mask, black means
	 * "fully opaque" and transparent means "fully hidden". Substituting a brand token here
	 * would change the mask's alpha, not its hue.
	 */
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 24%, rgba(0, 0, 0, .82) 55%, #000 78%);
	        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 24%, rgba(0, 0, 0, .82) 55%, #000 78%);
}

.copia-lp--ot-recovery .hero-media img {
	width: 100%;
	height: 100%;
	/* REQUIRED alongside the width/height attributes, which would otherwise win */
	object-fit: cover;
	/* the robot arms sit left-of-centre in the frame; hold them as the hero crops */
	object-position: 38% center;
	/*
	 * saturate down so the yellow arms stop shouting, brightness well down so white ceiling
	 * lands near the page's own surface value, a touch of contrast back to stop it going
	 * flat grey. Measured by eye against --surface-sunken #0E0A1C at 1440.
	 */
	filter: saturate(.55) brightness(.38) contrast(1.12);
}

/*
 * The brand tint over the photo. The horizontal fade is the MASK's job now, so nothing here
 * is allowed to be fully opaque — an opaque stop would reintroduce the seam the mask exists
 * to remove. Three translucent layers only:
 *   1  top and bottom fades, so the photo does not butt against the header or the next band
 *   2  an indigo bloom, the same wash the rest of the hero uses
 *   3  a flat navy veil — this is what actually pulls a neutral grey photograph onto the
 *      brand rather than leaving it merely dark
 */
.copia-lp--ot-recovery .hero-media::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background:
		linear-gradient(to bottom,
			var(--surface-sunken) 0%,
			transparent 28%,
			transparent 66%,
			var(--surface-sunken) 100%),
		radial-gradient(75% 90% at 100% 30%, rgba(91, 102, 220, .24) 0%, transparent 70%),
		rgba(23, 17, 43, .40);
}

.copia-lp--ot-recovery .hero h1 {
	font-size: clamp(2.6rem, 6.4vw, 4.8rem);
	margin-bottom: 1.4rem;
}

.copia-lp--ot-recovery .hero .lede {
	max-width: 40rem;
	margin-bottom: 2.2rem;
}

.copia-lp--ot-recovery .hero-cta { gap: 1rem; }

/* ---------- vendor strip -------------------------------------------------- */
/*
 * Names, not logos. Siemens, Rockwell and Schneider marks are dark or full-colour, so
 * each would need the light-panel treatment /dinner builds for Dragos and Xage, or be
 * force-whitened into flat silhouettes (README house rules). Text costs nothing here.
 */
.copia-lp--ot-recovery .vendors {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .vendors-label {
	display: block;
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 1rem;
}

/* Spacing is `gap` on the list. An <li> margin would be zeroed by lp-components. */
.copia-lp--ot-recovery .vendor-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin: 0;
	padding: 0;
}

.copia-lp--ot-recovery .vendor-list li {
	/* !important: lp-components zeroes li padding to neutralise Enfold. */
	padding: .34rem .8rem !important;
	border: 1px solid var(--line-2);
	font-size: .82rem;
	letter-spacing: .04em;
	color: var(--text-muted);
}

/* ---------- the gap ------------------------------------------------------- */

.copia-lp--ot-recovery .gap {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .gap-head { max-width: 46rem; }

/*
 * `ol.gap-list`, not `.gap-list` — naming the element is load-bearing, not tidiness.
 *
 * The theme's `ol:not(..):not(..)` container rule is (0,2,1) and _shared/lp-components.css
 * matches it to neutralise it. A plain `.copia-lp--ot-recovery .gap-list` is (0,2,0) and
 * loses to both, so the margin below would be discarded in silence — which is exactly what
 * happened here: `margin-top` computed 0px instead of 40-56px and the list sat welded to the
 * paragraph above it. Adding `ol` makes this (0,2,1), and lp.css loads after lp-components,
 * so it wins. See the long note in lp-components.css.
 */
.copia-lp--ot-recovery ol.gap-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.6rem, 3.5vw, 2.6rem);
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	padding: 0;
	counter-reset: gapcount;
}

.copia-lp--ot-recovery .gap-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	/*
	 * `!important` on the counter, and it is NOT belt-and-braces. `copia/assets/css/main.css`
	 * ships `ol:not(.flickity-page-dots):not(.footnotes-ol-list) > li { counter-increment: section }`
	 * at specificity (0,3,1) — the two `:not()` arguments each count as a class — against
	 * this rule's (0,2,1). Without the flag the theme wins, `gapcount` never increments, and
	 * all four rows silently render the numeral `0`. Measured, not theorised: that is exactly
	 * what the first render of this page did.
	 *
	 * Same reason for the padding: lp-components zeroes every `li` to neutralise Enfold.
	 */
	counter-increment: gapcount !important;
	padding-top: 1.3rem !important;
	border-top: 1px solid var(--line-2);
}

/*
 * The numeral. `content` must be re-enabled with !important because lp-components sets
 * `content: none !important` on every `.copia-lp li::before` in order to kill Enfold's
 * absolutely-positioned marker — and with "nav": "site" that reset is definitely live.
 * This selector is (0,3,1) against its (0,1,1), so it wins on specificity too.
 *
 * A counter, not an inline-SVG data URI: WP Rocket's minifier mangles the quotes and
 * angle brackets inside url() (CLAUDE.md §9). As a grid item it sits in normal flow, so
 * no absolute positioning is involved anywhere.
 */
.copia-lp--ot-recovery ol.gap-list > li::before {
	content: counter(gapcount) !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--teal);
	/* aligns the numeral's cap-height with the first text line rather than its box top */
	padding-top: .28em;
	min-width: 1.1em;
}

/*
 * The row has THREE grid children — `::before`, `<b>`, `<span>` — in a two-column track,
 * so without explicit placement the span wraps onto a second row underneath the numeral
 * and the copy renders in a narrow column beside nothing. Pin the numeral to column 1 and
 * both text elements to column 2; the numeral then spans the row implicitly because it is
 * the only thing in its column.
 */
.copia-lp--ot-recovery ol.gap-list > li::before { grid-column: 1; grid-row: 1; }

.copia-lp--ot-recovery .gap-list b {
	grid-column: 2;
	display: block;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: .35rem;
}

.copia-lp--ot-recovery .gap-list span {
	grid-column: 2;
	display: block;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--text-muted);
}

/* ---------- the platform -------------------------------------------------- */

.copia-lp--ot-recovery .platform {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .platform-head { max-width: 44rem; }

.copia-lp--ot-recovery .cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.4rem, 3vw, 2.2rem);
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.copia-lp--ot-recovery .cap {
	display: flex;
	flex-direction: column;
	background: var(--surface-raised);
	border: 1px solid var(--line);
	padding: clamp(1.5rem, 3vw, 2rem);
}

.copia-lp--ot-recovery .cap-tag {
	display: block;
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: .8rem;
}

.copia-lp--ot-recovery .cap h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.65rem);
	margin-bottom: 1.2rem;
}

.copia-lp--ot-recovery .cap-list {
	list-style: none;
	display: grid;
	gap: 1.1rem;
	margin: 0 0 1.5rem;
	padding: 0;
	flex: 1;
}

.copia-lp--ot-recovery .cap-list li {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--text-muted);
	/* !important: the divider needs the space under it, against the li reset. */
	padding-bottom: 1.1rem !important;
	border-bottom: 1px solid var(--line);
}

.copia-lp--ot-recovery .cap-list li:last-child {
	border-bottom: none;
	padding-bottom: 0 !important;
}

.copia-lp--ot-recovery .cap-list b {
	color: var(--text);
	font-weight: 500;
}

.copia-lp--ot-recovery .cap-link {
	font-size: .92rem;
	font-weight: 600;
	color: var(--teal);
	transition: color .15s;
}

.copia-lp--ot-recovery .cap-link:hover { color: var(--text); }

/* ---------- where Copia fits ---------------------------------------------- */

.copia-lp--ot-recovery .stack {
	background: var(--surface-sunken);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .stack-grid {
	display: grid;
	grid-template-columns: .85fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

/* `height: auto` is REQUIRED: the <img> carries width/height attributes, which are
   presentational hints and beat the CSS box otherwise (README house rules). */
.copia-lp--ot-recovery .stack-figure img {
	width: 100%;
	height: auto;
	max-width: 26rem;
}

.copia-lp--ot-recovery .stack-copy { max-width: 34rem; }

/* ---------- industries: head + jump bar ----------------------------------- */

/*
 * This section drops the horizontal padding lp-components puts on every `section`, and
 * gives it back to each child instead. Otherwise the alternating `.vert` grounds and the
 * sticky bar are inset by --pad and render as stripes floating inside a gutter rather than
 * as full-width bands — measured at 1440: the vert background started at x=48 and stopped
 * at x=1392. Vertical padding is dropped for the same reason: each .vert brings its own.
 */
.copia-lp--ot-recovery .industries {
	background: var(--surface);
	border-top: 1px solid var(--line);
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

/* the section head is the only direct child that still needs the gutter */
.copia-lp--ot-recovery .industries > .wrap {
	padding-left: var(--pad);
	padding-right: var(--pad);
}

.copia-lp--ot-recovery .ind-head { max-width: 44rem; }

/*
 * The sticky jump bar. Full-bleed already, because .industries above gave up its own
 * horizontal padding — so the bar just re-applies the gutter as its own padding, with no
 * negative-margin arithmetic to get wrong.
 *
 * `top` is the real header height, so the bar parks directly beneath the fixed nav.
 * Sticky only works at all because the page root uses `overflow: clip` — see the note at
 * the top of this file.
 *
 * padding-left/right, NOT padding-inline — WP Rocket's minifier drops the logical
 * properties outright (CLAUDE.md §9).
 */
.copia-lp--ot-recovery .jump {
	position: sticky;
	top: var(--lp-header);
	/*
	 * MUST STAY BELOW ENFOLD'S HEADER. Measured on the live page: `#header` is
	 * `position: fixed; z-index: 12`. `.copia-lp` is `position: relative` with `z-index:
	 * auto`, so it forms NO stacking context — this bar and the site header are siblings in
	 * the same one, and a bare comparison of z-index decides who paints on top.
	 *
	 * At 20 the bar won, and on any scroll position where the two met it drew straight over
	 * the logo and the nav. Below 12 it slides under the header instead, which is what a
	 * secondary bar should do.
	 *
	 * 5, not 11: leave room for the theme to grow. It also has to stay above the panel
	 * content (`.vert-inner` is 1) and the artwork (`.vert-media` is 0).
	 */
	z-index: 5;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-left: var(--pad);
	padding-right: var(--pad);
	background: rgba(14, 10, 28, .92);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}

/* the row: tablist on the left, pause control (added by lp.js) pinned right */
.copia-lp--ot-recovery .jump-inner {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: var(--lp-jump);
	padding-top: .5rem;
	padding-bottom: .5rem;
}

.copia-lp--ot-recovery .jump-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	flex: 1 1 auto;
	min-width: 0;
}

.copia-lp--ot-recovery .jump-chip {
	display: inline-flex;
	align-items: center;
	padding: .42rem .95rem;
	border: 1px solid var(--line-2);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--text-muted);
	transition: color .15s, border-color .15s, background-color .15s;
}

.copia-lp--ot-recovery .jump-chip:hover {
	color: var(--text);
	border-color: var(--teal);
}

/*
 * The selected tab. `is-current` is set by lp.js.
 *
 * There is no CSS-only equivalent, and that is a considered trade rather than an oversight:
 * highlighting the chip from `:target` alone would need one hand-written rule per industry
 * id (`.industries:has(#water:target) #tab-water { … }`), which cannot be generated for a
 * list that lives in lp.json — adding a vertical would silently ship an unhighlightable tab.
 * Before the script runs the open panel is the only one visible, so nothing is ambiguous;
 * the highlight and the class-driven switching then arrive together.
 */
.copia-lp--ot-recovery .jump-chip.is-current {
	color: var(--text);
	border-color: var(--teal);
	background: rgba(5, 165, 149, .14);
}

/* Roving tabindex means only the selected tab is tabbable, so its focus ring is the one
   keyboard users actually land on — keep it obvious. */
.copia-lp--ot-recovery .jump-chip:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ---------- rotation pause control ---------------------------------------- */
/*
 * Created by lp.js, never printed in the markup, so it cannot appear as a dead control on a
 * page where rotation is off or unavailable.
 *
 * It exists because WCAG 2.2.2 (Level A) requires a mechanism to pause anything that moves
 * or auto-updates for more than five seconds alongside other content. Rotating tabs qualify.
 * Hover and focus pause it too, and picking a tab stops it for good, but neither of those is
 * discoverable — this is.
 */
.copia-lp--ot-recovery .jump-pause {
	margin-left: auto;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .42rem .8rem;
	border: 1px solid var(--line);
	background: transparent;
	border-radius: 0;
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-faint);
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

.copia-lp--ot-recovery .jump-pause:hover {
	color: var(--text-muted);
	border-color: var(--line-2);
}

.copia-lp--ot-recovery .jump-pause:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/*
 * The dwell indicator: a hairline that fills across the selected tab while it is showing.
 * Driven by a CSS animation whose duration lp.js sets from `vars.rotate_seconds`, so the
 * bar and the timer cannot drift apart. Removed entirely once rotation stops.
 */
.copia-lp--ot-recovery .jump-chip.is-current.is-ticking {
	position: relative;
	overflow: hidden;
}

.copia-lp--ot-recovery .jump-chip.is-current.is-ticking::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 100%;
	background: var(--teal);
	transform-origin: left center;
	animation: copia-csi-dwell var(--csi-dwell, 7s) linear forwards;
}

@keyframes copia-csi-dwell {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
	.copia-lp--ot-recovery .jump-chip.is-current.is-ticking::after { animation: none; }
}

/* ---------- a vertical ---------------------------------------------------- */

/* ---------- TAB SWITCHING — TWO MODES, AND THE FIRST ONE NEEDS NO SCRIPT ---
 *
 * Read this before changing anything in the industries section.
 *
 * MODE 1 — `:target`, active until lp.js runs. The browser's own fragment navigation
 * shows the panel whose id is in the URL, and `:not(:has(.vert:target))` opens the first
 * one when there is no hash. Clicking a tab sets the hash, so the panels switch with
 * JavaScript blocked, delayed or broken. That is the whole point: WP Rocket's delay-JS can
 * hold a script until first interaction, and a script-driven tab set would show the wrong
 * panel to someone who arrived on #datacenters, silently, at first paint.
 *
 * MODE 2 — `.js-tabs`, added by lp.js. Switching moves to `.is-active` so the script can
 * rotate panels and update the URL with replaceState (no scroll, no history spam), and so
 * it can attach real tablist/tab/tabpanel ARIA.
 *
 * The two modes are made MUTUALLY EXCLUSIVE by selector — `:not(.js-tabs)` on one side,
 * `.js-tabs` on the other — rather than by specificity. That matters: the `:has()` rule
 * computes to (0,5,0) and would otherwise beat `.verts.js-tabs .vert.is-active` at (0,4,0),
 * so the no-JS default would win forever and the tabs would never respond to the script.
 *
 * The whole thing is wrapped in `@supports selector(:has(*))`. Without `:has()` the rules
 * are dropped and every panel simply stays visible — a long stacked page, which reads fine
 * and keeps every anchor working. That is the correct way for this to fail; hiding panels
 * in a browser that cannot compute the "no hash" case would leave a blank section instead.
 */
@supports selector(:has(*)) {

	.copia-lp--ot-recovery .verts:not(.js-tabs) .vert { display: none; }
	.copia-lp--ot-recovery .verts:not(.js-tabs) .vert:target { display: block; }

	/* no hash yet -> the first tab is the default */
	.copia-lp--ot-recovery .verts:not(.js-tabs):not(:has(.vert:target)) .vert:first-child {
		display: block;
	}

	.copia-lp--ot-recovery .verts.js-tabs .vert { display: none; }
	.copia-lp--ot-recovery .verts.js-tabs .vert.is-active { display: block; }
}

/* ---------- a vertical panel --------------------------------------------- */

.copia-lp--ot-recovery .vert {
	/* `.vert` is a div, so it gets none of the `section` rules from lp-components — it needs
	   its own positioning context and clipping for the artwork above. */
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 5.5vw, 4.5rem) var(--pad);
	border-top: 1px solid var(--line);
}

/*
 * Deliberately NO focus styling on a panel — it is not focusable. lp.js gives the panels
 * `role="tabpanel"` but no `tabindex`, because each one already contains focusable links
 * (the demo CTA and the resource shelf), which is exactly the condition under which the
 * ARIA practices say a tabpanel should not take focus itself.
 *
 * An earlier revision did add `tabindex="0"` plus a focus ring here, and it shipped to dev
 * before anyone saw it: fragment navigation focuses whatever it lands on, so arriving via
 * #datacenters drew a 2px accent outline around the whole section. It read as an error
 * state, and only the deep-link visitors — the ones this page exists for — ever saw it.
 */

/*
 * ONE ground for every panel, deliberately not alternating. An earlier version striped
 * them, which made sense while all of them were stacked and needed separating; as tabs it
 * would mean the same content looked different depending on which position its industry
 * happened to occupy in lp.json. Reordering the array would then restyle the page.
 */
.copia-lp--ot-recovery .vert { background: var(--surface-sunken); }

/* ---------- per-industry artwork ------------------------------------------ */
/*
 * A 1600×900 duotone banner behind the top of each panel, graphic to the bottom-right,
 * copy over the flat area on the left.
 *
 * ⚠ THESE DO NOT DROP IN CLEANLY, AND IT IS NOT OBVIOUS UNTIL MEASURED. The artwork is
 * already brand-treated and fades to flat indigo on its left — but MEASURED at the left
 * edge, that indigo is #1A1351 to #2B1C6B depending on the file, against a panel ground of
 * --deep #0E0A1C. Every one of them is lighter and more saturated than the page. Butted
 * straight in they read as a pasted-on rectangle with a visible edge, not as part of the
 * panel. So each is masked to nothing on the left and bottom, and darkened, exactly as the
 * hero photograph is — the join then does not exist rather than being well matched.
 *
 * `object-position: right bottom` because the subject is deliberately in the bottom-right
 * of the source; a centre crop cuts the graphic in half at this aspect.
 */
.copia-lp--ot-recovery .vert-media {
	position: absolute;
	top: 0;
	right: 0;
	width: min(62%, 1000px);
	/*
	 * A FIXED 5:2 (2.5:1) BOX, so one asset is exactly right at every breakpoint.
	 *
	 * This used to be `height: clamp(17rem, 30vw, 26rem)` against a `min()` width — two
	 * independent clamps, so the box's SHAPE changed with the viewport. Measured, it ranged
	 * 2.07:1 at 1024px to 2.53:1 at 768px, which means no single image could ever fit it:
	 * whatever was supplied got cropped differently at every width, and the designer had no
	 * true dimension to work to.
	 *
	 * Pinning the aspect makes the crop identical everywhere and gives the artwork one real
	 * spec — 2000 x 800 at 2x. Width still caps at 1000px, so 2000px is the largest it is
	 * ever displayed at.
	 */
	aspect-ratio: 5 / 2;
	height: auto;
	z-index: 0;
	pointer-events: none;
	/*
	 * ONE mask layer, horizontal only — the vertical fade is done by the overlay below.
	 *
	 * Two mask layers would need `mask-composite: intersect`, and that is a bad bet here:
	 * the default composite is `add`, so on any engine that ignores the property the two
	 * fades UNION instead of intersecting and the image shows through MORE than intended —
	 * a worse result than not masking at all. The vertical direction does not need a mask
	 * anyway: `.vert` has a flat `--surface-sunken` ground, so an opaque gradient to that
	 * exact colour is indistinguishable from a fade to transparent. (The hero could not do
	 * that horizontally — a gradient sat under it there, which is what caused the seam.)
	 */
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .3) 26%, rgba(0, 0, 0, .8) 58%, #000 80%);
	        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .3) 26%, rgba(0, 0, 0, .8) 58%, #000 80%);
}

/* Vertical fade into the panel, plus a navy veil to pull the lighter source indigo down. */
.copia-lp--ot-recovery .vert-media::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background:
		linear-gradient(to bottom,
			rgba(14, 10, 28, .18) 0%,
			rgba(14, 10, 28, .38) 48%,
			var(--surface-sunken) 100%);
}

.copia-lp--ot-recovery .vert-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right bottom;
	/* the source indigo is lighter than the panel; bring it down to sit in the same room */
	filter: saturate(.95) brightness(.85);
}

/* The panel's own content sits above the artwork. `.vert-inner` is a plain div, so unlike
   the hero's `.hero-inner` it gets no z-index from lp-base and needs one here. */
.copia-lp--ot-recovery .vert-inner {
	position: relative;
	z-index: 1;
}

.copia-lp--ot-recovery .vert-head { max-width: 46rem; }

.copia-lp--ot-recovery .vert-head h3 {
	font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

.copia-lp--ot-recovery .vert-audience {
	font-size: .95rem;
	color: var(--text-faint);
	margin-bottom: 1.6rem;
}

.copia-lp--ot-recovery .vert-body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.8rem, 4vw, 3rem);
	margin-top: clamp(2.2rem, 4.5vw, 3rem);
}

.copia-lp--ot-recovery .block-label {
	display: block;
	font-size: var(--label-size);
	font-weight: var(--label-weight);
	letter-spacing: var(--label-track);
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 1.2rem;
}

/* Row rhythm on the list's `gap`, never on the <li>. */
.copia-lp--ot-recovery .mini-list {
	list-style: none;
	display: grid;
	gap: 1.2rem;
	margin: 0;
	padding: 0;
}

/*
 * A hairline ABOVE each row, not a rule down its left side.
 *
 * The left borders were the wrong call and it showed the moment the page was on screen: a
 * 2px vertical bar beside every row competes with the text for the left edge, and the page's
 * own language for "here is a discrete item" is already a hairline across the top — it is
 * what `.fact` and `.gap-list li` both use. Two separators doing the same job in two
 * different directions on one page reads as an accident.
 *
 * It also removes the narrow left gutter where a stray marker could land on top of the rule.
 *
 * padding on the TOP only, and no `!important` needed: lp-components zeroes `li` padding, so
 * the value is carried on the row's own children instead — same technique /dinner's agenda
 * uses, and it sidesteps the reset entirely rather than escalating against it.
 */
.copia-lp--ot-recovery .mini-list li {
	border-top: 1px solid var(--line);
}

/* FIRST child only. `li > *` would pad the tag, the heading and the body alike and open a
   gap inside every row. */
.copia-lp--ot-recovery .mini-list li > *:first-child {
	padding-top: .85rem;
}

/* The solution rows earn a teal top rule — it is the same accent the tag below it uses, so
   the two read as one object rather than a bar plus a label. */
.copia-lp--ot-recovery .mini-list--sol li { border-top-color: rgba(5, 165, 149, .45); }

/*
 * `.mini-list .sol-tag`, not `.sol-tag`: the tag is a <span>, and `.mini-list span` below is
 * (0,2,1), which beat a bare (0,2,0) `.sol-tag`. MEASURED 2026-10-13: every solution tag
 * computed --text-muted grey on the live page, though this rule asked for green. (0,3,0) wins.
 */
.copia-lp--ot-recovery .mini-list .sol-tag {
	display: inline-block;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: .3rem;
}

.copia-lp--ot-recovery .mini-list b {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: .3rem;
}

.copia-lp--ot-recovery .mini-list span {
	display: block;
	font-size: .93rem;
	line-height: 1.6;
	color: var(--text-muted);
}

/* ---------- proof stat ---------------------------------------------------- */

.copia-lp--ot-recovery .proof {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(1.2rem, 3vw, 2rem);
	align-items: center;
	margin-top: clamp(2rem, 4vw, 2.8rem);
	padding: clamp(1.2rem, 2.5vw, 1.6rem);
	border: 1px solid var(--line);
	background: rgba(5, 165, 149, .07);
}

.copia-lp--ot-recovery .proof-stat {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 300;
	letter-spacing: -.03em;
	line-height: 1;
	color: var(--teal);
	white-space: nowrap;
}

.copia-lp--ot-recovery .proof-body {
	font-size: .95rem;
	line-height: 1.6;
	max-width: none;
	margin: 0;
}

.copia-lp--ot-recovery .proof-link {
	color: var(--teal);
	font-weight: 600;
	white-space: nowrap;
	transition: color .15s;
}

.copia-lp--ot-recovery .proof-link:hover { color: var(--text); }

/* ---------- resource shelves ---------------------------------------------- */

.copia-lp--ot-recovery .vert-res { margin-top: clamp(2rem, 4vw, 2.6rem); }

.copia-lp--ot-recovery .res-list {
	list-style: none;
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	/* the 1px gap over a hairline ground draws every divider, inner and outer, with no
	   per-cell border arithmetic and no doubled lines where two cells meet */
	background: var(--line);
	border: 1px solid var(--line);
}

.copia-lp--ot-recovery .res-list--vert { grid-template-columns: repeat(3, 1fr); }
.copia-lp--ot-recovery .res-list--all { grid-template-columns: repeat(3, 1fr); }

.copia-lp--ot-recovery .res-list a {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	height: 100%;
	padding: 1.1rem 1.2rem;
	background: var(--surface);
	transition: background-color .15s;
}

.copia-lp--ot-recovery .vert .res-list a { background: var(--surface-sunken); }

.copia-lp--ot-recovery .res-list a:hover { background: var(--card-2); }

.copia-lp--ot-recovery .res-kind {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--teal);
}

.copia-lp--ot-recovery .res-label {
	font-size: .95rem;
	line-height: 1.45;
	color: var(--text);
}

.copia-lp--ot-recovery .resources {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .res-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }

/* ---------- quotes -------------------------------------------------------- */

.copia-lp--ot-recovery .quotes {
	background: var(--surface-sunken);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .quotes-head { max-width: 40rem; }

.copia-lp--ot-recovery .quote-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.4rem, 3vw, 2.2rem);
	margin-top: clamp(2.2rem, 4.5vw, 3rem);
}

.copia-lp--ot-recovery .quote {
	margin: 0;
	padding: clamp(1.4rem, 3vw, 1.9rem);
	border: 1px solid var(--line);
	background: var(--surface-raised);
}

.copia-lp--ot-recovery .quote blockquote {
	margin: 0 0 1.2rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--text);
}

.copia-lp--ot-recovery .quote figcaption b {
	display: block;
	font-weight: 500;
	color: var(--text);
	font-size: .95rem;
}

.copia-lp--ot-recovery .quote figcaption span {
	display: block;
	font-size: .85rem;
	color: var(--text-faint);
}

/* ---------- FAQ ----------------------------------------------------------- */

.copia-lp--ot-recovery .faq {
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .faq-inner { max-width: 48rem; }

.copia-lp--ot-recovery .faq-list { margin-top: clamp(2rem, 4vw, 2.6rem); }

.copia-lp--ot-recovery .faq-list details {
	border-top: 1px solid var(--line);
}

.copia-lp--ot-recovery .faq-list details:last-child {
	border-bottom: 1px solid var(--line);
}

.copia-lp--ot-recovery .faq-list summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
	font-size: 1.05rem;
	color: var(--text);
}

/* the default disclosure triangle, in both engines' spellings */
.copia-lp--ot-recovery .faq-list summary::-webkit-details-marker { display: none; }
.copia-lp--ot-recovery .faq-list summary::marker { content: ''; }

/* A plain glyph rather than an inline-SVG data URI, which Rocket's minifier mangles. */
.copia-lp--ot-recovery .faq-list summary::after {
	content: '+';
	font-size: 1.4rem;
	line-height: 1;
	font-weight: 300;
	color: var(--teal-lite);
	transition: transform .18s ease;
}

.copia-lp--ot-recovery .faq-list details[open] summary::after {
	content: '\2013'; /* en dash */
}

.copia-lp--ot-recovery .faq-list details p {
	margin: 0 0 1.2rem;
	font-size: .98rem;
	line-height: 1.65;
	max-width: 42rem;
}

/* ---------- final CTA ----------------------------------------------------- */

.copia-lp--ot-recovery .final {
	background: var(--surface-sunken);
	border-top: 1px solid var(--line);
	text-align: center;
}

.copia-lp--ot-recovery .final-inner { max-width: 40rem; }

.copia-lp--ot-recovery .final h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }

/* centred column, so un-cap the inherited measure and its auto margins */
.copia-lp--ot-recovery .final-inner p {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 2rem;
}

/* ---------- sharp corners ------------------------------------------------- */
/*
 * ZERO border-radius. Brand, not preference — docs/brand-dark-theme.md §4. MEASURED on
 * live copia.io: the site's own "Request a Demo" header CTA computes `border-radius: 0px`
 * on this same orange. The 3px still in _shared/lp-components.css is drift; squaring the
 * shared layer would restyle four existing pages in one commit and is deliberately
 * deferred, so new pages override locally, as /jiujitsu does.
 *
 * `.copia-lp--ot-recovery .btn` and `.copia-lp .btn` are both (0,2,0), so
 * this wins purely on load order — lp.css is enqueued last (README §4). No !important,
 * which would only make the next override harder.
 */
.copia-lp--ot-recovery .btn,
.copia-lp--ot-recovery .cap,
.copia-lp--ot-recovery .quote,
.copia-lp--ot-recovery .proof,
.copia-lp--ot-recovery .jump-chip,
.copia-lp--ot-recovery .vendor-list li,
.copia-lp--ot-recovery .res-list {
	border-radius: 0;
}

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 1080px) {
	.copia-lp--ot-recovery .cap-grid { grid-template-columns: 1fr; }
	.copia-lp--ot-recovery .quote-grid { grid-template-columns: 1fr; }
	.copia-lp--ot-recovery .res-list--all { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	/*
	 * THE HERO PHOTO STOPS BEING A SIDE ELEMENT AND BECOMES A BACKDROP, so it has to be much
	 * weaker. At this width there is no "right side" to put it on — the copy runs the full
	 * measure and the photo is behind all of it.
	 *
	 * This is a contrast fix, not a taste one. MEASURED at 500px with the desktop treatment:
	 * the brightest point behind the copy was rgb(67,69,101), which gives `--text-faint`
	 * (the vendor label) only 2.76:1 — a clear AA failure — while cream and muted still
	 * passed. Fading downward instead of sideways, and darkening the source further, brings
	 * every role back over 4.5:1. Re-measure if any of these numbers are touched.
	 */
	.copia-lp--ot-recovery .hero-media {
		width: 100%;
		-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 55%, transparent 100%);
		        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 55%, transparent 100%);
	}

	.copia-lp--ot-recovery .hero-media img {
		filter: saturate(.4) brightness(.22) contrast(1.1);
	}

	.copia-lp--ot-recovery .hero-media::after {
		background:
			radial-gradient(90% 80% at 80% 20%, rgba(91, 102, 220, .2) 0%, transparent 70%),
			rgba(14, 10, 28, .5);
	}

	/* Same reasoning as the hero photo: at this width there is no right-hand side to put the
	   artwork on, so it becomes a faint backdrop behind full-width copy and is pulled well
	   down. Contrast is measured, not assumed — see the note in the hero block. */
	.copia-lp--ot-recovery .vert-media {
		width: 100%;
		/* same 5:2 as desktop — the whole point is one shape everywhere */
		aspect-ratio: 5 / 2;
		height: auto;
		-webkit-mask-image: none;
		        mask-image: none;
	}

	.copia-lp--ot-recovery .vert-media img { filter: saturate(.7) brightness(.4); }

	.copia-lp--ot-recovery .vert-media::after {
		background:
			linear-gradient(to bottom,
				rgba(14, 10, 28, .58) 0%,
				rgba(14, 10, 28, .74) 40%,
				var(--surface-sunken) 100%);
	}

	.copia-lp--ot-recovery .gap-list { grid-template-columns: 1fr; }
	.copia-lp--ot-recovery .vert-body { grid-template-columns: 1fr; }
	.copia-lp--ot-recovery .res-list--vert { grid-template-columns: 1fr; }

	.copia-lp--ot-recovery .stack-grid { grid-template-columns: 1fr; }
	/* copy first on a phone — the diagram is support, not the hook */
	.copia-lp--ot-recovery .stack-figure { order: 2; justify-self: center; }
	.copia-lp--ot-recovery .stack-copy { order: 1; max-width: none; }
}

@media (max-width: 640px) {
	.copia-lp--ot-recovery .res-list--all { grid-template-columns: 1fr; }

	.copia-lp--ot-recovery .proof { grid-template-columns: 1fr; gap: .8rem; }

	/*
	 * Six tabs will not fit on a phone. They scroll sideways rather than wrapping to three
	 * rows and eating half the viewport under an already-fixed header. `nowrap` plus
	 * overflow-x, with the bar's own gutter restored as padding so the first and last chips
	 * are not clipped against the edge.
	 */
	.copia-lp--ot-recovery .jump-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		padding-left: var(--pad);
		padding-right: var(--pad);
		margin-left: calc(var(--pad) * -1);
		margin-right: calc(var(--pad) * -1);
	}

	.copia-lp--ot-recovery .jump-tabs::-webkit-scrollbar { display: none; }
	.copia-lp--ot-recovery .jump-chip { flex: 0 0 auto; }

	/* the label is redundant next to a scrolling strip on a narrow screen */
	.copia-lp--ot-recovery .jump-pause { font-size: 0; padding: .42rem .6rem; }
	.copia-lp--ot-recovery .jump-pause::before {
		content: '\275A\275A'; /* ❚❚ */
		font-size: .7rem;
		letter-spacing: -.1em;
	}
	.copia-lp--ot-recovery .jump-pause[aria-pressed="true"]::before {
		content: '\25B6'; /* ▶ */
	}
}
