/**
 * The Ladd Firm — homepage.
 *
 * Every value from .claude/docs/measured-design-spec.md, read out of the design file in
 * a real browser. Class hooks come from tests/homepage-spec.js.
 *
 * Spectra does not emit per-block CSS for blocks created programmatically, so all
 * layout and type lives here where it is versioned and measurable. Spectra's own
 * container CSS still lands for structural properties, which is why several rules below
 * need !important — each one is marked with what it is beating.
 */

/* ------------------------------------------------------------------ images ---- */

/**
 * Spectra emits, per image block:
 *   .uagb-block-XXXX.wp-block-uagb-image .wp-block-uagb-image__figure img
 *     { width: px; height: auto }
 * at 0-3-0, which beats any sane class hook. (`width: px` is an invalid declaration —
 * Spectra wrote a unit with no number — but `height: auto` in the same rule still wins,
 * which is why the credential badges rendered 1100x505 instead of 78px tall.)
 *
 * Rather than chase that generated selector, image sizing is set with !important on the
 * few images whose dimensions matter.
 */
.ladd-badges__img img {
	height: 78px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain;
	display: block;
}

.ladd-hero__img img {
	width: 100% !important;
	height: 100% !important;
	min-height: 380px;
	object-fit: cover;
	display: block;
}

/**
 * The design crops every content-section image to a 528 x 420 frame (aspect 1.257).
 * Letting them render at their natural aspect was wrong for all four: cs2/cs3/cs6 came
 * out 1.5 (65px short) and cs5 1.78 (121px short). The ratio, not a fixed height, keeps
 * the crop identical at every breakpoint.
 *
 * Split from .ladd-contact__map, which has its own frame (296.47 x 130) — sharing one
 * rule would have forced the map into the wrong shape.
 */
.ladd-cs__img img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 528 / 420;
	object-fit: cover;
	border-radius: var(--ladd-radius-card);
	display: block;
}

.ladd-contact__map img {
	width: 100% !important;
	height: auto !important;
	border-radius: var(--ladd-radius-card);
	display: block;
}

.ladd-card--team .ladd-card__media img {
	width: 100% !important;
	height: 320px !important;   /* measured 355x320 in the design */
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* ----------------------------------------------------------------- buttons ---- */

/**
 * Spectra's button markup nests four deep:
 *   .wp-block-uagb-buttons.ladd-btns
 *     > .uagb-buttons__wrap
 *       > .wp-block-uagb-buttons-child.wp-block-button.ladd-btn…   <- our class lands HERE
 *         > .uagb-button__wrapper
 *           > a.uagb-buttons-repeater.wp-block-button__link        <- the actual control
 *
 * Styling .ladd-btn therefore painted the WRAPPER, leaving Spectra's own anchor styling
 * visible inside it — a filled box containing a second bordered box. The fill has to go
 * on the anchor; the wrapper must be transparent.
 */
.ladd-btns .uagb-buttons__wrap {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ladd-space-4);
	align-items: center;
}

.ladd-btns .wp-block-uagb-buttons-child {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
}

.ladd-btns .uagb-button__wrapper { margin: 0; }

/**
 * Spectra also emits a PER-BLOCK border rule:
 *   .wp-block-uagb-buttons .uagb-block-XXXX .uagb-buttons-repeater.wp-block-button__link
 *     { border: 1px solid #333 }
 * at 0-4-0, which beats any class hook and drew a grey box around the ghost
 * "Learn More" links. Border and radius therefore need !important here.
 */
.ladd-btns .wp-block-button__link,
.ladd-btns .uagb-buttons-repeater {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ladd-font-button);
	font-size: 18px;
	font-weight: var(--ladd-weight-button);
	line-height: 28px;
	text-align: center;
	text-decoration: none;
	padding: 14px 26px;
	border: 2px solid transparent !important;
	border-radius: var(--ladd-radius-button) !important;
	box-shadow: none;
	transition:
		background-color var(--ladd-duration-fast) var(--ladd-ease),
		border-color var(--ladd-duration-fast) var(--ladd-ease),
		color var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-btns .uagb-button__link { line-height: inherit; }

/* Solid accent — the design's only real button treatment. */
.ladd-btn--primary .wp-block-button__link {
	background-color: var(--ladd-accent);
	border-color: var(--ladd-accent) !important;
	color: #FFFFFF;
}

.ladd-btn--primary .wp-block-button__link:hover,
.ladd-btn--primary .wp-block-button__link:focus {
	background-color: var(--ladd-accent-hover);
	border-color: var(--ladd-accent-hover);
	color: #FFFFFF;
}

.ladd-btn--lg .wp-block-button__link { font-size: 20px; padding: 18px 40px; }
.ladd-btn--wide .wp-block-button__link { padding: 14px 30px; }

/* On a dark or accent ground. */
.ladd-btn--on-dark .wp-block-button__link {
	background-color: transparent;
	border-color: #FFFFFF !important;
	color: #FFFFFF;
}

.ladd-btn--on-dark .wp-block-button__link:hover,
.ladd-btn--on-dark .wp-block-button__link:focus {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
	color: var(--ladd-primary);
}

/* Text-only card link ("Learn More", "View Full Bio"). */
/* No border at all — a text link, not a boxed control. */
.ladd-btn--ghost .wp-block-button__link {
	background-color: transparent;
	border-color: transparent !important;
	border-width: 0 !important;
	color: var(--ladd-accent-text);
	padding-inline: 0;
	font-size: 16px;
}

.ladd-btn--ghost .wp-block-button__link:hover,
.ladd-btn--ghost .wp-block-button__link:focus {
	background-color: transparent;
	color: var(--ladd-accent);
}

/* ------------------------------------------------------------- section frame ---- */

.ladd-sec > .uagb-container-inner-blocks-wrap,
.ladd-sec.wp-block-uagb-container > .uagb-container-inner-blocks-wrap {
	width: 100%;
	max-width: var(--ladd-container-max);
	margin-inline: auto;
	padding-inline: var(--ladd-gutter);
	box-sizing: border-box;
}

.ladd-sec--dark,
.ladd-sec--dark :is(h1, h2, h3, h4, h5, h6) {
	color: #FFFFFF;
}

.ladd-sec--dark p { color: var(--ladd-footer-text); }

.ladd-sec--accent,
.ladd-sec--accent :is(h1, h2, h3, h4, h5, h6),
.ladd-sec--accent p {
	color: #FFFFFF;
}

/* Section heading group: eyebrow + H2, centred for the card sections. */
.ladd-sec__head {
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: 48px;   /* measured design gap, heading group -> content */
	text-align: center;
	align-items: center !important; /* beats Spectra's alignItems on the container */
}

/* Measured: eyebrow 14px below, H2 none. */
.ladd-sec__head .ladd-eyebrow { margin-bottom: 14px; }
.ladd-sec__head .ladd-h2 .uagb-heading-text { margin-bottom: 0; }

/* --------------------------------------------------------------------- type ---- */

.ladd-h1 .uagb-heading-text,
.ladd-sec h1 {
	font-family: var(--ladd-font-heading);
	font-size: var(--ladd-fs-h1);
	font-weight: var(--ladd-weight-heading);
	line-height: var(--ladd-lh-h1);
	letter-spacing: var(--ladd-ls-h1);
	color: var(--ladd-headings);
	margin: 0 0 var(--ladd-space-6);
}

/* `color: inherit` here resolved to --ladd-body (#535353) on light sections, where the
   design's headings are --ladd-headings (#2B2B2B). Set explicitly; the dark/accent
   sections override below at higher specificity. */
.ladd-h2 .uagb-heading-text {
	font-family: var(--ladd-font-heading);
	font-size: var(--ladd-fs-h2);
	font-weight: var(--ladd-weight-heading);
	line-height: var(--ladd-lh-h2);
	color: var(--ladd-headings);
	margin: 0 0 var(--ladd-space-5);
}

.ladd-h3 .uagb-heading-text {
	font-family: var(--ladd-font-heading);
	font-size: var(--ladd-fs-h5);   /* measured 24px on cards */
	font-weight: var(--ladd-weight-heading);
	line-height: var(--ladd-lh-h5);
	color: var(--ladd-headings);
	margin: 0 0 var(--ladd-space-3);
}

.ladd-h .uagb-heading-text { padding: 0; }

/* Dark and accent grounds need white headings, at higher specificity than the
   explicit colours above. */
.ladd-sec--dark .ladd-h .uagb-heading-text,
.ladd-sec--accent .ladd-h .uagb-heading-text {
	color: #FFFFFF;
}

/* ---------------------------------------------------------------- [1] hero ---- */

/**
 * The hero is FULL-BLEED, unlike every other section.
 *
 * Measured in the design at 1440: the H1 starts at x=120 — flush to the 1200 container's
 * edge with no 40px gutter — and the image runs all the way to x=1440. The build
 * originally put the whole hero inside the standard container, so the H1 sat at 170 and
 * the image stopped at 1270 with white space beyond it.
 *
 * The text's left inset is derived from the viewport so it keeps aligning with the
 * container edge at any width, and never drops below the mobile gutter.
 */
.ladd-sec--hero > .uagb-container-inner-blocks-wrap {
	max-width: none;
	padding-inline: 0;
}

.ladd-hero {
	align-items: center !important;
	/**
	 * No gap: the design's hero is a full-bleed two-column split with the image butted
	 * against the text column (measured cols 950.41 + 489.59 = 1440 exactly).
	 *
	 * A gap here is not cosmetic — flex resolves the 66/34 basis below against the space
	 * LEFT AFTER the gap, so a 56px gap made the columns 917.25/466.75 and pushed the
	 * image 22.8px narrower and 22.8px right of the design.
	 */
	column-gap: 0 !important;
	padding-block: 0 !important;
	max-width: none !important;
}

