/* ==========================================================================
   Dade2 – inner pages (About us, …). Loaded after sections.css.
   Rows/columns/modules get these classes from setup/build-*.php.
   ========================================================================== */

/* ---------- shared: 48px section titles (inner pages) ---------- */
.fl-builder-content .dade-h48 :is(h1, h2, h3) { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; }
@media (min-width: 1025px) {
	.fl-builder-content .dade-h48 :is(h1, h2, h3) { font-size: clamp(40px, 2.892vw, 48px); }
}
@media (max-width: 1024px) {
	.fl-builder-content .dade-h48 :is(h1, h2, h3) { font-size: 40px; }
}
@media (max-width: 767px) {
	.fl-builder-content .dade-h48 :is(h1, h2, h3) { font-size: 30px; line-height: 1.08; letter-spacing: -0.9px; }
}
@media (max-width: 389px) {
	.fl-builder-content .dade-h48 :is(h1, h2, h3) { font-size: max(26px, 7.692vw); }
}

/* light body text on dark sections (#c9d4df instead of the muted #93a4b7) */
.dade-on-dark .dade-lead-light p { color: var(--dade-text-on-dark); }

/* photos that fill their box with rounded corners (BB Photo module) */
.dade-cover-photo .fl-photo-content,
.dade-cover-photo .fl-photo-img { display: block; width: 100%; }
.dade-cover-photo .fl-photo-img { object-fit: cover; border-radius: 8px; }

/* groups that line their columns up with flex (no BB clearfix items) */
.dade-mission .fl-col-group::before, .dade-mission .fl-col-group::after,
.dade-team .fl-col-group::before, .dade-team .fl-col-group::after,
.fl-col-group:has(> .dade-step)::before, .fl-col-group:has(> .dade-step)::after,
.fl-col-group:has(> .dade-why-cell)::before, .fl-col-group:has(> .dade-why-cell)::after { display: none; }

/* ---------- page hero (photo + diagonal shade) ---------- */
.dade-page-hero > .fl-row-content-wrap {
	position: relative;
	background-position: center 53% !important; /* Figma: image 145% tall, top -24% */
}
.dade-page-hero > .fl-row-content-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(236.3deg, rgba(0, 0, 0, 0) 22.94%, rgba(0, 0, 0, 0.6) 103.72%);
	pointer-events: none;
}
.dade-page-hero .fl-row-content { position: relative; z-index: 1; }
.dade-page-hero-copy > .fl-col-content { max-width: 624px; }
.dade-page-hero .fl-module.dade-eyebrow,
.dade-page-hero .fl-module.dade-page-hero-title { margin-bottom: 24px !important; }
.fl-builder-content .dade-page-hero-title h1 { font-size: 64px; line-height: 1.08; letter-spacing: -0.03em; }
@media (min-width: 1025px) {
	.fl-builder-content .dade-page-hero-title h1 { font-size: clamp(48px, 3.855vw, 64px); }
}
.dade-page-hero-lead { margin-bottom: 36px !important; } /* 24 gap + 12 button padding */
.dade-page-hero-lead p { font-size: 18px; line-height: 1.6; }

/* ---------- 03 Mission ---------- */
.dade-mission .fl-col-group { display: flex; align-items: center; }
/* beats BB: .fl-builder-content[data-shrink="1"] img.fl-photo-img { height: auto } */
.fl-builder-content .fl-module.dade-mission-photo img.fl-photo-img { height: 520px; }
.dade-mission-copy > .fl-col-content { max-width: 514.67px; margin-left: auto; }
.dade-mission-copy .fl-module.dade-title { margin-bottom: 28px !important; }
.dade-mission-copy .dade-lead p { max-width: 508px; } /* 492 + 16 SplitText slack */

/* ---------- 04 How we work ---------- */
.dade-how-head > .fl-col-content { max-width: 694px; }
.dade-how-head .fl-module.dade-title { margin-bottom: 0 !important; }
/* "in five steps" on its own line from tablet up (Figma desktop); a <br> can't
   be used because SplitText would also break there on mobile */
@media (min-width: 768px) {
	.dade-how-head .dade-title .dade-muted { display: block; }
}
.dade-how .fl-row-content > .fl-col-group:first-child { margin-bottom: 72px; }
.fl-col-group:has(> .dade-step) { display: flex; gap: 32px; }
.fl-col-group:has(> .dade-step) > .fl-col { float: none; width: auto !important; flex: 1 1 0; min-width: 0; }
.dade-step-marker { display: flex; align-items: center; gap: 12px; }
.dade-step-num {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding-left: 0.14em; /* the 0.14em tracking also trails the last digit */
	border-radius: 50%;
	background: rgba(12, 32, 48, 0.1);
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	color: var(--dade-copper);
	transition: background-color .25s ease, color .25s ease;
}
.dade-step-line { flex: 1 1 auto; height: 1px; background: rgba(12, 32, 48, 0.16); }
.dade-step:last-child .dade-step-line { background: transparent; }
/* Figma shows step 1 filled = hover state */
@media (hover: hover) { .dade-step:hover .dade-step-num { background: var(--dade-navy); color: #ffffff; } } /* no sticky hover after a tap */
.dade-step-rail { margin-bottom: 36px !important; } /* 14 gap + 8 spacer + 14 gap */
.dade-step-copy h3 { margin: 0 0 14px; font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: 0; color: var(--dade-navy); }
.dade-step-copy p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dade-text); }
/* desktop: the 230px step columns only need 2px of split-text slack (16px lets
   "agreed" / "infrastructure." / "not" jump up a line, unlike Figma) */
@media (min-width: 1025px) {
	.fl-builder-content .dade-step .fl-module.dade-at > * { margin-right: -2px; }
}

/* ---------- 05 Who we serve (contour lines, anchored to the content centre) ---------- */
.dade-serve > .fl-row-content-wrap { position: relative; overflow: hidden; }
.dade-serve > .fl-row-content-wrap::before,
.dade-serve > .fl-row-content-wrap::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	height: 100%;
	width: min(75.301vw, 1250px);
	background: center / 100% 100% no-repeat;
	pointer-events: none;
}
/* Figma 1660px frame: left set at x 1 (centre - 829), right set at x 410 (centre - 420) */
.dade-serve > .fl-row-content-wrap::before {
	left: calc(50% - min(49.94vw, 829px));
	background-image: url("assets/about/contours-left.svg");
	transform: scaleX(-1);
}
.dade-serve > .fl-row-content-wrap::after {
	left: calc(50% - min(25.301vw, 420px));
	background-image: url("assets/about/contours-right.svg");
	transform: rotate(180deg) scaleX(-1);
}
/* wider than the 1660 frame: the contour sets end ~830px either side of the
   centre, so fade their outer ends instead of showing a hard cut. Masks sit
   in the pseudo's own space: ::before is mirrored (scaleX(-1)), ::after
   (rotate 180 + scaleX(-1) = flip Y) is not mirrored horizontally. */
