/**
 * Case study (v3): page-templates/page-case-study-v3.php.
 *
 * itransition's case study layout adapted: tinted hero with project facts, results figures in a
 * ruled grid, copy beside screens (alternating), numbered challenge points and solution parts,
 * feature screens, related case studies and the form. Compact rhythm; images at their own ratio
 * and never above their real width. Accent teal; CTA tone teal. No gradients.
 */

.v3-cs { --pill: var(--v3-teal); --v3-section: var(--v3-section-sm); }
.v3-pj { --pill: var(--v3-royal); } /* Project pages: one CTA tone (royal), as the registry and footer band (audit M21). */

.v3-cssec { padding-block: var(--v3-section); }
.v3-cssec.is-white { background: #fff; }
.v3-cssec.is-grey { background: var(--v3-surface); }
.v3-cshead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(32px, 5vw, 112px); align-items: end; margin-bottom: var(--v3-head-gap); }
.v3-cshead > .v3-link { justify-self: end; }
.acma-v3 .v3-cshead__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-cshead__title--gap { margin-bottom: var(--v3-head-gap); }
/* A heading straight above figures or numbered cards keeps the section heading gap. */
.acma-v3 .v3-cshead__title + :is(.v3-csstats, .v3-cschal) { margin-top: var(--v3-head-gap); }
.acma-v3 .v3-cshead__lead { max-width: 58ch; font-size: clamp(16px, .25vw + 13px, 19px); line-height: 1.6; color: var(--v3-text); }
.acma-v3 .v3-cstext { margin-top: 16px; max-width: 36em; font-size: clamp(16px, .25vw + 14px, 19px); line-height: 1.65; color: var(--v3-text); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.v3-cshero--solo .v3-cshero__layout { grid-template-columns: minmax(0, 1fr); }
.acma-v3 .v3-cshero .v3-hero__lead { max-width: 56ch; }
.acma-v3 .v3-csfacts { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 3vw, 48px); margin-top: clamp(22px, 2vw, 34px); padding-top: clamp(16px, 1.4vw, 24px); border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-csfacts dt { font-size: 14px; font-weight: 600; color: var(--v3-text); }
.acma-v3 .v3-csfacts dd { margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--v3-ink); }

/* ── Results: ruled grid of figures ─────────────────────────────────── */
.acma-v3 .v3-csstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); margin-top: clamp(20px, 2vw, 32px); }
.acma-v3 .v3-csstats.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acma-v3 .v3-csstats.is-1 { grid-template-columns: minmax(0, 1fr); }
.acma-v3 .v3-csstats > div { display: flex; flex-direction: column; padding-block: clamp(18px, 1.8vw, 30px); border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-csstats dd { order: -1; font-size: clamp(36px, 2vw + 18px, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-csstats dt { margin-top: 10px; font-size: clamp(16px, .25vw + 14px, 19px); line-height: 1.4; color: var(--v3-ink); }

/* ── Copy beside a picture ───────────────────────────────────────────── */
.v3-cssplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 96px); align-items: center; }
.v3-cssplit--flip .v3-cssplit__copy { order: 2; }
.v3-csblock + .v3-csblock { margin-top: var(--v3-head-gap); }
.acma-v3 .v3-cspic { display: block; justify-self: center; width: min(100%, var(--nw, 100%)); aspect-ratio: var(--ar, 1); overflow: hidden; border-radius: clamp(14px, 1.2vw, 22px); }
.acma-v3 .v3-cspic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.acma-v3 .v3-cspic--wide { margin-inline: auto; }
/* Beside copy, a picture narrower than its column sits on the outer edge, in line with the container. */
@media (min-width: 992px) {
	.acma-v3 .v3-cssplit > .v3-cspic { justify-self: end; }
	.acma-v3 .v3-cssplit--flip > .v3-cspic { justify-self: start; }
}
.acma-v3 .v3-csblock__n { font-size: 15px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-csblock__title { margin-top: 6px; font-size: clamp(22px, .8vw + 15px, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--v3-ink); }
.acma-v3 .v3-cslist { display: grid; gap: 2px; margin-top: 18px; list-style: none; }
.acma-v3 .v3-cslist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 7px; font-size: 16px; line-height: 1.55; color: var(--v3-text); }
.acma-v3 .v3-cslist svg { width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; }

/* ── Challenge points ────────────────────────────────────────────────── */
.acma-v3 .v3-cschal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); margin-top: clamp(20px, 2vw, 32px); list-style: none; }
.acma-v3 .v3-cschal li { padding: clamp(20px, 1.8vw, 30px); border-radius: clamp(14px, 1.1vw, 20px); background: var(--v3-surface); box-shadow: inset 0 3px 0 var(--accent); }
.acma-v3 .v3-cschal__n { font-size: 15px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-cschal__title { margin-top: 8px; font-size: clamp(19px, .4vw + 15px, 24px); font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-cschal__text { max-width: 36em; margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--v3-text); }

/* ── Feature screens ─────────────────────────────────────────────────── */
.acma-v3 .v3-csfeats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); list-style: none; }
.acma-v3 .v3-csfeats.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acma-v3 .v3-csfeats.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acma-v3 .v3-csfeats li { display: flex; flex-direction: column; gap: 10px; padding: clamp(14px, 1.2vw, 20px); border-radius: clamp(14px, 1.1vw, 20px); background: var(--v3-surface); box-shadow: inset 0 3px 0 var(--accent); }
.acma-v3 .v3-csfeat__pic { display: block; align-self: center; width: min(100%, var(--nw, 100%)); aspect-ratio: var(--ar, 1); overflow: hidden; border-radius: 10px; }
.acma-v3 .v3-csfeat__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.acma-v3 .v3-csfeat__title { margin-top: 4px; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--v3-ink); }
.acma-v3 .v3-csfeat__text { font-size: 15px; line-height: 1.55; color: var(--v3-text); }

