/**
 * Testimonials (v3): page-templates/page-testimonials-v3.php (/testimonials/) and
 * single-testimonial-v3.php (/testimonial/{slug}/).
 *
 * After itransition's quote blocks (a solid quote mark in the accent, the quote, name and
 * role) and its proof sections (metric cards, at a glance figures). The accent and the one CTA
 * tone are magenta (--pill); each service area keeps its own colour (royal, teal, magenta,
 * violet). No gradients; case study art renders at most at its real width and own ratio.
 *
 * Tokens, hero, buttons and links come from v3-base.css; accents, .v3-ocross, .v3-strip and
 * .v3-cardpic from v3-sections.css; the lead form from v3-form.css.
 */

.v3-tm {
	--pill: var(--v3-magenta);
	/* One inner padding for the hero quote card, the area panels and the list rows. */
	--tm-pad: clamp(24px, 2.4vw, 48px);
	/* Rows bleed into the page margin so their text sits on the grid; never more than the margin. */
	--tm-row-x: min(var(--tm-pad), var(--v3-pad));
}

/* ── Section shell and headings ──────────────────────────────────────── */
.acma-v3 .v3-tmsec { padding-block: var(--v3-section); scroll-margin-top: var(--v3-head, 0px); }
.acma-v3 .v3-tmsec.is-white { background: #fff; }
.acma-v3 .v3-tmsec.is-grey, .acma-v3 .v3-tmlead.is-grey .v3-lead { background: var(--v3-surface); }
.acma-v3 .v3-tmband { background: var(--v3-navy); color: #fff; }
.acma-v3 .v3-tmhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 112px); align-items: start; margin-bottom: var(--v3-head-gap); }
.acma-v3 .v3-tmhead__aside { display: grid; gap: 18px; justify-items: start; }
.acma-v3 .v3-tmhead__title { max-width: 22ch; font-size: var(--v3-title-fs); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--v3-ink); text-wrap: balance; }
.acma-v3 .v3-tmhead__lead { max-width: 58ch; padding-top: .4em; font-size: clamp(16px, .3vw + 13px, 21px); line-height: 1.6; color: var(--v3-text); text-wrap: pretty; }
.acma-v3 .v3-tmband .v3-tmhead__title { color: #fff; }
.acma-v3 .v3-tmband .v3-tmhead__lead { color: rgba(255, 255, 255, .82); }

/* Parent theme blockquotes carry an italic face, borders and a quote icon: reset them here. */
.acma-v3.v3-tm blockquote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; quotes: none; }
.acma-v3.v3-tm blockquote::before, .acma-v3.v3-tm blockquote::after { content: none; display: none; }
.acma-v3.v3-tm blockquote p { margin: 0; font-style: normal; }

/* Monogram: the reviewer's initial on a solid tile (no stock portrait). */
.acma-v3 .v3-tmmono { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; }
.acma-v3 .v3-tmmono span { font-size: 20px; font-weight: 700; line-height: 1; }

/* ── Hero: copy beside the featured quote (listing) or the review card (single) ── */
.acma-v3 .v3-tmhero .v3-hero__title { max-width: 18ch; }
.acma-v3 .v3-tmhero .v3-hero__lead { max-width: 56ch; }

