/**
 * Homepage sections (design: design/html/site/index.html inline styles).
 * Hero, services, who we serve, how it works, why choose us, team,
 * testimonials, resources, FAQ. Tokens from theme.json;
 * values the approved consolidation maps to tokens are noted where it
 * matters. Columns use CSS grid so the design's breakpoints (860/1000px)
 * apply instead of core's 782px stacking.
 */

/* stylelint-disable no-descending-specificity --
 * Hover and breakpoint overrides deliberately follow their base rules. */

/* ---------- Shared: section head, button arrows ---------- */

/* Two classes: core's layout rules reset child margins at one class. */
.wp-block-group.ac-section-head {
	margin-bottom: 45px;
}

.ac-section-head .wp-block-heading {
	margin: 17px 0 0;
}

.ac-section-head .ac-section-head__copy {
	max-width: 610px;
	margin: 18px auto 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.77;
}

.ac-section-head .ac-arrow-link {
	margin-top: 20px;
}

/* Arrow glyphs; size and spacing are in style.css (button size). */
.ac-btn-arrow .wp-block-button__link::after {
	content: "→" / "";
}

.ac-btn-arrow-up .wp-block-button__link::after {
	content: "↗" / "";
}

/* The ↗ arrow turns on hover (transform), so it stays inline-block. */
.ac-arrow-link--up::after {
	content: "↗" / "";
	display: inline-block;
	margin-left: 0.28em;
}

.ac-arrow-link a {
	color: inherit;
	text-decoration: none;
}

/* Homepage text links (design index.html .text-link:hover). */
.home .ac-arrow-link:has(> a:hover),
.home .ac-arrow-link a:hover,
.home .wp-block-read-more.ac-arrow-link:hover {
	color: var(--wp--custom--hover--text-link);
}

/* ---------- Hero (design: .hero) ---------- */

.ac-home-hero {
	position: relative;
	border-bottom: 1px solid var(--wp--preset--color--line);
	background:
		radial-gradient(circle at 73% 40%, color-mix(in srgb, var(--wp--preset--color--tint) 55%, transparent), transparent 32%),
		var(--wp--preset--color--white);
	overflow: hidden;
}

.wp-block-columns.ac-home-hero__grid {
	display: grid;
	grid-template-columns: 51% 49%;
	align-items: center;
	min-height: 676px;
	margin-block: 0;
}

.ac-home-hero__content {
	position: relative;
	z-index: 1;
	padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--70);
}

/* The H1 carries the page's focus keyword in the eyebrow position
 * (SEO decision 2026-11-07); it keeps the eyebrow's look, not h1 sizes. */
.ac-home-hero h1.ac-home-hero__h1 {
	margin: 0;
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	line-height: 1.4;
	text-transform: uppercase;
}

/* Visual tagline (a paragraph, not a heading): heading look by hand. */
.ac-home-hero .ac-home-hero__title {
	max-width: 700px;
	margin: 25px auto 28px;
	color: var(--wp--preset--color--ink);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: -0.074em;
	line-height: 1.075;
}

.ac-home-hero .ac-home-hero__intro {
	max-width: 530px;
	margin: 0 auto;
	line-height: 1.85;
}

/* Two by two (the design has one row of four; with the larger US text sizes
 * four don't fit beside the hero art): a compact block centred on the same
 * line as the heading, intro and buttons, each column as wide as its longest
 * feature. */
.ac-home-hero .wp-block-group.ac-home-hero__features {
	grid-template-columns: repeat(2, max-content);
	justify-content: center;
	gap: 20px 56px;
	width: 100%;
	margin: 56px 0 0;
}

.ac-home-hero__feature {
	min-width: 0;
}

.ac-home-hero__feature-icon {
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--blue);
}

.ac-home-hero__feature .ac-home-hero__feature-title {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--label);
	line-height: 1.3;
}

.ac-home-hero__feature .ac-home-hero__feature-note {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.35;
}

/* Design .hero-visual: 600px high, pinned to the top of the hero (beats the
 * column's own is-vertically-aligned-center). */
.wp-block-columns.ac-home-hero__grid > .wp-block-column.ac-home-hero__visual {
	align-self: stretch;
	display: flex;
	align-items: flex-start;
	min-width: 0;
}

/* ---------- Layered artwork (hero, who we serve, why choose us) ----------
 * Each illustration is a background image plus the card(s) the design moves
 * on hover, captured flat by tests/visual/capture-art.mjs --layers. The card
 * gets the design's rotation, shadow and hover transition here.
 * Background images include a 60px transparent margin on every side; width and
 * negative margins are percentages of the artwork's design width, so the
 * margin is removed at any rendered size. Card boxes are percentages of the
 * artwork box (from the capture script's output). */
.wp-block-group.ac-art {
	position: relative;
	width: 100%;
	margin-inline: auto;
}

.wp-block-group.ac-art > .wp-block-image {
	margin: 0;
}

.ac-art .ac-art__bg img {
	max-width: none;
	height: auto;
}

.wp-block-group.ac-art > .ac-art__layer {
	position: absolute;
	z-index: 1;
	margin: 0;
}

.ac-art .ac-art__layer img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: inherit;
}

