/**
 * Hire (v3): page-templates/page-hire-v3.php.
 *
 * Section anatomy follows the hire pages named in docs/pages-to-build.md: hero with hiring
 * promises, overview with the What you get card, skills, why hire (numbered), engagement models
 * as plan cards, the hiring process on a solid band, questions, work, other roles and the quote
 * form. The template's one CTA tone is royal.
 *
 * Tokens, hero, work cards and the FAQ come from v3-base.css; accents, hero tint, prose, the
 * framed hero artwork, the What you get card, the CTA strip and swipe rows from v3-sections.css;
 * the form from v3-form.css. Images never render larger than their file.
 */

.v3-hire { --pill: var(--v3-royal); }

/* ── Shared section type ─────────────────────────────────────────────── */
.acma-v3 .v3-hsec__title { max-width: 24ch; 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-hsec__title--light { color: #fff; }
.acma-v3 .v3-hsec__lead { max-width: 60ch; font-size: clamp(16px, .3vw + 13px, 21px); line-height: 1.6; color: var(--v3-text); }
.v3-hsec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 112px); align-items: start; }
.v3-hsec__head > :not(h2) { padding-top: .4em; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.acma-v3 .v3-hhero .v3-hero__title { max-width: 16ch; }
.acma-v3 .v3-hhero__promises { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; margin-top: clamp(24px, 2.4vw, 40px); list-style: none; }
.acma-v3 .v3-hhero__promises li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--v3-ink); }
.acma-v3 .v3-hhero__promises svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: #fff; }

/* ── Overview ────────────────────────────────────────────────────────── */
.v3-hover { padding-block: var(--v3-section); background: #fff; }
.v3-hover__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 128px); align-items: start; }
.acma-v3 .v3-hover__body { margin-top: clamp(20px, 2vw, 36px); }