/* ── Related case studies ────────────────────────────────────────────── */
.acma-v3 .v3-csrel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, clamp(16px, 1.4vw, 24px)); list-style: none; }
.acma-v3 .v3-csrel.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acma-v3 .v3-csrel.is-1 { grid-template-columns: minmax(0, min(560px, var(--card-max, 560px))); }
.acma-v3 .v3-csrel__card { display: flex; flex-direction: column; height: 100%; 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-csrel__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); }
/* Card artwork: the whole image at its own ratio, never cropped and never wider than its file. */
.acma-v3 .v3-csrel__pic { display: grid; place-items: center; width: 100%; border-bottom: 1px solid var(--v3-line); background: #fff; }
.acma-v3 .v3-csrel__pic img { display: block; width: min(100%, calc(var(--nw, 9999px) * 1.03)); height: auto; aspect-ratio: var(--ar, auto); object-fit: contain; }
.acma-v3 .v3-csrel__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 1.4vw, 22px); }
.acma-v3 .v3-csrel__type { font-size: 13px; font-weight: 600; color: var(--accent); }
.acma-v3 .v3-csrel__title { font-size: clamp(19px, .4vw + 14px, 23px); font-weight: 700; line-height: 1.2; color: var(--v3-ink); }
.acma-v3 .v3-csrel__text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.5; color: var(--v3-text); }
.v3-cs .v3-csrel + .v3-strip { margin-top: clamp(24px, 2.4vw, 40px); }