@media (min-width: 1661px) {
	.dade-serve > .fl-row-content-wrap::before {
		-webkit-mask-image: linear-gradient(to left, transparent, #000 18%);
		mask-image: linear-gradient(to left, transparent, #000 18%);
	}
	.dade-serve > .fl-row-content-wrap::after {
		-webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
		mask-image: linear-gradient(to right, #000 82%, transparent);
	}
}
.dade-serve .fl-row-content { position: relative; z-index: 1; }
.dade-serve-copy > .fl-col-content { max-width: 843px; }
.dade-serve .fl-module.dade-title { margin-bottom: 28px !important; }
.dade-serve .dade-lead p { max-width: none; text-align: center; }

/* ---------- 06 Why choose us (3x2 grid with hairlines) ---------- */
.dade-why-head > .fl-col-content { max-width: none; }
.dade-why .fl-row-content > .fl-col-group:first-child { margin-bottom: 64px; }
.dade-why .dade-why-head .fl-module.dade-title { margin-bottom: 0 !important; }
.fl-col-group:has(> .dade-why-cell) {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid var(--dade-line);
	border-left: 1px solid var(--dade-line);
}
.fl-col-group:has(> .dade-why-cell) > .fl-col { float: none; flex: 0 0 33.3333%; width: 33.3333% !important; min-width: 0; }
.dade-why-cell > .fl-col-content {
	height: 100%;
	padding: 40px 36px;
	border-right: 1px solid var(--dade-line);
	border-bottom: 1px solid var(--dade-line);
}
.dade-why-icon { margin-bottom: 48px !important; } /* 10 gap + 28 spacer + 10 gap */
.dade-why-copy h3 { margin: 0 0 10px; font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: 0; color: var(--dade-navy); }
.dade-why-copy p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dade-text); }
/* text box widths per cell, as in Figma (line breaks) */
.dade-why-cell:nth-child(1) .dade-why-copy p { max-width: 294px; }
.dade-why-cell:nth-child(2) .dade-why-copy p { max-width: 292px; }
.dade-why-cell:nth-child(3) .dade-why-copy p { max-width: 297px; }
.dade-why-cell:nth-child(4) .dade-why-copy p { max-width: 301px; }

/* ---------- 07 Team and office ---------- */
.dade-team .fl-row-content > .fl-col-group:first-child { display: flex; align-items: flex-end; margin-bottom: 56px; }
.dade-team-head > .fl-col-content { max-width: 624px; }
.dade-team-head .fl-module.dade-title { margin-bottom: 0 !important; }
.dade-team-intro > .fl-col-content { max-width: 514.67px; margin-left: auto; }
.fl-col-group:has(> .dade-office) { display: flex; gap: 32px; }
.fl-col-group:has(> .dade-office) > .fl-col { float: none; width: auto !important; flex: 1 1 0; min-width: 0; }
.fl-builder-content .fl-module.dade-office-photo img.fl-photo-img { height: 320px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	/* hero: the copy runs over the bright stairs at this width, so use the
	   darker mobile shade, a smaller title and a narrower lead */
	.dade-page-hero > .fl-row-content-wrap::before { background: linear-gradient(224.68deg, rgba(0, 0, 0, 0) 4.38%, #000000 109.71%); }
	.fl-builder-content .dade-page-hero-title h1 { max-width: 540px; font-size: 52px; } /* 3 lines, like desktop */
	.dade-page-hero-lead p { max-width: 520px; }

	/* mission: text above the image, like the mobile frame */
	.dade-mission .fl-col-group { flex-direction: column-reverse; align-items: stretch; }
	.fl-builder-content .dade-mission .fl-col { width: 100% !important; }
	.dade-mission-copy > .fl-col-content { max-width: 640px; margin-left: 0; margin-bottom: 40px; }
	.fl-builder-content .fl-module.dade-mission-photo img.fl-photo-img { height: 420px; }

	.fl-col-group:has(> .dade-step) { flex-wrap: wrap; gap: 40px 32px; }
	.fl-col-group:has(> .dade-step) > .fl-col { flex: 1 1 calc(33.333% - 22px); }
	.dade-step:nth-child(3) .dade-step-line { background: transparent; }

	.fl-col-group:has(> .dade-why-cell) > .fl-col { flex-basis: 50%; width: 50% !important; }

	/* stacked, still flex: floated columns without the BB clearfix would collapse the group
	   and squeeze the photo group (a flex BFC) beside the floats to 0 width */
	.dade-team .fl-row-content > .fl-col-group:first-child { flex-direction: column; align-items: stretch; margin-bottom: 40px; }
	.fl-builder-content .dade-team .fl-col-group:first-child > .fl-col { float: none; width: 100% !important; }
	.dade-team-intro > .fl-col-content { max-width: 640px; margin: 16px 0 0; }
	.fl-builder-content .fl-module.dade-office-photo img.fl-photo-img { height: 220px; }
}

/* ---------- Mobile (Figma "About us / Mobile 390") ---------- */
@media (max-width: 767px) {
	/* Left-aligned body copy: 6px of split-text slack at 390, not 16. Swept on a
	   real 390px layout (phone emulation, no scrollbar) with the plugin's own
	   inline-block word/char wrappers: every paragraph breaks like the mobile
	   frame only for 5–7px (hero 1–9, mission 5–11, why 1 5+, why 4 ≤7).
	   Centred blocks keep their -8/-8. */
	.fl-builder-content :is(.dade-page-hero, .dade-mission, .dade-how, .dade-why, .dade-team) .fl-module.dade-at:not(.dade-title) > p { margin-right: -6px; }

	/* hero */
	.dade-page-hero > .fl-row-content-wrap { background-position: 89.5% center !important; }
	.dade-page-hero > .fl-row-content-wrap::before { background: linear-gradient(224.68deg, rgba(0, 0, 0, 0) 4.38%, #000000 109.71%); }
	.dade-page-hero .fl-module.dade-eyebrow,
	.dade-page-hero .fl-module.dade-page-hero-title { margin-bottom: 20px !important; }
	.fl-builder-content .dade-page-hero-title h1 { font-size: 36px; line-height: 1.06; letter-spacing: -1.08px; }
	.dade-page-hero-lead { margin-bottom: 28px !important; }
	.dade-page-hero-lead p { font-size: 16px; line-height: 1.55; }
	.dade-btn-full-m .fl-button-wrap,
	.dade-btn-full-m a.fl-button { display: flex; width: 100%; justify-content: center; }

	/* mission */
	.dade-mission-copy > .fl-col-content { margin-bottom: 24px; }
	.dade-mission-copy .fl-module.dade-title { margin-bottom: 20px !important; }
	.dade-mission-copy .dade-title h2 { max-width: 305px; }
	.dade-mission-copy .dade-lead p { max-width: none; font-size: 16px; line-height: 1.55; }
	.fl-builder-content .fl-module.dade-mission-photo img.fl-photo-img { height: 260px; }

	/* how we work: vertical rail */
	.dade-how .fl-row-content > .fl-col-group:first-child { margin-bottom: 32px; }
	.fl-col-group:has(> .dade-step) { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.fl-col-group:has(> .dade-step) > .fl-col { flex: 0 0 auto; width: 100% !important; }
	.dade-step > .fl-col-content { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; }
	.dade-step-rail { grid-column: 1; grid-row: 1; margin: 0 !important; align-self: stretch; }
	.dade-step-rail,
	.dade-step-rail .fl-module-content,
	.dade-step-rail .fl-html,
	.dade-step-marker { height: 100%; }
	.dade-step-marker { flex-direction: column; gap: 0; }
	.dade-step-num { flex: 0 0 44px; width: 44px; height: 44px; }
	.dade-step-line,
	.dade-step:nth-child(3) .dade-step-line { width: 1px; height: auto; flex: 1 1 auto; background: rgba(12, 32, 48, 0.16); }
	.dade-step:last-child .dade-step-line { display: none; }
	.dade-step-copy { grid-column: 2; grid-row: 1; padding: 10px 0 32px; }
	.dade-step:last-child .dade-step-copy { padding-bottom: 0; }
	.dade-step-copy h3 { margin-bottom: 8px; font-size: 19px; }
	/* no hover on touch: the mobile frame shows step 1 filled */
	.dade-step:first-child .dade-step-num { background: var(--dade-navy); color: #ffffff; }

	/* who we serve */
	.dade-serve > .fl-row-content-wrap::before {
		top: 58.58%; height: 41.42%; left: 0; width: 160.26%;
		background-image: url("assets/about/contours-m-bottom.svg");
	}
	.dade-serve > .fl-row-content-wrap::after {
		top: 0; height: 42.03%; left: -60.26%; width: 160.26%;
		background-image: url("assets/about/contours-m-top.svg");
	}
	.dade-serve .fl-module.dade-title { margin-bottom: 20px !important; }
	.dade-serve .dade-lead p { font-size: 16px; line-height: 1.55; }

	/* why choose us */
	.dade-why .fl-row-content > .fl-col-group:first-child { margin-bottom: 32px; }
	.fl-col-group:has(> .dade-why-cell) > .fl-col { flex-basis: 100%; width: 100% !important; }
	.dade-why-cell > .fl-col-content { padding: 28px 24px; }
	.dade-why-icon { margin-bottom: 36px !important; } /* 10 + 16 spacer + 10 */
	.dade-why-copy h3 { font-size: 19px; }
	.dade-why-cell .dade-why-copy p { max-width: none !important; }

	/* team */
	.dade-team-head .dade-title h2 { max-width: 280px; }
	.dade-team .fl-row-content > .fl-col-group:first-child { margin-bottom: 40px; } /* 16 + 8 spacer + 16 */
	.dade-team-intro > .fl-col-content { max-width: 330px; }
	.dade-team .dade-lead p { font-size: 16px; line-height: 1.55; }
	.fl-col-group:has(> .dade-office) { flex-direction: column; gap: 16px; }
	.fl-col-group:has(> .dade-office) > .fl-col { flex: 0 0 auto; width: 100% !important; }
	.fl-builder-content .fl-module.dade-office-photo img.fl-photo-img { height: 230px; }
}

/* ==========================================================================
   Service template (Figma 2197:273 desktop / 2276:2 mobile) – page
   services/private-hybrid-cloud, built by setup/build-service.php.
   Reuses: About hero (.dade-page-hero), Home expertise cards (.dade-card),
   Home story cards (.dade-story).
   ========================================================================== */

/* ---------- 01 Hero: photo only (no diagonal shade), image 130% wide, top -25% ---------- */
.dade-service-hero > .fl-row-content-wrap::before { display: none; }
.dade-service-hero > .fl-row-content-wrap {
	/* never narrower than 1443px, so the photo always covers the 738px row */
	background-size: max(130.35%, 1443px) auto !important;
	background-position: left 0 top 75% !important;
}

/* ---------- 02 What it is: title | hairline | text ---------- */
.dade-what .fl-col-group { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.dade-what .fl-col-group::before, .dade-what .fl-col-group::after { display: none; }
.fl-builder-content .dade-what .fl-col.dade-what-title { float: none; width: auto !important; flex: 0 1 514.67px; min-width: 0; }
.fl-builder-content .dade-what .fl-col.dade-what-text { float: none; width: auto !important; flex: 0 1 572px; min-width: 0; position: relative; }
/* 240px line centred in the gap between title and text (Figma x 801) */
.dade-what-text::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -32px;
	width: 1px;
	height: 240px;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.1);
}
.dade-what .fl-module.dade-title { margin-bottom: 0 !important; }
.dade-what-lead p { margin: 0; font-size: 20px; line-height: 1.55; color: var(--dade-text); }
@media (min-width: 1321px) {
	/* full 1280 content: Figma gap 193.33, line in its middle */
	.dade-what .fl-col-group { gap: 0; }
	.dade-what-text::before { left: -96.67px; }
}

/* ---------- 03 Options: Home expertise cards + side arcs ---------- */
.dade-options > .fl-row-content-wrap { position: relative; overflow: hidden; }
.dade-options > .fl-row-content-wrap::before,
.dade-options > .fl-row-content-wrap::after {
	content: "";
	position: absolute;
	top: -99px;
	width: 751px;
	height: 699px;
	background: url("assets/service/options-arcs.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.dade-options > .fl-row-content-wrap::before { left: -200px; }
.dade-options > .fl-row-content-wrap::after { right: -200px; transform: scaleX(-1); }
.dade-options .fl-row-content { position: relative; z-index: 1; }
.dade-options .fl-row-content > .fl-col-group:first-child { margin-bottom: 64px; }
.dade-options-head > .fl-col-content { max-width: none; }
.dade-options .dade-center-head .fl-module.dade-title { margin-bottom: 0 !important; }
.dade-options .dade-card:nth-child(n) .dade-card-text p { line-height: 26px; } /* Figma 3 lines = 78px */

/* ---------- 04 Why Dade2: photo to the left screen edge, list on the right ---------- */
.dade-why-list .fl-col-group { display: flex; align-items: center; }
.dade-why-list .fl-col-group::before, .dade-why-list .fl-col-group::after { display: none; }
/* Figma: photo 0-796 (= centre - 34), copy from centre + 118 */
.fl-builder-content .dade-why-list .fl-col.dade-why-media { float: none; width: calc(50% - 34px) !important; flex: 0 0 auto; }
.fl-builder-content .dade-why-list .fl-col.dade-why-copy-col { float: none; width: auto !important; flex: 1 1 0; min-width: 0; }
.dade-why-copy-col > .fl-col-content { max-width: 796px; padding: 40px 20px 40px min(152px, 9.157vw); }
.fl-builder-content .fl-module.dade-why-photo img.fl-photo-img { height: 673px; }
.dade-why-list .fl-module.dade-title { margin-bottom: 40px !important; }
.dade-why-list .dade-title h2 { max-width: 486px; }
/* no split-text slack on the list: its hairlines must end at the column edge */
.fl-builder-content .fl-module.dade-checks > ul { max-width: 474px; margin: 0; padding: 0; list-style: none; }
.dade-checks li {
	position: relative;
	margin: 0;
	padding: 20px 0 20px 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 17px;
	line-height: 24px; /* Figma item 65px = 20 + 24 + 20 + 1 */
	color: var(--dade-light);
}
.dade-checks li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.dade-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	background: url("assets/service/ph-check.svg") center / 24px 24px no-repeat;
}

/* ---------- 05 Migration: copy + illustration anchored to the centre ---------- */
.dade-migration > .fl-row-content-wrap { position: relative; overflow: hidden; }
/* Figma: 838 x 466 export at x 808 (centre - 22), y -21.5 in a 512px row */
.dade-migration > .fl-row-content-wrap::after {
	content: "";
	position: absolute;
	left: calc(50% - min(1.325vw, 22px));
	top: calc(50% - 44.5px - min(14.036vw, 233px));
	width: min(50.482vw, 838px);
	aspect-ratio: 838 / 466;
	background: url("assets/service/migration-illustration.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.dade-migration .fl-row-content { position: relative; z-index: 1; }
.dade-migration-copy > .fl-col-content { max-width: 557px; }
.dade-on-dark .dade-eyebrow-wide p {
	font-family: var(--dade-font);
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.3em;
	color: #c27f55;
}
.dade-migration .fl-module.dade-eyebrow { margin-bottom: 26px !important; }
.dade-migration .fl-module.dade-migration-title { margin-bottom: 26px !important; }
.fl-builder-content .dade-migration-title h2 { font-weight: 400; font-size: 56px; line-height: 1.06; letter-spacing: -0.03em; color: var(--dade-light); }
@media (min-width: 1025px) {
	.fl-builder-content .dade-migration-title h2 { font-size: clamp(44px, 3.373vw, 56px); }
}
.fl-module.dade-migration-lead { margin-bottom: 34px !important; } /* 26 gap + 8 button padding */
.dade-migration-lead p { margin: 0; font-weight: 300; font-size: 20px; line-height: 1.5; color: var(--dade-text-on-dark); }
.dade-migration-art-m { display: none; }
/* long-arrow button (Figma "Plan your migration") */
.fl-builder-content .dade-btn-long a.fl-button { padding: 20px 32px; border-radius: 2px; }
.dade-btn-long a.fl-button .fl-button-text { font-weight: 400; font-size: 18px; line-height: 1.2; }
.dade-btn-long a.fl-button .fl-button-text::after {
	width: 34px;
	height: 14px;
	margin-left: 20px;
	vertical-align: 1px;
	background: url("assets/service/long-arrow.svg") center / 34px 14px no-repeat;
}

/* ---------- 06 Proof (testimonial) ---------- */
.dade-proof-col > .fl-col-content { display: flex; flex-direction: column; align-items: center; max-width: 1061.33px; margin: 0 auto; text-align: center; }
.dade-proof-icon { margin-bottom: 36px !important; }
.dade-proof-icon img { display: block; width: 48px; height: 48px; }
.fl-module.dade-proof-quote { margin-bottom: 44px !important; } /* 36 gap + 8 author padding */
.dade-proof-quote blockquote { margin: 0; padding: 0; border: 0; }
.dade-proof-quote blockquote p { margin: 0; font-weight: 300; font-size: 48px; line-height: 1.18; letter-spacing: -0.03em; color: var(--dade-navy); text-align: center; }
@media (min-width: 1025px) {
	.dade-proof-quote blockquote p { font-size: clamp(40px, 2.892vw, 48px); }
}
.fl-builder-content .fl-module.dade-proof-quote > * { margin-left: -8px; margin-right: -8px; }
.dade-author { display: flex; align-items: center; gap: 16px; margin: 0; }
.dade-author img { display: block; width: 56px; height: 56px; border-radius: 50%; }
.dade-author figcaption { font-size: 16px; line-height: 1.6; color: var(--dade-text); }
.dade-author strong { font-weight: 500; color: var(--dade-navy); }

/* ---------- 07 FAQ (accordion) ---------- */
.dade-faq .fl-col-group { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.dade-faq .fl-col-group::before, .dade-faq .fl-col-group::after { display: none; }
.fl-builder-content .dade-faq .fl-col.dade-faq-head { float: none; width: auto !important; flex: 0 1 405.33px; min-width: 0; }
.fl-builder-content .dade-faq .fl-col.dade-faq-list { float: none; width: auto !important; flex: 0 1 842.67px; min-width: 0; }
.dade-faq-head > .fl-col-content { padding-top: 32px; }
.dade-faq .fl-module.dade-eyebrow { margin-bottom: 20px !important; }
.dade-faq .fl-module.dade-title { margin-bottom: 0 !important; }
.dade-faq :is(h1,h2,h3,h4,.fl-heading) .dade-muted { color: var(--dade-text-on-dark) !important; }
.dade-accordion { interpolate-size: allow-keywords; }
.dade-acc-item { padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dade-acc-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.dade-acc-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	list-style: none;
	cursor: pointer;
	font-size: 22px;
	line-height: 29px;
	color: #ffffff;
	transition: color .2s ease;
}
.dade-acc-item summary::-webkit-details-marker { display: none; }
.dade-acc-item summary::after {
	content: "";
	flex: 0 0 24px;
	height: 24px;
	background: url("assets/service/ph-plus.svg") center / 24px 24px no-repeat;
	transition: transform .25s ease;
}
.dade-acc-item[open] summary::after { background-image: url("assets/service/ph-minus.svg"); }
.dade-acc-item summary:hover { color: var(--dade-text-on-dark); }
.dade-acc-item:not([open]) summary:hover::after { transform: rotate(90deg); }
.dade-acc-item summary:focus-visible { outline: 1px solid var(--dade-copper); outline-offset: 6px; }
/* smooth open/close where supported (Chrome 131+); elsewhere it just toggles */
.dade-acc-item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.dade-acc-item[open]::details-content { block-size: auto; }
.dade-acc-answer { padding-top: 16px; }
.dade-acc-answer p { max-width: 598px; margin: 0; font-size: 16px; line-height: 26px; color: var(--dade-text-on-dark); }

/* ---------- 08 Other solutions: Home story cards ---------- */
.dade-others .dade-story-1 .dade-story-copy p { max-width: 355px; }

/* ---------- Service: tablet ---------- */
@media (max-width: 1024px) {
	.dade-service-hero > .fl-row-content-wrap { background-size: cover !important; background-position: 60% center !important; }

	.dade-what .fl-col-group { flex-direction: column; align-items: stretch; gap: 24px; }
	.fl-builder-content .dade-what .fl-col.dade-what-title,
	.fl-builder-content .dade-what .fl-col.dade-what-text { flex: 0 0 auto; width: 100% !important; }
	.dade-what-text::before { display: none; }
	.dade-what-lead p { max-width: 640px; }

	.dade-why-list .fl-col-group { flex-direction: column-reverse; align-items: stretch; }
	.fl-builder-content .dade-why-list .fl-col.dade-why-media,
	.fl-builder-content .dade-why-list .fl-col.dade-why-copy-col { flex: 0 0 auto; width: 100% !important; }
	.dade-why-copy-col > .fl-col-content { max-width: none; padding: 96px 20px 48px; }
	.fl-builder-content .fl-module.dade-why-photo img.fl-photo-img { height: 420px; }

	/* illustration under the copy (the compact mobile drawing) */
	.dade-migration > .fl-row-content-wrap::after { display: none; }
	.dade-migration-art-m { display: block; margin-top: 34px !important; }
	.dade-migration-art { display: block; width: 100%; max-width: 560px; height: auto; }

	.dade-faq .fl-col-group { flex-direction: column; align-items: stretch; gap: 40px; }
	.fl-builder-content .dade-faq .fl-col.dade-faq-head,
	.fl-builder-content .dade-faq .fl-col.dade-faq-list { flex: 0 0 auto; width: 100% !important; }
	.dade-faq-head > .fl-col-content { padding-top: 0; }
	.dade-faq > .fl-row-content-wrap { padding-top: 96px !important; }
}

/* ---------- Service: mobile (Figma "Service template / Mobile 390") ---------- */
@media (max-width: 767px) {
	/* hero: image 256.6% wide at x -48.3%, 20% black over it */
	.dade-service-hero > .fl-row-content-wrap { background-size: auto 100% !important; background-position: 30.85% 0 !important; }
	.dade-service-hero > .fl-row-content-wrap::before { display: block; background: rgba(0, 0, 0, 0.2); }
	/* split letters lose their kerning: slightly tighter tracking keeps the
	   Figma line breaks without running past the 350px column */
	.fl-builder-content .dade-service-hero .dade-page-hero-title h1 { font-size: 34px; line-height: 1.06; letter-spacing: -1.3px; }
	.dade-service-hero .dade-page-hero-lead p { line-height: 1.55; letter-spacing: -0.12px; }

	.dade-what > .fl-row-content-wrap { padding-top: 64px !important; padding-bottom: 64px !important; }
	.dade-what .fl-col-group { gap: 20px; }
	.dade-what-lead p { font-size: 17px; line-height: 26px; }

	/* options: Figma mobile card (24/22 padding, 24px title) */
	.dade-options > .fl-row-content-wrap { padding-top: 56px !important; padding-bottom: 56px !important; }
	.dade-options > .fl-row-content-wrap::before,
	.dade-options > .fl-row-content-wrap::after { top: -61px; width: 364.73px; height: 339.29px; }
	.dade-options > .fl-row-content-wrap::before { left: calc(50% - 500px); }
	.dade-options > .fl-row-content-wrap::after { left: calc(50% + 135.27px); right: auto; }
	.dade-options .fl-row-content > .fl-col-group:first-child { margin-bottom: 28px; }
	.fl-builder-content .dade-options .dade-title h2 { font-size: 30px; line-height: 1.08; letter-spacing: -0.9px; }
	.dade-options .fl-col-group:has(> .dade-card) { gap: 12px; }
	.dade-options .dade-card > .fl-col-content { padding: 24px 22px; }
	.dade-options .dade-card-icon { margin-bottom: 26px !important; }
	.dade-options .dade-card-title :is(h1,h2,h3,h4,.fl-heading) { font-size: 24px; line-height: 1.3; }
	.dade-options .dade-card:nth-child(n) .dade-card-text p { font-size: 16px; line-height: 26px; }

	/* why: title, list, then the photo full width */
	.dade-why-copy-col > .fl-col-content { padding: 0 20px 24px; }
	.dade-why-list .fl-module.dade-title { margin-bottom: 24px !important; }
	.dade-checks li { font-size: 16px; line-height: 22px; }
	.dade-checks li::before { top: 20px; margin-top: 0; }
	.fl-builder-content .fl-module.dade-why-photo img.fl-photo-img { height: 287px; }

	/* migration */
	.dade-on-dark .dade-eyebrow-wide p { font-size: 12px; }
	.dade-migration .fl-module.dade-eyebrow,
	.dade-migration .fl-module.dade-migration-title { margin-bottom: 18px !important; }
	.fl-builder-content .dade-migration-title h2 { font-size: 34px; letter-spacing: -1.02px; }
	.fl-module.dade-migration-lead { margin-bottom: 27px !important; }
	.dade-migration-lead p { font-size: 17px; }
	.dade-btn-long a.fl-button { justify-content: center; }

	/* proof */
	.dade-proof-icon { margin-bottom: 13px !important; }
	.dade-proof-icon img { width: 40px; height: 40px; }
	.fl-module.dade-proof-quote { margin-bottom: 18px !important; }
	.dade-proof-quote blockquote p { font-size: 26px; line-height: 1.25; letter-spacing: -0.78px; }
	.dade-author { gap: 13px; }
	.dade-author img { width: 48px; height: 48px; }
	.dade-author figcaption { font-size: 14px; }

	/* faq */
	/* Figma: navy from the testimonial edge, eyebrow 52px below it */
	.dade-faq > .fl-row-content-wrap { padding-top: 52px !important; padding-bottom: 30px !important; }
	.dade-faq .fl-col-group { gap: 40px; } /* 16 + 8 spacer + 16 */
	.dade-faq .fl-module.dade-eyebrow { margin-bottom: 16px !important; }
	.fl-builder-content .dade-faq .dade-title h2 { letter-spacing: -1.25px; } /* one line, inside the column */
	.dade-acc-item { padding: 22px 0; }
	.dade-acc-item summary { gap: 0; font-size: 18px; line-height: 23px; } /* Figma: 326px text + 24px icon */
	.dade-acc-item:first-child summary span { max-width: 305px; }
	.dade-acc-answer p { font-size: 15px; line-height: 24px; }

	/* other solutions: 260px cards, line art top right */
	.dade-others > .fl-row-content-wrap { padding-top: 0 !important; padding-bottom: 56px !important; }
	.dade-others .dade-story > .fl-col-content,
	.dade-others .dade-story-2 > .fl-col-content { min-height: 260px; padding: 28px 24px; background-size: 625px 216.67px; background-position: right top; }
	.dade-others .dade-story-2 .dade-story-copy h3 { max-width: none; }
}

/* ==========================================================================
   Blog listing (Figma "Blog main" 2198:273 / mobile 2277:2) – Themer archive
   layout "Blog" (setup/build-blog.php) + shortcodes in includes/blog.php.
   ========================================================================== */

/* ---------- 01 Hero: photo only, 72px title ---------- */
.dade-blog-hero > .fl-row-content-wrap::before { display: none; }
.fl-builder-content .dade-blog-title h1 { max-width: 631px; font-size: 72px; letter-spacing: -0.03em; }
@media (min-width: 1025px) {
	.fl-builder-content .dade-blog-title h1 { font-size: clamp(56px, 4.337vw, 72px); }
}
.dade-blog-hero .fl-module.dade-blog-lead { margin-bottom: 0 !important; }
.dade-blog-lead p { max-width: 493px; }

/* shared bits of the post cards */
.dade-post-cat {
	margin: 0;
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dade-copper);
}
.dade-post-meta { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dade-text); }
.dade-post-img,
.dade-featured-img { display: block; overflow: hidden; background: #e4e8ec; }
.dade-post-img img,
.dade-featured-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dade-post-card a,
.dade-featured a { color: inherit; text-decoration: none; }

/* ---------- 02 Featured post ---------- */
.dade-featured {
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #f4f3f0;
	border-radius: 12px;
}
.dade-featured-media { flex: 0 0 57.292%; align-self: stretch; } /* 733.33 / 1280 */
.dade-featured-img { height: 460px; }
.dade-featured-copy { display: flex; flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; padding: 56px; }
.dade-featured .dade-post-cat { font-size: 12px; }
.fl-builder-content .dade-featured .dade-featured-title { max-width: 430px; margin: 0; font-weight: 300; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; color: var(--dade-navy); }
.dade-featured .dade-post-meta { font-size: 14px; }
.dade-read-more { padding-top: 8px; font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--dade-navy) !important; }
.dade-read-more span { display: inline-block; transition: transform .2s ease; }
.dade-read-more:hover span { transform: translateX(4px); }
.dade-featured-title a { transition: color .2s ease; }
.dade-featured-title a:hover,
.dade-read-more:hover { color: var(--dade-copper) !important; }
.dade-featured:hover .dade-featured-img img { transform: scale(1.03); }

/* ---------- 03 Filters ---------- */
.dade-filters ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 48px;
	padding: 0 0 32px;
	list-style: none;
	border-bottom: 1px solid rgba(12, 32, 48, 0.12);
}
.dade-filters li { margin: 0; }
.dade-chip,
.dade-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid rgba(12, 32, 48, 0.16);
	border-radius: 100px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--dade-navy);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
a.dade-chip:hover,
.dade-pagination a.page-numbers:hover { border-color: var(--dade-navy); color: var(--dade-navy); }
/* Figma: the active chip has no border (40px tall, the others 42px) */
.dade-chip.is-active,
.dade-pagination .page-numbers.current { padding: 10px 18px; border: 0; background: var(--dade-navy); color: #ffffff; }
.dade-chip.is-active:hover { color: #ffffff; }

/* ---------- 03 Grid ---------- */
.dade-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.dade-post-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dade-post-media { display: block; width: 100%; margin-bottom: 18px; } /* 14 + 4 spacer + 14 */
.dade-post-img { width: 100%; height: 240px; border-radius: 8px; }
.fl-builder-content .dade-post-card .dade-post-title {
	margin: 0;
	font-weight: 300;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--dade-navy);
	max-width: 360px; /* closest to the Figma title boxes (305–376px) */
}
.dade-post-title a { transition: color .2s ease; }
.dade-post-card:hover .dade-post-title a { color: var(--dade-copper); }
.dade-post-card:hover .dade-post-img img { transform: scale(1.03); }
.dade-no-posts { margin: 0; color: var(--dade-text); }

/* ---------- 03 Pagination ---------- */
.dade-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 48px 0 0; padding: 16px 0 0; list-style: none; }
.dade-pagination li { margin: 0; }
.dade-pagination .page-numbers:not(.next):not(.prev) { width: 44px; height: 44px; padding: 0; }
.dade-pagination .page-numbers.dots { border: 0; }

/* ---------- Blog: tablet ---------- */
@media (max-width: 1024px) {
	.fl-builder-content .dade-blog-title h1 { font-size: 56px; }
	.dade-featured-media { flex-basis: 50%; }
	.dade-featured-copy { padding: 40px; }
	.fl-builder-content .dade-featured .dade-featured-title { font-size: 30px; }
	.dade-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
}

/* ---------- Blog: mobile ---------- */
@media (max-width: 767px) {
	/* hero: image 397% wide at x -167.7% */
	.dade-blog-hero > .fl-row-content-wrap { background-size: auto 100% !important; background-position: 56.43% 0 !important; }
	.fl-builder-content .dade-blog-title h1 { font-size: 38px; line-height: 1.06; letter-spacing: -1.14px; }
	.dade-blog-lead p { max-width: 331px; }

	/* featured: copy first, image under it */
	.dade-featured { flex-direction: column-reverse; align-items: stretch; }
	.dade-featured-media { flex: 0 0 auto; }
	.dade-featured-img { height: 220px; }
	.dade-featured-copy { gap: 14px; padding: 24px 24px 28px; }
	.dade-featured .dade-post-cat { font-size: 11px; }
	.fl-builder-content .dade-featured .dade-featured-title { font-size: 24px; line-height: 1.18; }
	.dade-featured .dade-post-meta { font-size: 13px; }
	.dade-read-more { padding-top: 0; }

	/* filters scroll sideways, edge to edge */
	.dade-filters { margin: 0 -20px; }
	.dade-filters ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-bottom: 32px;
		padding: 0 20px;
		border-bottom: 0;
		scrollbar-width: none;
	}
	.dade-filters ul::-webkit-scrollbar { display: none; }

	/* cards: text first, image last */
	.dade-post-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.dade-post-card { gap: 10px; }
	.dade-post-media { order: 9; margin: 16px 0 0; } /* 10 + 6 spacer + 10 */
	.dade-blog-featured > .fl-row-content-wrap { padding-bottom: 8px !important; }
	.dade-post-img { height: 200px; }
	.fl-builder-content .dade-post-card .dade-post-title { max-width: 310px; font-size: 20px; letter-spacing: -0.4px; }
	.dade-pagination ul { margin-top: 32px; padding-top: 0; }
}

/* the featured card only exists on blog page 1: drop the empty row elsewhere */
body.category .dade-blog-featured,
body.paged .dade-blog-featured { display: none; }

/* ==========================================================================
   Blog article (Figma "Blog article" 2199:273 / mobile 2277:160) – Themer
   singular layout "Blog article" (setup/build-article.php) + includes/article.php.
   ========================================================================== */

/* ---------- 01 Header ---------- */
.dade-article-head > .fl-col-content { text-align: center; }
.fl-builder-content .dade-article-head .fl-module.dade-at > * { margin-left: -8px; margin-right: -8px; }
.fl-module.dade-breadcrumb-wrap,
.fl-module.dade-article-title,
.fl-module.dade-article-meta { margin-bottom: 24px !important; }
.dade-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 10px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--dade-muted-on-dark);
}
.dade-breadcrumb a { color: var(--dade-muted-on-dark); text-decoration: none; transition: color .2s ease; }
.dade-breadcrumb a.is-current { color: var(--dade-copper); }
.dade-breadcrumb a:hover,
.dade-breadcrumb a:focus-visible { color: #ffffff; }
/* the module is the 780px box (the h1 keeps its split-text slack margins) */
.fl-builder-content .fl-module.dade-article-title { width: 100%; max-width: 780px; margin-left: auto !important; margin-right: auto !important; }
.fl-builder-content .dade-article-title h1 {
	font-weight: 300;
	font-size: 56px;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #ffffff;
}
@media (min-width: 1025px) {
	.fl-builder-content .dade-article-title h1 { font-size: clamp(44px, 3.373vw, 56px); }
	.fl-builder-content .fl-module.dade-article-title { max-width: clamp(613px, 46.99vw, 780px); }
}
.fl-builder-content .dade-article-hero .dade-article-title .dade-muted,
.fl-builder-content .dade-article-cta .dade-article-cta-title .dade-muted { color: #a9bccc !important; }
.dade-on-dark .dade-article-meta p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--dade-muted-on-dark); }
.fl-builder-content .fl-module.dade-article-lead { width: 100%; max-width: 910px; margin-left: auto !important; margin-right: auto !important; }
.dade-on-dark .dade-article-lead p { margin-top: 0; margin-bottom: 0; font-size: 20px; line-height: 1.55; color: var(--dade-text-on-dark); }
/* no excerpt: no lead, no gap under the meta line */
.fl-module.dade-article-lead:has(> p:empty) { display: none; }
.fl-module.dade-article-meta:has(+ .dade-article-lead > p:empty) { margin-bottom: 0 !important; }

/* ---------- Featured image: half on the dark header ---------- */
.dade-article-figure > .fl-row-content-wrap { background: linear-gradient(180deg, var(--dade-navy) 50%, #ffffff 50%); }
.dade-article-img {
	display: block;
	aspect-ratio: 1280 / 580;
	overflow: hidden;
	border-radius: 8px;
	background: #e4e8ec;
}
.dade-article-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 02 Body: table of contents + content ---------- */
.dade-article {
	display: grid;
	grid-template-columns: 296px minmax(0, 1fr);
	align-items: start;
	column-gap: 11.042%; /* 141.33 / 1280 */
}
.dade-article.no-toc .dade-article-main { grid-column: 2; }
.dade-toc {
	position: sticky;
	top: 112px; /* header 88 + 24 */
	padding: 28px;
	border-radius: 10px;
	background: #f4f3f0;
}
.dade-toc-title {
	display: block;
	list-style: none;
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	color: var(--dade-copper);
	cursor: default;
}
.dade-toc-title::-webkit-details-marker { display: none; }
.dade-toc-list { display: flex; flex-direction: column; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.dade-toc-list li { margin: 0; }
.dade-toc-list a {
	display: block;
	padding: 2px 0 2px 12px;
	border-left: 1px solid var(--dade-line);
	font-size: 14px;
	line-height: 1.45;
	color: var(--dade-text);
	text-decoration: none;
	transition: color .2s ease, border-color .2s ease;
}
.dade-toc-list a:hover,
.dade-toc-list a:focus-visible { color: var(--dade-navy); border-left-color: rgba(12, 32, 48, 0.4); }
.dade-toc-list a.is-active { border-left: 2px solid var(--dade-copper); font-weight: 500; color: var(--dade-navy); }

/* post content */
.dade-article-content > * { margin-top: 0; margin-bottom: 0; }
.dade-article-content > * + * { margin-top: 20px; }
.dade-article-content > * + :is(h2, h3) { margin-top: 60px; } /* 20 gap + 20 spacer + 20 gap */
.fl-builder-content .dade-article-content :is(h2, h3) {
	scroll-margin-top: 112px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--dade-navy);
}
.fl-builder-content .dade-article-content h2 { font-size: 32px; }
.fl-builder-content .dade-article-content h3 { font-size: 24px; }
.dade-article-content p,
.dade-article-content ul li { font-size: 18px; line-height: 1.7; color: var(--dade-text); }
.dade-article-content a { color: var(--dade-copper); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.dade-article-content a:hover { color: var(--dade-copper-hover); }
.dade-article-content strong { font-weight: 500; color: var(--dade-navy); }
.dade-article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.dade-article-content figure { margin-left: 0; margin-right: 0; }
.dade-article-content figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--dade-text); }

/* pull quote */
.dade-article-content blockquote,
.dade-article-content blockquote.wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 8px 0 8px 28px;
	border: 0;
	border-left: 2px solid var(--dade-copper);
	background: none;
	font-style: normal;
}
.dade-article-content blockquote p {
	margin: 0;
	font-weight: 300;
	font-size: 28px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--dade-navy);
}
.dade-article-content blockquote p + p { margin-top: 12px; }
.dade-article-content blockquote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--dade-text); }