.ladd-hero__text {
	/* Measured in the design: text column 950px, media column 490px at a 1440 viewport
	   — 66/34, not the 58/42 first used. At 58% the column was 610px wide and the H1
	   wrapped onto three lines (194px tall) against the design's two (130px), which is
	   most of why the hero was 691px instead of 500px. */
	flex: 1 1 66% !important;   /* beats Spectra's width:100% on inner-wrap children */
	min-width: 0;
	padding-block: 56px !important;
	padding-left: max(
		var(--ladd-gutter-mobile),
		calc((100vw - var(--ladd-container-max)) / 2)
	) !important;
	/* The design pads the text column by 120px on BOTH sides. */
	padding-right: 120px !important;
}

.ladd-hero__media {
	flex: 1 1 34% !important;
	min-width: 0;
	align-self: stretch;
	padding: 0 !important;
}

.ladd-hero__media .wp-block-uagb-image,
.ladd-hero__media figure,
.ladd-hero__img {
	height: 100%;
	margin: 0;
}

/**
 * The design's hero H1 carries `max-width: 18ch` inline (alongside
 * `font-size: clamp(38px, 3.6vw, 54px)` and `line-height: 1.25`, both already matched).
 * Without it the heading filled the whole 710px column instead of the design's 651px,
 * so it broke at different words. 18ch is a font-relative measure, so it stays correct
 * as the clamp resizes the heading.
 *
 * !important beats Spectra's per-block max-width rule at 0-3-0 (see known-overrides).
 */
.ladd-hero .ladd-h1 .uagb-heading-text {
	max-width: 18ch !important;
	/* Design measures 22px, not the 24px of --ladd-space-6. */
	margin-bottom: 22px;
}

/**
 * "Plan Today." / "Protect Tomorrow." must each hold one line on a phone (2026-10-22).
 *
 * The shared --ladd-fs-h1 clamp floors at 38px, and "Protect Tomorrow." measures 326.8px
 * at 38px — wider than the 320px content box at a 360 viewport (common Android) and the
 * 280px at 320, so it broke onto a third line there. From 375 up it already fits.
 *
 * So below the clamp's floor the hero heading scales with the viewport instead:
 *   (100vw - 40px) is the content box (20px phone gutters, measured at 320/360/375),
 *   8.8 is the measured width-to-font-size ratio of "Protect Tomorrow." (326.8 / 38 = 8.6)
 *   plus ~2% so a slightly wider font render cannot tip it over.
 * min() leaves 375+ untouched at the design's 38px. Scoped to the hero, not the token —
 * every other H1 on the site still uses --ladd-fs-h1 as before.
 *
 * Tied to this copy: if the H1 text changes, re-measure the ratio.
 */
@media (max-width: 767px) {
	.ladd-hero .ladd-h1 .uagb-heading-text {
		font-size: min(var(--ladd-fs-h1), calc((100vw - 40px) / 8.8));
	}
}

/**
 * The hero's vertical rhythm, measured off the design: eyebrow 18px below, H1 22px,
 * lead 28px. All three were losing to Astra's `.entry-content p { margin-bottom: 1.6em }`
 * (0-2-0), which rendered 20.8px / 24px / 30.4px — 7.2px of extra hero height, exactly
 * the amount the section was overshooting by.
 *
 * These selectors are 0-2-0, matching Astra's, and win on load order because the child
 * theme's CSS is enqueued after the parent's. Verified by reading the computed values
 * rather than assumed — see .claude/docs/known-overrides.md.
 *
 * The hero eyebrow is 18px; the card-section heads are 14px (.ladd-sec__head), so this
 * is deliberately scoped to .ladd-hero rather than applied to every eyebrow.
 */
.ladd-hero .ladd-eyebrow { margin-bottom: 18px; }
.ladd-hero .ladd-hero__lead { margin-bottom: 28px; }

.ladd-hero__lead {
	font-size: var(--ladd-fs-lead);
	line-height: var(--ladd-lh-lead);
	max-width: 52ch;
	margin-bottom: var(--ladd-space-7);
}

/* -------------------------------------------------------------- [2] badges ---- */

/**
 * Card grids: ALWAYS row + wrap, at every breakpoint.
 *
 * Spectra switches its containers to flex-direction: column on tablet/mobile while
 * leaving flex-wrap: wrap on. In a COLUMN flex container, wrap spills into a second
 * COLUMN, not a second row — which is what pushed cards off-screen to x=1298 and grew
 * the document to 2774px. Keeping these grids in row+wrap and changing only the card
 * flex-basis per breakpoint removes the combination entirely.
 */
