/**
 * v3 design system — shared by every v3 page (home, services, and the page
 * templates that follow). Tokens, local reset, layout primitives, reveal and
 * title effects, links and buttons, the hero component, section heading, FAQ,
 * keyframes and the translation-safe type layer.
 *
 * Page stylesheets (home-v3.css, services-v3.css) load after this file and hold
 * only their own sections.
 *
 * Sizes are px / vw / clamp(), not rem (the legacy root of 10px is gone since phase 2 of the
 * theme move, but px keeps every size independent of the root).
 */

/* ── Tokens ───────────────────────────────────────────────────────────── */
/* Status, on-dark and field tokens sit on :root so components outside main.acma-v3 (call back,
   newsletter, brochure gate, consent, site search) can use them too. */
:root {
	--v3-warning:      #7a5600;   /* amber text and fills on light, 6.7:1 on white */
	--v3-warning-line: #e7cf86;   /* borders and rings of warning notes */
	--v3-warning-bg:   #fff8e5;   /* pale amber background of warning notes */
	--v3-danger:       #b42318;   /* error text and marks, 6.6:1 on white */
	--v3-danger-bg:    #f9eded;   /* pale red background of error notes */
	--v3-royal-on-dark:   #8fb3ff; /* 8.4:1 on navy */
	--v3-teal-on-dark:    #2fc4cf; /* 8.2:1 on navy */
	--v3-violet-on-dark:  #a99bf0; /* 7.2:1 on navy */
	--v3-magenta-on-dark: #ff5fa8; /* 6.2:1 on navy */
	--v3-field-hover: #9aa5b2;    /* field, option and checkbox border on hover */
	--v3-highlight:   #fde68a;    /* search match highlight behind ink text */
	--v3-green-text:  #3d7309;    /* green read on light (5.8:1 on white); never the logo green as text */
	/* Field system: every form and search field on the site (DESIGN.md, Forms). */
	--v3-field-line:  #c9d0d9;     /* form field, select and pill borders (lead form and call-back dialog) */
	--v3-fld-h:       clamp(52px, .4vw + 50px, 60px);   /* text inputs, selects, search fields */
	--v3-chip-h:      clamp(44px, .4vw + 42px, 52px);   /* radio chips and the compact currency control */
	--v3-fld-fs:      clamp(16px, .1vw + 14.4px, 18px); /* typed text; 16px minimum stops iOS zoom */
	--v3-lbl-fs:      clamp(15px, .1vw + 13.6px, 17px); /* labels, legends and chip text, 600 ink */
	--v3-lbl-gap:     clamp(10px, .1vw + 8.6px, 12px);  /* label or legend to its field or chips */
	--v3-q-gap:       clamp(20px, .8vw + 14px, 32px);   /* question to question */
	--v3-chip-gap:    10px;
	--v3-fld-r:       12px;
	--v3-placeholder: #6b7683;                          /* 4.6:1 on white, clearly lighter than typed ink */
	--v3-fld-focus:   0 0 0 1px #005f9f, 0 0 0 5px rgba(0, 95, 159, .16); /* 2px royal ring, 6.7:1 */
	--v3-fld-invalid: 0 0 0 1px #b42318;                /* 2px danger ring with the danger border */
}
.acma-v3 {
	--v3-navy:   #071a33;
	--v3-navy-2: #0a2647;
	--v3-night:  #040d1c;
	--v3-blue:   #005f9f;   /* logo blue, 6.7:1 on white */
	--v3-blue-2: #004a7c;   /* hover / pressed, 9.3:1 on white */
	--v3-green:  #7ab242;   /* logo green, never as text on white (2.5:1) */
	--v3-green-on-dark: #9bdc52;
	--v3-ink:    #0e1622;
	--v3-text:   #3f4a57;   /* 8.9:1 on white */
	--v3-muted:  #5f6b78;   /* 5.6:1 on white */
	--v3-line:   #dde2e8;
	--v3-surface:#f3f5f8;
	/* Extended solid palette — used for tiles, accents and numbering. Never mixed
	   into gradients. Each passes 4.5:1 with white text. */
	--v3-royal:   #005f9f;   /* logo blue since the 2026-11 logo switch (was #1d4ed8); same value as --v3-blue */
	--v3-violet:  #5b3fc4;
	--v3-teal:    #0d737c;
	--v3-magenta: #b4236b;
	--v3-amber:   #f5b301;   /* on dark only, never as text on white */
	/* Accent rule colour. Kept as a one-colour 'gradient' so every rule that
	   uses it as a background still works — the design uses no colour gradients. */
	--v3-grad:   linear-gradient(#005f9f, #005f9f);

	--v3-max: 1760px;
	--v3-pad: clamp(16px, 5.5vw, 104px);
	/* Two section rhythms only: the default, and a compact one for content-dense pages
	   (work, projects, case studies, before and after, videos, sitemap groups). Shared closing
	   components (the lead form) always keep the default. */
	--v3-section-base: clamp(48px, 9vw, 176px);
	--v3-section-sm: clamp(40px, 5.2vw, 104px);
	/* Title to content gap and phone-only helpers (mobile pass 2026-11-19: floors only, desktop from 1000px unchanged). */
	--v3-head-gap: clamp(24px, 4vw, 72px);
	--v3-meta-fs: 14px;
	--v3-tap: 44px;
	--v3-title-fs: clamp(26px, 1.5vw + 18px, 60px); /* Section title (inner h2): one size for every band heading. */
	--v3-section: var(--v3-section-base);
	--v3-body: clamp(16px, 0.2vw + 13.5px, 19px);
	--v3-giant: clamp(44px, 4.2vw + 14px, 128px);
	--v3-ease: cubic-bezier(.2, .7, .1, 1);
	--v3-ease-io: cubic-bezier(.7, 0, .2, 1);

	display: block;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: var(--v3-body);
	line-height: 1.6;
	color: var(--v3-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
.acma-v3:focus { outline: none; }
/* On dark sections the accent rule is brand green. */
.acma-v3 :is(.v3-hero, .v3-work, .v3-ind) { --v3-grad: linear-gradient(#7ab242, #7ab242); }

/* ── Local reset ──────────────────────────────────────────────────────── */
/* Specificity (0,1,0) through :where(): it still beats the legacy element rules in style.css,
   static.css and bootstrap (all (0,0,1) or (0,0,2), and they load earlier), while any single-class
   component rule in a later v3 stylesheet wins over it. At (0,1,1) the reset silently cancelled the
   padding, border, margin and background of components set on these elements. */
.acma-v3 :where(h1, h2, h3, p, ul, ol, dl, dt, dd, figure, blockquote, pre, code) {
	margin: 0; padding: 0; border: 0;
	font-family: inherit; letter-spacing: normal; text-transform: none; text-align: left;
	background: none;
}
.acma-v3 :where(p, li, dt, dd, blockquote) { font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; }
/* !important: headings keep the site font even when pasted editor content carries an inline font. */
.acma-v3 :is(h1, h2, h3, h4) { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important; }
.acma-v3 :where(ul, ol) { list-style: none; }
.acma-v3 a, .acma-v3 a:hover, .acma-v3 a:focus { text-decoration: none; color: inherit; }
.acma-v3 :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
.acma-v3 :where(button) { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; margin: 0; }
.acma-v3 svg.v3-arrow { width: 1.25em; height: 1.25em; flex: none; transition: transform .45s var(--v3-ease); }
/* Focus ring: royal on light surfaces (6.7:1), white on ink, navy and accent bands; at least 3:1 everywhere. */
.acma-v3 :is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--v3-royal); outline-offset: 3px; }
.acma-v3 :where(.v3-pjresults, .v3-pjreelsec, .v3-strip, .is-ink, .is-night, .is-navy, [class*="--dark"], [class*="--ink"]) :is(a, button, [tabindex]):focus-visible { outline-color: #fff; }
.acma-v3 .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ── Element base ──────────────────────────────────────────────────────
   Until phase 2 of the theme move every v3 page also loaded the legacy stylesheets (Bootstrap 3,
   the parent's static.css and options CSS, the old child style.css) and inherited a few of their
   element rules. The rules v3 relied on are restated here, at zero specificity (`:where()`), so any
   class rule in a v3 stylesheet still wins, exactly as it did over the legacy (0,0,1) rules. Scope:
   every page with the v3 chrome (body.v3-body), including the dialogs and widgets printed outside
   main and the header. */
:where(.v3-body), :where(.v3-body) *, :where(.v3-body) ::before, :where(.v3-body) ::after { box-sizing: border-box; }
body.v3-body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	line-height: 26px;
	color: #444;
	background-color: #fff;
	position: relative;
	-webkit-tap-highlight-color: transparent;
}
:where(.v3-body) :where(h1, h2, h3, h4, h5, h6) { margin: 20px 0 10px; font-weight: 400; color: #000; }
:where(.v3-body) :where(h4, h5, h6) { margin-top: 10px; }
:where(.v3-body) :where(h1) { font-size: 36px; line-height: 36px; }
:where(.v3-body) :where(h2) { font-size: 30px; line-height: 30px; }
:where(.v3-body) :where(h3) { font-size: 24px; line-height: 24px; }
:where(.v3-body) :where(h4) { font-size: 18px; line-height: 18px; }
:where(.v3-body) :where(h5) { font-size: 14px; line-height: 14px; }
:where(.v3-body) :where(h6) { font-size: 12px; line-height: 12px; }
:where(.v3-body) :where(a) { color: #333; text-decoration: none; }
:where(.v3-body) :where(a:hover, a:focus) { text-decoration: none; }
:where(.v3-body) :where(ul) { padding: 0; }
:where(.v3-body) :where(li) { list-style: none; }
:where(.v3-body) :where(img) { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
:where(.v3-body) :where(label) { display: inline-block; max-width: 100%; margin: 0; font-weight: 700; }
:where(.v3-body) :where(button, input, optgroup, select, textarea) { margin: 0; font: inherit; color: inherit; }
:where(.v3-body) :where(button, select) { line-height: 1.6; }
:where(.v3-body) :where(button, input, select, textarea) { position: relative; }
:where(.v3-body) :where(button, input) { background-color: transparent; }
:where(.v3-body) :where(input, select, textarea) { border: 2px solid #ededed; border-radius: 2.5px; color: #333; font-size: 14px; }
:where(.v3-body) :where(input[type="checkbox"], input[type="radio"]) { margin: 4px 0 0; padding: 0; line-height: normal; }
:where(.v3-body) :where(select, textarea) { background-color: #f3f5f8; }
:where(.v3-body) :where(select) { max-width: 100%; overflow: auto; vertical-align: top; padding: 10px; }
:where(.v3-body) :where(textarea) { resize: vertical; overflow: auto; }
:where(.v3-body) :where(button) { cursor: pointer; overflow: visible; text-transform: none; }
:where(.v3-body) :where(details summary) { font-weight: 700; margin-bottom: 20px; }
:where(.v3-body) :where(table) { width: 100%; border-spacing: 0; border-collapse: collapse; }
:where(.v3-body) :where(td, th) { padding: 0; text-align: left; }
:where(.v3-body) :where(td) { border-top: 1px solid #ededed; padding: 6px 10px 6px 0; }
:where(.v3-body) :where(blockquote) { position: relative; }
:where(.v3-body) :where(blockquote p) { font-style: italic; }
:where(.v3-body) :where(pre code) { white-space: pre-wrap; }

.v3-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--v3-max) + 2 * var(--v3-pad));
	margin-inline: auto;
	padding-inline: var(--v3-pad);
}

/* ── Reveal primitive ─────────────────────────────────────────────────── */
.v3-js [data-v3-reveal] {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity .9s ease calc(var(--i, 0) * 110ms), transform 1.1s var(--v3-ease) calc(var(--i, 0) * 110ms);
}
.v3-js [data-v3-reveal].is-in { opacity: 1; transform: none; }

/* ── Oversized titles (scroll-scrubbed fill) ──────────────────────────── */
.acma-v3 .v3-giant {
	--fill: color-mix(in srgb, var(--v3-ink) 92%, #fff);
	--rest: var(--v3-field-line);
	display: block;
	width: fit-content;
	max-width: 100%;
	padding-block: .2em .24em;
	margin-top: -.2em;   /* room for tall marks (e.g. Devanagari) without shifting the layout */
	font-size: var(--v3-giant);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -0.03em;
	color: var(--fill);
	overflow-wrap: break-word;
}
.v3-js .v3-giant[data-v3-scrub] {
	color: transparent;
	background: linear-gradient(90deg, var(--fill) 0, var(--fill) calc(var(--p, 1) * 100%), var(--rest) calc(var(--p, 1) * 100%), var(--rest) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	transform: translate3d(0, calc((1 - var(--p, 1)) * 16px), 0);   /* small, so it never overlaps the text below */
}
.acma-v3 .v3-giant--md { font-size: clamp(38px, 3.1vw + 12px, 104px); }
/* Inner pages: section titles share one scale with every template's own section title (60px at most),
   below the inner hero title (80px). The 104px headline belongs to the homepage. */
.acma-v3:not(.v3-home) .v3-giant--md { font-size: var(--v3-title-fs); line-height: 1.12; letter-spacing: -0.025em; }
.acma-v3 .v3-giant--dark { --fill: #fff; --rest: rgba(255, 255, 255, .16); }

/* ── Links & buttons ──────────────────────────────────────────────────── */
.acma-v3 .v3-link {
	display: inline-flex; align-items: center; gap: 10px;
	padding-bottom: 4px;
	font-weight: 700; font-size: clamp(16px, .3vw + 13px, 21px);
	color: var(--v3-blue);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
	transition: background-size .5s var(--v3-ease), color .3s;
}
.acma-v3 .v3-link:is(:hover, :focus-visible) { color: var(--v3-blue-2); background-size: calc(100% - 1.25em - 10px) 2px; }
.acma-v3 .v3-link:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }

.acma-v3 .v3-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	height: clamp(52px, 3.4vw, 64px);
	padding: 0 clamp(24px, 1.8vw, 36px);
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .5);
	color: #fff;
	font-size: clamp(15px, .3vw + 12px, 19px);
	font-weight: 700;
	white-space: nowrap;
	transition: color .45s var(--v3-ease), border-color .45s var(--v3-ease), background-color .45s;
}
.acma-v3 .v3-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: #fff;
	transform: translate3d(0, 101%, 0);
	transition: transform .55s var(--v3-ease-io);
}
.acma-v3 .v3-btn:is(:hover, :focus-visible) { color: var(--v3-navy); border-color: #fff; }
.acma-v3 .v3-btn:is(:hover, :focus-visible)::before { transform: none; }
.acma-v3 .v3-btn:is(:hover, :focus-visible) .v3-arrow { transform: translateX(5px); }
.acma-v3 .v3-btn--solid { background: #fff; color: var(--v3-navy); border-color: #fff; }
.acma-v3 .v3-btn--solid::before { background: var(--v3-green); }
.acma-v3 .v3-btn--solid:is(:hover, :focus-visible) { color: var(--v3-night); }
.acma-v3 .v3-btn--light { margin-top: var(--v3-head-gap); }

.acma-v3 .v3-round {
	display: grid; place-items: center;
	width: clamp(52px, 3.6vw, 64px); height: clamp(52px, 3.6vw, 64px);
	border-radius: 50%;
	border: 1px solid var(--v3-line);
	color: var(--v3-ink);
	transition: background-color .35s, color .35s, border-color .35s;
}
.acma-v3 .v3-round:hover { background: var(--v3-navy); border-color: var(--v3-navy); color: #fff; }
.acma-v3 [data-v3-q-prev] .v3-arrow { transform: rotate(180deg); }
.acma-v3 [data-v3-q-prev]:hover .v3-arrow { transform: rotate(180deg) translateX(4px); }
.acma-v3 [data-v3-q-next]:hover .v3-arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════════════
   1 · HERO
   ════════════════════════════════════════════════════════════════════════ */
.v3-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(680px, 100svh, 1180px);
	margin-top: calc(-1 * var(--hdr-h, 84px));   /* sit under the transparent header */
	padding-top: calc(var(--hdr-h, 84px) + clamp(48px, 7vh, 120px));
	padding-bottom: clamp(36px, 4vh, 64px);
	color: #fff;
	background: #071a33 linear-gradient(118deg, var(--v3-night) 0%, #071a33 52%, #06283c 100%);
}
.v3-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.v3-hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(4, 13, 28, .78) 0%, rgba(4, 13, 28, .35) 50%, rgba(4, 13, 28, .1) 100%),
		linear-gradient(0deg, rgba(4, 13, 28, .85) 0%, rgba(4, 13, 28, 0) 32%);
}
.v3-orb { position: absolute; border-radius: 50%; filter: blur(clamp(60px, 7vw, 160px)); opacity: .55; will-change: transform; }
.v3-orb--a { width: 46vw; height: 46vw; right: -8vw; top: -16vw; background: #0b5fd8; animation: v3-drift-a 22s ease-in-out infinite alternate; }
.v3-orb--b { width: 30vw; height: 30vw; left: 30vw; bottom: -18vw; background: #7ab242; opacity: .3; animation: v3-drift-b 26s ease-in-out infinite alternate; }
.v3-orb--c { width: 26vw; height: 26vw; right: 18vw; bottom: -4vw; background: #11b4c8; opacity: .36; animation: v3-drift-c 19s ease-in-out infinite alternate; }
.v3-hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: clamp(48px, 4.4vw, 96px) clamp(48px, 4.4vw, 96px);
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
}
.v3-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.v3-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	align-items: center;
	gap: clamp(32px, 4vw, 96px);
}
.v3-hero__copy { position: relative; transform: translate3d(0, calc(var(--hp, 0) * 90px), 0); opacity: calc(1 - var(--hp, 0) * 1.2); }

.acma-v3 .v3-hero__title {
	max-width: 15ch;
	font-size: clamp(38px, 2.8vw + 14px, 92px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}
.acma-v3 .v3-hero__lead {
	max-width: 46ch;
	margin-top: clamp(20px, 2vw, 36px);
	font-size: clamp(17px, .45vw + 12px, 24px);
	line-height: 1.55;
	color: rgba(255, 255, 255, .74);
}
.v3-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 52px); }
/* Word rise */
.v3-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .22em .24em; margin-block: -.22em -.24em; }
.v3-w > span { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1.05s var(--v3-ease) calc(var(--wi, 0) * 55ms + 120ms); }
.v3-hero.is-ready .v3-w > span { transform: none; }
.v3-js [data-v3-fade] { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .9s ease calc(var(--d, 0) * 70ms + 200ms), transform 1s var(--v3-ease) calc(var(--d, 0) * 70ms + 200ms); }
.v3-hero.is-ready [data-v3-fade] { opacity: 1; transform: none; }

/* Glass card stack (parallax on pointer move) */
.v3-hero__visual { position: relative; height: clamp(440px, 34vw, 700px); }
.v3-float {
	position: absolute;
	transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * 14px), calc(var(--my, 0) * var(--depth, 1) * 14px), 0);
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.v3-float__in {
	border-radius: clamp(16px, 1.2vw, 24px);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
	padding: clamp(16px, 1.3vw, 26px);
	animation: v3-bob 7s ease-in-out infinite alternate;
	animation-delay: calc(var(--depth) * -1.7s);
}
.v3-js .v3-float__in { opacity: 0; translate: 0 40px; transition: opacity .9s ease, translate 1.2s var(--v3-ease); }
.v3-hero.is-ready .v3-float__in { opacity: 1; translate: 0 0; }
.v3-hero.is-ready .v3-float--code .v3-float__in { transition-delay: .45s; }
.v3-hero.is-ready .v3-float--stat .v3-float__in { transition-delay: .7s; }
.v3-hero.is-ready .v3-float--stack .v3-float__in { transition-delay: .9s; }
.v3-hero.is-ready .v3-float--host .v3-float__in { transition-delay: 1.1s; }

.v3-float--code { left: 0; top: 12%; width: 78%; z-index: 1; }
.v3-float--stat { right: 0; top: 0; width: 42%; z-index: 2; }
.v3-float--stack { right: 0; bottom: 16%; width: 50%; z-index: 3; }
.v3-float--host { left: 4%; bottom: 0; width: max(46%, 250px); z-index: 4; }

.acma-v3 .v3-code__bar { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.v3-code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.v3-code__bar i:nth-child(2) { background: #ffbd2e; }
.v3-code__bar i:nth-child(3) { background: #28c940; }
.v3-code__bar span { margin-left: 8px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.acma-v3 .v3-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: clamp(12px, .55vw + 5px, 17px); line-height: 1.75; color: rgba(255, 255, 255, .86); white-space: pre; overflow: hidden; }
.acma-v3 .v3-code code { font: inherit; color: inherit; background: none; padding: 0; }
.v3-code b { font-weight: 500; }
.v3-code .k { color: #7cc5ff; }
.v3-code .s { color: #9bdc52; }
.v3-code .f { color: #ffd479; }
.v3-code .c { color: rgba(255, 255, 255, .42); }
.v3-js .v3-code .l { opacity: 0; }
.v3-hero.is-ready .v3-code .l { animation: v3-line .5s ease forwards; animation-delay: calc(var(--l) * 160ms + 1s); }
.v3-caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--v3-green); animation: v3-blink 1s steps(1) infinite; }

.acma-v3 .v3-float__label { font-size: clamp(12px, .2vw + 10px, 15px); font-weight: 600; color: rgba(255, 255, 255, .65); }
.acma-v3 .v3-float__num { margin-top: 6px; font-size: clamp(36px, 2.4vw + 6px, 68px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; }
.acma-v3 .v3-float__title { font-size: clamp(15px, .3vw + 12px, 19px); font-weight: 700; color: #fff; }
.acma-v3 .v3-float--host .v3-float__label { margin-top: 3px; font-weight: 500; }
.v3-spark { display: block; width: 100%; height: clamp(36px, 3vw, 56px); margin-top: 10px; }
.v3-spark path { stroke-dasharray: 260; stroke-dashoffset: 0; }
.v3-js .v3-spark path { stroke-dashoffset: 260; }
.v3-hero.is-ready .v3-spark path { transition: stroke-dashoffset 1.8s var(--v3-ease) 1.2s; stroke-dashoffset: 0; }
.v3-float--stack ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acma-v3 .v3-float--stack li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); font-size: clamp(12px, .2vw + 10px, 15px); font-weight: 600; color: #fff; }
.v3-float--host .v3-float__in { display: flex; align-items: center; gap: 14px; }
.v3-status { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #34d399; flex: none; }
.v3-status::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #34d399; animation: v3-ping 2s var(--v3-ease) infinite; }

/* The four company figures, one tone per position wherever they are listed (client rule
   2026-11-14, as on the quote page): royal, teal, violet, magenta. A list takes .v3-figs; each
   component colours its number and its 3px top rule with --fig on light surfaces and --fig-dark
   (the on-dark tints, 6.2:1 or more on navy) on navy and night. */
.v3-figs > :nth-child(4n + 1) { --fig: var(--v3-royal);   --fig-dark: var(--v3-royal-on-dark); }
.v3-figs > :nth-child(4n + 2) { --fig: var(--v3-teal);    --fig-dark: var(--v3-teal-on-dark); }
.v3-figs > :nth-child(4n + 3) { --fig: var(--v3-violet);  --fig-dark: var(--v3-violet-on-dark); }
.v3-figs > :nth-child(4n + 4) { --fig: var(--v3-magenta); --fig-dark: var(--v3-magenta-on-dark); }

/* Counted proof: the rule spans each cell's text column, the dividers stay neutral. */
.acma-v3 .v3-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(48px, 6vh, 96px);
}
.v3-hstat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 0 clamp(12px, 1.4vw, 28px) 0 0; }
.v3-hstat::after { content: ""; height: 3px; margin-bottom: clamp(12px, 1.2vw, 22px); background: var(--fig-dark); }
.v3-hstat + .v3-hstat { padding-left: clamp(16px, 2vw, 40px); border-left: 1px solid rgba(255, 255, 255, .1); }
.acma-v3 .v3-hstat dd { font-size: clamp(32px, 2.2vw + 14px, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--fig-dark); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-hstat dt { font-size: clamp(13px, .2vw + 11px, 17px); color: rgba(255, 255, 255, .8); }

/* ════════════════════════════════════════════════════════════════════════
   Inner-page hero (light): compact, off-white with a faint navy grid and a
   royal/teal network. The dark hero is reserved for the homepage.
   ════════════════════════════════════════════════════════════════════════ */
/* One hero rhythm for every inner template (the layout div carries the shared v3-hero__layout
   class next to its template class; templates only set measures and one-column variants).
   The copy is top-aligned, so the breadcrumb sits at the same offset under the header on every
   page whatever the title, lead or visual beside it; the visual centres on the copy. */
.v3-hero--page {
	--hero-top: clamp(40px, 3.8vw, 96px);
	--hero-bottom: clamp(40px, 6vw, 112px);
	--hero-gap: clamp(40px, 5vw, 120px);
	min-height: 0;
	padding-top: calc(var(--hdr-h, 84px) + var(--hero-top));
	padding-bottom: var(--hero-bottom);
}
.v3-hero--page .v3-hero__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--hero-gap); align-items: start; }
.v3-hero--page .v3-hero__layout > :not(:first-child) { align-self: center; }
.acma-v3 .v3-hero--page .v3-hero__title { max-width: 18ch; font-size: clamp(36px, 2.4vw + 14px, 80px); }

/*
 * Each inner page tints its hero with its own palette colour (--hero-tone,
 * royal by default; pages set it, e.g. the practice accent). The surface is a
 * solid, very light mix of that colour, so text contrast stays at 4.5:1+.
 * --v3-net is the same colour as "r,g,b" for the particle network.
 */
.v3-hero--light {
	--hero-tone: var(--v3-royal);
	--v3-net: 0, 95, 159;
	--hero-bg: color-mix(in srgb, var(--hero-tone) 6%, #fff);
	--hero-line: color-mix(in srgb, var(--hero-tone) 16%, #fff);
	background: var(--hero-bg); color: var(--v3-ink); border-bottom: 1px solid var(--hero-line);
}
/*
 * Per-page hero tint: acma_v3_body_class() adds body.v3-hero-{tone}, picked from the URL path, so
 * each page has its own stable colour. It overrides the section tint for the hero only; --accent
 * follows inside the hero so figures and badges match the tint.
 */
body.v3-hero-royal   .acma-v3 .v3-hero--light { --hero-tone: var(--v3-royal);   --accent: var(--v3-royal);   --v3-net: 0, 95, 159; }
body.v3-hero-violet  .acma-v3 .v3-hero--light { --hero-tone: var(--v3-violet);  --accent: var(--v3-violet);  --v3-net: 91, 63, 196; }
body.v3-hero-teal    .acma-v3 .v3-hero--light { --hero-tone: var(--v3-teal);    --accent: var(--v3-teal);    --v3-net: 13, 115, 124; }
body.v3-hero-magenta .acma-v3 .v3-hero--light { --hero-tone: var(--v3-magenta); --accent: var(--v3-magenta); --v3-net: 180, 35, 107; }
body.v3-hero-blue    .acma-v3 .v3-hero--light { --hero-tone: var(--v3-blue);    --accent: var(--v3-blue);    --v3-net: 0, 95, 159; }
/* Scrim behind the copy (approved exception), in the hero's own tint. */
.v3-hero--light .v3-hero__bg::after { background: linear-gradient(90deg, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 70%, transparent) 45%, transparent 75%); }
.v3-hero--light .v3-hero__grid {
	--hero-grid: color-mix(in srgb, var(--hero-tone) 9%, transparent);
	background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
}
.acma-v3 .v3-hero--light .v3-hero__title { color: var(--v3-ink); }
.acma-v3 .v3-hero--light .v3-hero__lead { color: var(--v3-text); }
.acma-v3 .v3-hero--light .v3-btn { color: var(--v3-navy); border-color: rgba(7, 26, 51, .3); }
.acma-v3 .v3-hero--light .v3-btn::before { background: var(--v3-navy); }
.acma-v3 .v3-hero--light .v3-btn:is(:hover, :focus-visible) { color: #fff; border-color: var(--v3-navy); }
.acma-v3 .v3-hero--light .v3-btn--solid { background: var(--v3-navy); color: #fff; border-color: var(--v3-navy); }
.acma-v3 .v3-hero--light .v3-btn--solid::before { background: var(--v3-royal); }
.v3-hero--light .v3-hstat + .v3-hstat { border-left-color: var(--hero-line); }
.v3-hero--light .v3-hstat::after { background: var(--fig); }
.acma-v3 .v3-hero--light .v3-hstat dd { color: var(--fig); }
.acma-v3 .v3-hero--light .v3-hstat dt { color: var(--v3-text); }

.acma-v3 .v3-crumbs { margin-bottom: clamp(18px, 1.8vw, 30px); font-size: 14px; }
.acma-v3 .v3-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.acma-v3 .v3-crumbs li { color: var(--v3-muted); }
.acma-v3 .v3-crumbs li + li::before { content: "/"; margin-right: 6px; color: color-mix(in srgb, var(--v3-muted) 20%, var(--v3-field-line)); }
.acma-v3 .v3-crumbs a { position: relative; color: var(--v3-blue); border-bottom: 1px solid rgba(0, 95, 159, .25); transition: color .3s, border-color .3s; }
.acma-v3 .v3-crumbs a::after { content: ""; position: absolute; inset: -4px -2px; } /* 24px target (WCAG 2.5.8), no visual change. */
.acma-v3 .v3-crumbs a:hover { color: var(--v3-blue-2); border-color: currentColor; }

/* ════════════════════════════════════════════════════════════════════════
   Shared cards: recent work (portfolio) and insights (posts)
   ════════════════════════════════════════════════════════════════════════ */
/* ── Recent work ─────────────────────────────────────────────────────── */
.v3-pwork { position: relative; padding-block: var(--v3-section); background: var(--v3-navy); color: #fff; }
.acma-v3 .v3-link--light { color: var(--v3-green-on-dark); }
/* On dark bands the hover goes to white, not the dark blue of .v3-link on light surfaces. */
.acma-v3 .v3-link--light:is(:hover, :focus-visible) { color: #fff; }
.acma-v3 .v3-pwork__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); margin-top: var(--v3-head-gap); }
@media (min-width: 992px) { .acma-v3 .v3-pwork__list:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1140px; } } /* Two projects: two columns, each within the 555px card image. */
.acma-v3 .v3-wcard { display: flex; flex-direction: column; gap: 10px; height: 100%; color: #fff; }
/* Frame takes the artwork's own ratio (--ar, usually 555×390) and never exceeds the file. */
.v3-wcard__media { display: block; width: min(100%, var(--nw, 100%)); aspect-ratio: var(--ar, 555 / 390); margin-bottom: 10px; border-radius: clamp(12px, 1vw, 20px); overflow: hidden; background: var(--v3-navy-2); }
.acma-v3 .v3-wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.acma-v3 .v3-wcard:is(:hover, :focus-visible) .v3-wcard__media img { opacity: .9; }
.acma-v3 .v3-wcard__title { font-size: clamp(20px, .6vw + 14px, 28px); font-weight: 700; letter-spacing: -0.02em; }
.acma-v3 .v3-wcard__text { color: rgba(255, 255, 255, .72); font-size: 16px; }
/* Uniform cards in any row: text clamps to two lines and the kind sits on the card's bottom line. */
@media (min-width: 768px) { .acma-v3 :is(.v3-wcard__text, .v3-pcard__text) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } } /* Rows only: a single column on phones shows the whole text. */
.acma-v3 .v3-wcard__kind { margin-top: auto; }
/* A row of work cards with one shared frame (acma_v3_row_frame on the list): even heights. */
.acma-v3 .v3-pwork__list[style*="--rw"] .v3-wcard__media { width: min(100%, var(--rw)); aspect-ratio: var(--rar); }
/* What the work is: website, mobile app, case study or our own product (related work cards). */
.acma-v3 .v3-wcard__kind { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .64); }
.acma-v3 .v3-wcard:hover .v3-wcard__title { color: var(--v3-green-on-dark); }

/* ── Link rows: a practice's services beyond its cards, grouped (services hub, practice pages) ── */
.v3-linkrows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(24px, 2.6vw, 48px) clamp(24px, 3vw, 64px); margin-top: clamp(32px, 3vw, 56px); }
.acma-v3 .v3-linkrows__label { padding-bottom: 10px; border-bottom: 2px solid var(--accent, var(--v3-royal)); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--v3-ink); }
.acma-v3 .v3-linkrows__links { margin-top: 10px; list-style: none; }
.acma-v3 .v3-linkrows__links a { display: inline-block; padding: 6px 0; font-size: 16px; line-height: 1.4; color: var(--v3-text); text-decoration: none; text-underline-offset: 4px; transition: color .25s; }
.acma-v3 .v3-linkrows__links a:is(:hover, :focus-visible) { color: var(--v3-ink); text-decoration: underline; text-decoration-color: var(--accent, var(--v3-royal)); }

/* ── Insights ────────────────────────────────────────────────────────── */
.v3-posts { padding-block: var(--v3-section); background: var(--v3-surface); }
.acma-v3 .v3-posts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); margin-top: var(--v3-head-gap); }
.acma-v3 .v3-pcard { display: flex; flex-direction: column; gap: 10px; height: 100%; color: var(--v3-ink); }
/* Paged lists (before and after, brochures, our work): items past the first page carry
   data-v3-later and stay out of layout from the first paint when scripts run (html.acma-js, set by
   the head script), so their lazy images are never fetched; the list script takes over and drops the
   attribute. Without scripts every item shows. */
html.acma-js [data-v3-later] { display: none; }

/* acma_v3_img( …, hide_below ): the <picture> wrapper takes no box, so the image lays out as before. */
.v3-pic-contents { display: contents; }

/* The picture keeps its own ratio (--ar) and never grows past its file (--nw). */
.v3-pcard__media { display: block; width: min(100%, var(--nw, 100%)); aspect-ratio: var(--ar, 4 / 3); margin-bottom: 8px; border-radius: clamp(12px, 1vw, 20px); overflow: hidden; background: #fff; }
.acma-v3 .v3-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.acma-v3 .v3-pcard__media img[src$=".svg"] { object-fit: contain; }
.acma-v3 .v3-pcard:is(:hover, :focus-visible) .v3-pcard__media img { opacity: .9; }
.acma-v3 .v3-pcard__date { margin-top: auto; font-size: 14px; color: var(--v3-muted); }
.acma-v3 .v3-pcard__title { font-size: clamp(19px, .5vw + 14px, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; transition: color .3s; }
.acma-v3 .v3-pcard:hover .v3-pcard__title { color: var(--v3-blue); }
.acma-v3 .v3-pcard__text { font-size: 15px; color: var(--v3-text); }

@media (max-width: 991.98px) {
	/* Two columns until phones, so 555/600px artwork is never stretched to a full-width tablet column. */
	.acma-v3 :is(.v3-pwork__list, .v3-posts__list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559.98px) {
	.acma-v3 :is(.v3-pwork__list, .v3-posts__list) { grid-template-columns: minmax(0, 1fr); }
}
/* Phones (mobile pass 2026-11-19): related work and insights are peer cards people browse, so they
   sit side by side and snap (one card tall instead of three); the next card peeks in. */
@media (max-width: 639.98px) {
	.acma-v3 :is(.v3-pwork__list, .v3-posts__list) {
		display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; scroll-padding-inline: var(--v3-pad);
		margin-inline: calc(-1 * var(--v3-pad)); padding: 4px var(--v3-pad) 16px; scrollbar-width: thin;
	}
	.acma-v3 :is(.v3-pwork__list, .v3-posts__list) > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
	.acma-v3 :is(.v3-pwork__list, .v3-posts__list) > :only-child { flex-basis: 100%; }
	.acma-v3 :is(.v3-wcard__text, .v3-pcard__text) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-pcard__title, .v3-wcard__title) { line-height: 1.3; }

/* Shared section heading */
.v3-section-head { max-width: 1100px; }
.acma-v3 .v3-section-head__lead { max-width: 52ch; margin-top: clamp(14px, 1.2vw, 22px); color: var(--v3-text); font-size: clamp(16px, .3vw + 13px, 21px); }
.v3-section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: calc(var(--v3-max) + 2 * var(--v3-pad)); }

/* ════════════════════════════════════════════════════════════════════════
   9 · FAQ
   ════════════════════════════════════════════════════════════════════════ */
.v3-faq { padding-block: var(--v3-section); background: var(--v3-surface); }
.v3-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 112px); align-items: start; }
.v3-faq__aside { position: sticky; top: calc(var(--v3-head, 0px) + 48px); }
.acma-v3 .v3-faq__aside .v3-link { margin-top: clamp(20px, 2vw, 32px); }
.v3-faq__list { border-top: 1px solid var(--v3-line); }
.v3-qa { border-bottom: 1px solid var(--v3-line); }
.acma-v3 .v3-qa__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(20px, 1.8vw, 30px) 0;
	cursor: pointer;
	list-style: none;
	font-size: clamp(18px, .6vw + 12px, 26px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--v3-ink);
	transition: color .3s;
}
.acma-v3 .v3-qa__q::-webkit-details-marker { display: none; }
.acma-v3 .v3-qa__q:hover { color: var(--v3-blue); }
.v3-qa__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--v3-line); background: #fff; transition: background-color .3s, border-color .3s; }
.v3-qa__icon::before, .v3-qa__icon::after { content: ""; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: 2px; background: var(--v3-ink); transition: transform .4s var(--v3-ease-io), background-color .3s; }
.v3-qa__icon::after { transform: rotate(90deg); }
.v3-qa[open] .v3-qa__icon { background: var(--v3-navy); border-color: var(--v3-navy); }
.v3-qa[open] .v3-qa__icon::before, .v3-qa[open] .v3-qa__icon::after { background: #fff; }
.v3-qa[open] .v3-qa__icon::after { transform: rotate(0deg); }
.acma-v3 .v3-qa__a { max-width: 36em; /* About 75 characters: 1ch here is about 1.45 average characters. */ padding: 0 64px clamp(22px, 2vw, 32px) 0; color: var(--v3-text); }
.v3-qa[open] .v3-qa__a { animation: v3-rise .5s var(--v3-ease) both; }

/* ════════════════════════════════════════════════════════════════════════
   Keyframes
   ════════════════════════════════════════════════════════════════════════ */
@keyframes v3-marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes v3-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes v3-drift-a { to { transform: translate3d(-8vw, 6vw, 0) scale(1.12); } }
@keyframes v3-drift-b { to { transform: translate3d(10vw, -6vw, 0) scale(.9); } }
@keyframes v3-drift-c { to { transform: translate3d(-12vw, -4vw, 0) scale(1.18); } }
@keyframes v3-glow { to { transform: translate3d(4%, -3%, 0) scale(1.06); } }
@keyframes v3-bob { from { transform: translate3d(0, -6px, 0); } to { transform: translate3d(0, 8px, 0); } }
@keyframes v3-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes v3-line { from { opacity: 0; transform: translate3d(-6px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes v3-blink { 50% { opacity: 0; } }
@keyframes v3-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ════════════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
	.v3-hero--page .v3-hero__layout { grid-template-columns: minmax(0, 1fr); }
	.v3-hero__layout { grid-template-columns: minmax(0, 1fr); }
	.v3-hero__visual { display: none; }
	.acma-v3 .v3-hero__title { max-width: 18ch; }
}

@media (max-width: 991.98px) {
	.v3-faq__grid { grid-template-columns: minmax(0, 1fr); }
	.v3-faq__aside { position: static; }

}

@media (max-width: 767.98px) {
	.acma-v3 .v3-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v3-hstat:nth-child(3) { padding-left: 0; border-left: 0; }
	.v3-hstat:nth-child(n+3) { margin-top: 24px; }
}
/* Phones: the four company figures in one row (mobile pass 2026-11-19). */
@media (max-width: 639.98px) {
	.acma-v3 .v3-hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
	.v3-hstat, .v3-hstat + .v3-hstat { padding: 0 6px 0 8px; }
	.v3-hstat:first-child { padding-left: 0; }
	.v3-hstat:nth-child(3) { padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .1); }
	.v3-hstat:nth-child(n+3) { margin-top: 0; }
	.v3-hstat::after { margin-bottom: 10px; }
	.acma-v3 .v3-hstat dd { font-size: clamp(20px, 6vw, 26px); letter-spacing: -.03em; }
	.acma-v3 .v3-hstat dt { font-size: 14px; line-height: 1.3; }
}

@media (max-width: 639.98px) {
	.v3-hero__actions .v3-btn { flex: 1 1 auto; }
	.acma-v3 .v3-qa__a { padding-right: 0; }
}

@media (max-height: 700px) and (min-width: 768px) {
	.v3-hero { min-height: 0; }
}

/* Reduced motion, site wide: content is revealed immediately, never withheld or slowed. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.v3-orb, .v3-float__in, .v3-status::after, .v3-caret { animation: none !important; }
	.v3-hero__copy { transform: none !important; opacity: 1 !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   Translated pages (Google Translate adds .translated-ltr / -rtl to <html>)
   Negative tracking and very tight leading suit Latin display type but break
   Indic, Arabic and CJK scripts: marks collide and lines overlap.
   ════════════════════════════════════════════════════════════════════════ */
html:is(.translated-ltr, .translated-rtl) .acma-v3 *,
html:is(.translated-ltr, .translated-rtl) .v3-chrome * { letter-spacing: normal !important; }
html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-giant, .v3-hero__title, .v3-panel__title, .v3-result__title, .v3-ind__name, .v3-ind__cap-t, .v3-step__t, .v3-quotes__title, .v3-quote__text p, .v3-tile__title, .v3-float__num, .v3-hstat dd),
html:is(.translated-ltr, .translated-rtl) .v3-chrome :is(.v3-ftr__headline, .v3-ldlg__title) { line-height: 1.3; }

/* Illustrations on a flat tint (acma_v3_img_fill_style() puts --fill and the tint on the frame):
   a frame of another ratio shows the whole image on that tint instead of cropping it. A utility
   that must win over every component's cover rule, hence !important. */
.acma-v3 [style*="--fill:"] > img[src] { object-fit: contain !important; }

/* Edge-to-edge media cells (.v3-trimfit, acma_v3_img_cover_style()): cover the cell with the
   white margins baked into the file left outside, so the picture meets every edge of the card. */
.v3-trimfit[style*="--tcw:"], .v3-pcard__media[style*="--tcw:"] { container-type: size; }
.v3-pcard__media[style*="--tcw:"] { position: relative; }
.acma-v3 :is(.v3-trimfit, .v3-pcard__media)[style*="--tcw:"] > img[src] {
	--s: max(100cqw / var(--tcw), 100cqh / var(--tch));
	position: absolute; right: auto; bottom: auto;
	left: calc((100cqw - var(--s) * var(--tcw)) / 2 - var(--s) * var(--tl));
	top: calc((100cqh - var(--s) * var(--tch)) / 2 - var(--s) * var(--tt));
	width: calc(var(--s) * var(--tw)); height: calc(var(--s) * var(--th)); max-width: none; margin: 0; object-fit: fill;
}

/* A row of insight cards shares one frame (acma_v3_row_frame on the list): even heights. */
.acma-v3 .v3-posts__list[style*="--rw"] .v3-pcard__media { width: min(100%, var(--rw)); aspect-ratio: var(--rar); }
/* An image of another ratio than the row's is shown whole on the card tint, never cropped or enlarged. */
.acma-v3 .v3-posts__list[style*="--rw"] .v3-pcard__media img { object-fit: contain; }

/* ── Insights row (every .v3-posts list, site wide): on desktop each card is horizontal, a square image beside
   the date, title and summary, so the row stays low while every image is whole and legible. ── */
@media (min-width: 1200px) {
	.acma-v3 .v3-posts .v3-pcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto 1fr; column-gap: 24px; row-gap: 8px; align-items: start; }
	.acma-v3 .v3-posts .v3-pcard__title { font-size: 20px; line-height: 1.3; }
	.acma-v3 .v3-posts .v3-pcard__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.acma-v3 .v3-posts .v3-pcard__media { grid-row: 1 / span 3; width: 100%; aspect-ratio: var(--rar, var(--ar, 1)); margin: 0; }
}
/* Laptop widths: a smaller image so the title column keeps a readable measure. */
@media (min-width: 1200px) and (max-width: 1599.98px) {
	.acma-v3 .v3-posts .v3-pcard { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); column-gap: 20px; }
	.acma-v3 .v3-posts .v3-pcard__title { font-size: 18px; }
	.acma-v3 .v3-posts .v3-pcard__text { font-size: 14px; }
}

/* Weight scale (docs/design-rules.md): 400 body, 500 secondary, 600 labels and links, 700 headings
   and figures. Nothing heavier: "bolder" on strong inside a 700 heading would ask for 900. */
:where(.acma-v3, .v3-chrome) :where(strong, b) { font-weight: 700; }


/* Quiet brochure link under the hero buttons (acma_v3_br_hero_link): a text link, not a third button,
   so each template keeps one primary CTA tone. */
.acma-v3 .v3-herobr-wrap { margin-top: 18px; }
.acma-v3 .v3-herobr { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--v3-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.acma-v3 .v3-herobr svg { flex: none; width: 18px; height: 18px; }
.acma-v3 .v3-herobr:hover { text-decoration-color: currentColor; }
.acma-v3 .v3-herobr:focus-visible { outline: 3px solid var(--v3-royal, #005f9f); outline-offset: 3px; border-radius: 4px; }
html:is(.translated-ltr, .translated-rtl) .v3-herobr span[translate="no"] { margin-inline: .28em; }

/* Touch screens: section-head links ("All insights", "Ask a question") are 44px targets. */
@media (pointer: coarse) { .acma-v3 .v3-link { min-height: var(--v3-tap); } }
/* Section and band titles balance their lines (fewer orphans, mobile pass 2026-11-19). */
@media (max-width: 1023.98px) { .acma-v3 :is(.v3-giant, .v3-hero__title, .v3-section-head h2) { text-wrap: balance; } }

/* ── Fold groups on phones ([data-v3-fold], v3-base.js; mobile pass 2026-11-19) ──
   The heading row is the button (44px), the count sits in a pill. .v3-fold--lg: 64px rows with the
   pill tinted in the group's --accent. */
@media (max-width: 639.98px) {
	.acma-v3 [data-v3-fold] [hidden] { display: none; }
	.acma-v3 .v3-fold__btn {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: var(--v3-tap); padding: 6px 0;
		border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
	}
	.acma-v3 .v3-fold__btn::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--v3-ease); }
	.acma-v3 .v3-fold__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
	.acma-v3 .v3-fold__n { display: grid; place-items: center; min-width: 28px; height: 28px; margin-left: auto; padding: 0 8px; border-radius: 999px; background: var(--v3-surface); font-size: var(--v3-meta-fs); font-weight: 700; color: var(--v3-text); }
	.acma-v3 .v3-fold--lg .v3-fold__btn { min-height: 64px; padding-block: 10px; }
	.acma-v3 .v3-fold--lg .v3-fold__n { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
}

/* ── Show first n on phones ([data-v3-first], v3-base.js; mobile pass 2026-11-19) ── */
.v3-more__btn { display: none; }
@media (max-width: 639.98px) {
	.acma-v3 .v3-more__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 10px;
		min-height: var(--v3-tap); margin-top: 16px; padding: 0 20px;
		border: 1px solid var(--v3-line); border-radius: 999px; background: #fff;
		font: inherit; font-size: 15px; font-weight: 700; color: var(--v3-ink); cursor: pointer;
	}
	.acma-v3 .v3-more__btn::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
	.acma-v3 .v3-more__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
	.acma-v3 [data-v3-first="1"].is-clip:not(.is-open) > :nth-child(n+2):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="2"].is-clip:not(.is-open) > :nth-child(n+3):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="3"].is-clip:not(.is-open) > :nth-child(n+4):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="4"].is-clip:not(.is-open) > :nth-child(n+5):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="5"].is-clip:not(.is-open) > :nth-child(n+6):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="6"].is-clip:not(.is-open) > :nth-child(n+7):not(.is-you, [data-v3-first-pin]),
	.acma-v3 [data-v3-first="8"].is-clip:not(.is-open) > :nth-child(n+9):not(.is-you, [data-v3-first-pin]) { display: none; }
}