/* comparison table */
.dade-article-content .wp-block-table,
.dade-article-content > table {
	overflow-x: auto;
	border: 1px solid var(--dade-line);
	border-radius: 10px;
}
.dade-article-content table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; }
.dade-article-content .wp-block-table thead { border: 0; }
.dade-article-content :is(th, td) {
	padding: 16px 20px;
	border: 0;
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
	color: var(--dade-text);
}
.dade-article-content thead th { font-weight: 500; color: #ffffff; background: var(--dade-navy); }
.dade-article-content tbody tr:nth-child(even) { background: #f4f3f0; }
.dade-article-content tbody :is(td, th):first-child { font-weight: 500; color: var(--dade-navy); }

/* numbered checklist */
.dade-article-content ol { padding: 4px 0 0; list-style: none; counter-reset: dade-ol; }
.dade-article-content ol > li {
	position: relative;
	margin: 0;
	padding-left: 32px;
	counter-increment: dade-ol;
	font-size: 18px;
	line-height: 1.7;
	color: var(--dade-navy);
}
.dade-article-content ol > li + li { margin-top: 12px; }
.dade-article-content ol > li::before {
	content: counter(dade-ol, decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 13px;
	line-height: 30px;
	color: var(--dade-copper);
}
.dade-article-content ul { padding-left: 1.2em; }
.dade-article-content ul li + li { margin-top: 8px; }

/* share */
.dade-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	margin-top: 52px; /* 20 gap + 12 spacer + 20 gap */
	padding-top: 24px;
	border-top: 1px solid var(--dade-line);
}
.dade-share-label { font-size: 14px; line-height: 1.6; color: var(--dade-text); }
a.dade-share-link {
	padding: 8px 16px;
	border: 1px solid rgba(12, 32, 48, 0.16);
	border-radius: 100px;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.6;
	color: var(--dade-navy);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
a.dade-share-link:hover,
a.dade-share-link:focus-visible { border-color: var(--dade-navy); background: var(--dade-navy); color: #ffffff; }

/* ---------- 03 In-article CTA box ---------- */
.fl-builder-content .dade-article-cta { float: none; width: auto !important; }
@media (min-width: 1025px) {
	.fl-builder-content .dade-article-cta { margin-left: calc(296px + 11.042%); } /* lines up with the content */
}
.dade-article-cta > .fl-col-content {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 12px;
	overflow: hidden;
	padding: 56px !important;
	border-radius: 12px;
	background: var(--dade-navy);
}
.dade-article-cta > .fl-col-content::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 29.03%;
	right: -2.97%;
	background: url("assets/article/cta-contours.svg") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}
.dade-article-cta .fl-module { position: relative; z-index: 1; }
.dade-article-cta .fl-module:not(.fl-module-button) { flex: 0 0 100%; }
.dade-article-cta .fl-module.dade-article-cta-title { margin-bottom: 20px !important; }
.dade-article-cta .fl-module.dade-article-cta-text { margin-bottom: 32px !important; } /* 20 gap + 12 */
.fl-builder-content .dade-article-cta-title h2 { font-weight: 300; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; color: var(--dade-light); }
.dade-on-dark .dade-article-cta-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dade-text-on-dark); }
.fl-builder-content .dade-article-cta .dade-btn-outline a.fl-button { padding: 16px 24px; }

/* ---------- 04 Related articles ---------- */
.fl-module.dade-related-title { margin-bottom: 48px !important; }
.fl-builder-content .dade-related-title h2 { font-weight: 300; font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; color: var(--dade-navy); }
@media (min-width: 1025px) {
	.fl-builder-content .dade-related-title h2 { font-size: clamp(34px, 2.41vw, 40px); }
}

/* ---------- Blog article: tablet ---------- */
@media (max-width: 1024px) {
	.fl-builder-content .dade-article-title h1 { font-size: 44px; }
	.fl-builder-content .fl-module.dade-article-title { max-width: 613px; }
	.dade-article { display: block; }
	.dade-toc { position: static; margin-bottom: 40px; }
	.dade-toc-title { position: relative; padding-right: 28px; cursor: pointer; }
	.dade-toc-title::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 0;
		width: 16px;
		height: 16px;
		margin-top: -8px;
		background: url("assets/icons/ph-caret-down.svg") center / 16px 16px no-repeat;
		filter: brightness(0) saturate(100%) invert(56%) sepia(35%) saturate(527%) hue-rotate(338deg) brightness(88%) contrast(87%); /* copper */
		transition: transform .2s ease;
	}
	.dade-toc[open] .dade-toc-title::after { transform: rotate(180deg); }
	.dade-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.fl-builder-content .dade-related-grid .dade-post-title { font-size: 20px; }
}