/* ── Listing (/case-studies/) ────────────────────────────────────────── */
.acma-v3 .v3-cshero__stats { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 3vw, 48px); margin-top: clamp(22px, 2vw, 36px); padding-top: clamp(16px, 1.4vw, 26px); border-top: 1px solid var(--v3-line); list-style: none; }
.acma-v3 .v3-cshero__stats li { display: flex; flex-direction: column; gap: 4px; }
.acma-v3 .v3-cshero__stats strong { font-size: clamp(28px, 1.2vw + 16px, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.acma-v3 .v3-cshero__stats span { font-size: 15px; font-weight: 600; color: var(--v3-text); }
.v3-cstabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(16px, 1.6vw, 24px); }
.v3-cstabs[hidden] { display: none; }
.acma-v3 .v3-cstabs__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--v3-ink); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.acma-v3 .v3-cstabs__btn span { padding: 1px 8px; border-radius: 999px; background: var(--v3-surface); font-size: 13px; color: var(--v3-text); }
.acma-v3 .v3-cstabs__btn:hover { border-color: var(--accent); color: var(--accent); }
.acma-v3 .v3-cstabs__btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.acma-v3 .v3-cstabs__btn[aria-pressed="true"] span { background: rgba(255, 255, 255, .2); color: #fff; }
.acma-v3 .v3-cstabs__btn[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--accent) 80%, #000); color: #fff; }
.acma-v3 .v3-csgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 24px); list-style: none; }
.v3-csgrid > li[hidden] { display: none; }
.acma-v3 .v3-csgrid__card .v3-csrel__body { flex: 1; }
.acma-v3 .v3-csgrid__result { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--v3-line); font-size: 15px; color: var(--v3-text); }
.acma-v3 .v3-csgrid__result strong { font-size: 22px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-csgrid__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-csgrid__go .v3-arrow { width: 16px; height: 16px; transition: transform .4s var(--v3-ease); }
.acma-v3 .v3-csgrid__card:is(:hover, :focus-visible) .v3-csgrid__go .v3-arrow { transform: translateX(5px); }
.v3-cslist-page .v3-csgrid + .v3-strip { margin-top: clamp(24px, 2.4vw, 40px); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
	.acma-v3 .v3-csfeats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.v3-cshero__layout, .v3-cshead, .v3-cssplit { grid-template-columns: minmax(0, 1fr); }
	.v3-cssplit--flip .v3-cssplit__copy { order: 0; }
	.v3-cshead > .v3-link { justify-self: start; }
	.acma-v3 .v3-csstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-csrel, .acma-v3 .v3-csrel.is-2, .acma-v3 .v3-csgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.acma-v3 .v3-cschal, .acma-v3 .v3-csstats, .acma-v3 .v3-csstats.is-2 { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-csrel, .acma-v3 .v3-csrel.is-2, .acma-v3 .v3-csgrid { grid-template-columns: minmax(0, 1fr); }
}

html:is(.translated-ltr, .translated-rtl) .acma-v3 :is(.v3-cshead__title, .v3-csblock__title, .v3-cschal__title, .v3-csfeat__title, .v3-csrel__title) { line-height: 1.35; letter-spacing: normal; }

/* ── Project (v3): single-project-v3.php, website and app detail pages ─────────────────────
   itransition's project page rhythm: hero, anchored contents bar with Share, the story problem
   first, results, services and typed cross-links. Every image at most its real width. */
.v3-pj .v3-pjsec { scroll-margin-top: calc(var(--hdr-h, 84px) + 64px); }

/* Hero */
.v3-pjhero.is-web.has-cover { padding-bottom: calc(var(--hero-bottom) + clamp(80px, 9vw, 180px)); }
.acma-v3 .v3-pjhero .v3-hero__lead { max-width: 54ch; }

/* Project snapshot card (websites) */
.acma-v3 .v3-pjsnap { align-self: center; padding: clamp(22px, 2vw, 36px); border-radius: clamp(16px, 1.3vw, 24px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line), 0 24px 48px -32px rgba(7, 26, 51, .35); }
.acma-v3 .v3-pjsnap__title { font-size: 18px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-pjsnap__facts { margin-top: 14px; }
.acma-v3 .v3-pjsnap__facts > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding-block: 12px; border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-pjsnap__facts dt { font-size: 15px; color: var(--v3-text); }
.acma-v3 .v3-pjsnap__facts dd { font-size: 16px; font-weight: 600; color: var(--v3-ink); }
.acma-v3 .v3-pjsnap__facts dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.acma-v3 .v3-pjsnap__facts dd a:hover { color: var(--v3-ink); }
.acma-v3 .v3-pjsnap__label { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--v3-line); font-size: 15px; color: var(--v3-text); }
.acma-v3 .v3-pjsnap__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; list-style: none; }
.acma-v3 .v3-pjsnap__tags a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 9%, #fff); font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; transition: background-color .2s, color .2s; }
.acma-v3 .v3-pjsnap__tags a:hover { background: var(--accent); color: #fff; }
/* The live site, when the entry has one and the editor has not hidden it. */
.acma-v3 .v3-pjsnap__live { margin-top: 18px; }
/* "Also see": other entries of the same product (website, web platform, app). */
.acma-v3 .v3-pjalso { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: clamp(20px, 1.8vw, 28px); font-size: 15px; }
.acma-v3 .v3-pjalso__label { font-weight: 600; color: var(--v3-text); }
.acma-v3 .v3-pjalso__link { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.acma-v3 .v3-pjalso__link small { font-size: 14px; font-weight: 500; color: var(--v3-text); }
.acma-v3 .v3-pjalso__link:hover { color: var(--v3-ink); }
@media (min-width: 2200px) { .acma-v3 .v3-pjalso { font-size: 17px; } .acma-v3 .v3-pjalso__link small { font-size: 15px; } }

/* Cover: the site's own wide artwork in a browser frame, pulled up into the hero. */
.v3-pjcover { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 9vw, 180px)); }
.acma-v3 .v3-pjcover__frame { width: min(100%, calc(var(--nw, 1200px) * 1.03)); margin: 0 auto; overflow: hidden; border-radius: clamp(12px, 1vw, 18px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line), 0 40px 80px -48px rgba(7, 26, 51, .55); }
.acma-v3 .v3-pjcover__bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--v3-line); background: var(--v3-surface); }
.acma-v3 .v3-pjcover__bar i { width: 11px; height: 11px; border-radius: 50%; background: #dde2e8; }
.acma-v3 .v3-pjcover__bar i:first-child { background: #f16a5f; }
.acma-v3 .v3-pjcover__bar i:nth-child(2) { background: #f5be4f; }
.acma-v3 .v3-pjcover__bar i:nth-child(3) { background: #5ac05a; }
.acma-v3 .v3-pjcover__pic { display: block; aspect-ratio: var(--ar, 1.86); }
.acma-v3 .v3-pjcover__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Contents bar with Share (sticky; sits under the header while the header shows). */
.v3-pjtoc { position: sticky; top: 0; z-index: 20; margin-top: clamp(32px, 3vw, 56px); background: rgba(255, 255, 255, .96); border-block: 1px solid var(--v3-line); transition: top .3s var(--v3-ease); }
.v3-pjhero.is-app + .v3-pjtoc, .v3-pjhero.is-web:not(.has-cover) + .v3-pjtoc { margin-top: 0; border-top: 0; }
.v3-pjtoc.is-under { top: var(--hdr-h, 84px); }
.v3-pjtoc__in { display: flex; align-items: center; gap: 24px; }
.acma-v3 .v3-pjtoc__list { display: flex; flex: 1; gap: clamp(18px, 2.2vw, 40px); min-width: 0; overflow-x: auto; scrollbar-width: none; list-style: none; }
.acma-v3 .v3-pjtoc__list::-webkit-scrollbar { display: none; }
.acma-v3 .v3-pjtoc__list a { display: block; padding: 18px 0 16px; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--v3-text); text-decoration: none; transition: color .2s, border-color .2s; }
.acma-v3 .v3-pjtoc__list a:hover { color: var(--v3-ink); }
.acma-v3 .v3-pjtoc__list a[aria-current="true"] { border-bottom-color: var(--accent); color: var(--v3-ink); }
.acma-v3 .v3-pjtoc__share { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: var(--v3-ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.acma-v3 .v3-pjtoc__share:hover { border-color: var(--v3-ink); background: var(--v3-surface); color: var(--v3-ink); }
.acma-v3 .v3-pjtoc__share svg { width: 17px; height: 17px; }

/* Overview */
.acma-v3 .v3-pjover { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 20px clamp(32px, 5vw, 112px); align-items: start; }
.acma-v3 .v3-pjover.has-glance { grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr) minmax(260px, .6fr); }
.acma-v3 .v3-pjover__lead { max-width: 60ch; font-size: clamp(19px, .45vw + 14px, 24px); font-weight: 500; line-height: 1.5; color: var(--v3-ink); }
.acma-v3 .v3-pjover__body > .v3-cstext { max-width: 66ch; }
.acma-v3 .v3-pjglance { padding: clamp(20px, 1.8vw, 30px); border-radius: clamp(14px, 1.2vw, 22px); background: var(--v3-surface); }
.acma-v3 .v3-pjglance dl > div { padding-block: 11px; border-top: 1px solid var(--v3-line); }
.acma-v3 .v3-pjglance dl > div:first-child { padding-top: 0; border-top: 0; }
.acma-v3 .v3-pjglance dt { font-size: 14px; color: var(--v3-text); }
.acma-v3 .v3-pjglance dd { margin-top: 3px; font-size: 16px; font-weight: 600; color: var(--v3-ink); }

/* Story blocks: copy beside the block's own screen */
.acma-v3 .v3-pjstory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 112px); align-items: center; }
.acma-v3 .v3-pjstory.is-flip .v3-pjstory__copy { order: 2; }
.acma-v3 .v3-pjstory.is-solo { grid-template-columns: minmax(0, 1fr); max-width: calc(860px + 2 * var(--v3-pad)); }
.acma-v3 .v3-pjstory__title { display: flex; align-items: center; gap: 16px; max-width: none; }
.acma-v3 .v3-pjstory__n { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); font-size: 16px; font-weight: 700; letter-spacing: 0; color: #fff; }
.acma-v3 .v3-pjshot { display: block; justify-self: center; width: min(100%, calc(var(--nw, 9999px) * 1.03)); aspect-ratio: var(--ar, 1.6); overflow: hidden; border-radius: clamp(14px, 1.2vw, 22px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line), 0 28px 56px -40px rgba(7, 26, 51, .45); }
.acma-v3 .v3-pjshot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.acma-v3 .v3-pjcheck { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.acma-v3 .v3-pjchecks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; list-style: none; }
.acma-v3 .v3-pjchecks > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; } /* No orphan card in the two-column grid. */
.acma-v3 .v3-pjchecks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--v3-ink); }
.acma-v3 .is-white .v3-pjchecks li { background: var(--v3-surface); box-shadow: none; }
.acma-v3 .v3-pjpoints { display: grid; gap: 12px; margin-top: 22px; list-style: none; }
.acma-v3 .v3-pjpoints li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.acma-v3 .is-white .v3-pjpoints li { background: var(--v3-surface); box-shadow: none; }
.acma-v3 .v3-pjpoints li .v3-pjcheck { margin-top: 2px; }
.acma-v3 .v3-pjpoints span { font-size: 16px; line-height: 1.55; color: var(--v3-text); }
.acma-v3 .v3-pjpoints strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 700; color: var(--v3-ink); }