.acma-v3 .v3-tmfeat {
	position: relative; z-index: 1; justify-self: end; width: 100%; max-width: 680px; margin: 0;
	padding: var(--tm-pad);
	border-radius: clamp(16px, 1.4vw, 28px);
	background: #fff;
	overflow: hidden;
	box-shadow: 0 40px 80px -48px rgba(14, 22, 34, .35), 0 0 0 1px var(--hero-line, var(--v3-line));
}
/* The quote and its caption are the figure; the review link follows it. No box of its own, so the card's layout is unchanged. */
.acma-v3 .v3-tmfeat__fig { display: contents; }
.acma-v3 .v3-tmfeat::before, .acma-v3 .v3-tmone__figure::before { content: "\201C"; display: block; height: .52em; font-size: clamp(64px, 3vw + 32px, 120px); font-weight: 700; line-height: 1; color: var(--accent); }
.acma-v3 .v3-tmfeat__quote p { margin-top: clamp(10px, 1vw, 18px); font-size: clamp(21px, .8vw + 14px, 34px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--v3-ink); text-wrap: pretty; }
.acma-v3 .v3-tmfeat__who { display: flex; align-items: center; gap: 14px; margin-top: clamp(20px, 2vw, 32px); }
.acma-v3 .v3-tmfeat__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acma-v3 .v3-tmfeat__name { font-size: 17px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-tmfeat__meta { font-size: 16px; line-height: 1.45; color: var(--v3-muted); }
.acma-v3 .v3-tmfeat > .v3-link { margin-top: clamp(18px, 1.6vw, 28px); }

/* Single review: the full quote under the H1. */
.acma-v3 .v3-tmone__figure { max-width: 60ch; margin: clamp(28px, 3vw, 56px) 0 0; }
.acma-v3 .v3-tmone__figure::before { font-size: clamp(56px, 2.4vw + 30px, 96px); }
.acma-v3 .v3-tmone__quote p { font-size: clamp(22px, 1vw + 14px, 40px); font-weight: 500; line-height: 1.38; letter-spacing: -0.015em; color: var(--v3-ink); text-wrap: pretty; }
.acma-v3 .v3-tmone .v3-hero__title { max-width: 24ch; text-wrap: balance; }

/* Navy review card (single): facts and the way to the area's reviews. */
.acma-v3 .v3-tmcard {
	position: relative; z-index: 1; justify-self: end; width: 100%; max-width: 560px;
	padding: var(--tm-pad);
	border-radius: clamp(16px, 1.4vw, 28px);
	background: var(--v3-navy); color: #fff;
	overflow: hidden;
	box-shadow: 0 40px 80px -48px rgba(14, 22, 34, .55);
}
.acma-v3 .v3-tmcard__title { font-size: clamp(20px, .5vw + 15px, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.acma-v3 .v3-tmcard__facts { margin: clamp(14px, 1.2vw, 22px) 0 0; }
.acma-v3 .v3-tmcard__facts > div { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 3fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.acma-v3 .v3-tmcard__facts dt { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.acma-v3 .v3-tmcard__facts dd { margin: 0; font-size: clamp(16px, .2vw + 14px, 19px); font-weight: 600; line-height: 1.45; color: #fff; }
.acma-v3 .v3-tmcard__facts dd a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.acma-v3 .v3-tmcard__facts dd a:is(:hover, :focus-visible) { color: var(--v3-green-on-dark); text-decoration-color: currentColor; }
.acma-v3 .v3-tmcard__more {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: clamp(16px, 1.4vw, 24px); padding: 16px 20px;
	border-radius: 14px; background: rgba(255, 255, 255, .08);
	color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
	transition: background-color .3s, color .3s;
}
.acma-v3 .v3-tmcard__more .v3-arrow { flex: none; width: 20px; height: 20px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-tmcard__more:is(:hover, :focus-visible) { background: var(--accent); color: #fff; }
.acma-v3 .v3-tmcard__more:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }

/* Accent bar: a straight 4px rule across the top, clipped by the radius (an inset shadow curves round the corners). */
.acma-v3 :is(.v3-tmfeat, .v3-tmcard, .v3-tmarea)::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }

/* ── Reviews by service area: a panel per area ───────────────────────── */
.acma-v3 .v3-tmareas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); list-style: none; }
.acma-v3 .v3-tmareas.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acma-v3 .v3-tmareas.is-1 { grid-template-columns: minmax(0, 1fr); }
.acma-v3 .v3-tmarea {
	display: flex; flex-direction: column; gap: clamp(18px, 1.6vw, 28px);
	padding: var(--tm-pad);
	border-radius: clamp(14px, 1.2vw, 24px);
	background: var(--v3-surface);
	position: relative; overflow: hidden;
}
.acma-v3 .is-grey .v3-tmarea { background: #fff; }
.acma-v3 .v3-tmarea__top { display: grid; gap: 10px; }
.acma-v3 .v3-tmarea__count { display: flex; align-items: baseline; gap: 10px; color: var(--accent); }
.acma-v3 .v3-tmarea__count strong { font-size: clamp(44px, 2.4vw + 24px, 96px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.acma-v3 .v3-tmarea__count span { font-size: clamp(16px, .3vw + 13px, 20px); font-weight: 600; color: var(--v3-ink); }
.acma-v3 .v3-tmarea__title { font-size: clamp(22px, .8vw + 14px, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--v3-ink); }
.acma-v3 .v3-tmarea__text { max-width: 56ch; font-size: clamp(16px, .2vw + 13.5px, 19px); line-height: 1.6; color: var(--v3-text); }
.acma-v3 .v3-tmarea__quote { margin: 0; padding-left: clamp(16px, 1.4vw, 24px); border-left: 3px solid var(--accent); }
.acma-v3 .v3-tmarea__quote p { font-size: clamp(17px, .3vw + 14px, 21px); font-weight: 500; line-height: 1.55; color: var(--v3-ink); }
.acma-v3 .v3-tmarea__quote figcaption { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 10px; font-size: 16px; color: var(--v3-muted); }
.acma-v3 .v3-tmarea__name { font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-tmarea__links { display: grid; margin-top: auto; list-style: none; border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-tmarea__links li { border-bottom: 1px solid var(--v3-line); }
.acma-v3 .v3-tmarea__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 4px; color: var(--v3-ink); font-size: clamp(16px, .2vw + 13.5px, 19px); font-weight: 600; text-decoration: none; transition: color .3s; }
.acma-v3 .v3-tmarea__links .v3-arrow { flex: none; width: 18px; height: 18px; color: var(--accent); transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-tmarea__links a:is(:hover, :focus-visible) { color: var(--accent); }
.acma-v3 .v3-tmarea__links a:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }
.acma-v3 .v3-tmarea__go {
	display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: auto;
	min-height: 56px; padding: 0 28px;
	border-radius: 999px; border: 1px solid var(--accent);
	color: var(--accent); font-size: 17px; font-weight: 700; text-decoration: none;
	transition: background-color .3s, color .3s;
}
.acma-v3 .v3-tmarea__go .v3-arrow { width: 18px; height: 18px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-tmarea__go:is(:hover, :focus-visible) { background: var(--accent); color: #fff; }
.acma-v3 .v3-tmarea__go:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }

/* Related case study: a small card with the art at most at its own width. */
.acma-v3 .v3-tmcase { display: grid; grid-template-columns: clamp(110px, 5vw + 60px, 160px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: box-shadow .35s; }
.acma-v3 .is-grey .v3-tmcase { background: var(--v3-surface); box-shadow: none; }
/* Picture and plain tile share one square frame, so paired area cards end on the same line. */
.acma-v3 .v3-tmcase :is(.v3-cardpic, .v3-tmcase__tile) { aspect-ratio: 1; }
.acma-v3 .v3-tmcase .v3-cardpic { border-radius: 10px; }
.acma-v3 .v3-tmcase .v3-cardpic img { width: 100%; height: 100%; margin: 0; object-fit: cover; }
/* Areas without a case study: the same card with a solid tile in the area colour. */
.acma-v3 .v3-tmcase__tile { display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff; }
.acma-v3 .v3-tmcase__tile .v3-arrow { width: 28px; height: 28px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-tmcase.is-plain:is(:hover, :focus-visible) .v3-tmcase__tile .v3-arrow { transform: translateX(5px); }
.acma-v3 .v3-tmcase__text { font-size: 16px; line-height: 1.5; color: var(--v3-text); }
.acma-v3 .v3-tmcase__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.acma-v3 .v3-tmcase__type { font-size: 16px; font-weight: 600; color: var(--v3-muted); }
.acma-v3 .v3-tmcase__title { font-size: clamp(17px, .3vw + 14px, 21px); font-weight: 700; line-height: 1.3; color: var(--v3-ink); transition: color .3s; }
.acma-v3 .v3-tmcase:is(:hover, :focus-visible) { color: var(--v3-ink); box-shadow: 0 0 0 1px var(--accent), 0 18px 36px -26px rgba(7, 26, 51, .35); }
.acma-v3 .v3-tmcase:is(:hover, :focus-visible) .v3-tmcase__title { color: var(--accent); }

/* ── What clients mention most: figures on navy, one colour rule each ── */
.acma-v3 .v3-tmtopics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 2.2vw, 44px); list-style: none; }
.acma-v3 .v3-tmtopics.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acma-v3 .v3-tmtopics.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acma-v3 .v3-tmtopic { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(20px, 1.8vw, 32px); border-top: 4px solid color-mix(in srgb, var(--accent) 70%, #fff); }
.acma-v3 .v3-tmtopic__n { font-size: clamp(44px, 3vw + 20px, 120px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.acma-v3 .v3-tmtopic__of { margin-top: -4px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.acma-v3 .v3-tmtopic__label { font-size: clamp(19px, .6vw + 13px, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.acma-v3 .v3-tmtopic__go { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding: 8px 0; color: var(--v3-green-on-dark); font-size: 16px; font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: color .3s, text-decoration-color .3s; }
.acma-v3 .v3-tmtopic__go .v3-arrow { width: 18px; height: 18px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-tmtopic__go:is(:hover, :focus-visible) { color: #fff; text-decoration-color: currentColor; }
.acma-v3 .v3-tmtopic__go:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }

/* ── Every review: search, filters and a ledger of rows ──────────────── */
.acma-v3 .v3-tmtools { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 16px clamp(20px, 2vw, 40px); align-items: end; margin-bottom: clamp(24px, 2.4vw, 40px); }
.acma-v3 .v3-tmtools[hidden] { display: none; }
.acma-v3 .v3-tmsearch { display: grid; gap: var(--v3-lbl-gap); }
.acma-v3 .v3-tmsearch__label { font-size: var(--v3-lbl-fs); font-weight: 600; line-height: 1.4; color: var(--v3-ink); }
.acma-v3 .v3-tmsearch__field { position: relative; display: block; }
.acma-v3 .v3-tmsearch__field .v3-i { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; z-index: 1; color: var(--v3-muted); pointer-events: none; }
.acma-v3 .v3-tmsearch input {
	box-sizing: border-box; width: 100%; height: var(--v3-fld-h); margin: 0; padding: 0 18px 0 50px;
	border: 1px solid var(--v3-field-line, #c9d0d9); border-radius: 999px;
	background: #fff; color: var(--v3-ink);
	font-family: inherit; font-size: var(--v3-fld-fs); font-weight: 400; line-height: normal;
	box-shadow: none; transition: border-color .3s, box-shadow .3s;
}
.acma-v3 .v3-tmsearch input::placeholder { color: var(--v3-placeholder); opacity: 1; }
.acma-v3 .v3-tmsearch input:hover { border-color: var(--v3-field-hover); }
.acma-v3 .v3-tmsearch input:focus { outline: none; border-color: var(--v3-royal); box-shadow: var(--v3-fld-focus); }
.acma-v3 .v3-tmfilter { display: flex; flex-wrap: wrap; gap: 10px; }
.acma-v3 .v3-tmfilter__btn {
	--accent: var(--v3-navy);
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 8px 10px 8px 18px;
	border: 1px solid var(--v3-line); border-radius: 999px;
	background: #fff; color: var(--v3-ink);
	font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
	transition: background-color .3s, border-color .3s, color .3s;
}
.acma-v3 .v3-tmfilter__btn.is-royal { --accent: var(--v3-royal); }
.acma-v3 .v3-tmfilter__btn.is-violet { --accent: var(--v3-violet); }
.acma-v3 .v3-tmfilter__btn.is-teal { --accent: var(--v3-teal); }
.acma-v3 .v3-tmfilter__btn.is-magenta { --accent: var(--v3-magenta); }
.acma-v3 .v3-tmfilter__n { display: grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, #fff); color: color-mix(in srgb, var(--accent) 82%, #000); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acma-v3 .v3-tmfilter__btn:hover { border-color: var(--accent); color: var(--accent); }
.acma-v3 .v3-tmfilter__btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.acma-v3 .v3-tmfilter__btn[aria-pressed="true"] .v3-tmfilter__n { background: #fff; color: var(--accent); }
.acma-v3 .v3-tmfilter__btn:focus-visible { outline: 3px solid var(--v3-royal); outline-offset: 3px; }
.acma-v3 .v3-tmtools__topic { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 16px; color: var(--v3-text); }
.acma-v3 .v3-tmtools__topic[hidden] { display: none; }
.acma-v3 .v3-tmtools__topic strong { color: var(--v3-ink); }
.acma-v3 .v3-tmtools__clear { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px 6px 12px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; color: var(--v3-ink); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .3s, color .3s; }
.acma-v3 .v3-tmtools__clear .v3-i { width: 16px; height: 16px; }
.acma-v3 .v3-tmtools__clear:is(:hover, :focus-visible) { border-color: var(--v3-magenta); color: var(--v3-magenta); }
.acma-v3 .v3-tmtools__status { grid-column: 1 / -1; font-size: 16px; color: var(--v3-muted); }

.acma-v3 .v3-tmlist { margin-inline: calc(-1 * var(--tm-row-x)); list-style: none; border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-tmrow { border-bottom: 1px solid var(--v3-line); }
.acma-v3 .v3-tmrow[hidden] { display: none; }
.acma-v3 .v3-tmrow__in {
	position: relative; display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 7fr) minmax(150px, 2fr); gap: 16px clamp(20px, 2.4vw, 56px); align-items: start;
	padding: calc(var(--tm-pad) * .75) var(--tm-row-x);
	transition: background-color .3s;
}
.acma-v3 .v3-tmrow__in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--v3-ease-io); }
.acma-v3 .v3-tmrow__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acma-v3 .v3-tmrow__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acma-v3 .v3-tmrow__name { font-size: 17px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-tmrow__meta { font-size: 16px; line-height: 1.45; color: var(--v3-muted); }
.acma-v3 .v3-tmrow__main { display: grid; gap: 8px; min-width: 0; }
.acma-v3 .v3-tmrow__title { font-size: clamp(19px, .45vw + 14px, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--v3-ink); }
.acma-v3 .v3-tmrow__title a { color: inherit; text-decoration: none; }
/* The title link covers the row, so the whole row opens the review. */
.acma-v3 .v3-tmrow__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.acma-v3 .v3-tmrow__title a:focus-visible { outline: none; }
.acma-v3 .v3-tmrow__title a:focus-visible::after { outline: 3px solid var(--v3-royal); outline-offset: -3px; border-radius: 6px; }
.acma-v3 .v3-tmrow__quote p { max-width: 36em; font-size: clamp(16px, .25vw + 13.5px, 20px); line-height: 1.65; color: var(--v3-text); }
.acma-v3 .v3-tmrow__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 16px; height: 100%; }
.acma-v3 .v3-tmtag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, #fff); color: color-mix(in srgb, var(--accent) 82%, #000); font-size: 16px; font-weight: 600; white-space: nowrap; }
.acma-v3 .v3-tmtag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.acma-v3 .v3-tmrow__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--v3-line); color: var(--accent); transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--v3-ease); }
.acma-v3 .v3-tmrow__go .v3-arrow { width: 18px; height: 18px; }
.acma-v3 .v3-tmrow__in:is(:hover, :focus-within) { background: color-mix(in srgb, var(--accent) 4%, #fff); }
.acma-v3 .v3-tmrow__in:is(:hover, :focus-within)::before { transform: scaleY(1); }
.acma-v3 .v3-tmrow__in:is(:hover, :focus-within) .v3-tmrow__title { color: var(--accent); }
.acma-v3 .v3-tmrow__in:is(:hover, :focus-within) .v3-tmrow__go { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(4px); }
.acma-v3 .is-grey .v3-tmrow__in:is(:hover, :focus-within) { background: #fff; }
.v3-js .acma-v3 .v3-tmrow.is-new { animation: v3-tmin .6s var(--v3-ease) both; }
@keyframes v3-tmin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.acma-v3 .v3-tmrow mark { padding: 0 2px; border-radius: 3px; background: var(--v3-highlight); color: var(--v3-ink); }

.acma-v3 .v3-tmempty { padding: clamp(28px, 3vw, 48px) 0; font-size: clamp(16px, .25vw + 13.5px, 20px); color: var(--v3-text); }
.acma-v3 .v3-tmempty[hidden] { display: none; }
.acma-v3 .v3-tmempty__reset { padding: 0; border: 0; background: none; color: var(--v3-blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.acma-v3 .v3-tmempty__reset:is(:hover, :focus-visible) { color: var(--v3-magenta); }
.acma-v3 .v3-tmmore { display: flex; justify-content: center; margin-top: clamp(24px, 2.4vw, 40px); }
.acma-v3 .v3-tmmore[hidden] { display: none; }
/* The base button is drawn for dark bands; on this light band it is outlined in ink and fills with the page colour. */
.acma-v3 .v3-tmmore .v3-btn { gap: 10px; border-color: var(--v3-ink); background: transparent; color: var(--v3-ink); font-family: inherit; cursor: pointer; }
.acma-v3 .v3-tmmore .v3-btn::before { background: var(--accent); }
.acma-v3 .v3-tmmore .v3-btn:is(:hover, :focus-visible) { border-color: var(--accent); color: #fff; }
.acma-v3 .v3-tmmore .v3-i { width: 20px; height: 20px; }

/* ── Single: the work behind the review ──────────────────────────────── */
.acma-v3 .v3-tmwork { display: grid; gap: clamp(16px, 1.6vw, 28px); }
.acma-v3 .v3-tmwork.has-case { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.acma-v3 .v3-tmwork__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 22px); list-style: none; }
.acma-v3 .has-case .v3-tmwork__links, .acma-v3 .v3-tmwork__links.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acma-v3 .v3-tmwork__links.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acma-v3 .has-case .v3-tmwork__links.is-3 { grid-template-columns: minmax(0, 1fr); }
.acma-v3 .is-white .v3-tmwork__links .v3-ocross { background: var(--v3-surface); box-shadow: none; }
.acma-v3.v3-tm .v3-ocross__text { font-size: 16px; line-height: 1.55; }
.acma-v3 .v3-tmwork__case { width: 100%; max-width: min(100%, var(--card-max, 100%)); }
.acma-v3 .v3-tmwork__card { display: flex; flex-direction: column; overflow: hidden; border-radius: clamp(14px, 1.1vw, 20px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: transform .45s var(--v3-ease), box-shadow .35s; }
.acma-v3 .v3-tmwork__card .v3-cardpic { border-bottom: 1px solid var(--v3-line); }
.acma-v3 .v3-tmwork__card:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--v3-line)), 0 22px 44px -28px rgba(7, 26, 51, .38); color: var(--v3-ink); }
.acma-v3 .v3-tmwork__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 1.6vw, 28px); }
.acma-v3 .v3-tmwork__type { font-size: 15px; font-weight: 600; color: var(--v3-muted); }
.acma-v3 .v3-tmwork__title { font-size: clamp(19px, .4vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); transition: color .3s; }
.acma-v3 .v3-tmwork__card:is(:hover, :focus-visible) .v3-tmwork__title { color: var(--accent); }
.acma-v3 .v3-tmwork__text { font-size: 16px; line-height: 1.55; color: var(--v3-text); }

/* ── Single: more reviews from the same area ─────────────────────────── */
.acma-v3 .v3-tmcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 24px); list-style: none; }
.acma-v3 .v3-tmcards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1200px; }
.acma-v3 .v3-tmcards.is-1 { grid-template-columns: minmax(0, 1fr); max-width: 800px; }
.acma-v3 .v3-tmq__in {
	position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
	padding: var(--tm-pad);
	border-radius: clamp(14px, 1.1vw, 20px);
	background: #fff; box-shadow: 0 0 0 1px var(--v3-line);
	transition: transform .45s var(--v3-ease), box-shadow .35s;
}
.acma-v3 .is-white .v3-tmq__in { background: var(--v3-surface); box-shadow: none; }
.acma-v3 .v3-tmq__in::before { content: "\201C"; display: block; height: .5em; font-size: 64px; font-weight: 700; line-height: 1; color: var(--accent); }
.acma-v3 .v3-tmq__title { font-size: clamp(19px, .4vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-tmq__title a { color: inherit; text-decoration: none; }
.acma-v3 .v3-tmq__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.acma-v3 .v3-tmq__title a:focus-visible { outline: none; }
.acma-v3 .v3-tmq__title a:focus-visible::after { outline: 3px solid var(--v3-royal); outline-offset: 3px; }
.acma-v3 .v3-tmq__quote { flex: 1; }
.acma-v3 .v3-tmq__quote p { font-size: clamp(16px, .2vw + 14px, 19px); line-height: 1.65; color: var(--v3-text); }
.acma-v3 .v3-tmq__who { display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.45; color: var(--v3-muted); }
.acma-v3 .v3-tmq__name { font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-tmq__in:is(:hover, :focus-within) { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--v3-line)), 0 22px 44px -30px rgba(7, 26, 51, .35); }
.acma-v3 .v3-tmq__in:is(:hover, :focus-within) .v3-tmq__title { color: var(--accent); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1439.98px) {
	.acma-v3 .v3-tmrow__in { grid-template-columns: minmax(180px, 3fr) minmax(0, 8fr); }
	.acma-v3 .v3-tmrow__end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; height: auto; }
}
@media (max-width: 1279.98px) {
	.acma-v3 .v3-tmtopics, .acma-v3 .v3-tmwork__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-tmareas.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199.98px) {
	.acma-v3 .v3-tmfeat, .acma-v3 .v3-tmcard { justify-self: start; }
	.acma-v3 .v3-tmwork.has-case { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-tmcards > li:nth-child(3):last-child { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
	.acma-v3 .v3-tmareas, .acma-v3 .v3-tmareas.is-3 { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmtools { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmrow__in { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmrow__end { grid-column: auto; }
}
@media (max-width: 767.98px) {
	.acma-v3 .v3-tmhead { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmhead__lead { padding-top: 0; }
	.acma-v3 .v3-tmcards, .acma-v3 .v3-tmcards.is-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
	.acma-v3 .v3-tmtopics, .acma-v3 .v3-tmtopics.is-3, .acma-v3 .v3-tmwork__links, .acma-v3 .v3-tmwork__links.is-2, .acma-v3 .v3-tmwork__links.is-3 { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmcard__facts > div { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-tmarea__go { align-self: stretch; justify-content: center; }
	.acma-v3 .v3-tmcase { grid-template-columns: 96px minmax(0, 1fr); }
	/* Mobile pass 2026-11-19: areas are a snap row (.v3-swipe-sm), topics two per row, and each
	   review shows five lines (its title links to the full review). */
	.acma-v3 .v3-tmtopics, .acma-v3 .v3-tmtopics.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.acma-v3 .v3-tmrow__quote p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Phones: the area chips scroll sideways in one row instead of stacking four deep. */
@media (max-width: 639.98px) {
	.acma-v3 .v3-tmfilter {
		flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
		margin-inline: calc(-1 * var(--v3-pad)); padding: 4px var(--v3-pad); scroll-padding-inline: var(--v3-pad);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--v3-pad), #000 calc(100% - var(--v3-pad)), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 var(--v3-pad), #000 calc(100% - var(--v3-pad)), transparent 100%);
	}
	.acma-v3 .v3-tmfilter::-webkit-scrollbar { display: none; }
	.acma-v3 .v3-tmfilter__btn { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* Very wide screens: cards keep a readable measure. */
@media (min-width: 2400px) {
	.acma-v3 .v3-tmfeat { max-width: 880px; }
	.acma-v3 .v3-tmcard { max-width: 720px; }
}

@media (prefers-reduced-motion: reduce) {
	.acma-v3 :is(.v3-tmrow__in, .acma-v3 .v3-tmrow__in::before, .acma-v3 .v3-tmrow__go, .acma-v3 .v3-tmq__in, .acma-v3 .v3-tmwork__card, .acma-v3 .v3-tmarea__go .v3-arrow, .acma-v3 .v3-tmarea__links .v3-arrow) { transition: none; }
	.acma-v3 :is(.v3-tmq__in, .acma-v3 .v3-tmwork__card, .acma-v3 .v3-tmrow__go):is(:hover, :focus-within, :focus-visible) { transform: none; }
	.v3-js .acma-v3 .v3-tmrow.is-new { animation: none; }
}

/* Translation: tall scripts (Devanagari) need looser leading and normal tracking. */
html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-tmhead__title, .acma-v3 .v3-tmarea__title, .acma-v3 .v3-tmarea__count strong, .acma-v3 .v3-tmtopic__n, .acma-v3 .v3-tmtopic__label, .acma-v3 .v3-tmfeat__quote p, .acma-v3 .v3-tmone__quote p, .acma-v3 .v3-tmrow__title, .acma-v3 .v3-tmq__title, .acma-v3 .v3-tmwork__title, .acma-v3 .v3-tmcard__title) { line-height: 1.45; letter-spacing: normal; }

/* Titles break evenly; paragraphs avoid a lone last word. */
.acma-v3 :is(.v3-tmarea__title, .acma-v3 .v3-tmrow__title, .acma-v3 .v3-tmq__title, .acma-v3 .v3-tmwork__title, .acma-v3 .v3-tmtopic__label) { text-wrap: balance; }
.acma-v3.v3-tm p { text-wrap: pretty; }

/* Focus: royal on light surfaces (base), white on the navy band and the navy review card. */
.acma-v3 :is(.v3-tmband, .v3-tmcard) :is(a, button, [tabindex]):focus-visible { outline-color: #fff; }

/* Figure labels in the hero at body size (the shared label starts at 13px). */
.acma-v3.v3-tm .v3-hstat dt { font-size: clamp(16px, .15vw + 14px, 19px); }

/* The shared form heading breaks evenly on this page ("Tell us about your project"). */
.acma-v3.v3-tm .v3-lead .v3-giant, .acma-v3.v3-tm .v3-section-head__lead { text-wrap: balance; }

/* No lone last word: headings, leads and the large quotes wrap evenly (Chrome balances up to six lines). */
.acma-v3.v3-tm :is(.v3-hero__title, .v3-tmhead__lead, .v3-tmfeat__quote p, .v3-tmone__quote p, .v3-strip__text) { text-wrap: balance; }