/* ---------- Blog article: mobile ---------- */
@media (max-width: 767px) {
	.fl-builder-content .dade-article-head .fl-module.dade-at > * { margin-left: -5px; margin-right: -5px; }
	.fl-module.dade-breadcrumb-wrap,
	.fl-module.dade-article-title,
	.fl-module.dade-article-meta { margin-bottom: 18px !important; }
	.fl-builder-content .fl-module.dade-article-title { max-width: 294px; }
	.fl-builder-content .dade-article-title h1 { font-size: 32px; letter-spacing: -0.96px; }
	.dade-on-dark .dade-article-meta p { font-size: 13px; line-height: 1.5; }
	.dade-on-dark .dade-article-lead p { font-size: 17px; }

	.dade-article-img { aspect-ratio: 350 / 230; }

	.dade-toc { margin-bottom: 32px; }
	.dade-article-content > * + * { margin-top: 16px; }
	.dade-article-content > * + :is(h2, h3) { margin-top: 52px; } /* 16 + 20 + 16 */
	.fl-builder-content .dade-article-content h2 { font-size: 24px; }
	.fl-builder-content .dade-article-content h3 { font-size: 20px; }
	.dade-article-content p,
	.dade-article-content ul li,
	.dade-article-content ol > li { font-size: 16px; }
	.dade-article-content blockquote p { font-size: 22px; }
	.dade-article-content :is(th, td) { padding: 12px 10px; font-size: 12px; }
	.dade-share { gap: 10px; margin-top: 44px; } /* 16 + 12 + 16 */

	.dade-article-cta > .fl-col-content { padding: 36px 24px !important; }
	.dade-article-cta > .fl-col-content::before { left: 26.07%; right: 0; background-image: url("assets/article/cta-contours-m.svg"); }
	.fl-builder-content .dade-article-cta-title h2 { font-size: 26px; }
	.dade-article-cta .fl-module-button { flex: 0 0 100%; }
	.dade-article-cta .fl-module-button + .fl-module-button { margin-top: 12px !important; }
	.dade-article-cta .fl-button-wrap,
	.dade-article-cta a.fl-button { display: flex; width: 100%; justify-content: center; }

	.fl-module.dade-related-title { margin-bottom: 32px !important; }
	.fl-builder-content .dade-related-title h2 { font-size: 28px; line-height: 1.1; }
	.dade-related-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.dade-related-grid .dade-post-card { gap: 14px; }
	.dade-related-grid .dade-post-media { order: 0; margin: 0 0 18px; }
	.fl-builder-content .dade-related-grid .dade-post-title { max-width: none; }
}

/* ==========================================================================
   Success stories (Figma 2200:273 / mobile 2277:400) – setup/build-stories.php,
   filter + videos in assets/stories/stories.js.
   ========================================================================== */

/* ---------- 01 Hero: centred on desktop, photo only ---------- */
.dade-ss-hero > .fl-row-content-wrap::before { display: none; }
.dade-ss-hero-copy > .fl-col-content { max-width: none; text-align: center; }
.fl-builder-content .dade-ss-hero-copy .fl-module.dade-at > * { margin-left: -8px; margin-right: -8px; }
.fl-builder-content .fl-module.dade-ss-title-h1 { width: 100%; max-width: 842.67px; margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 1025px) {
	.fl-builder-content .fl-module.dade-ss-title-h1 { max-width: clamp(632px, 50.76vw, 842.67px); }
}
.fl-builder-content .fl-module.dade-ss-lead { width: 100%; max-width: 650px; margin: 0 auto !important; }

/* ---------- 02 Stories ---------- */
.dade-ss-filters ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0 0 24px; list-style: none; }
.dade-ss-filters li { margin: 0; }
button.dade-chip { background: transparent; font-family: inherit; font-weight: 400; cursor: pointer; }
button.dade-chip:hover,
button.dade-chip:focus-visible { border-color: var(--dade-navy); }
button.dade-chip.is-active { background: var(--dade-navy); color: #ffffff; }

.dade-ss-stories .fl-col-group:has(> .dade-ss-copy) {
	display: flex;
	align-items: center;
	margin-top: 32px;
	padding: 0 20px;
	overflow: hidden;
	border-radius: 12px;
	background: #f4f3f0;
	transition: opacity .4s ease, transform .4s ease;
}
.dade-ss-stories .fl-col-group:has(> .dade-ss-copy)::before,
.dade-ss-stories .fl-col-group:has(> .dade-ss-copy)::after { display: none; }
.dade-ss-stories .fl-col-group[hidden] { display: none !important; }
.dade-ss-stories .fl-col-group.is-entering { opacity: 0; transform: translateY(12px); }
.fl-builder-content .dade-ss-stories .fl-col-group > .fl-col.dade-ss-media,
.fl-builder-content .dade-ss-stories .fl-col-group > .fl-col.dade-ss-copy { float: none; width: auto !important; }
.fl-builder-content .dade-ss-stories .fl-col.dade-ss-media { flex: 0 0 41.505%; } /* 514.67 / 1240 */
.fl-builder-content .dade-ss-stories .fl-col.dade-ss-copy { flex: 1 1 0; min-width: 0; }
/* the story photo is the column's background image (grey until set) */
.dade-ss-media > .fl-col-content {
	height: 380px;
	margin: 20px 0;
	border-radius: 8px;
	background-color: #e4e8ec;
	background-position: center;
	background-size: cover;
}
.dade-ss-copy > .fl-col-content { padding: 48px 56px !important; }
.dade-ss-copy .fl-module.dade-ss-tag,
.dade-ss-copy .fl-module.dade-ss-name,
.dade-ss-copy .fl-module.dade-ss-body { margin-bottom: 14px !important; }
.dade-ss-copy .fl-module.dade-ss-sub { margin-bottom: 34px !important; } /* 14 + 6 spacer + 14 */
.dade-ss-tag p { font-size: 11px; }
.fl-builder-content .dade-ss-name :is(h2, h3) { font-weight: 300; font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; color: var(--dade-navy); }
@media (min-width: 1025px) {
	.fl-builder-content .dade-ss-name :is(h2, h3) { font-size: clamp(30px, 2.169vw, 36px); }
}
.dade-ss-sub p { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--dade-muted); }
.dade-ss-body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dade-text); }
.dade-ss-body p + p { margin-top: 14px; }
.dade-ss-body p.is-narrow { max-width: 463px; } /* Figma 447 + split-text slack */
.dade-ss-body strong { font-weight: 500; color: var(--dade-navy); }
.fl-module.dade-ss-quote { padding-top: 14px; border-top: 1px solid var(--dade-line); }
.dade-ss-quote p {
	margin: 0;
	padding-left: 30px;
	background: url("assets/stories/ph-quotes.svg") left center / 20px 20px no-repeat;
	font-size: 14px;
	line-height: 1.4;
	color: var(--dade-navy);
}

/* ---------- 03 Videos ---------- */
.fl-module.dade-ss-videos-title { margin-bottom: 56px !important; }
.fl-builder-content .dade-ss-videos-title h2 { font-weight: 300; font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; color: var(--dade-light); }
@media (min-width: 1025px) {
	.fl-builder-content .dade-ss-videos-title h2 { font-size: clamp(40px, 2.892vw, 48px); }
}
.fl-builder-content .dade-ss-videos .dade-ss-videos-title .dade-muted { color: #a9bccc !important; }
.dade-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.dade-video { margin: 0; }
.dade-video-frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 405.33 / 240;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: #13293a;
	cursor: pointer;
}
.dade-video-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dade-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1) url("assets/stories/ph-play.svg") center / 24px 24px no-repeat;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	transition: background-color .25s ease, transform .25s ease;
}
.dade-video-time {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px 8px;
	border-radius: 4px;
	background: rgba(12, 32, 48, 0.8);
	font-weight: 500;
	font-size: 12px;
	line-height: normal;
	color: #ffffff;
}
button.dade-video-frame:hover img,
button.dade-video-frame:focus-visible img { transform: scale(1.03); }
button.dade-video-frame:hover .dade-video-play,
button.dade-video-frame:focus-visible .dade-video-play { background-color: rgba(255, 255, 255, 0.22); transform: scale(1.06); }
.dade-video-frame.is-playing { cursor: default; background: #000000; }
.dade-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dade-video figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.dade-video-name { font-size: 18px; line-height: 1.4; color: var(--dade-light); }
.dade-video-role { font-size: 14px; line-height: 1.6; color: var(--dade-muted-on-dark); }

/* ---------- 04 Client logos ---------- */
.dade-ss-logos-col > .fl-col-content { text-align: center; }
.fl-builder-content .dade-ss-logos-col .fl-module.dade-at > * { margin-left: -8px; margin-right: -8px; }
.fl-module.dade-ss-logos-title { margin-bottom: 48px !important; }
.fl-builder-content .dade-ss-logos-title h2 { font-weight: 300; font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; color: var(--dade-navy); text-align: center; }
@media (min-width: 1025px) {
	.fl-builder-content .dade-ss-logos-title h2 { font-size: clamp(34px, 2.41vw, 40px); }
}
.dade-logos {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(12, 32, 48, 0.1);
	border-left: 1px solid rgba(12, 32, 48, 0.1);
}
.dade-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 128px;
	margin: 0;
	padding: 16px;
	border-right: 1px solid rgba(12, 32, 48, 0.1);
	border-bottom: 1px solid rgba(12, 32, 48, 0.1);
	background: #ffffff;
}
.dade-logos img { display: block; width: var(--w); max-width: 100%; height: auto; }