.ladd-badges,
.ladd-team {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ladd-badges {
	justify-content: center !important;
	column-gap: 64px !important;
	row-gap: var(--ladd-space-7) !important;
}

.ladd-badges__item { flex: 0 0 auto !important; width: auto !important; }

/* -------------------------------------------------- [3,5,8,10,12,15] content ---- */

.ladd-cs {
	align-items: center !important;
	column-gap: 64px !important;
}

/* Measured in the design: both columns are 528px at a 1440 viewport — an even 50/50
   split inside the 1120 container, not the 55/45 first used. The narrower text column
   is part of why these sections ran short.
   The gap is 64px: 528 + 64 + 528 = 1120. It was recorded as 56 earlier, which made
   the columns 532 and shifted the image 4px left of the design. */
.ladd-cs__text { flex: 1 1 50% !important; min-width: 0; }
.ladd-cs__media { flex: 1 1 50% !important; min-width: 0; }

/* Content-section headings are 42px, not the 44px used for the card-section heads,
   and their body copy runs at 1.75 line-height (measured 31.5px on 18px) rather than
   the 1.556 the hero lead uses. */
.ladd-cs .ladd-h2 .uagb-heading-text {
	font-size: 42px;
	/* Measured 52.5px on 42px = 1.25 exactly. The card-section heads are a different
	   ratio (54.56 on 44px = 1.24, which is --ladd-lh-h2), so this cannot inherit. */
	line-height: 1.25;
	margin-bottom: 22px;
}

.ladd-cs__body {
	line-height: 1.75;
}

.ladd-cs--full .ladd-cs__text {
	flex: 1 1 100% !important;
	max-width: 900px;
	margin-inline: auto;
}

.ladd-cs__body { margin-bottom: 0; }

/* ------------------------------------------------------ [4] practice areas ---- */

/* A horizontal scroll track. Per rule 20 the card width is DERIVED from the track and
   the gap, never hardcoded: 3 across at 1120px with a 28px gap reproduces the design's
   measured 355px. Falls back to scroll-snap with no JS. */
.ladd-pa,
.ladd-why {
	--ladd-per-view: 3;
	display: flex !important;
	flex-wrap: nowrap !important;
	column-gap: var(--ladd-card-gap) !important;
	/* !important is required: Spectra resets container overflow to visible (its
	   `overflow` attribute defaults to "visible" and it emits that per block). Without
	   this the track's box is the correct 1120px but its 2614px of cards spill out and
	   grow the document to 2774px instead of scrolling inside the track. */
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	align-items: stretch !important;
	padding-bottom: 4px;
	/* MUST be flex-start. Spectra's container default is justify-content: center, and
	   centring a flex container whose content overflows pushes the leading items to
	   NEGATIVE offsets — they end up left of the scroll origin and unreachable, and the
	   document grows sideways. Measured at 1440: first card at x = -582. */
	justify-content: flex-start !important;
	/* Keep the track inside its parent so its own scrollbar handles the overflow
	   instead of the document doing it. */
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ladd-pa::-webkit-scrollbar,
.ladd-why::-webkit-scrollbar { display: none; }

.ladd-pa > .ladd-card,
.ladd-why > .ladd-card {
	flex: 0 0 calc(
		(100% - (var(--ladd-per-view) - 1) * var(--ladd-card-gap)) / var(--ladd-per-view)
	) !important;
	width: auto !important;
	scroll-snap-align: start;
}

/* -------------------------------------------------------------- cards ---- */

/**
 * Card border colour needs !important.
 *
 * Spectra emits `.wp-block-uagb-container.uagb-block-XXXX { border-color: inherit }`
 * per block at 0-2-0. `inherit` resolves to the cascaded body colour, so every card
 * border rendered #535353 instead of the design's #E4E0DA — visibly heavier, which is
 * exactly what "borders should be lighter" was describing.
 */
.ladd-card {
	background-color: #FFFFFF;
	border: 1px solid var(--ladd-hair) !important;
	border-radius: var(--ladd-radius-card);
	transition: transform var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-card:hover { transform: translateY(-3px); }

.ladd-card--pa {
	padding: 36px 32px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
}

.ladd-card--why {
	padding: 36px 32px !important;
	display: flex !important;
	flex-direction: column !important;
}

/* components.css gives .ladd-card__body the padding a TEAM card's inner container
   needs. Practice-area and why cards use the same class for their body paragraph, and
   the card already carries 36px/32px, so the inherited padding indented the copy by a
   further 32px and narrowed the measure. Reset it for those two variants only. */
.ladd-card--pa .ladd-card__body,
.ladd-card--why .ladd-card__body {
	padding: 0 !important;
	margin-bottom: var(--ladd-space-5);
}

/* ---- icon badge: circular accent disc above the card heading (design) ---- */

/* !important is required. Spectra forces
     body .wp-block-uagb-container > .uagb-container-inner-blocks-wrap > :not(.wp-block-uagb-container)…
       { width: 100% }
   and core/html emits its content raw (no .wp-block-html wrapper), so the badge span IS
   an inner-wrap child and was being stretched to the full card width — a 282x44 ellipse
   instead of a 44px circle. */
.ladd-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	max-width: 44px !important;
	height: 44px;
	margin-bottom: var(--ladd-space-5);
	border-radius: 50%;
	background-color: var(--ladd-accent);
	color: #FFFFFF;
	flex: 0 0 auto;
}

.ladd-icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

/* ---- team role line ("Attorney") ---- */

.ladd-card__role {
	margin: 0 0 var(--ladd-space-4);
	font-family: var(--ladd-font-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ladd-accent-text);
}
.ladd-card--pa .ladd-card__cta { margin-top: auto; }

/* ------------------------------------------------------------ [6] webinar ---- */

.ladd-webinar {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	align-items: center !important;
}

.ladd-webinar__body { margin-bottom: var(--ladd-space-7); }

/* ------------------------------------------------------------ [7] reviews ---- */

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

/* Trustindex injects its own widget; keep it from bleeding past the container. */
.ladd-reviews .ti-widget { max-width: 100%; }

/* --------------------------------------------------------------- [9] team ---- */

.ladd-team {
	align-items: stretch !important;
	column-gap: var(--ladd-card-gap) !important;
	row-gap: var(--ladd-card-gap) !important;
	flex-wrap: wrap !important;
}

.ladd-card--team {
	flex: 0 0 calc((100% - 2 * var(--ladd-card-gap)) / 3) !important;
	width: auto !important;
	background-color: var(--ladd-bg-card);
	border: 0 !important;   /* the design's team card is fill-only, no border */
	padding: 0 !important;
	overflow: hidden;
}

/* Photo cards place the image full-bleed at the top with no padding. */
.ladd-card--team .ladd-card__media,
.ladd-card--team .ladd-card__media figure { margin: 0; width: 100%; }

/* Measured against the design's card: 355x491 overall, body block 171 tall with
   28px/28px/32px padding, heading and role line with NO bottom margin, and the
   "View Full Bio" link at 17px/700 in the HEADING colour with an 8px top margin.
   The build was 586 tall because of a 12px heading margin, a 27px role margin and a
   14px vertical pad on the link. */
/* The design's text block is a flex column with an 8px gap; the link adds another 8px
   on top. 28 + 31 + 8 + 28 + 8 + 8 + 28 + 32 = 171, which is the measured height. */
.ladd-card--team .ladd-card__body {
	padding: 28px 28px 32px !important;
	margin: 0;
	display: flex !important;
	flex-direction: column !important;
	row-gap: 8px !important;
}

.ladd-card--team .ladd-h3 .uagb-heading-text { margin-bottom: 0; }

.ladd-card--team .ladd-card__role {
	margin: 0;
	font-size: 17px;
	line-height: 28px;
}

.ladd-card--team .ladd-btns { margin-top: var(--ladd-space-2); }

/* Design measures this link at the full 299px content width, left-aligned. */
.ladd-card--team .ladd-btn--ghost .wp-block-button__link {
	padding: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 28px;
	color: var(--ladd-headings);
	width: 100%;
	justify-content: flex-start;
}

.ladd-card--team .ladd-btns,
.ladd-card--team .ladd-btns .uagb-buttons__wrap,
.ladd-card--team .ladd-btns .wp-block-uagb-buttons-child { width: 100% !important; }

.ladd-card--team .ladd-btn--ghost .wp-block-button__link:hover {
	color: var(--ladd-accent-text);
}

.ladd-sec__cta { margin-top: 44px; width: 100%; }  /* measured design gap */

/* Design measures the section CTA at 14px 30px, not the standard 14px 26px. */
.ladd-sec__cta .wp-block-button__link { padding: 14px 30px; }

/* ----------------------------------------------------------------- [11] why ---- */

/* ----------------------------------------------------------------- [13] cta ---- */

/* ---------------------------------------------------------------- [14] blog ---- */

/* .ladd-postgrid rules removed with the live post query — the section currently
   renders three PLACEHOLDER cards (see .ladd-blogs below). Restore them alongside the
   uagb/post-grid block when the real posts land. */

/* ----------------------------------------------------------------- [16] FAQ ---- */

/* Measured: the design's FAQ list is 680px wide with 78px items. Mine was 860 wide
   with 98px items — Spectra adds a 10px bottom margin per item on top of the
   hairline rule, which compounded across eight items. */
.ladd-faq {
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
}

.ladd-faq .uagb-faq-child__outer-wrap,
.ladd-faq .uagb-faq-item {
	margin: 0 !important;
}

.ladd-faq__intro { margin-top: var(--ladd-space-4); }

/**
 * Spectra's FAQ item markup:
 *   .uagb-faq-child__outer-wrap.uagb-faq-item
 *     .uagb-faq-questions-button.uagb-faq-questions   <- the clickable row
 *       span.uagb-icon.uagb-faq-icon-wrap             <- "+"  (comes FIRST in the DOM)
 *       span.uagb-icon-active.uagb-faq-icon-wrap      <- "-"
 *       h3.uagb-question                              <- the text
 *     .uagb-faq-content
 *
 * Two consequences: the padding lives on the BUTTON (an earlier rule targeting
 * `.uagb-question` never matched, so Spectra's 10px stayed and items were 98px against
 * the design's 78px), and the icon renders on the LEFT because it precedes the heading.
 * The design puts it on the right, so the icons are re-ordered rather than re-authored.
 */
.ladd-faq .uagb-faq-child__outer-wrap,
.ladd-faq .uagb-faq-item {
	border: 0;
	border-bottom: 1px solid var(--ladd-hair) !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ladd-faq .uagb-faq-questions-button {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--ladd-space-6);
	padding: 24px 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	background: none !important;
	text-decoration: none;
}

/* Icon to the right of the question, matching the design. */
.ladd-faq .uagb-faq-icon-wrap {
	order: 2;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 29px;
	margin: 0 !important;
}

.ladd-faq .uagb-faq-icon-wrap svg {
	width: 16px;
	height: 16px;
	fill: var(--ladd-accent);
	color: var(--ladd-accent);
}

.ladd-faq .uagb-question {
	order: 1;
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--ladd-font-heading);
	font-size: var(--ladd-fs-faq);
	font-weight: var(--ladd-weight-heading);
	line-height: 1.4;
	color: var(--ladd-headings);
}

.ladd-faq .uagb-faq-content {
	padding: 0 0 24px !important;
	margin: 0 !important;
}

.ladd-faq .uagb-faq-content p { margin-bottom: 0; }

/* ------------------------------------------------------------- [17] contact ---- */

.ladd-contact {
	align-items: flex-start !important;
	column-gap: 56px !important;
}

.ladd-contact__text { flex: 1 1 45% !important; min-width: 0; }
.ladd-contact__form { flex: 1 1 55% !important; min-width: 0; }

.ladd-contact__map img { margin-top: var(--ladd-space-6); }

.ladd-contact__form {
	background-color: #FFFFFF;
	border: 1px solid var(--ladd-hair);
	border-radius: var(--ladd-radius-card);
	padding: var(--ladd-space-8) !important;
}

.ladd-contact__disclaimer {
	margin-top: var(--ladd-space-5);
	margin-bottom: 0;
	font-size: var(--ladd-fs-small);
	color: var(--ladd-body);
}

/* --------------------------------------------------------- Gravity Forms ---- */

/* Known override: GF sets its own font-family and border-radius on the submit button
   and inputs. Reassert the design's values. */
/**
 * Gravity Forms is serving its LEGACY stylesheet on this install
 * (gravityforms/legacy/css/formsmain.min.css), which renders each field as an <li> and
 * does nothing with the width classes. The 6/6/6/6/12 layoutGridColumnSpan values DID
 * apply — GF emits `gfield--width-half` / `gfield--width-full` — so the grid is built
 * here against GF's own classes rather than switching its global output mode, which
 * would change every future form on the site.
 */
.ladd-contact__form .gform_wrapper .gform_fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-column-gap: var(--ladd-space-5);
	grid-row-gap: var(--ladd-space-5);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ladd-contact__form .gform_wrapper .gfield {
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ladd-contact__form .gform_wrapper .gfield--width-half { grid-column: span 1; }
.ladd-contact__form .gform_wrapper .gfield--width-full { grid-column: 1 / -1; }

/* The honeypot is a real field in the markup; it must occupy no grid cell. */
.ladd-contact__form .gform_wrapper .gfield--type-honeypot,
.ladd-contact__form .gform_wrapper .gform_validation_container {
	display: none !important;
}

@media (max-width: 600px) {
	.ladd-contact__form .gform_wrapper .gform_fields {
		grid-template-columns: minmax(0, 1fr);
	}
	.ladd-contact__form .gform_wrapper .gfield--width-half { grid-column: 1 / -1; }
}

.ladd-contact__form .gform_wrapper .gfield_label {
	font-family: var(--ladd-font-body);
	font-size: var(--ladd-fs-label);
	font-weight: var(--ladd-weight-label);
	color: var(--ladd-headings);
	margin-bottom: var(--ladd-space-2);
}

.ladd-contact__form .gform_wrapper input[type="text"],
.ladd-contact__form .gform_wrapper input[type="tel"],
.ladd-contact__form .gform_wrapper input[type="email"],
.ladd-contact__form .gform_wrapper textarea {
	width: 100%;
	font-family: var(--ladd-font-body);
	font-size: var(--ladd-fs-input);
	color: var(--ladd-headings);
	background-color: var(--ladd-bg-form);
	border: 1px solid var(--ladd-input-border);
	border-radius: var(--ladd-radius-input);
	padding: 0 16px;
	height: 56px;
	box-sizing: border-box;
}

.ladd-contact__form .gform_wrapper textarea {
	height: auto;
	min-height: 166px;
	padding: 14px 16px;
	line-height: var(--ladd-lh-body);
}

.ladd-contact__form .gform_wrapper input:focus,
.ladd-contact__form .gform_wrapper textarea:focus {
	border-color: var(--ladd-accent);
	outline: 3px solid var(--ladd-accent-text);
	outline-offset: 2px;
}

.ladd-contact__form .gform_wrapper .gform_footer input[type="submit"],
.ladd-contact__form .gform_wrapper .gform_button {
	font-family: var(--ladd-font-button) !important;   /* GF forces its own */
	font-size: 20px;
	font-weight: var(--ladd-weight-button);
	line-height: 28px;
	padding: 18px 24px;
	background-color: var(--ladd-accent);
	border: 2px solid var(--ladd-accent);
	border-radius: var(--ladd-radius-button) !important; /* GF forces its own */
	color: #FFFFFF;
	width: 100%;
	cursor: pointer;
	transition: background-color var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-contact__form .gform_wrapper .gform_footer input[type="submit"]:hover {
	background-color: var(--ladd-accent-hover);
	border-color: var(--ladd-accent-hover);
}

.ladd-contact__form .gform_wrapper .gfield_required { color: var(--ladd-error-text); }

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

@media (max-width: 1023px) {
	.ladd-pa, .ladd-why { --ladd-per-view: 2; }
	.ladd-card--team {
		flex: 0 0 calc((100% - var(--ladd-card-gap)) / 2) !important;
	}
}

/* Two-up rows become stacks at Spectra's OWN tablet breakpoint (976), not at the
   nav breakpoint. Spectra flips its containers to flex-direction: column at <=976; if
   this rule started lower, the 922-976 band kept row-mode flex-basis inside a
   column-direction parent and the hero image landed in a second column at x=928. */
@media (max-width: 976px) {
	.ladd-hero,
	.ladd-cs,
	.ladd-contact {
		flex-direction: column !important;
		/* MUST be nowrap. In a COLUMN flex container, `flex-wrap: wrap` wraps overflow
		   into a second COLUMN rather than a second row — which put the hero image
		   beside the text at x=416 on a 390px viewport instead of beneath it. Spectra
		   also sets wrap at <=767, so this has to be forced. */
		flex-wrap: nowrap !important;
		align-items: stretch !important;
	}

	.ladd-hero__text,
	.ladd-hero__media,
	.ladd-cs__text,
	.ladd-cs__media,
	.ladd-contact__text,
	.ladd-contact__form {
		flex: 0 0 auto !important;   /* NOT 100%: in a column flex, basis is HEIGHT */
		width: 100% !important;
		max-width: 100% !important;
	}

	/* The design flips some content rows; on a stack the text must always lead. */
	.ladd-cs__text { order: 1; }
	.ladd-cs__media { order: 2; }
	/**
	 * [1] The hero IMAGE leads on mobile, and butts up under the header.
	 *
	 * On a phone the stacked hero opened with four lines of heading before any image; the
	 * photo now sits directly beneath the header's bottom rule, so the section opens on
	 * something to look at. The content sections still lead with their text (above).
	 */
	/* !important because Spectra emits `.wp-block-uagb-container.uagb-block-XXXX
	   { order: initial }` at 0-2-0 inside its own 767px and 976px queries, which lands
	   after this rule and reset the order to 0. */
	.ladd-hero__media { order: 1 !important; }
	.ladd-hero__text { order: 2 !important; }

	/* Nothing between the header rule and the top of the image. */
	.ladd-sec--hero { padding-top: 0 !important; }
	.ladd-hero__media { margin-top: 0 !important; padding-top: 0 !important; }

	/* Stacked hero: the viewport-derived inset no longer applies, use the gutter. */
	.ladd-hero__text {
		padding-left: var(--ladd-gutter) !important;
		padding-right: var(--ladd-gutter) !important;
	}
}

@media (max-width: 767px) {
	.ladd-pa, .ladd-why, .ladd-team { --ladd-per-view: 1; }
	.ladd-card--team { flex: 0 0 auto !important;   /* NOT 100%: in a column flex, basis is HEIGHT */ }

	.ladd-hero__text {
		padding-block: 48px !important;
		padding-left: var(--ladd-gutter-mobile) !important;
		padding-right: var(--ladd-gutter-mobile) !important;
	}
	.ladd-hero__img img { min-height: 260px; }

	.ladd-contact__form { padding: var(--ladd-space-6) !important; }

	.ladd-badges__img img { height: 56px; }

	.ladd-card--pa,
	.ladd-card--why { padding: 28px 24px !important; }
}

/* Nothing on the page may push the document sideways. Belt and braces against a
   Spectra container computing a width wider than its parent. */
.ladd-sec,
.ladd-sec > .uagb-container-inner-blocks-wrap {
	max-width: 100%;
	box-sizing: border-box;
}

/* ============================================================================
   FIDELITY PASS — facts measured off the design that the first build missed.
   Every value here came from getComputedStyle on the design file, not a guess.
   ============================================================================ */

/* ---------------------------------------------------- the accent rule ---- */

/* Measured: 56x4px, #D57534, border-radius 2px, above every content-section
   heading. Centred on cs1 and cs4, flush-left on cs2/cs3/cs5/cs6. */
.ladd-rule {
	display: block;
	width: 56px !important;   /* Spectra forces width:100% on inner-wrap children */
	max-width: 56px !important;
	height: 4px;
	border-radius: 2px;
	background-color: var(--ladd-accent);
	margin: 0 0 var(--ladd-space-6);
	flex: 0 0 auto;
}

.ladd-rule--center { margin-inline: auto; }

/* ------------------------------------- photographic section textures ---- */

/**
 * These grounds are NOT flat colour and NOT a dot pattern: the design lays a heavy
 * colour overlay over a photograph, and the "texture" is the photo showing through.
 *   webinar  rgba(43,43,43,.78)  over the Mobile skyline, cover
 *   cs5      rgba(58,58,58,.78)  over the same photo, cover
 *   cta      rgba(213,117,52,.76) over a family photo, cover, positioned 50% 100%
 * URLs arrive as custom properties from ladd_texture_vars() so no path is hardcoded.
 */
.ladd-sec--photo {
	background-image:
		linear-gradient(rgba(43, 43, 43, .78), rgba(43, 43, 43, .78)),
		var(--ladd-tex-dark) !important;
	background-size: auto, cover !important;
	background-position: 0 0, 50% 50% !important;
	background-repeat: repeat, no-repeat !important;
}

/* cs5 sits on the design's third dark shade, so its overlay is tinted to match. */
.ladd-sec--cs5.ladd-sec--photo {
	background-image:
		linear-gradient(rgba(58, 58, 58, .78), rgba(58, 58, 58, .78)),
		var(--ladd-tex-dark) !important;
}

.ladd-sec--photo-cta {
	background-image:
		linear-gradient(rgba(213, 117, 52, .76), rgba(213, 117, 52, .76)),
		var(--ladd-tex-cta) !important;
	background-size: auto, cover !important;
	background-position: 0 0, 50% 100% !important;
	background-repeat: repeat, no-repeat !important;
}

/* The contact section uses a separate layer at 14% rather than an overlay. */
.ladd-sec--photo-soft { position: relative; }

.ladd-sec--photo-soft::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--ladd-tex-soft);
	background-size: cover;
	background-position: 50% 50%;
	opacity: .14;
	pointer-events: none;
}

.ladd-sec--photo-soft > .uagb-container-inner-blocks-wrap { position: relative; z-index: 1; }

/* -------------------------------------------- centred content bands ---- */

/**
 * cs1 and cs4 are fully centred — rule, heading and copy — and the measure is 800px,
 * not the container's 1120. !important because Spectra's
 *   .uagb-is-root-container .uagb-block-XXXX { max-width:100%; width:100% }
 * lands at 0-3-0; without it both sections ran 120-158px short because the copy filled
 * the full width instead of wrapping at 800.
 */
.ladd-cs--center .ladd-cs__text,
.ladd-cs__text--center {
	align-items: center !important;
	text-align: center;
	max-width: 800px !important;
	width: 100%;
	margin-inline: auto;
}

.ladd-cs__text--center .ladd-h2 .uagb-heading-text,
.ladd-cs__text--center .ladd-cs__body {
	max-width: 800px;
	margin-inline: auto;
}

/* cs1's heading is 44px in the design; every other content band is 42px. */
.ladd-sec--cs1 .ladd-h2 .uagb-heading-text { font-size: 44px; }

.ladd-cs__text--center .ladd-cs__body { text-align: center; }

/* --------------------------------------------- content media styling ---- */

.ladd-cs__img img {
	border-radius: var(--ladd-radius-card);
	box-shadow: var(--ladd-shadow-md);
}

/* ------------------------------------------------- webinar section ---- */

/* Measured: video thumbnail LEFT at 611x344, text right at 453 wide. */
.ladd-webinar {
	align-items: center !important;
	column-gap: 56px !important;
	text-align: left;
}

.ladd-webinar__media { flex: 0 0 55% !important; min-width: 0; }
.ladd-webinar__text { flex: 1 1 45% !important; min-width: 0; }

.ladd-video {
	position: relative;
	display: block;
	width: 100%;
	border-radius: var(--ladd-radius-card);
	overflow: hidden;
	box-shadow: var(--ladd-shadow-md);
}

.ladd-video img {
	display: block;
	width: 100%;
	height: auto;
}

/* Measured: 82px accent disc, white triangle, soft drop shadow. */
.ladd-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background-color: var(--ladd-accent);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
	transition: background-color var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-video:hover .ladd-video__play { background-color: var(--ladd-accent-hover); }

.ladd-webinar__body { margin-bottom: var(--ladd-space-7); }

/* --------------------------------------------- carousel controls ---- */

/* Measured: 52px circle, white fill, 2px accent border, accent-text chevron. */
.ladd-slider-nav {
	display: flex;
	gap: var(--ladd-space-3);
	justify-content: center;
	width: 100%;
	margin-top: var(--ladd-space-8);
}

.ladd-slider-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	background-color: #FFFFFF;
	border: 2px solid var(--ladd-accent);
	border-radius: 50%;
	color: var(--ladd-accent-text);
	cursor: pointer;
	transition:
		background-color var(--ladd-duration-fast) var(--ladd-ease),
		color var(--ladd-duration-fast) var(--ladd-ease),
		opacity var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-slider-btn:hover:not(:disabled) {
	background-color: var(--ladd-accent);
	color: #FFFFFF;
}

.ladd-slider-btn:disabled {
	border-color: var(--ladd-hair);
	color: var(--ladd-alt-brand);
	cursor: not-allowed;
	opacity: .55;
}

/* ------------------------------------------------ CTA band ---- */

/**
 * Measured: content capped at 780px, heading 700 wide, paragraph wrapping to two lines.
 * !important because Spectra's
 *   .uagb-is-root-container .uagb-block-XXXX { max-width:100%; width:100% }
 * lands at 0-3-0 and otherwise stretches this to the full 1120.
 */
.ladd-cta {
	max-width: 780px !important;
	width: 100%;
	margin-inline: auto;
	text-align: center;
	align-items: center !important;
}

.ladd-cta .ladd-h2 .uagb-heading-text {
	max-width: 700px;
	margin-inline: auto;
}

.ladd-cta__body {
	max-width: 700px;
	margin-inline: auto;
	margin-bottom: var(--ladd-space-8);
	text-align: center;
}

/* ------------------------------------------------ why cards ---- */

/* Measured 34px 32px on the design's why card, against 36px 32px on a practice card. */
.ladd-card--why { padding: 34px 32px !important; }

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

@media (max-width: 976px) {
	.ladd-webinar {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}
	.ladd-webinar__media,
	.ladd-webinar__text {
		flex: 0 0 auto !important;
		width: 100% !important;
	}
	.ladd-webinar__media { order: 1; }
	.ladd-webinar__text { order: 2; }
}

@media (max-width: 767px) {
	.ladd-video__play { width: 60px; height: 60px; }
	.ladd-video__play svg { width: 22px; height: 22px; }
}

/* ---------------------------------------------------- [14] blog cards ---- */

/**
 * PLACEHOLDER blog cards, built on the design's own card structure so the section can
 * be reviewed before the 52 posts exist.
 *
 * Measured against the design: card 355x486, image 353x220 full-bleed at the top, body
 * 26px/28px/30px as a flex column with a 10px gap, date 15px/400 #939498, title
 * 22px/600, excerpt 16px/400 #535353, "Read More →" 17px/700 accent-text.
 */
/* The blog strip keeps the hover room but must still measure the design's 926px section
   height, so the padding is cancelled by an equal negative margin rather than removed. */
.ladd-blogs--carousel {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-top: -10px;
	margin-bottom: -10px;
}

.ladd-blogs {
	/* Explicit, not inherited from a Spectra container: the section is now rendered by
	   the [ladd_latest_posts] shortcode into a plain <div>, so nothing else sets this and
	   the three cards stacked full-width without it. */
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	column-gap: var(--ladd-card-gap) !important;
	row-gap: var(--ladd-card-gap) !important;
	width: 100%;
}

.ladd-card--blog {
	flex: 0 0 calc((100% - 2 * var(--ladd-card-gap)) / 3) !important;
	width: auto !important;
	padding: 0 !important;
	overflow: hidden;
	display: flex !important;
	flex-direction: column !important;
}

.ladd-card--blog .ladd-card__media,
.ladd-card--blog .ladd-card__media figure { margin: 0; width: 100%; }

/* The design sizes the card image by aspect ratio, not a fixed height: measured
   352.66 x 220.41 = 16 / 10. Using the ratio keeps it correct at every breakpoint.
   !important beats Spectra's per-block `img { width: px; height: auto }` at 0-3-0. */
.ladd-card--blog .ladd-card__media img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.ladd-blogcard__body {
	padding: 26px 28px 30px !important;
	margin: 0;
	display: flex !important;
	flex-direction: column !important;
	row-gap: 10px !important;
	flex: 1 1 auto;
}

/**
 * Push the CTA to the bottom so cards with a shorter title still line their links up.
 * This has to sit on the FLEX ITEM — the outer .wp-block-uagb-buttons — not on the
 * .wp-block-uagb-buttons-child that carries our .ladd-blogcard__cta class, which is two
 * levels down and not a child of the flex container.
 * With all three design titles running to two lines this is inert; it only engages when
 * real post titles differ in length.
 */
.ladd-blogcard__body > .wp-block-uagb-buttons { margin-top: auto; }

/**
 * Astra ships a long selector list ending in `.entry-content p` that sets
 * `margin-bottom: 1.6em` at 0-2-0, which beat `.ladd-card__date { margin: 0 }` at 0-1-0
 * and added 24px under the date and 25.6px under the excerpt — 49.6px of the 32px the
 * card was overshooting by. !important is beating that rule specifically.
 *
 * Line height is the design's measured 28px, not 1.6 (which renders 24px at 15px).
 */
.ladd-card__date {
	margin: 0 !important;
	font-family: var(--ladd-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 28px;
	color: var(--ladd-alt-brand);
}

/**
 * The shortcode renders a real <h3> around the span, so the heading element's own
 * line-height and margin count toward the card height as well as the span's.
 *
 * `.ladd-card h3` is 0-1-1 and was beating `.ladd-blogcard__title` at 0-1-0, so the h3
 * kept --ladd-lh-h5 and a 12px bottom margin: the title block came out 60.19px instead of
 * 58.06 and pushed the excerpt 12px down. `.ladd-card--blog h3.ladd-blogcard__title` is
 * 0-2-1 and wins cleanly.
 */
.ladd-card--blog h3.ladd-blogcard__title,
.ladd-blogcard__title .uagb-heading-text {
	font-size: 22px;   /* blog card titles are 22px; other cards are 24px */
	line-height: 1.32; /* measured 29.04px at 22px */
	margin: 0;
}

/**
 * Exactly two lines of title, matching the design and the excerpt clamp below.
 *
 * The design's three titles all happen to run to two lines. Real post titles do not: on
 * the /blog/ archive a three-line title made those cards 514.69px against the design's
 * 485.66, so the grid had two different card heights. Clamping holds every card at the
 * design's height whatever the title length.
 */
.ladd-card--blog h3.ladd-blogcard__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* !important for the same Astra `.entry-content p` rule as the date above. */
.ladd-card__excerpt {
	margin: 0 !important;
	font-size: 16px;
	line-height: 1.6;   /* 25.6px, matches the design */
	color: var(--ladd-body);
}

/**
 * Measured on the design's own anchor: `padding: 12px 0 0` (all 12px of the 40px block
 * height sits ABOVE the 28px line box, not split 6/6), display:flex, align-items:center,
 * and an 8px gap between the label and the arrow span.
 */
.ladd-blogcard__cta .wp-block-button__link {
	padding: 12px 0 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 28px;
	color: var(--ladd-accent-text);
	column-gap: 8px;
}

/* The arrow is a flex item so the 8px gap applies; it must not shrink or wrap. */
.ladd-blogcard__cta .wp-block-button__link [aria-hidden] { flex: 0 0 auto; }

/* The shortcode's anchor is a plain <a>, so give it the same box the Spectra button gets:
   a 28px line on 12px of top padding = the design's 40px block. */
.ladd-card--blog .ladd-blogcard__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	padding: 12px 0 0;
	line-height: 28px;
	/* !important beats `.ladd-btns .wp-block-button__link { border: 2px solid transparent
	   !important }`, whose 2px top and bottom made the link box 44px instead of 40. */
	border: 0 !important;
}

/**
 * Exactly two lines of excerpt, as in the design.
 *
 * Trimming to a fixed word count cannot do this reliably — real titles and excerpts vary,
 * and 14 words still wrapped to three lines on most cards. Clamping keeps every card the
 * design's height whatever the copy does, and keeps the three cards' CTAs aligned.
 */
.ladd-card--blog .ladd-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/**
 * Designer pan (see SLOT_PAN in tests/homepage-spec.js for the derivation).
 *
 * ladd-blog-3 is a 706x285 (2.48) photo in a 16/10 frame, so `cover` crops the sides.
 * The design pans it left by 23.62% of the frame, which is object-position 6.92% —
 * centring it instead left a stray hand and a second set of scales in frame.
 *
 * !important beats Spectra's per-block image rule at 0-3-0.
 */
.ladd-pan--ladd-blog-3 img { object-position: 6.92% 50% !important; }

/* ladd-cs2 is panned right by 8.52% of the frame -> object-position 94.10%. This only
   became visible once the 528/420 crop above was applied; before that the image showed
   in full and there was no overflow to pan. */
.ladd-pan--ladd-cs2 img { object-position: 94.10% 50% !important; }

/* ladd-hero is panned left by 9.17% of the frame -> object-position 67.28%. Valid now
   that the hero frame matches the design's 489.59 x 499.63; because the hero frame is
   row-driven rather than a fixed aspect-ratio, this is exact at 1440 and drifts a little
   at other widths (the crop stays far closer to the design than centring it). */
.ladd-pan--ladd-hero img { object-position: 67.28% 50% !important; }

.ladd-blogcard__cta .wp-block-button__link:hover { color: var(--ladd-accent); }

@media (max-width: 1023px) {
	.ladd-card--blog { flex: 0 0 calc((100% - var(--ladd-card-gap)) / 2) !important; }
}

@media (max-width: 767px) {
	.ladd-card--blog { flex: 0 0 100% !important; }
	.ladd-blogcard__body { padding: 22px 24px 26px !important; }
}


/* --------------------------------------------- labelled lists in copy ---- */

/**
 * Added with the client's real homepage copy. The design had no list in a content
 * section, so these arrived unstyled: browser-default disc bullets, a 20px indent, and a
 * 28px line box against the 31.5px the surrounding body copy uses.
 *
 * Bullets match the inner-page prose treatment (accent dot, 26px hanging indent) so the
 * two page types read as one system.
 */
/**
 * !important on padding-left beats Astra's `.entry-content ul, .entry-content ol
 * { padding: revert; padding-left: 20px }` — 0-2-0, and it loads AFTER this file, so a
 * 0-2-0 selector of our own would lose the tie. It added a 20px indent on top of the
 * 26px hanging indent below.
 *
 * The inner-page equivalent needs no !important: `.ladd-pagerow__main
 * ul:not(.gform_fields)` is 0-2-1 and already outranks it.
 */
.ladd-cs__list,
.ladd-webinar__list {
	margin: 0 0 var(--ladd-space-6);
	padding-left: 0 !important;
	list-style: none;
	width: 100%;
}

.ladd-cs__list > li,
.ladd-webinar__list > li {
	position: relative;
	padding-left: 26px;
	margin-bottom: var(--ladd-space-3);
	font-size: var(--ladd-fs-body);
	line-height: 1.75;
	color: var(--ladd-body);
}

.ladd-cs__list > li::before,
.ladd-webinar__list > li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--ladd-accent);
}