.wp-block-group.ac-art--hero {
	max-width: 603px;
}

/* Background reaches 35px left and 100px right of the 603px box
 * (tools/art-to-webp.py output). */
.ac-art--hero .ac-art__bg img {
	width: 122.471%;
	margin: 0 -16.667% 0 -5.804%;
}

/* Design: .dash (565px of 603). */
.wp-block-group.ac-art--hero > .ac-art__card {
	top: 11.5%;
	left: 5.638%;
	width: 93.698%;
	border-radius: 3.363% / 3.339%;
	box-shadow: var(--wp--custom--art--hero-shadow);
	transform: rotate(-3deg);
	transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.ac-home-hero__visual:hover .wp-block-group.ac-art--hero > .ac-art__card {
	box-shadow: var(--wp--custom--art--hero-shadow-hover);
	transform: rotate(-1deg) translateY(-6px);
}

/* ---------- Services (design: .services) ---------- */

.ac-home-services .ac-home-services__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 45px;
}

.wp-block-group.ac-service-card {
	align-items: center;
	min-height: 269px;
	padding: 27px 23px 26px;
	border-radius: var(--wp--preset--border-radius--md);
	text-align: center;
}

/* Design .service-card:hover (stronger than the generic card lift). */
.wp-block-group.is-style-card.ac-service-card {
	transition: transform 0.27s, box-shadow 0.27s, border-color 0.27s;
}

.wp-block-group.is-style-card.ac-service-card:hover {
	border-color: var(--wp--custom--hover--service-border);
	box-shadow: var(--wp--custom--hover--service-shadow);
	transform: translateY(-5px);
}

.ac-home-services .ac-section-head .ac-section-head__copy {
	max-width: 680px;
}

/* Round icon tile on service cards (design: .service-card .icon). */
.ac-service-card .wp-block-accountsconfidant-icon.is-style-tile {
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.ac-service-card .ac-service-card__title {
	margin: 22px 0 12px;
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--label);
	letter-spacing: -0.04em;
	line-height: 1.28;
}

.ac-service-card .ac-service-card__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.73;
}

.ac-service-card .ac-arrow-link {
	margin-top: auto;
	padding-top: 12px;
	font-size: var(--wp--preset--font-size--base);
}

/* ---------- Who we serve (design: .who-serve) ---------- */

.ac-home-who {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ac-home-who .ac-section-head .wp-block-heading {
	font-size: var(--wp--preset--font-size--xxx-large);
	letter-spacing: -0.061em;
	line-height: 1.13;
}

.wp-block-columns.ac-home-who__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: 20px;
	margin-block: 0;
}

.ac-home-who__feature {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 524px;
	padding: 37px 0 0;
	border: 1px solid var(--wp--preset--color--line-blue);
	border-radius: var(--wp--preset--border-radius--xl);
	background: var(--wp--preset--gradient--cta);
	overflow: hidden;
}

.ac-home-who__feature .ac-home-who__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	text-transform: uppercase;
}

.ac-home-who__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--gradient--brand);
}

.ac-home-who__feature .ac-home-who__feature-title {
	margin: 17px 42px 11px;
	font-size: var(--wp--preset--font-size--xx-large);
	letter-spacing: -0.055em;
	line-height: 1.12;
}

.ac-home-who__feature .ac-home-who__feature-text {
	max-width: 388px;
	margin: 0 auto;
	padding: 0 24px;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.8;
}

/* Centred between the text and the footer line (design: .who-art). */
.ac-home-who__feature .wp-block-group.ac-art--who {
	max-width: 553px;
	margin-block: auto;
}

/* Rings and glow reach 108px up and 102px down from the 553px box. */
.ac-art--who .ac-art__bg img {
	width: 100%;
	margin: -19.422% 0 -18.519%;
}

/* Design: .who-art-card (310px of 553). */
.wp-block-group.ac-art--who > .ac-art__card {
	top: 12.292%;
	left: 21.993%;
	width: 56.014%;
	border-radius: 5.161% / 8.84%;
	box-shadow: var(--wp--custom--art--who-shadow);
	transform: rotate(-3deg);
	transition: transform 0.35s, box-shadow 0.35s;
}

.ac-home-who__feature:hover .wp-block-group.ac-art--who > .ac-art__card {
	box-shadow: var(--wp--custom--art--who-shadow-hover);
	transform: rotate(0deg) translateY(-4px);
}

.ac-home-who__feature .ac-home-who__feature-footer {
	margin: 0;
	padding: 0 16px 28px;
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--label);
}

.ac-home-who__audiences {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.wp-block-group.ac-audience-card {
	align-items: center;
	padding: 25px 28px 25px 22px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--xl);
	background: var(--wp--preset--color--white);
	transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.wp-block-group.ac-audience-card:hover {
	border-color: var(--wp--custom--hover--audience-border);
	box-shadow: var(--wp--custom--hover--audience-shadow);
	transform: translateY(-2px);
}

.ac-audience-card .ac-audience-card__icon {
	width: 74px;
	height: 74px;
	border-radius: var(--wp--preset--border-radius--xl);
}

.ac-audience-card__copy {
	flex: 1;
	min-width: 0;
}

.ac-audience-card .ac-audience-card__label {
	margin: 0;
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	text-transform: uppercase;
}

.ac-audience-card .ac-audience-card__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: -0.04em;
	line-height: 1.15;
}