/* ---------- Success stories: tablet ---------- */
@media (max-width: 1024px) {
	.fl-builder-content .dade-ss-hero .dade-page-hero-title h1 { font-size: 52px; }
	.dade-ss-copy > .fl-col-content { padding: 40px 32px !important; }
	.fl-builder-content .dade-ss-name :is(h2, h3) { font-size: 30px; }
	.dade-ss-body p.is-narrow { max-width: none; }
	.dade-videos { gap: 24px; }
	.dade-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Success stories: mobile ---------- */
@media (max-width: 767px) {
	/* hero: image 345% wide at x -207%, left-aligned copy */
	.dade-ss-hero > .fl-row-content-wrap { background-size: auto 100% !important; background-position: 84.3% 0 !important; }
	.dade-ss-hero > .fl-row-content-wrap::before {
		display: block;
		bottom: auto;
		height: 360px;
		background: linear-gradient(180deg, rgba(12, 32, 48, 0.85) 0%, rgba(12, 32, 48, 0) 100%);
	}
	.dade-ss-hero-copy > .fl-col-content { text-align: left; }
	.fl-builder-content .dade-ss-hero-copy .fl-module.dade-at > * { margin-left: 0; margin-right: -6px; }
	.dade-ss-hero .fl-module.dade-eyebrow,
	.dade-ss-hero .fl-module.dade-page-hero-title { margin-bottom: 18px !important; }
	.dade-ss-hero .dade-eyebrow p { font-size: 11px; }
	.fl-builder-content .fl-module.dade-ss-title-h1,
	.fl-builder-content .fl-module.dade-ss-lead { max-width: none; }
	.fl-builder-content .dade-ss-hero .dade-page-hero-title h1 { font-size: 32px; line-height: 1.08; letter-spacing: -0.96px; }
	.dade-ss-hero .dade-page-hero-lead p { font-size: 16px; line-height: 1.55; }

	/* filters scroll sideways, edge to edge */
	.dade-ss-filters { margin: 0 -20px; }
	.dade-ss-filters ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
	.dade-ss-filters ul::-webkit-scrollbar { display: none; }

	/* cards: photo on top, copy under it */
	.dade-ss-stories .fl-col-group:has(> .dade-ss-copy) { flex-direction: column; align-items: stretch; margin-top: 20px; padding: 16px 16px 0; }
	.dade-ss-stories .fl-col-group:has(> .dade-ss-copy):nth-child(2) { margin-top: 24px; }
	.fl-builder-content .dade-ss-stories .fl-col.dade-ss-media { flex: 0 0 auto; order: -1; }
	.fl-builder-content .dade-ss-stories .fl-col.dade-ss-copy { flex: 0 0 auto; }
	.fl-builder-content .dade-ss-stories .fl-col-group > .fl-col.dade-ss-media,
	.fl-builder-content .dade-ss-stories .fl-col-group > .fl-col.dade-ss-copy { align-self: stretch; width: 100% !important; }
	.dade-ss-media > .fl-col-content { height: 200px; margin: 0; }
	.dade-ss-copy > .fl-col-content { padding: 20px 6px 22px !important; }
	.dade-ss-copy .fl-module.dade-ss-tag,
	.dade-ss-copy .fl-module.dade-ss-name,
	.dade-ss-copy .fl-module.dade-ss-body { margin-bottom: 10px !important; }
	.dade-ss-copy .fl-module.dade-ss-sub { margin-bottom: 22px !important; } /* 10 + 2 + 10 */
	.fl-builder-content .dade-ss-name :is(h2, h3) { font-size: 26px; }
	.dade-ss-body p { font-size: 15px; }
	.dade-ss-body p + p { margin-top: 10px; }

	.fl-module.dade-ss-videos-title { margin-bottom: 28px !important; }
	.fl-builder-content .dade-ss-videos-title h2 { font-size: 30px; }
	.dade-videos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.dade-video-frame { aspect-ratio: auto; height: 200px; }

	.fl-module.dade-ss-logos-title { margin-bottom: 28px !important; }
	.fl-builder-content .dade-ss-logos-title h2 { font-size: 28px; line-height: 1.1; }
	.dade-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dade-logos li { height: auto; padding: 23px 16px; }
	.dade-logos img { width: var(--wm); }
}

/* ==========================================================================
   Contact (Figma "Contact us" 2201:273 / mobile 2277:921) – setup/build-contact.php,
   Contact Form 7 form "Contact".
   ========================================================================== */

/* ---------- 01 Hero ---------- */
.dade-contact-hero > .fl-row-content-wrap { background-position: center center !important; }
.dade-contact-hero > .fl-row-content-wrap::before { background: linear-gradient(241.65deg, rgba(0, 0, 0, 0) 18.96%, rgba(0, 0, 0, 0.8) 108.23%); }
.fl-builder-content .fl-module.dade-contact-title { max-width: 538px; } /* Figma 522 + split-text slack */
.dade-page-hero-lead.dade-contact-lead { margin-bottom: 0 !important; }

/* ---------- 02 Form + details ---------- */
.fl-col-group:has(> .dade-contact-form) { display: flex; align-items: flex-start; column-gap: 11.042%; } /* 141.33 / 1280 */
.fl-col-group:has(> .dade-contact-form)::before,
.fl-col-group:has(> .dade-contact-form)::after { display: none; }
.fl-builder-content .fl-col.dade-contact-form,
.fl-builder-content .fl-col.dade-contact-details-col { float: none; width: auto !important; }
.fl-builder-content .fl-col.dade-contact-form { flex: 1 1 0; min-width: 0; }
.fl-builder-content .fl-col.dade-contact-details-col { flex: 0 0 31.667%; } /* 405.33 / 1280 */

.wpcf7 form.dade-form {
	margin: 0;
	padding: 48px;
	border: 1px solid rgba(12, 32, 48, 0.08);
	border-radius: 12px;
	background: #ffffff;
}
.dade-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.dade-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.dade-field-full { grid-column: 1 / -1; }
.dade-label { font-weight: 500; font-size: 14px; line-height: 1.4; color: var(--dade-navy); }
.dade-form .wpcf7-form-control-wrap { display: block; }
.dade-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
	display: block;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid rgba(12, 32, 48, 0.18);
	border-radius: 6px;
	background-color: #ffffff;
	box-shadow: none;
	font-family: var(--dade-font);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.4;
	color: var(--dade-navy);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.dade-form textarea.wpcf7-form-control { height: 160px; padding: 14px 16px; resize: vertical; }
.dade-form select {
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%230c2030' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	cursor: pointer;
}
.dade-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea):hover { border-color: rgba(12, 32, 48, 0.35); }
.dade-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea):focus {
	outline: none;
	border-color: var(--dade-copper);
	box-shadow: 0 0 0 3px rgba(177, 124, 88, 0.15);
}
.dade-form .wpcf7-not-valid:is(input, select, textarea) { border-color: #c2412d; }
.dade-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; line-height: 1.4; color: #c2412d; }

/* consent checkbox */
.dade-consent .wpcf7-list-item { display: block; margin: 0; }
.dade-consent label { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; }
.dade-consent input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid rgba(12, 32, 48, 0.3);
	border-radius: 4px;
	background: #ffffff center / 14px 14px no-repeat;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.dade-consent input[type="checkbox"]:hover { border-color: var(--dade-copper); }
.dade-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--dade-copper); outline-offset: 2px; }
.dade-consent input[type="checkbox"]:checked {
	border-color: var(--dade-copper);
	background-color: var(--dade-copper);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23ffffff' d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
}
.dade-consent .wpcf7-list-item-label { font-size: 14px; line-height: 1.4; color: var(--dade-text); }
.dade-consent a { color: var(--dade-copper); text-decoration: underline; text-underline-offset: 2px; }
.dade-consent a:hover { color: var(--dade-copper-hover); }

/* submit */
.dade-submit { padding-top: 8px; }
.dade-form button.dade-submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 16px 20px 16px 24px;
	border: 0;
	border-radius: var(--dade-radius);
	background: var(--dade-copper);
	font-family: var(--dade-font);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	color: #ffffff;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}
.dade-form button.dade-submit-btn::after {
	content: "";
	width: 18px;
	height: 18px;
	background: url("assets/icons/ph-arrow-up-right.svg") center / 18px 18px no-repeat;
	transition: transform .2s ease;
}
.dade-form button.dade-submit-btn:hover,
.dade-form button.dade-submit-btn:focus-visible { background: var(--dade-copper-hover); }
.dade-form button.dade-submit-btn:hover::after { transform: translate(2px, -2px); }
.wpcf7-form.submitting button.dade-submit-btn { opacity: .6; pointer-events: none; }
.wpcf7 form.dade-form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--dade-copper);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dade-navy);
}
.wpcf7 form.dade-form.sent .wpcf7-response-output { border-color: #3d8b5f; background: rgba(61, 139, 95, 0.08); }
.wpcf7 form.dade-form :is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output,
.wpcf7 form.dade-form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output { border-color: #c2412d; background: rgba(194, 65, 45, 0.06); }

/* contact details */
.dade-details {
	margin: 0;
	padding: 40px;
	list-style: none;
	border-radius: 12px;
	background: var(--dade-navy);
}
.dade-details li { display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 24px 0; border-top: 1px solid var(--dade-line-on-dark); }
.dade-details li:first-child { padding-top: 0; border-top: 0; }
.dade-details li:last-child { padding-bottom: 0; }
.dade-detail-icon { flex: none; display: block; width: 24px; height: 24px; }
.dade-details p { margin: 0; }
.dade-detail-label {
	margin-bottom: 6px !important;
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dade-muted-on-dark);
}
.dade-detail-value { font-size: 17px; line-height: 1.45; color: var(--dade-light); }
.dade-detail-value a { color: var(--dade-light); text-decoration: none; transition: color .2s ease; }
.dade-detail-value a:hover,
.dade-detail-value a:focus-visible { color: var(--dade-copper); }
.dade-detail-value a.is-accent { font-weight: 500; color: var(--dade-copper); }
.dade-detail-value a.is-accent:hover,
.dade-detail-value a.is-accent:focus-visible { color: #c9926c; }

/* ---------- 03 Short FAQ ---------- */
.dade-cfaq-head .fl-module.dade-eyebrow { margin-bottom: 20px !important; }
.dade-cfaq-head .dade-eyebrow p { line-height: normal; }
.fl-module.dade-cfaq-title { margin-bottom: 56px !important; }
.fl-builder-content .dade-cfaq-title h2 { font-weight: 300; font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; color: var(--dade-navy); }
@media (min-width: 1025px) {
	.fl-builder-content .dade-cfaq-title h2 { font-size: clamp(40px, 2.892vw, 48px); }
}
.fl-col-group:has(> .dade-cfaq-item) { display: flex; gap: 32px; }
.fl-col-group:has(> .dade-cfaq-item)::before,
.fl-col-group:has(> .dade-cfaq-item)::after { display: none; }
.fl-builder-content .fl-col.dade-cfaq-item { float: none; width: auto !important; flex: 1 1 0; min-width: 0; }
.dade-cfaq-item > .fl-col-content {
	padding-top: 28px !important;
	border-top: 1px solid rgba(177, 124, 88, 0.1);
	transition: border-color .3s ease;
}
@media (hover: hover) { .dade-cfaq-item:hover > .fl-col-content { border-top-color: var(--dade-copper); } } /* no sticky hover after a tap */
.fl-module.dade-cfaq-icon-wrap { margin-bottom: 34px !important; } /* 14 + 6 spacer + 14 */
.dade-cfaq-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(177, 124, 88, 0.35);
	border-radius: 8px;
	background: #f4f3f0;
	transition: border-color .3s ease;
}
@media (hover: hover) { .dade-cfaq-item:hover .dade-cfaq-icon { border-color: var(--dade-copper); } } /* no sticky hover after a tap */
.dade-cfaq-icon img { display: block; width: 26px; height: 26px; }
.fl-module.dade-cfaq-q { margin-bottom: 14px !important; }
.fl-builder-content .dade-cfaq-q h3 { font-weight: 300; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--dade-navy); }
.dade-cfaq-a p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dade-text); }

/* ---------- Contact: tablet ---------- */
@media (max-width: 1024px) {
	.fl-col-group:has(> .dade-contact-form) { flex-direction: column; align-items: stretch; row-gap: 24px; }
	.fl-builder-content .fl-col.dade-contact-form,
	.fl-builder-content .fl-col.dade-contact-details-col { flex: 0 0 auto; width: 100% !important; }
	.fl-col-group:has(> .dade-cfaq-item) { gap: 24px; }
}

/* ---------- Contact: mobile ---------- */
@media (max-width: 767px) {
	.dade-contact-hero > .fl-row-content-wrap { align-items: flex-start !important; min-height: 468px; background-position: center center !important; }
	.fl-builder-content .dade-contact-hero .fl-module.dade-contact-title > h1 { margin-right: 0; } /* "Talk to a managed / cloud expert" */
	.fl-builder-content .dade-contact-hero .fl-module.dade-at.dade-contact-lead:not(.dade-title) > p { margin-right: -12px; } /* 3 lines, like Figma */
	.dade-contact-hero > .fl-row-content-wrap::before { background: linear-gradient(233.89deg, rgba(0, 0, 0, 0) 4.86%, rgba(0, 0, 0, 0.8) 98.62%); }
	.dade-contact-hero .dade-eyebrow p { font-size: 11px; }
	.fl-builder-content .dade-contact-hero .dade-page-hero-title h1 { font-size: 34px; line-height: 1.06; letter-spacing: -1.02px; }
	.fl-builder-content .fl-module.dade-contact-title { max-width: none; }

	.fl-col-group:has(> .dade-contact-form) { row-gap: 20px; }
	.wpcf7 form.dade-form { padding: 28px 20px; }
	.dade-form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.dade-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select) { height: 42px; }
	.dade-form textarea.wpcf7-form-control { height: 140px; }
	.dade-consent label { align-items: flex-start; }
	.dade-form button.dade-submit-btn { justify-content: center; width: 100%; }
	.dade-details { padding: 32px 24px; }

	.fl-module.dade-cfaq-title { margin-bottom: 32px !important; }
	.fl-builder-content .dade-cfaq-title h2 { font-size: 30px; }
	.fl-col-group:has(> .dade-cfaq-item) { flex-direction: column; gap: 36px; }
	.fl-builder-content .fl-col.dade-cfaq-item { flex: 0 0 auto; width: 100% !important; }
	.fl-builder-content .dade-cfaq-q h3 { font-size: 20px; }
}

/* ==========================================================================
   Solutions hubs (/industries/, /services/, /roles/) – setup/build-solutions.php.
   Reuses the Service template options section and cards; whole card is a link.
   ========================================================================== */
.dade-hub-cards .fl-row-content > .fl-col-group:first-child { margin-bottom: 0; }
/* one wrapping group of cards: 3 columns, 2 on tablets, 1 on phones; two cards (roles) share the row */
.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) { flex-wrap: wrap; gap: 32px; }
.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) > .fl-col { flex: 0 0 calc((100% - 64px) / 3); }
.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card:nth-child(2):last-child) > .fl-col { flex-basis: calc((100% - 32px) / 2); }
@media (max-width: 1024px) {
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) { gap: 24px; }
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) > .fl-col,
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card:nth-child(2):last-child) > .fl-col { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) { gap: 12px; }
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) > .fl-col,
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card:nth-child(2):last-child) > .fl-col { flex-basis: auto; } /* stacked column: basis is a height here */
}
.dade-hub-card > .fl-col-content {
	position: relative;
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease;
}
@media (hover: hover) { .dade-hub-card:hover > .fl-col-content { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12, 32, 48, 0.08); } } /* no sticky hover after a tap */
.dade-hub-card .fl-module.dade-card-icon { margin-bottom: 56px !important; }
.dade-hub-card .fl-module.dade-card-link { margin-top: auto !important; padding-top: 24px; }
.dade-card-more { font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--dade-navy); text-decoration: none; transition: color .2s ease; }
.dade-card-more::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.dade-card-more span { display: inline-block; transition: transform .2s ease; }
@media (hover: hover) { .dade-hub-card:hover .dade-card-more { color: var(--dade-copper); } } /* no sticky hover after a tap */
@media (hover: hover) { .dade-hub-card:hover .dade-card-more span { transform: translateX(4px); } } /* no sticky hover after a tap */
.dade-hub-lead.fl-module { margin-bottom: 0 !important; }
@media (max-width: 767px) {
	.dade-hub-cards .fl-row-content > .fl-col-group + .fl-col-group { margin-top: 12px; }
	.dade-hub-card .fl-module.dade-card-icon { margin-bottom: 26px !important; }
	.dade-hub-card .fl-module.dade-card-link { padding-top: 16px; }
}