/* The label of each item is bolded in the client's copy; give it the heading colour so
   it reads as a term rather than emphasis. */
.ladd-cs__list > li strong {
	color: var(--ladd-headings);
	font-weight: var(--ladd-weight-heading);
}

/* The webinar list sits on the dark band. */
.ladd-sec--dark .ladd-webinar__list > li { color: var(--ladd-footer-text); }

.ladd-webinar__list > li { margin-bottom: var(--ladd-space-2); }

.ladd-webinar__list a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ladd-webinar__list a:hover { color: var(--ladd-accent-text); }

/* In-copy links inside content sections. */
.ladd-cs__body a,
.ladd-cs__list a {
	color: var(--ladd-accent-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ladd-sec--dark .ladd-cs__body a,
.ladd-sec--dark .ladd-cs__list a { color: #E8A87C; }

.ladd-cs__body a:hover,
.ladd-cs__list a:hover { color: var(--ladd-accent); }

/* ------------------------------------------- mobile carousels (<= 767px) ---- */

/**
 * One slide per view, with arrows, for the practice areas, why-choose-us and blog
 * sections on MOBILE ONLY.
 *
 * `flex-direction: row` is the load-bearing declaration. Spectra emits a per-block
 * `.wp-block-uagb-container.uagb-block-XXXX { flex-direction: column; flex-wrap: wrap }`
 * at its mobile breakpoint, and the existing slider rule only forced `flex-wrap: nowrap`
 * — so the track became a COLUMN that could not wrap, i.e. a vertical stack, and
 * carousel.js hid the arrows because nothing overflowed horizontally. All three sections
 * stacked at 390px.
 *
 * The per-slide width comes from --ladd-per-view: 1 (components.css) through the existing
 * derived-width formula, so no card width is hardcoded here.
 *
 * Nothing sets the arrows visible for a specific breakpoint: carousel.js hides the nav
 * whenever the track does not overflow, so they appear on mobile and stay hidden on
 * desktop for the blog strip (three cards, three per view) without a second media query.
 */
/**
 * TABLET (768-1023px): the same flex-direction fix, at the two-per-view the design
 * already intends (components.css sets --ladd-per-view: 2 at <= 1023px).
 *
 * Not part of the mobile-carousel request, but the same Spectra `flex-direction: column`
 * was overriding the track here too, so at 768px the practice-area section rendered as
 * fourteen full-width cards stacked in a column. Restoring the row direction lets the
 * existing two-per-view width apply.
 */
@media (min-width: 768px) and (max-width: 1023px) {
	.ladd-pa,
	.ladd-why {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		align-items: stretch !important;
	}

	.ladd-pa::-webkit-scrollbar,
	.ladd-why::-webkit-scrollbar { display: none; }

	.ladd-pa > .ladd-card,
	.ladd-why > .ladd-card { scroll-snap-align: start; }
}

@media (max-width: 767px) {
	.ladd-pa,
	.ladd-why,
	.ladd-team,
	.ladd-blogs--carousel {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		scrollbar-width: none;
		-ms-overflow-style: none;
		align-items: stretch !important;
	}

	.ladd-pa::-webkit-scrollbar,
	.ladd-why::-webkit-scrollbar,
	.ladd-team::-webkit-scrollbar,
	.ladd-blogs--carousel::-webkit-scrollbar { display: none; }

	/* One card fills the track; the gap is irrelevant at a single slide per view. */
	/* [9] Every team card the full track width — they were 228.6 / 228.6 / 319.8 on a
	   phone, so the first two were noticeably narrower than Holden's. */
	.ladd-pa > .ladd-card,
	.ladd-why > .ladd-card,
	.ladd-team > .ladd-card,
	.ladd-blogs--carousel > .ladd-card {
		flex: 0 0 100% !important;
		width: auto !important;
		scroll-snap-align: start;
	}

	/* Centre the controls under the track on mobile. */
	.ladd-slider-nav { justify-content: center; margin-top: var(--ladd-space-6); }

	/**
	 * The FIRST card must stay reachable.
	 *
	 * .ladd-team carried `justify-content: center` from the desktop 3-up row. On a flex
	 * container that scrolls, centred content overflows BOTH ways and the left overflow is
	 * unreachable — scrollLeft cannot go below 0. Measured: Banks C. Ladd sat at left
	 * -358px with scrollLeft already 0, and the track's max scroll was 378px (one card)
	 * when three cards need ~1106px. He could not be reached by any swipe.
	 *
	 * The practice-area and why-choose-us tracks were already flex-start, which is why
	 * only the team row lost a card.
	 */
	.ladd-pa,
	.ladd-why,
	.ladd-team,
	.ladd-blogs--carousel {
		justify-content: flex-start !important;
	}

	/**
	 * Taller team photos.
	 *
	 * The design's 320px media is a 355x320 crop of a 1500x2100 portrait — at a phone's
	 * card width that shows only the top 65.3% of the photo, so the face fills the frame
	 * edge to edge and reads as cropped. 400px shows 81.6%, close to the 91.4% that
	 * Holden's near-square source already gets, and it is what makes the card bigger.
	 */
	.ladd-card--team .ladd-card__media img {
		height: 400px !important;
	}
}

/* ===================================================== design QA 2026-09-14 ==== */

/**
 * [2] Hairlines above and below the trust indicators.
 * The design rules the badge strip off from the sections either side.
 */
/**
 * [1] Much fainter hairlines.
 *
 * They were rendering at #535353 — nearly body-text dark — because Spectra emits
 * `border-color: inherit` per block at 0-2-0, which beat the colour in the shorthand and
 * left the border inheriting the body colour. Same trap as the card borders
 * (see known-overrides.md), so the colour needs !important, not a different token.
 */
.ladd-sec--badges {
	border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

/**
 * [3, 8] Stop the cards being clipped as they lift on hover.
 *
 * `.ladd-card:hover` raises the card 3px, but `.ladd-track` sets `overflow-x: auto`,
 * and a computed overflow-x of `auto` forces overflow-y to `auto` as well — so the track
 * clips vertically and ate the top of every lifted card. The padding gives the lift room
 * and the negative margin keeps the layout where it was.
 */
/**
 * `.ladd-track` is a Spectra container on the practice-area and why-choose-us sections,
 * and Spectra emits per-block padding for it — so a plain `padding-top` here was
 * discarded while the negative margin still applied, pulling the track UP with no room
 * and clipping the cards harder than before. The blog strip is a plain <div> from the
 * shortcode, which is why it alone worked.
 *
 * Both axes are needed: the card lifts 3px on hover and carries a shadow beneath it, and
 * `overflow-x: auto` forces overflow-y to a clipping value (the spec does not allow one
 * axis to clip while the other stays visible), so the room has to come from padding.
 */
.ladd-track,
.ladd-track.ladd-pa,
.ladd-track.ladd-why {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-top: -10px;
	margin-bottom: -10px;
}

/**
 * [3] The whole practice-area card is clickable.
 *
 * A stretched pseudo-element on the existing "Learn More" anchor, rather than wrapping
 * the card in a second link: the accessible name stays on the real link, there is still
 * only one link per card for a screen reader, and no markup changes.
 */
.ladd-card--pa { position: relative; }

.ladd-card--pa .ladd-btn--ghost .wp-block-button__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Anything the card needs to stay selectable sits above the stretched link. */
.ladd-card--pa > *:not(.ladd-btns) { position: relative; z-index: 2; }

/* The lift should read as one surface now the whole card is the target. */
.ladd-card--pa { cursor: pointer; }

/**
 * [3] Pin the CTA to the bottom of the practice-area card.
 *
 * The cards stretch to the tallest in the row, and the slack was landing BELOW the
 * "Learn More" link — 32.2px of dead space under it on the shorter cards. Pushing the
 * button down puts that slack above it instead, so every card's CTA lines up.
 */
.ladd-card--pa { display: flex !important; flex-direction: column !important; }
.ladd-card--pa .ladd-btns { margin-top: auto; }

/**
 * [7] Round the top corners of the team photos.
 *
 * The card is `border-radius: 10px` but `overflow: visible`, so the photo's square top
 * corners sat proud of the rounded card. Rounding the image rather than clipping the card
 * keeps the hover lift from being cut off (see [3, 8] above).
 */
.ladd-card--team .ladd-card__media img {
	border-top-left-radius: var(--ladd-radius-card);
	border-top-right-radius: var(--ladd-radius-card);
}

/**
 * [5] Tighten the gap between a paragraph and the list that follows it.
 *
 * Measured 46.8px in the cs2 section — the paragraph's 28.8px bottom margin plus the
 * list's own 18px top margin, which read as a break in the middle of one thought.
 */
.ladd-sec p + ul,
.ladd-sec p + ol,
.ladd-prose p + ul,
.ladd-prose p + ol {
	margin-top: 0;
}

.ladd-sec p:has(+ ul),
.ladd-sec p:has(+ ol),
.ladd-prose p:has(+ ul),
.ladd-prose p:has(+ ol) {
	margin-bottom: 14px;
}

/**
 * [6] Let the content-section image fill its column.
 *
 * The 528x420 frame left the image column half empty against a 930px text column once
 * real copy replaced the design's lorem. The image now matches the text column's height,
 * with the 528/420 ratio kept as a floor so short sections still look like the design.
 */
.ladd-cs .ladd-cs__media {
	align-self: stretch;
	display: flex;
	/**
	 * The image sits centred on the text, not pinned to the top.
	 *
	 * The column stretches to the text's full height but the image is capped at 640px
	 * (see below), so the leftover space all fell BELOW the image: measured 898px column
	 * against a 640px image, putting the image's centre 129px above the text's on cs1 and
	 * 33px on cs2. Centring parks the spare space evenly above and below.
	 *
	 * JUSTIFY-CONTENT, not align-items — this container is `flex-direction: column`, so
	 * the vertical axis is the MAIN axis. align-items only moved it horizontally, where it
	 * already filled the width, which is why setting that alone changed nothing.
	 */
	justify-content: center;
}

/* Spectra's image wrappers size to the image, so the stretch has to be carried down the
   whole chain — .ladd-cs__media reached 898px on its own but the figure inside stayed at
   the image's natural 420. */
.ladd-cs .ladd-cs__media > .wp-block-uagb-image,
.ladd-cs .ladd-cs__media figure {
	width: 100%;
	height: 100%;
	display: flex;
	align-self: stretch;
}

/**
 * Capped at 640px.
 *
 * Stretching to the full text-column height (898px on cs2) turned a landscape photo into
 * a portrait sliver — `object-fit: cover` cropped away everything but a shoulder. 640px
 * fills far more of the column than the design's 420 while keeping the source's own
 * proportions recognisable.
 */
.ladd-cs__img img {
	height: 100% !important;
	min-height: 420px;
	max-height: 640px;
	object-fit: cover;
}

.ladd-cs .ladd-cs__media > .wp-block-uagb-image,
.ladd-cs .ladd-cs__media figure { max-height: 640px; }

/**
 * [9] The consultation form's fields lose their outline.
 * Astra/Gravity Forms draw a 1px #C9C5BF border on every control; the design shows the
 * fields as plain filled boxes.
 */
/**
 * No outline stroke on the form controls — but they still have to be findable.
 *
 * Removing the border alone left white fields on a white card: the inputs were there and
 * the right size, but invisible. A soft fill replaces the border as the affordance.
 * !important on the background because Gravity Forms' legacy stylesheet sets white at a
 * higher specificity.
 */
.ladd-sidebarform .gform_wrapper input:not([type='submit']),
.ladd-sidebarform .gform_wrapper select,
.ladd-sidebarform .gform_wrapper textarea,
.ladd-contact .gform_wrapper input:not([type='submit']),
.ladd-contact .gform_wrapper select,
.ladd-contact .gform_wrapper textarea {
	border: 0 !important;
	box-shadow: none !important;
	background-color: #F1EEE9 !important;
}

/**
 * The homepage form's fields take the SAME tinted fill as the sidebar's.
 *
 * An earlier rule here set them white on the assumption the form sat directly on the
 * #F4F2EF band. It does not — it sits inside a WHITE card, so white fields on a white
 * card were completely invisible: the section rendered as labels floating over nothing.
 */

/* Keyboard focus must still be visible once the border is gone. */
.ladd-sidebarform .gform_wrapper :is(input, select, textarea):focus-visible,
.ladd-contact .gform_wrapper :is(input, select, textarea):focus-visible {
	outline: 2px solid var(--ladd-accent);
	outline-offset: 1px;
}

/**
 * [11] The client's practice-area icons.
 *
 * Their SVGs carry their own viewBoxes (48x50 up to 61x51) rather than the designer's
 * 24x24 Lucide grid, so they are sized by the svg element and centred in the badge with
 * preserveAspectRatio rather than being forced to a square.
 */
.ladd-icon--client svg {
	width: 26px;
	height: 26px;
	display: block;
}

/**
 * [4] No border or outline on the homepage contact form card.
 *
 * It was drawing a 1px #535353 frame — again Spectra's `border-color: inherit` resolving
 * to the body colour, which read as a hard black box around the form.
 */
.ladd-contact__form {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

/* ------------------------------- [contact] homepage form, tightened ---------- */

/**
 * The same trim applied to the sidebar form, so the two read alike.
 *
 * The card was 884.7px, most of it empty: four fields at 97.8px each and a 292.4px
 * textarea for a form with five inputs. Labels sat far above their controls and the
 * Case Details box was a void half the height of the card.
 */
.ladd-contact__form { padding: 28px 26px !important; }

.ladd-contact__form .ladd-h3 .uagb-heading-text,
.ladd-contact__form h3 {
	font-size: 22px;
	margin-bottom: 14px;
}

/* GF's `body .gform_legacy_markup_wrapper ul li.gfield { margin-top: 16px }` is what
   actually spaces these, so the `body` prefix is needed to beat it. */
body .ladd-contact .gform_legacy_markup_wrapper ul li.gfield,
.ladd-contact .gform_wrapper .gfield {
	margin-top: 0;
	margin-bottom: 10px;
}

.ladd-contact .gform_wrapper .gfield_label {
	font-size: 14px;
	margin-bottom: 4px;
}

/**
 * The 56px control height comes from this build's own earlier contact-form rule
 * (`.ladd-contact__form .gform_wrapper input[type="text"] … { height: 56px }`), and the
 * padding from Gravity Forms' legacy stylesheet, which lands later in the cascade. Both
 * have to be named explicitly — the shorter selector was being outranked by one and
 * overwritten by the other.
 */
.ladd-contact__form .gform_wrapper input[type='text'],
.ladd-contact__form .gform_wrapper input[type='email'],
.ladd-contact__form .gform_wrapper input[type='tel'],
.ladd-contact__form .gform_wrapper input[type='url'],
.ladd-contact__form .gform_wrapper input[type='number'],
.ladd-contact__form .gform_wrapper select,
.ladd-contact .gform_wrapper input:not([type='submit']),
.ladd-contact .gform_wrapper select {
	font-size: 15px;
	height: 44px !important;
	padding: 0 13px !important;
	line-height: 1.4;
}

.ladd-contact .gform_wrapper textarea {
	font-size: 15px;
	padding: 10px 13px;
	height: 96px !important;
	min-height: 96px;
}

/* Must include .gform_footer — an earlier rule targets that longer selector and would
   otherwise outrank this one (the same trap as the sidebar button). */
.ladd-contact .gform_wrapper .gform_footer input[type='submit'],
.ladd-contact .gform_wrapper input[type='submit'] {
	font-size: 17px;
	padding: 13px 26px;
}

.ladd-contact .gform_wrapper .gform_footer { margin: 16px 0 0; padding: 0; }

/* ============================================ mobile design QA 2026-09-14 ==== */

@media (max-width: 767px) {
	/**
	 * [2,4,7,10,12,14] Content-section headings are far too big on a phone.
	 *
	 * They render at the desktop 42px (44px on cs1) inside a 350px column, so
	 * "Estate Planning That Fits Your Family's Real Life" took four lines of the viewport
	 * before any copy. 30px keeps them clearly dominant over the 32px card-section heads
	 * without eating the screen.
	 */
	.ladd-cs .ladd-h2 .uagb-heading-text,
	.ladd-sec--cs1 .ladd-h2 .uagb-heading-text {
		font-size: 30px !important;
		line-height: 1.22;
	}

	/* The card sections read fine at 32px but come down slightly to keep the hierarchy. */
	.ladd-sec__head .ladd-h2 .uagb-heading-text {
		font-size: 28px !important;
		line-height: 1.25;
	}

	/**
	 * [2,10] Left-align every content section on mobile.
	 *
	 * cs1 and cs4 are the design's centred variants. Centring works at 528px on desktop
	 * but not in a 350px column — the ragged edges made the copy hard to scan — so all six
	 * sections read left on a phone.
	 */
	.ladd-cs .ladd-cs__text,
	.ladd-cs .ladd-cs__text--center,
	.ladd-cs--center .ladd-cs__text,
	.ladd-cs .ladd-cs__body,
	.ladd-cs .ladd-h2 .uagb-heading-text,
	.ladd-cs p,
	.ladd-cs li {
		text-align: left !important;
	}

	/* The accent rule goes with it — it was centred by an auto inline margin. */
	.ladd-cs .ladd-rule,
	.ladd-rule--center {
		margin-inline: 0 !important;
	}

	/**
	 * [6,11,13] Close the gap between a section heading and the content under it.
	 *
	 * Measured 92px on the reviews section, 48px on team and FAQ, 38px on practice areas,
	 * why and blog — desktop spacing that leaves the heading stranded on a phone.
	 */
	.ladd-sec__head { margin-bottom: 22px !important; }

	/**
	 * [3] The practice-area cards' "Learn More" reads left, like the rest of the card.
	 *
	 * ALIGN-ITEMS is the one that matters here. Spectra flips .uagb-buttons__wrap to
	 * `flex-direction: column` at this breakpoint, so justify-content governs the VERTICAL
	 * axis and setting it left the button centred: measured 143.3px against a card text
	 * edge of 45px, i.e. exactly (300 - 103.3) / 2 off. The cross axis is what places it
	 * horizontally, and Spectra sets that to `center`.
	 *
	 * justify-content is kept so the rule also holds if the wrap is row at some width.
	 */
	.ladd-card--pa .ladd-btns,
	.ladd-card--pa .uagb-buttons__wrap {
		align-items: flex-start !important;
		justify-content: flex-start !important;
		text-align: left !important;
	}

	/**
	 * [5] On mobile the video sits between the list and the button.
	 *
	 * The video is a sibling of the whole text column, so `order` alone cannot drop it
	 * BETWEEN two of that column's children. `display: contents` dissolves the text column
	 * for layout only — its eyebrow, heading, list and button become flex items of the row
	 * alongside the video — and then one ordering covers all five. The DOM, and therefore
	 * reading order for assistive tech, is unchanged.
	 */
	.ladd-webinar { flex-direction: column !important; }
	.ladd-webinar__text { display: contents !important; }

	.ladd-webinar__text > .ladd-eyebrow { order: 1 !important; }
	.ladd-webinar__text > .wp-block-uagb-advanced-heading { order: 2 !important; }
	.ladd-webinar__list { order: 3 !important; }
	.ladd-webinar__media { order: 4 !important; }
	.ladd-webinar__text > .wp-block-uagb-buttons { order: 5 !important; }

	/* The video needs its own spacing now that it is not the column's first element. */
	.ladd-webinar__media { margin: 8px 0 24px !important; }

	/* [8] The team photos keep the card's rounded top corners on mobile too. */
	.ladd-card--team,
	.ladd-card--team .ladd-card__media img {
		border-top-left-radius: var(--ladd-radius-card);
		border-top-right-radius: var(--ladd-radius-card);
	}
}

/* ============================================================================
   2026-11-17 REVISION — Claude Design "Homepage-Working-File" (Abbey)
   Full-bleed hero, intro + video, darker bands, reviews card, curved edges.
   Overrides the earlier split-hero rules above by source order; values measured
   off the design at 1440 and 390.
   ============================================================================ */

/* ---- hero: full-bleed photo, centred copy, elliptical foot ---------------- */
.ladd-sec.ladd-sec--hero {
	position: relative;
	min-height: 700px;
	background-color: #2B2B2B !important;
	overflow: hidden;
	/* The design's curve: ellipse(120% 140% at 50% -40%) on the 700px section. */
	clip-path: ellipse(120% 140% at 50% -40%);
	/* The orange band (home.js) is drawn in this gap below the curve. */
	margin-bottom: 28px;
	padding-top: 0 !important;
}

.ladd-sec--hero > .uagb-container-inner-blocks-wrap { position: static; }

.ladd-sec--hero .ladd-hero {
	position: static !important;
	min-height: 700px;
	flex-direction: column !important;
	justify-content: flex-end !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
}

.ladd-sec--hero .ladd-hero__media {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	flex: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	order: 0 !important;
}

.ladd-sec--hero .ladd-hero__media .wp-block-uagb-image,
.ladd-sec--hero .ladd-hero__media figure {
	width: 100%;
	height: 100%;
	margin: 0;
}

.ladd-sec--hero .ladd-hero__img img {
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	object-fit: cover;
	object-position: 50% 40%;
}

/* Design: a vertical scrim, light at the top, heavy under the copy. */
.ladd-sec--hero .ladd-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 30, 30, .12) 0%, rgba(30, 30, 30, .28) 40%, rgba(30, 30, 30, .72) 72%, rgba(30, 30, 30, .86) 100%);
	pointer-events: none;
}

.ladd-sec--hero .ladd-hero__text {
	position: relative;
	z-index: 1;
	flex: none !important;
	width: 100% !important;
	max-width: none !important;
	align-items: center !important;
	text-align: center;
	order: 0 !important;
	padding: 0 max(24px, calc((100vw - 1200px) / 2)) 104px !important;
}

.ladd-sec--hero .ladd-eyebrow {
	color: #FFFFFF;
	margin-bottom: 18px;
}

.ladd-sec--hero .ladd-h1 .uagb-heading-text {
	color: #FFFFFF;
	font-size: clamp(42px, 4.4vw, 66px);
	line-height: 1.18;
	font-weight: 600;
	letter-spacing: -.015em;
	text-align: center !important;
	max-width: none !important;
	margin-bottom: 32px;
}

.ladd-sec--hero .ladd-btns .uagb-buttons__wrap { justify-content: center !important; }

/* "Plan Today." / "Protect Tomorrow." each hold one line on a phone (client request,
   2026-10-22). 8.8 = measured width/size ratio of "Protect Tomorrow." + ~2%. */
@media (max-width: 767px) {
	.ladd-sec--hero .ladd-h1 .uagb-heading-text {
		font-size: min(42px, calc((100vw - 48px) / 8.8));
	}
	.ladd-sec--hero .ladd-hero__text { padding-bottom: 88px !important; }
}

/* The swoosh svgs home.js inserts: 1px boxes (a 0-height svg is never painted) that
   take no space, with the band drawn into the space around them via overflow. */
.ladd-swoosh {
	display: block;
	position: relative;
	z-index: 2;
	width: 100%;
	height: 1px;
	margin: 0 0 -1px;
	overflow: visible;
	color: var(--ladd-accent);
	pointer-events: none;
}

/* ---- every homepage button carries the design's arrow ---------------------- */
/* Filled and on-dark buttons only: the ghost "Learn More" / "View Full Bio" links
   already draw their own arrow. */
.home :is(.ladd-btn--primary, .ladd-btn--on-dark) .uagb-button__link::after {
	content: "\2192";
	display: inline-block;
	margin-left: 10px;
	transition: transform var(--ladd-duration-fast) var(--ladd-ease);
}

.home :is(.ladd-btn--primary, .ladd-btn--on-dark) a:hover .uagb-button__link::after,
.home :is(.ladd-btn--primary, .ladd-btn--on-dark) a:focus-visible .uagb-button__link::after { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
	.home :is(.ladd-btn--primary, .ladd-btn--on-dark) .uagb-button__link::after { transition: none; }
}

/* ---- intro: text left, trusts video right ---------------------------------- */
.ladd-sec--intro .ladd-cs__media { justify-content: center; }

.ladd-cs .ladd-cs__media > figure.ladd-video--inline,
.ladd-video--inline {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
	border-radius: var(--ladd-radius-card);
	overflow: hidden;
	background: #2B2B2B;
	box-shadow: 0 18px 40px rgba(43, 43, 43, .14);
}

.ladd-video__el {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #2B2B2B;
}

/* The overlay is the whole frame; the disc inside it is the svg itself. */
.ladd-video--inline .ladd-video__play {
	position: absolute;
	inset: 0;
	top: 0;
	left: 0;
	transform: none;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(43, 43, 43, .18);
	box-shadow: none;
	cursor: pointer;
}

.ladd-video--inline .ladd-video__play[hidden] { display: none; }

.ladd-video--inline .ladd-video__play svg {
	width: 88px;
	height: 88px;
	padding: 26px 24px 26px 30px;
	box-sizing: border-box;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	background: var(--ladd-accent);
	box-shadow: 0 10px 28px rgba(43, 43, 43, .35);
	transition: transform var(--ladd-duration-fast) var(--ladd-ease), background-color var(--ladd-duration-fast) var(--ladd-ease);
}

.ladd-video--inline .ladd-video__play:hover svg,
.ladd-video--inline .ladd-video__play:focus-visible svg {
	transform: scale(1.08);
	background: var(--ladd-accent-hover);
}

.ladd-video--inline .ladd-video__play:hover { background: rgba(43, 43, 43, .18); }

.ladd-video--inline .ladd-video__play:focus-visible {
	outline: 3px solid var(--ladd-accent-text);
	outline-offset: -3px;
}

@media (max-width: 767px) {
	.ladd-video--inline .ladd-video__play svg { width: 64px; height: 64px; padding: 18px 16px 18px 22px; }
}

/* ---- reviews: white card straddling the dark band --------------------------- */
.ladd-sec.ladd-sec--reviews {
	position: relative;
	background-color: var(--ladd-bg-section-alt) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Top half continues the webinar band above. */
.ladd-sec--reviews::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50%;
	background-color: #2B2B2B;
	background-image: linear-gradient(rgba(43, 43, 43, .78), rgba(43, 43, 43, .78)), var(--ladd-tex-dark);
	background-size: auto, cover;
	background-position: 0 0, 50% 50%;
	background-repeat: repeat, no-repeat;
	pointer-events: none;
}

.ladd-sec--reviews > .uagb-container-inner-blocks-wrap {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(1120px, calc(100% - 2 * var(--ladd-gutter-mobile)));
	max-width: 1120px !important;
	margin-inline: auto;
	padding: 64px 56px !important;
	overflow: hidden;
	background: #FFFFFF;
	border-radius: var(--ladd-radius-card);
	box-shadow: 0 24px 50px rgba(43, 43, 43, .14);
}

/* The firm's mark, ghosted into the card's lower-left corner. */
.ladd-sec--reviews > .uagb-container-inner-blocks-wrap::after {
	content: "";
	position: absolute;
	left: -70px;
	bottom: -70px;
	width: 300px;
	height: 291px;   /* 259 x 251 source */
	background: var(--ladd-mark) center / contain no-repeat;
	opacity: .08;
	pointer-events: none;
}

.ladd-sec--reviews > .uagb-container-inner-blocks-wrap > * { position: relative; z-index: 1; }

@media (max-width: 767px) {
	.ladd-sec--reviews > .uagb-container-inner-blocks-wrap { padding: 44px 22px !important; }
}

/* ---- team: dark band over the Mobile skyline -------------------------------- */
.ladd-sec.ladd-sec--team {
	background-color: #2B2B2B !important;
	background-image: linear-gradient(rgba(43, 43, 43, .84), rgba(43, 43, 43, .84)), var(--ladd-tex-team) !important;
	background-size: auto, cover !important;
	background-position: 0 0, 50% 50% !important;
	background-repeat: repeat, no-repeat !important;
}

.ladd-sec--team .ladd-sec__head .ladd-eyebrow { color: #E8A56C; }

/* The cards stay light on the dark band; undo the band's white text inside them. */
.ladd-sec--team .ladd-card--team { background-color: var(--ladd-bg-section-alt) !important; }

.ladd-sec--dark.ladd-sec--team .ladd-card--team .ladd-h .uagb-heading-text,
.ladd-sec--dark.ladd-sec--team .ladd-card--team :is(h2, h3, h4) { color: var(--ladd-headings); }

.ladd-sec--dark.ladd-sec--team .ladd-card--team p { color: #6B6B6B; }

/* Design: the bio link is accent text (it was heading-dark on the old light band). */
.ladd-sec--team .ladd-card--team .ladd-btn--ghost .wp-block-button__link { color: var(--ladd-accent-text); }

/* ---- Asset Protection now carries the third dark shade ---------------------- */
.ladd-sec--cs4.ladd-sec--photo {
	background-image:
		linear-gradient(rgba(58, 58, 58, .78), rgba(58, 58, 58, .78)),
		var(--ladd-tex-dark) !important;
}

/* ---- Serving Mobile: the county map instead of a photo ---------------------- */
.ladd-cs .ladd-cs__media--map { justify-content: center; }

.ladd-cs .ladd-cs__media--map > figure.ladd-area-map {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0;
}

/* ---- contact: elliptical head under the orange band ------------------------- */
.ladd-sec.ladd-sec--contact { clip-path: ellipse(120% 784px at 50% 784px); }

/* Design: the skyline wash is greyscale at 14%. */
.ladd-sec--contact.ladd-sec--photo-soft::before { filter: grayscale(1); }