.ac-audience-card .ac-audience-card__text {
	max-width: 335px;
	margin: 0 auto;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.58;
}

.ac-home-who__bottom {
	gap: 18px;
	margin-top: 24px;
	font-size: var(--wp--preset--font-size--base);
}

.ac-home-who__bottom p {
	margin: 0;
}

/* Design .who-contact-link:hover (beats the homepage text-link colour). */
.home .ac-home-who__bottom .ac-arrow-link:has(> a:hover),
.home .ac-home-who__bottom .ac-arrow-link a:hover,
.ac-home-who__bottom a:hover {
	color: var(--wp--custom--hover--contact-link);
}

/* ---------- How it works (design: .process-reimagined) ---------- */

.ac-home-process {
	background: linear-gradient(180deg, var(--wp--preset--color--wash) 0%, var(--wp--preset--color--wash) 55%, var(--wp--preset--color--white) 100%);
	overflow: hidden;
}

.ac-home-process .ac-section-head .wp-block-heading {
	margin-top: 18px;
	letter-spacing: -0.07em;
	line-height: 1.06;
}

.wp-block-columns.ac-home-process__bento {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 18px;
	margin-block: 0;
}

.ac-process-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--xl);
	box-shadow: var(--wp--preset--shadow--panel);
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
}

.ac-process-card:hover {
	box-shadow: var(--wp--custom--hover--process-shadow);
	transform: translateY(-4px);
}

.ac-process-card--main {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 490px;
	background: var(--wp--preset--gradient--cta);
}

.ac-process-card__art {
	margin: 0;
}

/* Proportional at every width; the note's shadow reaches 102px below the
 * 560px-wide box (the card clips it, as in the design). */
.ac-process-card__art img {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0 0 -18.214%;
}

.ac-process-card--main .ac-process-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 34px 42px 35px;
	background: color-mix(in srgb, var(--wp--preset--color--white) 64%, transparent);
}

.ac-process-card .ac-process-card__kicker {
	margin: 0;
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	text-transform: uppercase;
}

.ac-process-card .ac-process-card__title {
	margin: 12px 0 10px;

	/* Design 23-29px; derived from x-large rather than a raw size. */
	font-size: clamp(var(--wp--preset--font-size--x-large), 2.25vw, calc(var(--wp--preset--font-size--x-large) * 1.45));
	letter-spacing: -0.052em;
	line-height: 1.17;
}

.ac-process-card .ac-process-card__text {
	max-width: 395px;
	margin: 0 auto;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.75;
}

.ac-home-process__stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 18px;
}

.wp-block-group.ac-process-card--step {
	align-items: center;
	min-height: 236px;
	padding: 26px 25px 26px 22px;
	background: var(--wp--preset--color--white);
}

/* Step artwork: the design's 157x150 box; anything the drawing paints below
 * it (the doc's shadow, 14px) overflows without moving the layout. */
.ac-process-card--step .ac-process-card__step-art {
	flex: none;
	width: 157px;
	height: 150px;
	margin: 0;
}

.ac-process-card--step .ac-process-card__step-art img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
}

.ac-process-card--step .ac-process-card__content {
	flex: 1;
	min-width: 0;
}

.ac-process-card--step .ac-process-card__title {
	font-size: clamp(var(--wp--preset--font-size--x-large), 1.9vw, calc(var(--wp--preset--font-size--x-large) * 1.25));
}

.ac-process-card--step .ac-process-card__text {
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.7;
}

.ac-home-process__footer {
	gap: 13px;
	margin-top: 23px;
	font-size: var(--wp--preset--font-size--base);
}

.ac-home-process__footer .ac-home-process__footer-text {
	margin: 0;
}

/* "Talk to us" (design .process-footer-link): colour change only, no lift. */
.home .ac-home-process__footer .wp-block-button > .wp-block-button__link {
	transition: background 0.2s, border-color 0.2s;
}

.ac-home-process__footer .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--custom--hover--process-link-border);
	background-color: var(--wp--custom--hover--process-link-background);
	box-shadow: none;
	filter: none;
	transform: none;
}

.ac-home-process__footer-text::before {
	content: "✳" / "";
	margin-right: 13px;
	color: var(--wp--preset--color--blue);
	font-size: 19px;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1170px) {

	/* The design scales the art about its centre here, so it sits centred. */
	.wp-block-columns.ac-home-hero__grid > .wp-block-column.ac-home-hero__visual {
		align-items: center;
	}

	.wp-block-columns.ac-home-hero__grid {
		grid-template-columns: 53% 47%;
		min-height: 616px;
	}

	.ac-home-hero .ac-home-hero__intro {
		font-size: var(--wp--preset--font-size--medium);
	}

}

@media (max-width: 1000px) {

	.wp-block-columns.ac-home-who__layout {
		grid-template-columns: 1fr;
		max-width: 660px;
		margin-inline: auto;
	}

	.ac-home-who__feature {
		min-height: 520px;
	}
}