/* ── Skills ──────────────────────────────────────────────────────────── */
.v3-hskill { padding-block: var(--v3-section); background: var(--v3-surface); }
.acma-v3 .v3-hskill__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.v3-hskill__card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2vw, 36px); border-radius: clamp(14px, 1.1vw, 22px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line); overflow: hidden; transition: transform .45s var(--v3-ease), box-shadow .35s; }
.v3-hskill__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); transform: scaleX(.2); transform-origin: left; transition: transform .6s var(--v3-ease-io); }
.v3-hskill__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--accent), 0 28px 56px -34px rgba(14, 22, 34, .35); }
.v3-hskill__card:hover::before { transform: none; }
.v3-hskill__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 9%, #fff); }
.acma-v3 .v3-hskill__icon img { width: min(var(--nw, 48px), 48px); height: auto; max-height: 48px; object-fit: contain; }
.acma-v3 .v3-hskill__title { font-size: clamp(19px, .45vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-hskill__text { line-height: 1.65; color: var(--v3-text); }

/* ── Why hire: numbered columns ──────────────────────────────────────── */
.v3-hwhy { padding-block: var(--v3-section); background: #fff; }
.acma-v3 .v3-hwhy__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2vw, 40px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.v3-hwhy__card { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 3px solid var(--accent); }
.acma-v3 .v3-hwhy__n { font-size: clamp(36px, 2vw + 16px, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.v3-hwhy__icon { display: none; }
.acma-v3 .v3-hwhy__title { font-size: clamp(19px, .45vw + 14px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-hwhy__text { line-height: 1.65; color: var(--v3-text); }

/* ── Engagement models: plan cards ───────────────────────────────────── */
.v3-hplan { padding-block: var(--v3-section); background: var(--v3-surface); }
.acma-v3 .v3-hplan__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.v3-hplan__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 2.6vw, 48px); border-radius: clamp(16px, 1.3vw, 26px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.v3-hplan__card.is-first { box-shadow: 0 0 0 2px var(--accent), 0 40px 80px -56px rgba(14, 22, 34, .45); }
.acma-v3 .v3-hplan__title { font-size: clamp(22px, .7vw + 15px, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--v3-ink); }
.acma-v3 .v3-hplan__text { line-height: 1.6; color: var(--v3-text); }
.acma-v3 .v3-hplan__list { flex: 1; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--v3-line); list-style: none; }
.acma-v3 .v3-hplan__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding-block: 7px; color: var(--v3-ink); }
.acma-v3 .v3-hplan__list svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.acma-v3 .v3-hplan__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin-top: 10px; padding: 0 28px; border-radius: 999px; background: var(--v3-navy); font-size: 17px; font-weight: 700; color: #fff; text-decoration: none; transition: background-color .3s; }
.v3-hplan__card.is-first .v3-hplan__btn { background: var(--v3-royal); }
.acma-v3 .v3-hplan__btn:is(:hover, :focus-visible) { background: var(--accent); color: #fff; }
.v3-hplan__btn .v3-arrow { width: 18px; height: 18px; }

/* ── Seniority levels (white, between the grey plans and the international block) ── */
.v3-hlevel { padding-block: var(--v3-section); background: #fff; }
.acma-v3 .v3-hlevel__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.acma-v3 .v3-hlevel__list--2, .acma-v3 .v3-hlevel__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3-hlevel__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.2vw, 40px); border-radius: clamp(16px, 1.3vw, 26px); background: var(--v3-surface); }
.acma-v3 .v3-hlevel__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); font-size: 15px; font-weight: 700; color: #fff; }
.acma-v3 .v3-hlevel__title { font-size: clamp(20px, .45vw + 14px, 26px); font-weight: 700; line-height: 1.2; color: var(--v3-ink); }
.acma-v3 .v3-hlevel__text { line-height: 1.6; color: var(--v3-text); }

/* ── Hiring process on a solid band ──────────────────────────────────── */
.v3-hstep { padding-block: var(--v3-section); background: var(--accent); color: #fff; }
.acma-v3 .v3-hstep .v3-hsec__lead { color: rgba(255, 255, 255, .88); }
.acma-v3 .v3-hstep__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; counter-reset: none; }
.v3-hstep__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .2); }
.acma-v3 .v3-hstep__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 14px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-hstep__title { font-size: clamp(17px, .3vw + 14px, 20px); font-weight: 700; line-height: 1.3; color: #fff; }
.acma-v3 .v3-hstep__text { margin-top: 6px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Specialists by area: pill tabs and role cards ───────────────────── */
.v3-hroles { padding-block: var(--v3-section); background: var(--v3-surface); }
.v3-hroles__tabs { margin-top: clamp(32px, 3vw, 56px); }
.v3-hroles__tablist { display: flex; flex-wrap: wrap; gap: 10px; }
.acma-v3 .v3-hroles__tab { min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--v3-line); background: #fff; font-size: 15px; font-weight: 600; color: var(--v3-ink); transition: background-color .25s, border-color .25s, color .25s; }
.acma-v3 .v3-hroles__tab:is(:hover, :focus-visible) { border-color: var(--accent); color: var(--accent); }
.acma-v3 .v3-hroles__tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.v3-hroles__panel { margin-top: clamp(20px, 2vw, 32px); }
.v3-hroles__panel:not([hidden]) { animation: v3-rise .5s var(--v3-ease) both; }
.acma-v3 .v3-hroles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; list-style: none; }
/* One or two roles in an area: the cards share the row instead of leaving empty tracks. */
/* Three, six or nine roles: three columns, so no row ends with a lone card. */
@media (min-width: 768px) { .acma-v3 .v3-hroles__grid:has(> :nth-child(3n):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acma-v3 .v3-hroles__grid:not(:has(> :nth-child(3))) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); max-width: 1200px; }
.acma-v3 .v3-hroles__card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(20px, 1.8vw, 28px) clamp(20px, 1.8vw, 28px) clamp(52px, 4vw, 64px); border-radius: 16px; background: #fff; box-shadow: inset 0 3px 0 var(--accent), 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: box-shadow .3s, transform .45s var(--v3-ease); }
.acma-v3 a.v3-hroles__card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: inset 0 3px 0 var(--accent), 0 0 0 2px var(--accent), 0 24px 48px -32px rgba(14, 22, 34, .4); }
.acma-v3 .v3-hroles__card.is-current { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.acma-v3 .v3-hroles__name { font-size: clamp(17px, .3vw + 14px, 20px); font-weight: 700; line-height: 1.3; }
.acma-v3 .v3-hroles__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--v3-text); }
.v3-hroles__go { position: absolute; left: clamp(20px, 1.8vw, 28px); bottom: clamp(16px, 1.4vw, 22px); color: var(--accent); transition: transform .35s var(--v3-ease); }
.v3-hroles__go .v3-arrow { width: 20px; height: 20px; }
.acma-v3 a.v3-hroles__card:hover .v3-hroles__go { transform: translateX(5px); }
.acma-v3 .v3-hroles__here { position: absolute; left: clamp(20px, 1.8vw, 28px); bottom: clamp(16px, 1.4vw, 22px); font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── Client quotes ───────────────────────────────────────────────────── */
.v3-hquote { padding-block: var(--v3-section); background: #fff; }
.acma-v3 .v3-hquote__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); margin-top: clamp(36px, 3.4vw, 64px); list-style: none; }
.acma-v3 .v3-hquote__card { display: flex; flex-direction: column; height: 100%; margin: 0; padding: clamp(28px, 3vw, 52px); border-radius: clamp(14px, 1.2vw, 24px); background: var(--v3-surface); box-shadow: inset 4px 0 0 var(--accent); }
.v3-hquote__mark { width: clamp(32px, 2.2vw, 40px); height: auto; color: var(--accent); }
/* Legacy theme styles add a quote graphic and italics to every blockquote. */
.acma-v3 .v3-hquote__quote { flex: 1; margin: 18px 0 0; padding: 0; border: 0; background: none; }
.acma-v3 :is(.v3-hquote__quote, .v3-hquote__quote p)::before,
.acma-v3 :is(.v3-hquote__quote, .v3-hquote__quote p)::after { content: none; display: none; }
.acma-v3 .v3-hquote__quote p { margin: 0; font-size: clamp(18px, .45vw + 13px, 24px); font-style: normal; font-weight: 500; line-height: 1.55; color: var(--v3-ink); }
.acma-v3 .v3-hquote__who { display: flex; flex-direction: column; gap: 2px; margin-top: clamp(20px, 2vw, 32px); padding: 18px 0 0; border: 0; border-top: 1px solid var(--v3-line); background: none; }
.acma-v3 .v3-hquote__who strong { font-size: 17px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-hquote__who span { font-size: 15px; color: var(--v3-muted); }
@media (max-width: 991.98px) { .acma-v3 .v3-hquote__list { grid-template-columns: minmax(0, 1fr); } }

/* Section surfaces: work (navy), quotes (white), questions (grey), insights (white), other roles (grey), form (white). */
.v3-hire .v3-faq { background: var(--v3-surface); }
.v3-hire .v3-posts { background: #fff; }
.v3-hire .v3-hroles { background: var(--v3-surface); }
.v3-hire .v3-lead { background: #fff; }
.v3-hire .v3-faq__aside .v3-hsec__lead { margin-top: clamp(14px, 1.2vw, 22px); }
.v3-hire [id] { scroll-margin-top: 0; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
	.acma-v3 .v3-hskill__grid, .acma-v3 .v3-hwhy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-hstep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.v3-hhero__layout, .v3-hover__grid, .v3-hsec__head { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-hplan__grid { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-hlevel__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639.98px) {
	.acma-v3 .v3-hhero__promises { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-hstep__grid { grid-template-columns: minmax(0, 1fr); }
}

html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-hsec__title, .v3-hskill__title, .v3-hwhy__title, .v3-hplan__title, .v3-hstep__title) { line-height: 1.35; letter-spacing: normal; }

/* ── Phones (mobile pass 2026-11-19) ─────────────────────────────────────
   Plans, levels and quotes: swipe rows (plans and quotes a little wider). Process: the first four
   steps, then "Show all" (data-v3-first). Other roles: the area chips in one scrolling row and each
   role a one-line link row; its summary stays in the page for screen readers. */
@media (max-width: 639.98px) {
	.acma-v3 :is(.v3-hplan__grid, .v3-hquote__list) { --swipe-w: 88%; }
	.acma-v3 :is(.v3-hplan__grid, .v3-hlevel__list, .v3-hquote__list) { margin-top: 24px; }
	.v3-hplan__card { padding: 24px 22px; }
	.acma-v3 .v3-hplan__list li { padding-block: 5px; }
	.v3-hlevel__card { padding: 22px; }
	.acma-v3 .v3-hquote__card { padding: 24px 22px; }
	.acma-v3 .v3-hquote__quote p { font-size: 17px; }

	.acma-v3 .v3-hstep__grid { margin-top: 24px; }
	.v3-hstep__item { padding-block: 14px; }

	.v3-hroles__tabs { margin-top: 20px; }
	.v3-hroles__tablist { flex-wrap: nowrap; gap: 8px; margin-inline: calc(-1 * var(--v3-pad)); padding: 2px var(--v3-pad) 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
	.v3-hroles__tablist::-webkit-scrollbar { display: none; }
	.acma-v3 .v3-hroles__tab { flex: none; min-height: var(--v3-tap); padding: 8px 16px; white-space: nowrap; }
	.v3-hroles__panel { margin-top: 12px; }
	.acma-v3 .v3-hroles__grid { gap: 0; border-top: 1px solid var(--v3-line); }
	.acma-v3 .v3-hroles__card { flex-direction: row; align-items: center; gap: 12px; min-height: 56px; padding: 10px 4px; border-radius: 0; border-bottom: 1px solid var(--v3-line); background: none; box-shadow: none; }
	.acma-v3 a.v3-hroles__card:is(:hover, :focus-visible) { transform: none; box-shadow: none; color: var(--accent); }
	.acma-v3 .v3-hroles__card.is-current { background: none; }
	.acma-v3 .v3-hroles__name { flex: 1; font-size: 16px; }
	.acma-v3 .v3-hroles__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.v3-hroles__go, .acma-v3 .v3-hroles__here { position: static; flex: none; }
}

/* Phones: the 14px meta floor (mobile pass 2026-11-19). */
@media (max-width: 639.98px) { .acma-v3 .v3-hroles__here { font-size: var(--v3-meta-fs); } }