/* App features */
.acma-v3 .v3-pjfeats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 20px); list-style: none; }
@media (min-width: 1200px) {
	.acma-v3 .v3-pjfeats:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.acma-v3 .v3-pjfeats:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Two features fill the row. */ /* Four features: two rows of two, not three and an orphan. */
}
.acma-v3 .v3-pjfeats li { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 1.8vw, 30px); border-radius: clamp(14px, 1.2vw, 20px); background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.acma-v3 .v3-pjfeats__n { font-size: 15px; font-weight: 700; color: var(--accent); }
.acma-v3 .v3-pjfeats strong { font-size: 18px; color: var(--v3-ink); }
.acma-v3 .v3-pjfeats span:last-child { font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--v3-ink); }

/* App screens reel on ink */
.v3-pjreelsec { padding-block: var(--v3-section); background: var(--v3-ink); color: #fff; }
.v3-pjreel__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--v3-head-gap); }
.acma-v3 .v3-pjreelsec .v3-cshead__title { color: #fff; }
.v3-pjreel__nav { display: flex; gap: 10px; }
.v3-pjreel__nav[hidden] { display: none; } /* Arrows only when the reel scrolls (case-study-v3.js). */
.acma-v3 .v3-pjreel__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.acma-v3 .v3-pjreel__btn:hover:not(:disabled) { border-color: #fff; background: #fff; color: var(--v3-ink); }
.acma-v3 .v3-pjreel__btn:disabled { opacity: .35; cursor: default; }
.acma-v3 .v3-pjreel__btn.is-prev svg { rotate: 180deg; }
.acma-v3 .v3-pjreel__btn svg { width: 20px; height: 20px; }
.acma-v3 .v3-pjreel { display: flex; gap: clamp(16px, 1.6vw, 28px); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; list-style: none; }
.acma-v3 .v3-pjreel:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 8px; }
.acma-v3 .v3-pjreel li { display: grid; flex: none; justify-items: center; align-content: start; gap: 14px; scroll-snap-align: start; }
.acma-v3 .v3-pjreel__pic { display: block; box-sizing: content-box; width: min(200px, var(--nw, 200px)); aspect-ratio: var(--ar, .56); overflow: hidden; border: 6px solid color-mix(in srgb, var(--v3-ink) 92%, #fff); border-radius: 26px; background: #fff; }
.acma-v3 .v3-pjreel__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.acma-v3 .v3-pjreel__cap { max-width: 200px; font-size: 15px; font-weight: 600; text-align: center; color: rgba(255, 255, 255, .85); }

/* Results band: lead and CTA beside numbered outcome cards, on ink. */
.v3-pjresults { padding-block: var(--v3-section); background: var(--v3-ink); color: #fff; }
.v3-pjresults__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 112px); align-items: start; }
.v3-pjresults__head { position: sticky; top: calc(var(--hdr-h, 84px) + 88px); }
.acma-v3 .v3-pjresults .v3-cshead__title { color: #fff; }
.acma-v3 .v3-pjresults__lead { margin-top: 18px; max-width: 46ch; font-size: clamp(18px, .35vw + 14px, 22px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.acma-v3 .v3-pjresults__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(24px, 2.2vw, 36px); padding: 14px 24px; border-radius: 999px; background: #fff; font-size: 16px; font-weight: 600; color: var(--v3-ink); text-decoration: none; transition: background-color .2s, color .2s; }
.acma-v3 .v3-pjresults__cta:hover { background: var(--v3-royal-on-dark); color: var(--v3-ink); }
.acma-v3 .v3-pjresults__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.acma-v3 .v3-pjresults__cta svg { width: 18px; height: 18px; }
.acma-v3 .v3-pjresults__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.1vw, 18px); list-style: none; }
.acma-v3 .v3-pjresults__list.is-1 { grid-template-columns: minmax(0, 1fr); }
.acma-v3 .v3-pjresults__list li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2vw, 34px); border: 1px solid rgba(255, 255, 255, .12); border-radius: clamp(14px, 1.2vw, 20px); background: rgba(255, 255, 255, .04); transition: border-color .25s, background-color .25s; }
.acma-v3 .v3-pjresults__list li:hover { border-color: color-mix(in srgb, var(--v3-royal-on-dark) 55%, transparent); background: rgba(255, 255, 255, .07); }
.acma-v3 .v3-pjresults__list li:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
.acma-v3 .v3-pjresults__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--v3-royal-on-dark) 16%, transparent); font-size: 15px; font-weight: 700; color: var(--v3-royal-on-dark); }
.acma-v3 .v3-pjresults__list strong { font-size: 19px; line-height: 1.3; color: #fff; }
.acma-v3 .v3-pjresults__text { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.acma-v3 .v3-pjresults__close { margin-top: clamp(16px, 1.4vw, 24px); padding-left: 20px; border-left: 3px solid var(--v3-royal-on-dark); max-width: 70ch; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .86); }

/* Services cards */
.acma-v3 .v3-pjsvc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 1.2vw, 20px); list-style: none; }
.acma-v3 .v3-pjsvc__card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(22px, 2vw, 32px) clamp(22px, 2vw, 32px) 76px; border-radius: clamp(14px, 1.2vw, 20px); background: var(--v3-surface); color: var(--v3-ink); text-decoration: none; transition: background-color .25s, box-shadow .25s; }
.acma-v3 .v3-pjsvc__card:hover, .acma-v3 .v3-pjsvc__card:focus-visible { background: #fff; box-shadow: 0 0 0 1px var(--accent), 0 22px 44px -30px rgba(7, 26, 51, .4); color: var(--v3-ink); }
.acma-v3 .v3-pjsvc__card.is-industry { background: color-mix(in srgb, var(--accent) 8%, #fff); }
.acma-v3 .v3-pjsvc__title { font-size: clamp(18px, .3vw + 15px, 21px); font-weight: 700; line-height: 1.25; }
.acma-v3 .v3-pjsvc__text { font-size: 15px; line-height: 1.55; color: var(--v3-text); }
.acma-v3 .v3-pjsvc__go { position: absolute; left: clamp(22px, 2vw, 32px); bottom: clamp(20px, 1.8vw, 28px); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 0 0 1px var(--v3-line); transition: background-color .25s, color .25s; }
.acma-v3 .v3-pjsvc__card:hover .v3-pjsvc__go { background: var(--accent); color: #fff; box-shadow: none; }
.acma-v3 .v3-pjsvc__go svg { width: 17px; height: 17px; }
.acma-v3 .v3-pjtech { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(24px, 2.4vw, 40px); }
.acma-v3 .v3-pjtech__title { font-size: 17px; font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-pjchips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.acma-v3 .v3-pjchips li { padding: 8px 15px; border: 1px solid var(--v3-line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--v3-ink); }
.v3-pj #services .v3-strip { margin-top: clamp(28px, 2.8vw, 48px); }

/* Gallery (website projects without story copy) */
.acma-v3 .v3-pjgallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 1.6vw, 28px); align-items: start; list-style: none; }

/* Further reading */
.acma-v3 .v3-pjread__title { margin-top: clamp(36px, 3.4vw, 60px); margin-bottom: 16px; font-size: clamp(20px, .4vw + 16px, 24px); font-weight: 700; color: var(--v3-ink); }
.acma-v3 .v3-pjread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.2vw, 20px); list-style: none; }
.acma-v3 .v3-pjread__card { display: flex; align-items: center; gap: 18px; height: 100%; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--v3-line); color: var(--v3-ink); text-decoration: none; transition: box-shadow .25s; }
.acma-v3 .v3-pjread__card:hover, .acma-v3 .v3-pjread__card:focus-visible { box-shadow: 0 0 0 1px var(--accent), 0 18px 36px -26px rgba(7, 26, 51, .4); color: var(--v3-ink); }
/* Insight thumbnails whole, at their own ratio (acma_v3_card_pic). */
.acma-v3 .v3-pjread__pic { flex: none; width: min(150px, var(--nw, 150px)); border-radius: 10px; }
/* The reading thumbnails keep their own ratio: the shared --card-ar of the project cards above would crop them. */
.acma-v3 .v3-capwrap .v3-pjread__pic { aspect-ratio: var(--ar, 1); }
.acma-v3 .v3-pjread__body { display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.acma-v3 .v3-pjread__name { font-size: 17px; font-weight: 700; line-height: 1.35; }

/* App mockup: the screenshots play inside the middle phone (same screen box as /our-work/). */
.acma-v3 .v3-pjmock { position: relative; justify-self: center; width: min(100%, var(--nw, 100%), 520px); aspect-ratio: var(--ar, 1); margin: 0 0 28px; }
.acma-v3 .v3-pjmock > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.acma-v3 .v3-pjmock__screen { position: absolute; left: 29.25%; top: 11.38%; width: 42.35%; height: 74.14%; overflow: hidden; }
.acma-v3 .v3-pjmock__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.acma-v3 .v3-pjmock__slide.is-on { opacity: 1; }
.acma-v3 .v3-pjmock__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.acma-v3 .v3-pjmock__dots { position: absolute; left: 50%; bottom: -8px; translate: -50% 100%; display: flex; gap: 2px; }
.acma-v3 .v3-pjmock__dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.acma-v3 .v3-pjmock__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--v3-muted) 17%, var(--v3-field-line)); transition: background-color .2s, width .2s; }
.acma-v3 .v3-pjmock__dots button:hover::before { background: var(--v3-text); }
.acma-v3 .v3-pjmock__dots button[aria-pressed="true"]::before { width: 20px; background: var(--v3-ink); }
.acma-v3 .v3-pjmock__dots button:focus-visible { outline: 2px solid var(--v3-ink); outline-offset: 1px; border-radius: 6px; }