@media (max-width: 920px) {

	.ac-home-process__stack {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.wp-block-group.ac-process-card--step {
		flex-direction: column;
		padding: 18px 20px 25px;
	}
}

@media (max-width: 860px) {

	.ac-process-card--main {
		min-height: 0;
	}

	.wp-block-columns.ac-home-hero__grid,
	.wp-block-columns.ac-home-process__bento {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.ac-home-hero__content {
		padding-block: 72px 17px;
	}

	.ac-home-hero .ac-home-hero__features {
		width: 100%;
		max-width: 100%;
		margin-top: 37px;
	}

	.ac-home-hero__visual {
		justify-content: center;
		padding-block: 8px 40px;
	}

	.ac-home-services .ac-home-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {

	.ac-home-who__feature {
		min-height: 0;
	}

	.ac-home-process__stack {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.wp-block-group.ac-process-card--step {
		flex-direction: row;
		min-height: 0;
		padding: 23px 17px 23px 12px;
	}

	.ac-process-card--step .ac-process-card__step-art {
		width: 110px;
		height: 105px;
	}

	.wp-block-group.ac-audience-card {
		flex-direction: column;
		text-align: center;
	}

	.ac-home-process__footer .wp-block-buttons {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 600px) {

	.ac-home-hero__content {
		padding-block: 55px 10px;
	}

	.ac-home-hero .ac-home-hero__title {
		margin: 23px auto 22px;
		line-height: 1.1;
	}

	/* Full-width stacked buttons (design: .hero-actions on phones). */
	.ac-home-hero .ac-home-hero__actions {
		flex-direction: column;
		gap: 10px;
	}

	.ac-home-hero .ac-home-hero__actions .wp-block-button,
	.ac-home-hero .ac-home-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.ac-home-hero .wp-block-group.ac-home-hero__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 17px 10px;
		margin-top: 36px;
	}

	.wp-block-group.ac-service-card {
		min-height: 247px;
		padding: 20px 17px;
	}

	.ac-process-card--main .ac-process-card__content {
		padding: 28px 20px;
	}
}

@media (max-width: 420px) {

	.wp-block-group.ac-process-card--step {
		flex-direction: column;
		padding: 17px 20px 26px;
	}
}

@media (max-width: 385px) {

	.ac-home-services .ac-home-services__grid {
		grid-template-columns: 1fr;
	}

	.wp-block-group.ac-service-card {
		min-height: 205px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.wp-block-group.ac-audience-card,
	.ac-process-card,
	.wp-block-group.is-style-card.ac-service-card,
	.home .ac-home-process__footer .wp-block-button > .wp-block-button__link,
	.wp-block-group.ac-art > .ac-art__card {
		transition: none;
	}
}

/* ==========================================================================
 * Homepage step 3: why choose us, team, testimonials, resources, FAQ.
 * ========================================================================== */

/* ---------- Why choose us (design: .why-choose) ---------- */

.ac-home-why {
	border-block: 1px solid var(--wp--preset--color--line);
}

.wp-block-group.ac-home-why .ac-section-head {
	margin-bottom: 48px;
}

.ac-home-why .ac-section-head .wp-block-heading,
.ac-home-resources .ac-section-head .wp-block-heading,
.ac-home-faq .ac-section-head .wp-block-heading {
	font-size: var(--wp--preset--font-size--xxx-large);
}

.ac-home-why .ac-section-head .ac-section-head__copy {
	max-width: 600px;
}

.wp-block-columns.ac-home-why__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 62px;
	align-items: center;
	margin-block: 0;
}

/* Artwork 496px wide; the panel clips itself, so nothing reaches outside. */
.ac-art--why .ac-art__bg img {
	width: 100%;
	margin: 0;
}

/* Design: .why-paper (360px of 496), under the .why-float badge. */
.wp-block-group.ac-art--why > .ac-art__card {
	top: 18%;
	left: 13.701%;
	width: 72.599%;
	border-radius: 5.278% / 5.938%;
	box-shadow: var(--wp--custom--art--why-shadow);
	transform: rotate(-3.5deg);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wp-block-group.ac-art--why:hover > .ac-art__card {
	box-shadow: var(--wp--custom--art--why-shadow-hover);
	transform: rotate(-1.1deg) translateY(-3px);
}

.wp-block-group.ac-art--why > .ac-art__float {
	z-index: 2;
	top: 77.8%;
	left: 59.166%;
	width: 37.204%;
	border-radius: 7.047% / 24.074%;
	box-shadow: var(--wp--custom--art--float-shadow);
	transform: rotate(5deg);
}

.ac-home-why__list > .wp-block-group.ac-why-reason {
	margin-block: 0;
	padding: 24px 4px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ac-home-why__list > .wp-block-group.ac-why-reason:first-child {
	padding-top: 0;
}

.ac-home-why__list > .wp-block-group.ac-why-reason:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.ac-why-reason .ac-why-reason__icon {
	flex: none;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: var(--wp--preset--gradient--tint);
}

.ac-why-reason__copy .ac-why-reason__title {
	margin: 1px 0 0;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: -0.035em;
	line-height: 1.3;
}

.ac-why-reason__copy .ac-why-reason__text {
	max-width: 450px;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.72;
}

/* ---------- Shared: team, testimonials, resources, FAQ heads ---------- */

.wp-block-group.ac-home-team .ac-section-head,
.wp-block-group.ac-home-testimonials .ac-section-head {
	margin-bottom: 44px;
}

.ac-home-team .ac-section-head .ac-section-head__copy,
.ac-home-testimonials .ac-section-head .ac-section-head__copy,
.ac-home-resources .ac-section-head .ac-section-head__copy {
	max-width: 640px;
}

/* ---------- Our team (design: .ac-team-added) ---------- */

.ac-home-team {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.wp-block-group.ac-team-card {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	background: var(--wp--preset--color--white);
	transition: transform 0.25s, box-shadow 0.25s;
}

.wp-block-group.ac-team-card:hover {
	box-shadow: var(--wp--custom--hover--team-shadow);
	transform: translateY(-4px);
}

.wp-block-group.ac-team-card__portrait {
	position: relative;
	min-height: 202px;
	overflow: hidden;
	background: linear-gradient(135deg, #eaf5ff 0%, #f3f9ff 48%, #e6f4fa 100%);
}

.ac-team-card:nth-child(2) .ac-team-card__portrait {
	background: linear-gradient(135deg, #eff1ff 0%, #eef8ff 55%, #e6f6ff 100%);
}

.ac-team-card:nth-child(3) .ac-team-card__portrait {
	background: linear-gradient(135deg, #effbf9 0%, #f4faff 60%, #e5f1ff 100%);
}

.ac-team-card__portrait::before,
.ac-team-card__portrait::after {
	content: "";
	position: absolute;
	border: 1px solid rgb(71 135 214 / 13%);
	border-radius: 50%;
}

.ac-team-card__portrait::before {
	top: -95px;
	right: -54px;
	width: 240px;
	height: 240px;
}

.ac-team-card__portrait::after {
	bottom: -113px;
	left: -32px;
	width: 180px;
	height: 180px;
	background: rgb(141 203 255 / 10%);
}

.ac-team-card__portrait .ac-team-card__avatar {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 99px;
	height: 99px;
	border: 1px solid var(--wp--preset--color--line-blue);
	border-radius: 29px;
	background: rgb(255 255 255 / 87%);
	box-shadow: 0 15px 35px rgb(53 104 181 / 9%);
	color: var(--wp--preset--color--blue);
}

.wp-block-group.ac-team-card__body {
	padding: 27px 27px 29px;
}

.ac-team-card__body .ac-team-card__label,
.ac-quote-card .ac-quote-card__tag,
.ac-resource-card__body .ac-resource-card__type {
	margin: 0;
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--tiny);
	font-weight: var(--wp--custom--font-weight--heading);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	text-transform: uppercase;
}

.ac-team-card__body .ac-team-card__title {
	margin: 11px 0 9px;
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: var(--wp--custom--letter-spacing--snug);
}

.ac-team-card__body .ac-team-card__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.74;
}

/* ---------- Testimonials (design: .ac-testimonials-added) ---------- */

.ac-home-testimonials {
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: linear-gradient(180deg, var(--wp--preset--color--wash) 0%, #f5f9ff 100%);
}

/* Centre an incomplete last row (5 testimonials): flex instead of the grid. */
.wp-block-post-template.ac-home-testimonials__grid.is-layout-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.ac-home-testimonials__grid > li {
	display: flex;
	flex: 0 1 calc((100% - 36px) / 3);
}

.wp-block-group.ac-quote-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 235px;
	padding: 30px 29px 28px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 19px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 9px 29px rgb(48 94 160 / 4%);
}

/* Quote mark left, tag right (design: .ac-testimonials-added-quote). */
.ac-quote-card .ac-quote-card__tag {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 17px;
	letter-spacing: 0.1em;
}

.ac-quote-card__tag::before {
	content: "“" / "";
	height: 36px;
	color: #9dc6fd;
	font: 700 61px/0.7 Georgia, serif;
	letter-spacing: 0;
}

.ac-quote-card .ac-quote-card__quote {
	flex: 1;
	margin: 0 0 24px;
	color: var(--wp--preset--color--body);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.85;
}

.ac-quote-card__quote .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.ac-quote-card .ac-quote-card__name {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--label);
	letter-spacing: 0;
	line-height: 1.4;
}

.ac-quote-card__name::before {
	content: "✓" / "";
	display: grid;
	flex: none;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--medium);
}

.ac-home-testimonials .ac-home-testimonials__more {
	margin-top: 34px;
}

/* ---------- Resources (design: .resources) ---------- */

.wp-block-group.ac-home-resources .ac-section-head {
	margin-bottom: 40px;
}

.wp-block-group.ac-resource-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--white);
	transition: transform 0.25s, box-shadow 0.25s;
}

.wp-block-group.ac-resource-card:hover {
	box-shadow: var(--wp--custom--hover--resource-shadow);
	transform: translateY(-4px);
}

/* The title link covers the card; show its focus ring on the card. */
.wp-block-group.ac-resource-card:has(a:focus-visible) {
	outline: 3px solid var(--wp--custom--focus-ring);
	outline-offset: 4px;
}

.ac-resource-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ac-resource-card__title a:focus-visible {
	outline: none;
}

.ac-resource-card .ac-resource-card__art {
	overflow: hidden;
	height: 143px;
	margin: 0;
	background: #edf4fb;
}

.ac-resource-card .ac-resource-card__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wp-block-group.ac-resource-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 18px 22px;
}

.ac-resource-card__body .ac-resource-card__type {
	color: var(--wp--preset--color--blue);
}

.ac-resource-card__body .ac-resource-card__title {
	margin: 10px 0;
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: var(--wp--custom--letter-spacing--snug);
	line-height: 1.34;
}

.ac-resource-card__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.ac-resource-card__body .ac-resource-card__text {
	margin: 0 0 17px;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.66;
}

.ac-resource-card__body .ac-resource-card__more {
	margin: auto 0 0;
	color: var(--wp--preset--color--blue);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--label);
}

.ac-resource-card__more::after {
	content: "\00a0→" / "";
}

/* ---------- FAQ (design: .faq) ---------- */

.ac-home-faq {
	border-top: 1px solid var(--wp--preset--color--line);
	background: linear-gradient(180deg, var(--wp--preset--color--wash) 0%, var(--wp--preset--color--white) 90%);
}

.wp-block-group.ac-home-faq .ac-section-head {
	margin-bottom: 46px;
}

.ac-home-faq .ac-section-head .ac-section-head__copy {
	max-width: 570px;
}

.ac-home-faq__list > .wp-block-details.ac-faq-item {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 15px;
	background: var(--wp--preset--color--white);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ac-home-faq__list > .wp-block-details.ac-faq-item:hover {
	border-color: var(--wp--custom--hover--faq-border);
}

.ac-home-faq__list > .wp-block-details.ac-faq-item[open] {
	border-color: #cfe0fc;
	box-shadow: 0 14px 32px rgb(64 105 166 / 6.5%);
}

.ac-faq-item > summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 25px 27px 25px 29px;
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--label);
	letter-spacing: -0.025em;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}

.ac-faq-item > summary::-webkit-details-marker {
	display: none;
}

.ac-faq-item > summary:focus-visible {
	outline-offset: -4px;
}

/* Plus/minus toggle (design: .faq-toggle). ::after is the circle with the
 * horizontal bar; ::before is the second bar, upright when closed, turning flat
 * (a minus) when open, with the design's .25s transitions. The summary is
 * position: relative (above) so ::before sits over the circle. */
.ac-faq-item > summary::after {
	content: "";
	flex: none;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background:
		linear-gradient(currentcolor, currentcolor) center / 12px 1.8px no-repeat,
		var(--wp--preset--color--tint);
	color: var(--wp--preset--color--blue);
	transition: background-color 0.25s;
}

.ac-faq-item > summary::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(27px + 9.5px);
	width: 12px;
	height: 1.8px;
	margin-top: -0.9px;
	border-radius: 2px;
	background: var(--wp--preset--color--blue);
	transform: rotate(90deg);
	transition: transform 0.25s;
}