/* Industries / roles heroes use brighter photos than the Service template: cover + navy shade */
.fl-builder-content :is(.dade-hero-industries, .dade-hero-roles) > .fl-row-content-wrap { background-size: cover !important; background-position: center center !important; }
.fl-builder-content :is(.dade-hero-industries, .dade-hero-roles) > .fl-row-content-wrap::before {
	content: "";
	display: block;
	background: linear-gradient(90deg, rgba(12, 32, 48, 0.92) 0%, rgba(12, 32, 48, 0.74) 45%, rgba(12, 32, 48, 0.2) 100%);
}
@media (max-width: 767px) {
	.fl-builder-content :is(.dade-hero-industries, .dade-hero-roles) > .fl-row-content-wrap::before { background: rgba(12, 32, 48, 0.78); }
}

/* ==========================================================================
   Legal pages (privacy, terms) – setup/build-legal.php. Blog article text styles.
   ========================================================================== */
.dade-legal-hero > .fl-row-content-wrap::before { display: none; }
.dade-legal-hero .fl-module.dade-page-hero-title { margin-bottom: 0 !important; }
.dade-legal-col > .fl-col-content { max-width: 842px; } /* left edge lines up with the hero title */
.dade-legal-doc > * + h3 { margin-top: 36px; }
.dade-legal-doc a { word-break: break-word; }
@media (max-width: 767px) {
	.dade-legal-doc > * + h3 { margin-top: 28px; }
}

/* ==========================================================================
   Knowledge base (BetterDocs content, Themer layouts from setup/build-kb.php).
   No Figma frame: blog article + blog listing components.
   ========================================================================== */
.dade-kb-hero .fl-module.dade-kb-eyebrow { margin-bottom: 24px !important; }
.dade-kb-hero .dade-kb-eyebrow p { text-align: center; }
.dade-kb-home-hero .fl-module.dade-article-lead { max-width: 640px; margin-bottom: 32px !important; }
.dade-kb-cat-hero .fl-module.dade-article-meta,
.dade-kb-doc-hero .fl-module.dade-kb-meta { margin-bottom: 0 !important; }

/* search (BetterDocs live search): white bar on the dark hero */
.fl-module.dade-kb-search { width: 100%; max-width: 640px; margin: 0 auto !important; text-align: left; }
.dade-kb-search .betterdocs-live-search { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: none !important; }
.dade-kb-search .betterdocs-live-search .betterdocs-searchform {
	width: 100% !important;
	max-width: none !important;
	height: 56px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
	transition: border-color .2s ease;
}
.dade-kb-search .betterdocs-live-search .betterdocs-searchform:focus-within { border-color: var(--dade-copper) !important; }
.dade-kb-search .betterdocs-searchform-input-wrap { display: flex; align-items: center; width: 100%; height: 100%; }
.dade-kb-search .betterdocs-live-search .betterdocs-search-field {
	flex: 1;
	width: 100% !important;
	height: 100% !important;
	padding: 0 12px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: var(--dade-font) !important;
	font-size: 16px !important;
	color: var(--dade-navy) !important;
	outline: none;
}
.dade-kb-search .betterdocs-search-field::placeholder { color: var(--dade-text); opacity: 1; }
.dade-kb-search .docs-search-icon { flex: none; width: 22px !important; height: 22px !important; fill: var(--dade-text); }

/* category cards */
.fl-builder-content .dade-kb-cats .dade-related-title h2 .dade-muted { color: var(--dade-muted) !important; }
.dade-kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dade-kb-card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 10px;
	background: #ffffff;
	transition: box-shadow .3s ease, transform .3s ease;
}
@media (hover: hover) { .dade-kb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(12, 32, 48, 0.08); } } /* no sticky hover after a tap */
.fl-builder-content .dade-kb-card-title { margin: 0; font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.dade-kb-card-title a { color: var(--dade-navy); text-decoration: none; transition: color .2s ease; }
.dade-kb-card-title a:hover { color: var(--dade-copper); }
.dade-kb-card-count {
	margin: 8px 0 20px;
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dade-copper);
}
.dade-kb-card-list { margin: 0; padding: 0; list-style: none; }
.dade-kb-card-list li { margin: 0; padding: 10px 0; border-top: 1px solid var(--dade-line); }
.dade-kb-card-list a { font-size: 15px; line-height: 1.45; color: var(--dade-text); text-decoration: none; transition: color .2s ease; }
.dade-kb-card-list a:hover { color: var(--dade-navy); }
.dade-kb-card-more { margin-top: auto; padding-top: 16px; font-weight: 500; font-size: 15px; color: var(--dade-navy); text-decoration: none; transition: color .2s ease; }
.dade-kb-card-more span { display: inline-block; transition: transform .2s ease; }
.dade-kb-card-more:hover { color: var(--dade-copper); }
.dade-kb-card-more:hover span { transform: translateX(4px); }

/* article rows (category page, related) */
.dade-kb-docs-col > .fl-col-content { max-width: 842px; margin: 0 auto; }
.dade-kb-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--dade-line); }
.dade-kb-row { margin: 0; border-bottom: 1px solid var(--dade-line); }
.dade-kb-row a { display: flex; flex-direction: column; gap: 6px; padding: 20px 40px 20px 0; position: relative; text-decoration: none; }
.dade-kb-row a::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	color: var(--dade-copper);
	transition: transform .2s ease;
}
.dade-kb-row a:hover::after { transform: translate(4px, -50%); }
.dade-kb-row-title { font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--dade-navy); transition: color .2s ease; }
.dade-kb-row a:hover .dade-kb-row-title { color: var(--dade-copper); }
.dade-kb-row-meta { font-size: 13px; line-height: 1.5; color: var(--dade-text); }
.dade-kb-related .dade-kb-list { max-width: 842px; }

/* old article markup: code, Shortcodes Ultimate boxes, captions */
.dade-article-content :is(h4, h5, h6) { font-weight: 500; line-height: 1.3; color: var(--dade-navy); }
.fl-builder-content .dade-article-content h4 { font-size: 20px; }
.fl-builder-content .dade-article-content :is(h5, h6) { font-size: 17px; }
.dade-article-content > * + :is(h4, h5, h6) { margin-top: 32px; }
.dade-article-content :is(code, kbd) {
	padding: 2px 6px;
	border-radius: 4px;
	background: #f1f3f5;
	font-family: var(--dade-font-mono);
	font-size: 0.86em;
	color: var(--dade-navy);
	word-break: break-word;
}
.dade-article-content pre {
	overflow-x: auto;
	padding: 18px 20px;
	border-radius: 8px;
	background: var(--dade-navy);
	font-family: var(--dade-font-mono);
	font-size: 14px;
	line-height: 1.6;
	color: #e6edf3;
	white-space: pre;
}
.dade-article-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.dade-article-content pre :is(strong, b, em, span, a) { color: inherit; } /* old posts bold commands inside code blocks */
.dade-article-content .su-box { overflow: hidden; border: 1px solid var(--dade-line); border-radius: 8px; }
.dade-article-content .su-box-title {
	padding: 10px 16px;
	background: var(--dade-navy);
	font-family: var(--dade-font-mono);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: #ffffff;
}
.dade-article-content .su-box-content { padding: 14px 16px; font-family: var(--dade-font-mono); font-size: 14px; line-height: 1.6; color: var(--dade-navy); overflow-x: auto; }
.dade-article-content .su-box-content :is(p, strong) { font-family: inherit; font-size: inherit; color: inherit; }
.dade-article-content .su-note { padding: 16px 20px; border-left: 2px solid var(--dade-copper); border-radius: 0 8px 8px 0; background: #f4f3f0; }
.dade-article-content .su-note-inner > :last-child { margin-bottom: 0; }
.dade-article-content .wp-caption { width: auto !important; max-width: 100%; }
.dade-article-content .wp-caption img,
.dade-article-content img.dade-kb-img { display: block; max-width: 100%; height: auto; border: 1px solid var(--dade-line); border-radius: 8px; }
.dade-article-content .aligncenter { margin-left: auto; margin-right: auto; }
.dade-article-content .wp-caption-text { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--dade-text); text-align: center; }

@media (max-width: 1024px) {
	.dade-kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.dade-kb-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.dade-kb-card { padding: 24px 22px; }
	.fl-builder-content .dade-kb-card-title { font-size: 22px; }
	.dade-kb-row-title { font-size: 17px; }
	.dade-article-content pre { font-size: 13px; padding: 14px 16px; }
}

/* topics with one or two articles: chips under the cards */
.dade-kb-more { margin-top: 48px; }
.dade-kb-more-title { margin: 0 0 16px; font-family: var(--dade-font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dade-copper); }
.dade-kb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dade-kb-chips li { margin: 0; }
.dade-kb-chips a { background: #ffffff; }
.dade-kb-chips a span { margin-left: 6px; color: var(--dade-text); }

/* ==========================================================================
   QA fixes 2026-11-06 (responsive audit: phones, tablets, wide screens)
   ========================================================================== */

/* mobile menu: page does not scroll behind the open overlay; no focus box after a tap */
html.pp-full-screen-menu-open,
html.pp-full-screen-menu-open body { overflow: hidden; }
.pp-advanced-menu-mobile-toggle:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* 44x44 tap area around the 28x18 hamburger, same look */
.fl-builder-content .pp-advanced-menu-mobile-toggle { padding: 13px 8px; margin: -13px -8px; }

/* contact form: 16px inputs on phones so iOS does not zoom in on focus */
@media (max-width: 767px) {
	.dade-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select),
	.dade-form textarea.wpcf7-form-control { font-size: 16px; }
}

/* article / KB table of contents: bigger tap area for the collapsible title */
@media (max-width: 1024px) {
	.dade-toc-title { padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
}
/* old imported content: empty paragraphs */
.dade-article-content > p:empty { display: none; }

/* KB live search: results wrap on phones, no second border inside the field */
.dade-kb-search .docs-search-result li a,
.dade-kb-search .betterdocs-search-title,
.dade-kb-search .betterdocs-search-category { white-space: normal !important; overflow-wrap: anywhere; }
.dade-kb-search .betterdocs-live-search .betterdocs-search-field:focus { outline: none !important; border: 0 !important; box-shadow: none !important; }

/* migrated solution pages + hubs: balanced headings (no lonely last word),
   and the hero title keeps inside its column on phones */
:is(.dade-hero-industries, .dade-hero-services, .dade-hero-roles) .dade-page-hero-title h1,
body:has(:is(.dade-hero-industries, .dade-hero-services, .dade-hero-roles)) :is(.dade-what, .dade-why-list, .dade-options, .dade-others) :is(h2, h3) { text-wrap: balance; }
@media (max-width: 767px) {
	.fl-builder-content :is(.dade-hero-industries, .dade-hero-services, .dade-hero-roles) .fl-module.dade-page-hero-title > h1 { margin-right: 0; }
}

/* other-solutions cards: "Explore" buttons line up when one title takes two lines */
@media (min-width: 768px) {
	.dade-others .dade-story > .fl-col-content { display: flex; flex-direction: column; }
	.dade-others .fl-module.dade-story-btn { margin-top: auto !important; }
}

/* service hero photo on very wide screens: same composition as 1660, framed a bit higher so the head stays in view */
@media (min-width: 1800px) {
	.fl-builder-content .dade-service-hero:not(.dade-hero-industries):not(.dade-hero-roles) > .fl-row-content-wrap { background-position: left 0 top 32% !important; }
}

/* tablets: the check list uses the full width instead of leaving the right half empty */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content .fl-module.dade-checks > ul { max-width: none; }
}

/* ==========================================================================
   Figma parity fixes 2026-11-06 (findings confirmed by an independent re-measure)
   ========================================================================== */

/* headings on dark sections use the Figma off-white, not pure white (the hero H1 stays white) */
.fl-builder-content .dade-on-dark h2:not(.dade-muted) { color: var(--dade-light); }

/* Home hero: photo cropped like Figma (image centred in a 960px box, about 77px off the top) */
@media (min-width: 1025px) {
	.fl-builder-content .dade-hero > .fl-row-content-wrap { background-position: 50% 27% !important; }
}
/* Service hero: Figma centres the photo vertically (it was anchored at 75%, cutting the head) */
@media (min-width: 1025px) and (max-width: 1799px) {
	.fl-builder-content .dade-service-hero:not(.dade-hero-industries):not(.dade-hero-roles) > .fl-row-content-wrap { background-position: left 0 top 50% !important; }
}

/* "Talk to an expert" link: 18px text box, 6px gap, 1px line (Figma) */
.dade-link a,
a.dade-link { line-height: 1.2; }

/* Home mobile: the Expertise section has no contour lines in Figma */
@media (max-width: 767px) {
	.dade-expertise > .fl-row-content-wrap::before,
	.dade-expertise > .fl-row-content-wrap::after { display: none; }
	/* Service options arcs: barely visible in Figma on phones */
	.dade-options > .fl-row-content-wrap::before,
	.dade-options > .fl-row-content-wrap::after { opacity: 0.25; }
}

/* Footer: legal row centred against the social circles; mobile Company/Support columns 165 + 20 gap + 165 */
@media (min-width: 768px) {
	.dade-footer-legal .fl-col-group { display: flex; align-items: center; }
	.dade-footer-legal .fl-col-group::before,
	.dade-footer-legal .fl-col-group::after { display: none; }
}
@media (max-width: 767px) {
	.fl-builder-content .dade-footer-col-company { width: calc(50% - 10px) !important; margin-right: 20px; }
	.fl-builder-content .dade-footer-col-support { width: calc(50% - 10px) !important; }
}

/* header: Figma ph-list menu icon (20px lines, 1.3px stroke) with a 44x44 tap area */
.dade-nav .pp-advanced-menu-mobile-toggle { padding: 8px !important; margin: -8px !important; }
.dade-nav .pp-advanced-menu-mobile-toggle .pp-hamburger-box { display: none; }
.dade-nav .pp-advanced-menu-mobile-toggle .pp-hamburger {
	display: block;
	width: 28px;
	height: 28px;
	background: url("assets/icons/ph-list.svg") center / 28px 28px no-repeat;
}