/* Store badges: drawn only when a real store link exists. */
.acma-v3 .v3-pjbadges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acma-v3 .v3-pjbadges--hero { margin-top: clamp(20px, 1.8vw, 28px); }
.acma-v3 .v3-pjbadge { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 7px 18px 7px 14px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; transition: background-color .2s, translate .2s; }
.acma-v3 .v3-pjbadge:hover { background: color-mix(in srgb, var(--v3-ink) 92%, #fff); color: #fff; translate: 0 -2px; }
.acma-v3 .v3-pjbadge:focus-visible { outline: 2px solid var(--v3-ink); outline-offset: 3px; }
.acma-v3 .v3-pjbadge__mark { flex: none; width: 24px; height: 24px; }
.acma-v3 .v3-pjbadge__text { display: grid; font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.acma-v3 .v3-pjbadge__text small { font-size: 12px; font-weight: 500; letter-spacing: 0; }

@media (max-width: 1199.98px) {
	.acma-v3 .v3-pjover.has-glance { grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr); }
	.acma-v3 .v3-pjover.has-glance > h2 { grid-column: 1 / -1; }
	.acma-v3 .v3-pjfeats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.v3-pjhero__layout, .acma-v3 .v3-pjover, .acma-v3 .v3-pjover.has-glance, .acma-v3 .v3-pjstory, .v3-pjresults__grid { grid-template-columns: minmax(0, 1fr); }
	.v3-pjresults__head { position: static; }
	.acma-v3 .v3-pjstory.is-flip .v3-pjstory__copy { order: 0; }
		.acma-v3 .v3-pjread { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-pjmock { margin-top: 8px; }
}
@media (max-width: 767.98px) {
	.acma-v3 .v3-pjchecks, .acma-v3 .v3-pjfeats, .acma-v3 .v3-pjresults__list { grid-template-columns: minmax(0, 1fr); }
	.acma-v3 .v3-pjtoc__share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.acma-v3 .v3-pjtoc__share { padding: 9px; }
	.acma-v3 .v3-pjstory__n { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
	.acma-v3 .v3-pjcover__bar { padding: 8px 12px; }
	.acma-v3 .v3-pjcover__bar i { width: 8px; height: 8px; }
	.acma-v3 .v3-pjread__pic { width: min(112px, var(--nw, 112px)); }
}
@media (prefers-reduced-motion: reduce) {
	.acma-v3 .v3-pjmock__slide, .acma-v3 .v3-pjbadge, .v3-pjtoc { transition: none; }
}

/* Cards keep contrast on either section tone (backgrounds are assigned bottom up). */
.acma-v3 .is-grey .v3-pjsvc__card { background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.acma-v3 .is-grey .v3-pjsvc__card.is-industry { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.acma-v3 .is-white .v3-pjfeats li { background: var(--v3-surface); box-shadow: none; }
.acma-v3 .is-grey .v3-pjglance { background: #fff; box-shadow: 0 0 0 1px var(--v3-line); }
.acma-v3 .is-white .v3-pjread__card { background: var(--v3-surface); box-shadow: none; }
.acma-v3 .is-white .v3-pjread__card:hover { background: #fff; box-shadow: 0 0 0 1px var(--accent), 0 18px 36px -26px rgba(7, 26, 51, .4); }

/* Related app cards: the app's first screen sits in the mockup's blank middle phone. */
.acma-v3 .v3-pjrelmock__box { position: relative; display: block; width: min(100%, calc(var(--nw, 9999px) * 1.03)); aspect-ratio: var(--ar, 1); }
.acma-v3 .v3-pjrelmock__box > img { display: block; width: 100%; height: 100%; object-fit: contain; }


/* Phones (mobile pass 2026-11-19): related work and the services behind it are snap rows
   (.v3-swipe-sm); meta text at the 14px floor. */
@media (max-width: 639.98px) {
	.acma-v3 .v3-csrel__type { font-size: var(--v3-meta-fs); }
	.acma-v3 .v3-csrel__body { padding: 14px 16px 16px; }
	.acma-v3 .v3-pjsvc__card { padding: 20px 20px 68px; }
	.acma-v3 .v3-pjread__pic { width: min(88px, var(--nw, 88px)); }
	.acma-v3 .v3-pjread__name { font-size: 16px; }
}