.ac-faq-item[open] > summary::after {
	background-color: #dfefff;
}

.ac-faq-item[open] > summary::before {
	transform: rotate(0deg);
}

/* Smooth open and close (same as the faq-list block): the answer slot animates its height
 * from 0 to auto and fades; browsers without height interpolation fade/slide the answer in. */
.wp-block-details.ac-faq-item {
	interpolate-size: allow-keywords;
}

.wp-block-details.ac-faq-item::details-content {
	block-size: 0;
	overflow-y: clip;
	opacity: 0;
	transition:
		block-size 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		content-visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1) allow-discrete;
}

.wp-block-details.ac-faq-item[open]::details-content {
	block-size: auto;
	opacity: 1;
}

@keyframes ac-faq-reveal {

	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@supports not (interpolate-size: allow-keywords) {

	.wp-block-details.ac-faq-item[open] > :not(summary) {
		animation: ac-faq-reveal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
}

.ac-faq-item .ac-faq-item__answer {
	max-width: 760px;
	margin: 0;
	padding: 0 75px 25px 29px;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.82;
}

.ac-home-faq .ac-home-faq__footer {
	margin-top: 0;
	padding-top: 34px;
	font-size: var(--wp--preset--font-size--medium);
}

.ac-faq-item__answer a,
.ac-home-faq__footer a {
	color: var(--wp--preset--color--blue);
	font-weight: var(--wp--custom--font-weight--label);
	text-decoration: underline;
	text-decoration-color: #a5c8ff;
	text-underline-offset: 4px;
}

/* ---------- Case studies (old homepage strip) ---------- */

.ac-home-cases {
	border-top: 1px solid var(--wp--preset--color--line);
}

.wp-block-group.ac-home-cases .ac-section-head {
	margin-bottom: 44px;
}

.ac-home-cases .ac-section-head .ac-section-head__copy {
	max-width: 640px;
}

.ac-home-cases__grid > li {
	display: flex;
}

.ac-home-cases__grid .ac-case-card {
	flex: 1;
}

.ac-home-cases__grid .ac-case-card .wp-block-post-title {
	margin-bottom: 16px;
	letter-spacing: var(--wp--custom--letter-spacing--snug);
	line-height: 1.3;
}

/* ---------- Latest guides (old homepage "Recent Post") ---------- */

.wp-block-group.ac-home-latest {
	margin-top: 48px;
	padding-top: 36px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ac-home-latest .ac-home-latest__title {
	margin: 0 0 20px;
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: var(--wp--custom--letter-spacing--snug);
}

.wp-block-group.ac-latest-item {
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--md);
	background: var(--wp--preset--color--wash);
}

.ac-latest-item .ac-latest-item__date {
	color: var(--wp--preset--color--label);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--label);
}

.ac-latest-item .ac-latest-item__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--label);
	letter-spacing: 0;
	line-height: 1.45;
}