/* the BB skin styles every <button>:hover (copper background, white text, brown border); undo it on our buttons */
button.dade-chip { font-size: 14px; line-height: 1.4; }
button.dade-chip:not(.is-active):hover,
button.dade-chip:not(.is-active):focus-visible { background: transparent; color: var(--dade-navy); border: 1px solid var(--dade-navy); }
button.dade-chip.is-active:hover { background: var(--dade-navy); color: #ffffff; border: 0; }
button.dade-video-frame:hover,
button.dade-video-frame:focus-visible { border: 0; background: #13293a; }
.dade-form button.dade-submit-btn:hover,
.dade-form button.dade-submit-btn:focus-visible { border: 0; color: #ffffff; }

/* Success stories: narrow paragraphs break like Figma (447px + split-text overhead) */
.dade-ss-body p.is-narrow { max-width: 453px; }
@media (max-width: 767px) {
	.dade-logos li { padding: 22px 16px; }
}

/* Contact: FAQ hover only changes the top line (Figma); address wraps at 207px; no resize grip */
@media (hover: hover) { .dade-cfaq-item:hover .dade-cfaq-icon { border-color: rgba(177, 124, 88, 0.35); } } /* no sticky hover after a tap */
.dade-details li > div { flex: 1; min-width: 0; }
@media (min-width: 768px) {
	.dade-details li:first-child .dade-detail-value { max-width: 207px; }
}
.dade-form textarea.wpcf7-form-control { resize: none; }

/* Blog: read-more fades like the title; featured title fills its column */
.dade-read-more { transition: color .2s ease; }
.fl-builder-content .dade-featured .dade-featured-title { max-width: none; }

/* Articles: imported posts wrap headings in <strong>; keep the light heading weight */
.dade-article-content :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; color: inherit; }
/* in-article CTA: secondary button label is pure white in Figma */
.fl-builder-content .dade-article-cta .dade-btn-outline a.fl-button .fl-button-text { color: #ffffff !important; }

/* Service proof: the testimonial links to the customer stories (Figma annotation) */
.dade-proof-col > .fl-col-content { position: relative; }
.dade-proof-link { position: absolute; inset: 0; z-index: 2; }
.dade-proof-col .dade-author strong { transition: color .2s ease; }
.dade-proof-col:hover .dade-author strong { color: var(--dade-copper); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ==========================================================================
   Archive / search / 404 layouts (setup/build-archives.php), no Figma frame
   ========================================================================== */
.dade-archive-hero .fl-module.dade-article-meta { margin-bottom: 0 !important; }
.fl-module.dade-site-search { width: 100%; max-width: 640px; margin: 0 auto !important; }
.dade-search-form {
	display: flex;
	align-items: center;
	height: 56px;
	padding: 0 8px 0 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	transition: border-color .2s ease;
}
.dade-search-form:focus-within { border-color: var(--dade-copper); }
.dade-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--dade-font);
	font-size: 16px;
	color: var(--dade-navy);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.dade-search-form input[type="search"]::placeholder { color: var(--dade-text); opacity: 1; }
.dade-search-form button,
.dade-search-form button:hover,
.dade-search-form button:focus-visible {
	flex: none;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--dade-copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23ffffff' d='M229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32ZM40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72Z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	cursor: pointer;
	transition: background-color .2s ease;
}
.dade-search-form button:hover { background-color: var(--dade-copper-hover); }
.dade-404 .fl-module.dade-article-lead { max-width: 560px; margin-bottom: 32px !important; }
.dade-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.dade-404-links li { margin: 0; }
.dade-404 a.dade-chip { border-color: rgba(255, 255, 255, 0.24); color: var(--dade-light); }
.dade-404 a.dade-chip:hover { border-color: #ffffff; color: #ffffff; }
.dade-404 > .fl-row-content-wrap::before { display: none; }

/* ==========================================================================
   Smooth hover everywhere (2026-11-07)
   Low-specificity baseline: every link, button and form field eases its
   colours, borders, shadows and transforms. Components that set their own
   transition (class selectors) keep it. Children of links/buttons only ease
   colours (no transform: GSAP animates split text inside links).
   ========================================================================== */
a, button, summary, input, textarea, select, label,
a::before, a::after, button::before, button::after, summary::before, summary::after {
	transition-property: color, background-color, border-color, outline-color, text-decoration-color, opacity, box-shadow, fill, stroke, filter, transform;
	transition-duration: .25s;
	transition-timing-function: ease;
}
a *, button *, summary * {
	transition-property: color, background-color, border-color, text-decoration-color, opacity, fill, stroke;
	transition-duration: .25s;
	transition-timing-function: ease;
}
.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button * {
	transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dade-btn-arrow a.fl-button .fl-button-text::after { transition: transform .25s ease; }

/* search button: BB's "button" rules gave it 24px padding (44px wide) that
   dropped to 40px on hover - it jumped */
.fl-builder-content .dade-search-form button,
.fl-builder-content .dade-search-form button:hover,
.fl-builder-content .dade-search-form button:focus-visible {
	width: 40px;
	padding: 0;
	border: 0;
}

/* Solutions mega menu: fade + slide in instead of popping (display stays
   flex so the opacity/transform can animate; visibility switches off after
   the fade so the hidden panel cannot be hovered or tabbed into) */
@media (min-width: 1025px) {
	.dade-nav .menu > .dade-mega > .sub-menu {
		display: flex !important;
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	}
	.dade-nav .menu > .dade-mega:hover > .sub-menu,
	.dade-nav .menu > .dade-mega.pp-active > .sub-menu,
	.dade-nav .menu > .dade-mega:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		transition: opacity .25s ease, transform .25s ease, visibility 0s;
	}
}

/* ==========================================================================
   Free trial (/trial/) – setup/build-trial.php. No Figma frame: Contact page
   hero + form card + navy side card, Service "options" cards (4, light).
   ========================================================================== */
.fl-builder-content .fl-module.dade-trial-title { max-width: 800px; }
.dade-trial-tools > .fl-row-content-wrap::before,
.dade-trial-tools > .fl-row-content-wrap::after { display: none; }
.dade-trial-steps .dade-detail-value { max-width: none !important; }
.dade-trial-hero > .fl-row-content-wrap { background-position: 70% center !important; }
.dade-trial-steps ul { margin: 0; padding: 0; list-style: none; }
.dade-trial-steps-title { margin: 0 0 12px !important; font-weight: 300; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--dade-light); }
.dade-trial-steps-intro { margin: 0 0 32px !important; padding-bottom: 32px; border-bottom: 1px solid var(--dade-line-on-dark); font-size: 16px; line-height: 1.55; color: var(--dade-muted-on-dark); }
.dade-trial-steps .dade-detail-value { font-size: 16px; }
.dade-trial-steps .dade-detail-icon { width: 24px; height: 24px; }
.dade-trial-tools .dade-card > .fl-col-content { background: #f4f3f0; }
.dade-trial-tools .dade-card-icon { margin-bottom: 56px !important; }
.dade-trial-tools .dade-card:nth-child(1) .dade-card-text p { max-width: none; }
.fl-builder-content .dade-trial-tools .dade-card-title :is(h1,h2,h3,h4) { font-size: 22px !important; line-height: 1.3; }
.dade-trial-tools .dade-card > .fl-col-content { padding: 32px 28px 36px; }
.dade-trial-tools .dade-eyebrow { margin-bottom: 20px !important; }
@media (max-width: 1024px) {
	/* the engineer sits right of centre: show the dark racks behind the text */
	.dade-trial-hero > .fl-row-content-wrap { background-position: 8% center !important; }
}
@media (max-width: 1024px) and (min-width: 768px) {
	.fl-builder-content .dade-trial-tools .fl-col-group:has(> .dade-card) { flex-wrap: wrap; gap: 24px; }
	.fl-builder-content .dade-trial-tools .fl-col-group:has(> .dade-card) > .fl-col { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
	.dade-trial-hero > .fl-row-content-wrap { background-position: 12% center !important; }
	.fl-builder-content .dade-trial-hero .fl-module.dade-trial-title > h1 { margin-right: 0; }
	.dade-trial-steps-title { font-size: 24px; }
	.dade-trial-tools .dade-card-icon { margin-bottom: 34px !important; }
	.dade-trial-tools .dade-card > .fl-col-content { padding: 24px; }
}

.dade-cfaq-a a { color: var(--dade-copper); text-decoration: underline; text-underline-offset: 3px; }
.dade-cfaq-a a:hover { color: var(--dade-copper-hover); }

/* Service hero, tablet (no Figma frame): the engineer sits right behind the
   copy at 768–1024, so shade the left side like the other page heroes */
@media (min-width: 768px) and (max-width: 1024px) {
	.dade-service-hero > .fl-row-content-wrap::before {
		display: block;
		background: linear-gradient(90deg, rgba(6, 16, 24, 0.88) 0%, rgba(6, 16, 24, 0.7) 50%, rgba(6, 16, 24, 0.15) 100%);
	}
}

/* Article QA 2026-11-07 */
/* featured photos are mostly people: keep heads in the wide crop
   (centre cut the face off at the mouth) */
.dade-article-img img { object-position: center 25%; }
/* posts without H2s have no table of contents: centre the text column under
   the image instead of leaving the empty TOC column on the left */
@media (min-width: 1025px) {
	.dade-article.no-toc { display: block; }
	.dade-article.no-toc .dade-article-main { max-width: 843px; margin: 0 auto; }
}

/* Success stories hero, tablet: the shared hero max-widths (540 / 520px)
   left the centred copy hanging on the left side */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content .dade-ss-hero-copy .fl-module.dade-at.dade-page-hero-title > h1,
	.fl-builder-content .dade-ss-hero-copy .fl-module.dade-at.dade-page-hero-lead > p { margin-left: auto; margin-right: auto; }
}

/* Contact QA 2026-11-07 */
/* links inside Animated Text: the words are inline-blocks, so a text
   underline broke into pieces ("start_a_free_trial"); draw one line instead */
.dade-cfaq-a a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
@media (min-width: 768px) and (max-width: 1024px) {
	/* tablet hero (no Figma frame): the copy runs over the man's face */
	.dade-contact-hero:not(.dade-trial-hero) > .fl-row-content-wrap::before {
		background: linear-gradient(90deg, rgba(6, 16, 24, 0.85) 0%, rgba(6, 16, 24, 0.6) 55%, rgba(6, 16, 24, 0.1) 100%);
	}
	/* three narrow FAQ columns: no split-text slack, "support." touched the edge */
	.fl-builder-content .dade-cfaq-item .fl-module.dade-at > * { margin-right: 0; }
}
@media (min-width: 391px) and (max-width: 767px) {
	/* the -12px lead slack is tuned for 390; wider phones ran to the edge */
	.fl-builder-content .dade-contact-hero .fl-module.dade-at.dade-contact-lead:not(.dade-title) > p { margin-right: 0; }
}

/* KB QA 2026-11-09 */
/* BetterDocs adds a bordered, padded input wrap on small screens: keep one white box */
.dade-kb-search .betterdocs-live-search .betterdocs-searchform-input-wrap { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.dade-kb-home-hero h1 { text-wrap: balance; }
/* KB category: the help card sits under the centred list (the article offset is for the TOC layout) */
@media (min-width:768px){
	.fl-builder-content .tax-doc_category .dade-kb-help, body.tax-doc_category .fl-builder-content .dade-article-cta.dade-kb-help { margin-left: auto; margin-right: auto; max-width: 842px; }
}

/* Solutions QA 2026-11-09: the services hub reuses the Service photo; on phones the copy sits over the engineer, so shade it like the other hubs */
@media (max-width: 767px) {
	.fl-builder-content .dade-hero-services > .fl-row-content-wrap::before { display: block; background: rgba(12, 32, 48, 0.72); }
}
/* "What" lead: the -16px Figma slack is for 1660; once the column reaches the page gutter it pushed the copy 4px from the screen edge */
@media (min-width: 1025px) and (max-width: 1439px) {
	.fl-builder-content .dade-what-text .fl-module.dade-at.dade-what-lead > p { margin-right: 0; }
}
/* Migration on tablet: the phone drawing stretched to 560px put its label over the racks; show the desktop drawing under the copy instead */
@media (min-width: 768px) and (max-width: 1024px) {
	.dade-migration > .fl-row-content-wrap { flex-wrap: wrap; }
	.dade-migration > .fl-row-content-wrap > .fl-row-content { flex: 0 0 100%; }
	.dade-migration > .fl-row-content-wrap::after { display: block; position: relative; left: auto; top: auto; flex: 0 0 auto; width: min(100%, 720px); margin: 0 auto 0 0; }
	.dade-migration .fl-module.dade-migration-art-m { display: none; }
}

/* Trial QA 2026-11-09: on tablet the copy crosses the engineer (same shade as the Service tablet hero); the Contact lead slack does not suit this copy */
@media (min-width: 768px) and (max-width: 1024px) {
	.dade-trial-hero > .fl-row-content-wrap::before { background: linear-gradient(90deg, rgba(6,16,24,.88) 0%, rgba(6,16,24,.7) 50%, rgba(6,16,24,.15) 100%); }
}
@media (max-width: 767px) {
	.fl-builder-content .dade-trial-hero .fl-module.dade-at.dade-contact-lead > p { margin-right: 0; }
}

/* Empty search / archive message */
.dade-no-posts { padding: 24px 0; font-size: 18px; line-height: 1.6; text-align: center; }
.dade-no-posts a { color: var(--dade-copper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Lenis smooth scroll (assets/js/lenis.min.js, v1.3.27) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
/* Lenis disables iframes while smooth scrolling; keep the Vimeo players clickable when the page is at rest */
.lenis.lenis-smooth.lenis-scrolling iframe { pointer-events: none; }
.lenis.lenis-smooth:not(.lenis-scrolling) iframe { pointer-events: auto; }
/* Lenis handles the smoothing; native smooth scrolling would fight it */
html.lenis { scroll-behavior: auto !important; }

/* Beaver Builder 2.11 draws a 2px outline on every :focus, so links and buttons kept a box after a mouse click.
   Mouse clicks: no outline. Keyboard (Tab) focus keeps it (:focus-visible) for accessibility. */
:is(a[href], button, summary, select, [tabindex]:not([tabindex="-1"])):focus:not(:focus-visible) { outline: none !important; }

/* Image hover zoom: About photos (mission + office) join the blog cards, featured post and video thumbnails.
   Same soft zoom everywhere; only on devices with a real hover (no sticky zoom after a tap). */
.dade-cover-photo .fl-photo-content { overflow: hidden; border-radius: 8px; transform: translateZ(0); }
.dade-cover-photo .fl-photo-content img,
.dade-featured-img img,
.dade-post-img img,
.dade-video-frame img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
	.dade-cover-photo .fl-photo-content:hover img,
	.dade-featured:hover .dade-featured-img img,
	.dade-post-card:hover .dade-post-img img,
	button.dade-video-frame:hover img { transform: scale(1.05); }
}

/* Tablet (768–1024): sections kept their desktop spacing (96–140px top/bottom). Cap them at 80px.
   Heroes, full-bleed photo rows and sides that are already 0 / small are left as they are. */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content > .fl-row:is(
		.dade-solutions, .dade-security, .dade-expertise, .dade-stories, .dade-cta,
		.dade-mission, .dade-how, .dade-serve, .dade-why, .dade-team,
		.dade-what, .dade-options, .dade-migration, .dade-proof, .dade-others,
		.dade-ss-stories, .dade-ss-videos, .dade-ss-logos,
		.dade-contact-main, .dade-contact-faq,
		.dade-kb-cats, .dade-kb-docs, .dade-article-body, .dade-related, .dade-legal-body
	) > .fl-row-content-wrap { padding-top: 80px !important; padding-bottom: 80px !important; }
	/* only the bottom was large */
	.fl-builder-content > .fl-row:is(.dade-industries, .dade-blog-list, .dade-kb-help-row) > .fl-row-content-wrap { padding-bottom: 80px !important; }
	/* only the top was large (the accordion runs to the edge of the row) */
	.fl-builder-content > .fl-row.dade-faq > .fl-row-content-wrap { padding-top: 80px !important; }
	.fl-builder-content > .fl-row.dade-footer-top > .fl-row-content-wrap { padding-top: 80px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content > .fl-row:is(.dade-page-hero, .dade-article-hero) > .fl-row-content-wrap { padding-bottom: 80px !important; }
}

/* Tablet (768–1024): 16px between boxed cards (was 20–32px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content .fl-col-group:has(> .dade-card),
	.fl-builder-content .fl-col-group:has(> .dade-story),
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card),
	.fl-builder-content .dade-trial-tools .fl-col-group:has(> .dade-card) { gap: 16px !important; }
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) > .fl-col,
	.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card:nth-child(2):last-child) > .fl-col,
	.fl-builder-content .dade-trial-tools .fl-col-group:has(> .dade-card) > .fl-col { flex-basis: calc((100% - 16px) / 2) !important; }
	.dade-kb-grid,
	.dade-videos { gap: 16px; }
	.fl-builder-content .fl-col-group:has(> .dade-contact-form) { row-gap: 16px; }
}

/* Two dark sections in a row: at fractional zoom (e.g. 83%) a 1px light seam showed between them
   (Customer stories / Industries, footer top / social + legal bar). Overlap them by 1px. */
.fl-builder-content > .fl-row.dade-on-dark + .fl-row.dade-on-dark { margin-top: -1px; }

/* Phones: Industries 40px top and bottom */
@media (max-width: 767px) {
	.fl-builder-content > .fl-row.dade-industries > .fl-row-content-wrap { padding-top: 40px !important; padding-bottom: 40px !important; }
}

/* Phones: the photo heroes (About, Contact, Trial, Service template) get the same navy shade as the hubs so the copy reads */
@media (max-width: 767px) {
	.fl-builder-content .dade-page-hero:is(.dade-about-hero, .dade-contact-hero, .dade-service-hero) > .fl-row-content-wrap::before {
		display: block;
		background: rgba(12, 32, 48, 0.72);
	}
}

/* Other solutions cards: the Figma 280px height fits the short home texts; the Solutions pages have longer
   copy, so the card grows (min 280px) and keeps the Explore button inside with room below it */
@media (min-width: 768px) {
	.fl-builder-content .dade-others .dade-story > .fl-col-content { height: 100%; min-height: 280px; padding-bottom: 35px; }
	.fl-builder-content .dade-others .fl-col-group:has(> .dade-story) { align-items: stretch; }
}

/* ---------- Button hover ---------- */
/* Long-arrow button ("Plan your migration"): the arrow only slides right */
.dade-btn-arrow.dade-btn-long a.fl-button .fl-button-text::after { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.dade-btn-arrow.dade-btn-long a.fl-button:hover .fl-button-text::after,
.dade-btn-arrow.dade-btn-long a.fl-button:focus-visible .fl-button-text::after { transform: translateX(6px); }

/* Label roll (assets/js/dade-motion.js wraps the label twice): the label slides up and out,
   the copy rises from below. clip-path (not overflow) keeps the text on its baseline. */
.dade-roll { display: inline-grid; vertical-align: baseline; clip-path: inset(0 -0.25em); }
.dade-roll > span { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.dade-roll > span + span { transform: translateY(105%); }
@media (hover: hover) {
	a.fl-button:hover .dade-roll > span:first-child,
	button.dade-submit-btn:hover .dade-roll > span:first-child { transform: translateY(-105%); }
	a.fl-button:hover .dade-roll > span + span,
	button.dade-submit-btn:hover .dade-roll > span + span { transform: translateY(0); }
}
a.fl-button:focus-visible .dade-roll > span:first-child,
button.dade-submit-btn:focus-visible .dade-roll > span:first-child { transform: translateY(-105%); }
a.fl-button:focus-visible .dade-roll > span + span,
button.dade-submit-btn:focus-visible .dade-roll > span + span { transform: translateY(0); }
/* must beat ".fl-builder-content a.fl-button *" (smooth-hover block) which resets transition to colours only */
.fl-builder-content a.fl-button .dade-roll > span,
.dade-form button.dade-submit-btn .dade-roll > span { transition: transform .5s cubic-bezier(.7, 0, .2, 1), color .25s ease; }

/* Migration drawing played inline (assets/js/dade-motion.js); its box is copied from the ::after it replaces */
.dade-mig-svg { pointer-events: none; }
.dade-mig-svg svg { display: block; width: 100%; height: auto; }
.dade-migration.dade-has-svg > .fl-row-content-wrap::after { display: none !important; }

/* No single word left alone on the last line of a heading. Only between the Figma widths
   (desktop 1440+ and phones up to 399 keep the exact Figma line breaks). */
@media (min-width: 400px) and (max-width: 1439px) {
	.fl-builder-content :is(h1, h2, h3, h4) { text-wrap: pretty; }
}

/* Success stories: the media box shows the client's video where there is one,
   otherwise the navy line-art panel until the client sends photos */
.dade-ss-media > .fl-col-content:has(.dade-video) { padding: 0 !important; overflow: hidden; background-color: #13293a; }
.dade-ss-media .fl-module,
.dade-ss-media .fl-module-content,
.dade-ss-media .fl-html { height: 100%; margin: 0 !important; }
.dade-ss-media .dade-video { height: 100%; }
.dade-ss-media .dade-video-frame { height: 100%; aspect-ratio: auto; border-radius: 8px; }
.dade-ss-media .dade-video-frame.is-playing iframe { width: 100%; height: 100%; border: 0; }
.dade-ss-media .dade-video figcaption { display: none; }
.dade-ss-media-art > .fl-col-content { background: #13293c url("assets/home/story-2-bg.svg") center / cover no-repeat; }

/* Phones: the story cards' line art had a fixed height (Figma 229/243px); when the copy wraps and the
   card grows, the art stopped short of the bottom. The SVG stretches (preserveAspectRatio none), so
   keep its Figma width and let its height follow the card (identical at 390, full cover when taller). */
@media (max-width: 767px) {
	.fl-builder-content .dade-story > .fl-col-content { background-size: 625px 100%; }
	.fl-builder-content .dade-story-2 > .fl-col-content { background-size: 623px 100%; }
	.fl-builder-content .dade-others .dade-story > .fl-col-content,
	.fl-builder-content .dade-others .dade-story-2 > .fl-col-content { background-size: 625px 100%; }
}

/* ---------- Careers (setup/build-careers.php) ---------- */
.dade-careers-hero .fl-module.dade-careers-hero-btn { margin-top: 40px !important; }
.dade-careers-why .dade-center-head .fl-module.dade-title { margin-bottom: 20px !important; }
.dade-careers-why-lead p { max-width: 568px; margin: 0 auto; text-align: center; }
.dade-careers-why .fl-row-content > .fl-col-group:first-child { margin-bottom: 56px; }
.dade-careers-place .dade-what-lead p + p,
.dade-careers-intro .dade-what-lead p + p { margin-top: 16px; }
.dade-careers-card .dade-detail-label { margin: 0 0 12px; }
.dade-careers-card .dade-trial-steps-intro + .dade-trial-steps-intro { margin-top: 12px; }
/* CV upload */
.dade-field-file input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px dashed rgba(12, 32, 48, 0.25);
	border-radius: 4px;
	background: #ffffff;
	font: inherit;
	font-size: 14px;
	color: var(--dade-text);
	cursor: pointer;
}
.dade-field-file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 0;
	border-radius: 4px;
	background: var(--dade-navy);
	font: inherit;
	font-weight: 500;
	color: #ffffff;
	cursor: pointer;
}
/* Careers side card: plain paragraphs (the Trial card draws a line under its intro) */
.dade-careers-card .dade-trial-steps-intro { margin: 0 !important; padding: 0; border: 0; }
.dade-careers-card .dade-trial-steps-intro + .dade-trial-steps-intro { margin-top: 12px !important; }
/* Careers: tablet keeps the "Find your place" text close to the form (the 80px cap gave 160px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content > .fl-row.dade-careers-place > .fl-row-content-wrap { padding-bottom: 48px !important; }
	.fl-builder-content > .fl-row.dade-careers-main > .fl-row-content-wrap { padding-top: 0 !important; }
}
/* Careers: stacked, the navy card introduces the form, so it comes first */
@media (max-width: 1024px) {
	.dade-careers-main .fl-col.dade-contact-details-col { order: -1; }
}
/* Careers: "Real impact." / "Real opportunities." on two whole lines on phones */
@media (max-width: 767px) {
	.dade-careers-why h2 .dade-muted { display: block; }
}
/* Careers hero photo (client, 2026-11-11). Desktop: the dark sky on the left carries the copy.
   Tablet: frame moved so the man stays in view, soft shade behind the copy. Phones: navy shade like the other photo heroes. */
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content .dade-careers-hero > .fl-row-content-wrap { background-position: 77% center !important; }
	.fl-builder-content .dade-page-hero.dade-careers-hero > .fl-row-content-wrap::before {
		display: block;
		background: linear-gradient(90deg, rgba(12, 32, 48, 0.75) 0%, rgba(12, 32, 48, 0.35) 60%, rgba(12, 32, 48, 0) 100%);
	}
}
@media (max-width: 767px) {
	.fl-builder-content .dade-page-hero.dade-careers-hero > .fl-row-content-wrap::before {
		display: block;
		background: rgba(12, 32, 48, 0.72);
	}
}
/* Careers hero, second photo (16:9): the sunset band sat behind the second heading line.
   Desktop: frame shows more sky above the copy and a soft navy shade on the left half. */
@media (min-width: 1025px) {
	.fl-builder-content .dade-careers-hero > .fl-row-content-wrap { background-position: right 25% !important; }
	.fl-builder-content .dade-page-hero.dade-careers-hero > .fl-row-content-wrap::before {
		display: block;
		background: linear-gradient(90deg, rgba(12, 32, 48, 0.78) 0%, rgba(12, 32, 48, 0.5) 38%, rgba(12, 32, 48, 0) 62%);
	}
}

/* ==========================================================================
   Managed Cloud + Backup & DR (setup/build-services-extra.php): Service rows with
   the client's longer copy – several paragraphs, a lead under centred heads,
   6 included-service cards, DR approach / RPO-RTO cards, a CTA with a lead.
   ========================================================================== */
.dade-what-multi .dade-what-lead p + p,
.dade-migration-lead-multi p + p,
.dade-dr-text p + p,
.dade-why-paras p + p { margin-top: 16px; }
.dade-hero-wide .dade-page-hero-copy > .fl-col-content { max-width: 760px; }
/* lead under a centred head */
:is(.dade-mc-included, .dade-dr-approaches, .dade-dr-metrics) .dade-center-head .fl-module.dade-title { margin-bottom: 20px !important; }
.dade-section-lead p { max-width: 600px; margin: 0 auto; text-align: center; }
.dade-section-lead p + p { margin-top: 8px; }
:is(.dade-mc-included, .dade-dr-approaches, .dade-dr-metrics) .fl-row-content > .fl-col-group:first-child { margin-bottom: 56px; }
/* Managed Cloud: 6 cards, 3 per row (2 on tablet, 1 on phones) */
.fl-builder-content .dade-mc-included .fl-col-group:has(> .dade-card) { flex-wrap: wrap; gap: 32px; }
.fl-builder-content .dade-mc-included .fl-col-group:has(> .dade-card) > .fl-col { flex: 0 0 calc((100% - 64px) / 3); }
.dade-mc-included .dade-card-icon { margin-bottom: 48px !important; }
/* migration row without the eyebrow: copy beside the illustration */
.dade-migration-lead-multi p { font-size: 18px; }
/* photo row with paragraphs */
.dade-why-paras p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dade-text-on-dark); }
.dade-why-text .fl-module.dade-title { margin-bottom: 28px !important; }
.dade-why-text .dade-why-copy-col .fl-module.dade-why-paras { max-width: 520px; }
/* DR cards */
.fl-builder-content :is(.dade-dr-approaches, .dade-dr-metrics) .fl-col-group:has(> .dade-card) { gap: 32px; }
.dade-dr-card .fl-module.dade-dr-label { margin-bottom: 20px !important; }
.dade-dr-card .dade-card-title { margin-bottom: 16px !important; }
.dade-dr-text p { line-height: 1.6 !important; }
.dade-dr-ideal { margin-top: 28px !important; }
.dade-dr-ideal p { margin: 0; padding-top: 20px; border-top: 1px solid var(--dade-line); font-size: 16px; line-height: 1.55; color: var(--dade-navy); }
.dade-dr-ideal strong { font-weight: 500; }
.dade-dr-metrics > .fl-row-content-wrap::before,
.dade-dr-metrics > .fl-row-content-wrap::after { display: none; }
.dade-dr-metrics .dade-card > .fl-col-content { background: #f4f3f0; }
.dade-dr-metrics-note { margin-top: 48px; }
/* CTA with the client's copy: longer heading, a lead, the mark stays clear of the text */
.dade-cta-custom .dade-cta-col > .fl-col-content { max-width: 860px; }
.dade-cta-custom .dade-cta-title { margin-bottom: 24px !important; }
.fl-builder-content .dade-cta-custom .dade-cta-title :is(h1,h2,h3,h4) { font-size: clamp(40px, 3.133vw, 52px) !important; line-height: 1.1; }
.fl-module.dade-cta-lead { margin-bottom: 36px !important; }
.dade-cta-lead p { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.55; color: var(--dade-navy); }
@media (min-width: 768px) and (max-width: 1024px) {
	.fl-builder-content .dade-mc-included .fl-col-group:has(> .dade-card) { gap: 16px; }
	.fl-builder-content .dade-mc-included .fl-col-group:has(> .dade-card) > .fl-col { flex: 0 0 calc((100% - 16px) / 2); }
	.fl-builder-content :is(.dade-dr-approaches, .dade-dr-metrics) .fl-col-group:has(> .dade-card) { gap: 16px; }
	.dade-cta-custom .dade-cta-col > .fl-col-content { max-width: 600px; }
}
@media (max-width: 767px) {
	.fl-builder-content .dade-mc-included .fl-col-group:has(> .dade-card) > .fl-col { flex: 0 0 100%; }
	.fl-builder-content :is(.dade-mc-included, .dade-dr-approaches, .dade-dr-metrics) .fl-col-group:has(> .dade-card) { gap: 12px; }
	.dade-mc-included .dade-card-icon { margin-bottom: 26px !important; }
	:is(.dade-mc-included, .dade-dr-approaches, .dade-dr-metrics) .fl-row-content > .fl-col-group:first-child { margin-bottom: 32px; }
	.dade-section-lead p { font-size: 16px; }
	.dade-why-paras p { font-size: 16px; }
	.dade-migration-lead-multi p { font-size: 17px; }
	.dade-dr-metrics-note { margin-top: 32px; }
	.fl-builder-content .dade-cta-custom .dade-cta-title :is(h1,h2,h3,h4) { font-size: 30px !important; line-height: 1.1; }
	.dade-cta-lead p { font-size: 16px; }
}
/* Services hub: 7 cards – the last row is centred */
.fl-builder-content .dade-hub-cards .fl-col-group:has(> .dade-card) { justify-content: center; }
/* B&DR CTA on phones: the longer copy keeps the mark below it */
@media (max-width: 767px) {
	.dade-cta-custom > .fl-row-content-wrap::after { top: auto; bottom: -150px; }
}
/* Success stories: client photos in the media box (Atoll, Federico II University) */
.dade-ss-media > .fl-col-content:has(.dade-ss-photo) { padding: 0 !important; overflow: hidden; }
.dade-ss-photo { height: 100%; margin: 0; overflow: hidden; border-radius: 8px; }
.dade-ss-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .dade-ss-media:hover .dade-ss-photo img { transform: scale(1.05); } }

/* Success stories: four client videos (Mike Robinson added 2026-11-16): one row on desktop, 2 x 2 on tablet */
.dade-videos:has(> .dade-video:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) {
	.dade-videos:has(> .dade-video:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.dade-videos:has(> .dade-video:nth-child(4)) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