.ac-latest-item__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.ac-latest-item__title a:hover {
	color: var(--wp--preset--color--blue);
}

/* ---------- Contact (design: .contact-section / .contact-panel) ---------- */

.wp-block-group.ac-contact-panel {
	position: relative;
	overflow: hidden;
	padding: 53px 50px;
	border-radius: 21px;
	background: linear-gradient(112deg, #ecf5ff 0%, #f3faff 47%, #e6f4ff 100%);
}

.ac-contact-panel::before {
	content: "";
	position: absolute;
	top: -130px;
	left: -140px;
	width: 520px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(148 212 255 / 30%), transparent);
	pointer-events: none;
}

.ac-contact-panel > * {
	position: relative;
}

.ac-contact-panel .ac-contact-panel__title {
	margin: 17px auto 0;
	font-size: var(--wp--preset--font-size--xxx-large);
}

.ac-contact-panel .ac-contact-panel__copy {
	max-width: 660px;
	margin: 18px auto 26px;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.82;
}

.ac-contact-panel__copy strong {
	color: var(--wp--preset--color--ink);
}

/* Contact Form 7 form (form "Homepage consultation"; html_class ac-form). */
.ac-contact-panel .wpcf7 {
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}

.ac-form {
	display: grid;
	gap: 10px;
	text-align: left;
}

.ac-form > p {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ac-form__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* CF7 auto-paragraph wraps each pair in a <p>: take it out of the layout. */
.ac-form .ac-form__pair > p {
	display: contents;
}

.ac-form p {
	margin: 0;
}

.ac-form__field {
	display: block;
}

.ac-form .wpcf7-form-control-wrap {
	display: block;
}

.ac-form .wpcf7-form-control:not(.wpcf7-submit) {
	box-sizing: border-box;
	width: 100%;
	min-height: 45px;
	padding: 13px 14px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
}

.ac-form .wpcf7-form-control::placeholder {
	color: var(--wp--preset--color--muted);
}

/* Selects match the inputs: own chevron, grey until a choice is made. */
.ac-form select.wpcf7-form-control {
	padding-right: 40px;
	background: var(--wp--preset--color--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23516f93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
	appearance: none;
	cursor: pointer;
}

.ac-form select.wpcf7-form-control:has(option[value=""]:checked) {
	color: var(--wp--preset--color--muted);
}

/* CF7's auto-paragraph can leave a <br> between a field and the button. */
.ac-form br {
	display: none;
}

.ac-form textarea.wpcf7-form-control {
	height: 110px;
	min-height: 67px;
	resize: vertical;
}

.ac-form .wpcf7-form-control:focus-visible {
	border-color: var(--wp--preset--color--blue);
	outline: 3px solid var(--wp--custom--focus-ring);
	outline-offset: 1px;
}

/* Submit: an <input>, so the design's arrow is a background image.
 * Design .contact-form .button: 44px high, 0 23px. */
.ac-form .wpcf7-submit {
	width: 100%;
	min-height: 44px;
	padding: 0 23px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--sm);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") calc(50% + 115px) 50% / 18px no-repeat,
		var(--wp--preset--gradient--brand);
	box-shadow: var(--wp--preset--shadow--button);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--base);
	font-weight: var(--wp--custom--font-weight--label);
	cursor: pointer;
}

/* Lift and transition: style.css (with the other buttons). */
.ac-form .wpcf7-submit:hover {
	box-shadow: var(--wp--custom--button-shadow-hover);
}

.ac-form .wpcf7-spinner {
	margin: 8px auto 0;
}

.ac-form .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: var(--wp--preset--font-size--x-small);
}

.ac-form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

.ac-contact-panel .ac-contact-panel__note {
	margin: 14px auto 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.ac-contact-panel .ac-contact-panel__direct {
	margin: 18px auto 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--medium);
}

.ac-contact-panel__direct a {
	color: var(--wp--preset--color--blue);
	white-space: nowrap;
	font-weight: var(--wp--custom--font-weight--label);
	text-decoration: none;
}

.ac-contact-panel__direct a:hover {
	text-decoration: underline;
}

/* Visually hidden form labels (core's class; defined here in case the
 * front end doesn't load it). */
.ac-form .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------- Step 3 breakpoints ---------- */

@media (max-width: 1024px) {

	.wp-block-columns.ac-home-why__layout {
		gap: 36px;
	}
}

@media (max-width: 900px) {

	.wp-block-group.ac-home-team__grid.is-layout-grid,
	.wp-block-post-template.ac-home-cases__grid.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ac-home-testimonials__grid > li {
		flex-basis: calc((100% - 18px) / 2);
	}

	.wp-block-post-template.ac-home-latest__list.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ac-home-team__grid > .ac-team-card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {

	.wp-block-columns.ac-home-why__layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ac-home-why__list > .wp-block-group.ac-why-reason {
		gap: 15px;
		padding: 20px 2px;
	}

	.ac-why-reason .ac-why-reason__icon {
		width: 43px;
		height: 43px;
		border-radius: 13px;
	}

	.ac-why-reason__copy .ac-why-reason__title {
		font-size: var(--wp--preset--font-size--large);
	}

	.ac-faq-item > summary {
		gap: 14px;
		padding: 19px 16px;
		font-size: var(--wp--preset--font-size--medium);
	}

	.ac-faq-item > summary::after {
		width: 29px;
		height: 29px;
	}

	.ac-faq-item > summary::before {
		right: calc(16px + 8.5px);
	}

	.ac-faq-item .ac-faq-item__answer {
		padding: 0 16px 20px;
	}
}

@media (max-width: 600px) {

	.ac-home-testimonials__grid > li {
		flex-basis: 100%;
	}

	.wp-block-group.ac-home-team__grid.is-layout-grid,
	.wp-block-post-template.ac-home-cases__grid.is-layout-grid,
	.wp-block-group.ac-home-resources__grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ac-home-team__grid > .ac-team-card:last-child {
		grid-column: auto;
	}

	.wp-block-group.ac-contact-panel {
		padding: 33px 22px;
	}

	.ac-form__pair {
		grid-template-columns: 1fr;
	}

	.wp-block-group.ac-team-card__portrait {
		min-height: 170px;
	}

	.wp-block-group.ac-team-card__body {
		padding: 23px 23px 25px;
	}

	.wp-block-group.ac-quote-card {
		min-height: 0;
		padding: 26px 24px;
	}

	.ac-resource-card .ac-resource-card__art {
		height: 190px;
	}

	.wp-block-group.ac-resource-card__body {
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.wp-block-group.ac-team-card,
	.wp-block-group.ac-resource-card,
	.ac-home-faq__list > .wp-block-details.ac-faq-item,
	.ac-faq-item > summary::before,
	.ac-faq-item > summary::after,
	.wp-block-details.ac-faq-item::details-content {
		transition: none;
	}

	.wp-block-details.ac-faq-item[open] > :not(summary) {
		animation: none;
	}

	.wp-block-group.ac-team-card:hover,
	.wp-block-group.ac-resource-card:hover {
		transform: none;
	}
}

/* ==========================================================================
 * Homepage consistency pass (user: "go ahead", 2026-11-10; mapping.md).
 * ========================================================================== */

/* Card text is left-aligned (section heads stay centred). The two large art
 * panels ("Small Businesses", "We listen before we suggest") stay centred as
 * showcases. */
.home .wp-block-group.is-style-card.ac-service-card,
.home .wp-block-group.ac-audience-card,
.home .ac-audience-card .has-text-align-center,
.home .ac-why-reason .has-text-align-center,
.home .ac-team-card .has-text-align-center,
.home .ac-resource-card .has-text-align-center,
.home .ac-process-card--step .has-text-align-center {
	text-align: left;
}

.home .ac-audience-card .ac-audience-card__text {
	margin: 0;
}

/* Phones stack the icon above the text: keep it at the left edge too. */
@media (max-width: 860px) {

	.home .wp-block-group.ac-audience-card {
		align-items: flex-start;
	}
}

/* Two corner radii: cards 18px (lg), large panels 22px (xl). */
.home .wp-block-group.is-style-card.ac-service-card,
.home .wp-block-group.ac-audience-card,
.home .wp-block-group.ac-team-card,
.home .ac-quote-card,
.home .ac-case-card,
.home .wp-block-group.ac-resource-card,
.home .ac-home-faq__list > .wp-block-details.ac-faq-item,
.home .ac-latest-item {
	border-radius: var(--wp--preset--border-radius--lg);
}

.home .ac-home-who__feature,
.home .ac-process-card {
	border-radius: var(--wp--preset--border-radius--xl);
}

/* The lines under the audience and process cards get the same breathing
 * room as other section footers. */
.home .ac-home-who__bottom,
.home .ac-home-process__footer {
	margin-top: 40px;
}

/* Alternating backgrounds down the page, white and tint (Why choose us and
 * Resources are tinted through their block settings). */
.home .wp-block-group.ac-home-who {
	background: var(--wp--preset--color--wash);
}

.home .wp-block-group.ac-home-process,
.home .wp-block-group.ac-home-faq {
	background: var(--wp--preset--color--white);
}

/* One size for arrow links in cards. */
.home .ac-resource-card__body .ac-resource-card__more {
	font-size: var(--wp--preset--font-size--base);
}

/* Phones: the hero eyebrow wraps to two lines, so its short rule sits above
 * the text instead of stranded at the left edge. */
@media (max-width: 600px) {

	.home .ac-home-hero .is-style-eyebrow {
		flex-direction: column;
		gap: 10px;
	}
}
