/* ==========================================================================
   Service pages: DM Sans everywhere and smaller headings (15 Oct 2026). Nothing else changes.
   Loaded last, only on the pages listed in FONT_FIXED in build_service.py.
   ========================================================================== */
:root { --serif: var(--sans); }
body { font-family: var(--sans); }

/* page title: was up to 88px in a tall serif */
.hero-title, .hero--inner .hero-title { margin-bottom: 20px; font: 500 clamp(32px, 3.6vw, 48px)/1.12 var(--sans); letter-spacing: -.02em; }

/* section headings: were up to 56px */
.h2, .flow-title, .duo .h2 { font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--sans); letter-spacing: -.015em; }
.closing-title { font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--sans); letter-spacing: -.015em; }

/* other large serif text, scaled to sit under the section headings */
.persona-tab { font: 500 clamp(17px, 1.5vw, 20px)/1.3 var(--sans); letter-spacing: 0; }
.persona-text { font: 500 clamp(20px, 1.9vw, 26px)/1.3 var(--sans); letter-spacing: -.01em; }
.lane-fn { font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--sans); letter-spacing: 0; }
.flow-label { font: 600 clamp(17px, 1.5vw, 19px)/1.3 var(--sans); }
.flow h3 { font: 600 clamp(17px, 1.5vw, 19px)/1.3 var(--sans); letter-spacing: 0; }
.mdl h3, .model h3 { font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--sans); letter-spacing: -.01em; }
.qb-name { font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--sans); letter-spacing: 0; }
.qb-mark { font-size: clamp(64px, 6vw, 88px); }
.qb-card blockquote p { font: 400 clamp(18px, 1.7vw, 22px)/1.55 var(--sans); letter-spacing: 0; }

/* FAQ laid out like How We Work: heading centred on top, questions centred below, text left-aligned */
#faqs .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: center; text-align: center; }
#faqs .eyebrow { display: none; }
#faqs .faq-list { width: 100%; max-width: 880px; text-align: left; }
#faqs .faq-item summary { font-size: 16.5px; }

/* Google reviews carousel (replaces the single quote); the pause control is a solid button, not an outline */
.svc-reviews { padding: clamp(56px, 6vw, 88px) 0; background: var(--lav2, #f3effc); }
.svc-reviews .gr-head { justify-content: space-between; margin-bottom: 24px; }
.svc-reviews .gr-card { width: 360px; padding: 26px 26px 22px; background: #fff; }
.svc-reviews .gr-q { font-size: 56px; height: 28px; }
.svc-reviews .gr-card blockquote p { -webkit-line-clamp: 9; font: 400 15px/1.6 var(--sans); }
.svc-reviews .gr-pause { min-height: 40px; padding: 6px 14px; border-color: var(--purple-t); background: var(--purple-t); color: #1d2142; }
.svc-reviews .gr-pause:hover { border-color: #d8cbf0; background: #d8cbf0; color: #1d2142; }
@media (max-width: 720px) { .svc-reviews .gr-card { width: 290px; } }

/* ---------- roles: a level chart with the scale written along the top (replaces the unlabelled bars) ---------- */
.lanes-key:empty { display: none; }
.lv { margin-top: 4px; }
.lv-intro { max-width: 36em; margin-bottom: 28px; color: var(--muted); font-size: 16px; }
.lv-head, .lv-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 40px; align-items: center; }
.lv-head { padding-bottom: 12px; border-bottom: 2px solid #1d2142; }
.lv-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lv-scale li { padding: 0 4px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.3; text-align: center; }
.lv-rows { margin: 0; padding: 0; list-style: none; }
.lv-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.lv-fn h3 { margin-bottom: 4px; color: #1d2142; font: 600 18px/1.3 var(--sans); }
.lv-fn p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.lv-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; height: 44px; background: #f7f5fc linear-gradient(to right, rgba(29, 33, 66, .08) 1px, transparent 1px) 0 0 / 20% 100%; }
.lv-bar { grid-row: 1; display: flex; align-items: center; justify-content: center; height: 32px; margin: 0 4px; padding: 0 8px; background: var(--purple); color: #111216; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
/* bars grow in from the left when the row scrolls into view */
.js .lv-row .lv-bar { transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .15s; }
.js .lv-row.is-in .lv-bar { transform: none; }
@media (max-width: 900px) {
  .lv-head, .lv-row { grid-template-columns: minmax(0, 1fr); }
  .lv-head > span { display: none; }
  .lv-scale li { font-size: 11.5px; }
  .lv-bar { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .js .lv-row .lv-bar { transform: none; transition: none; } }
#roles .section-top { margin-bottom: 10px; }

/* ==========================================================================
   CTAs first (web design principles): violet is the accent, kept for actions; solid fills only.
   ========================================================================== */
.button, .button--primary { border-color: var(--violet); background: var(--violet); color: #fff; }
.button:hover, .button--primary:hover { border-color: var(--violet-d); background: var(--violet-d); color: #fff; }
.button--soft { border-color: var(--purple-t); background: var(--purple-t); color: #1d2142; }
.button--soft:hover { border-color: #d8cbf0; background: #d8cbf0; color: #1d2142; }
/* closing strip: the white button on lavender was 1.3:1, now violet at 6.1:1 */
.closing .button--light { border-color: var(--violet); background: var(--violet); color: #fff; }
.closing .button--light:hover { border-color: var(--violet-d); background: var(--violet-d); color: #fff; }

/* ---------- In plain words: heading, copy, one solid CTA; the three points as one checklist ---------- */
.plain2-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.plain2-copy .h2 { margin-bottom: 14px; }
.plain2-copy .body-copy { max-width: 32em; margin-bottom: 26px; }
.plain2-copy .button { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.plain2-read { max-width: 34em; margin-top: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.plain2-read a { color: #1d2142; font-weight: 500; text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: 3px; }
.plain2-read a:hover { color: var(--violet); }
.plain2-points { margin: 0; padding: 8px 28px; list-style: none; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 44px -30px rgba(29, 33, 66, .35); }
.plain2-points li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; }
.plain2-points li + li { border-top: 1px solid var(--line); }
.plain2-points .tick { margin-top: 1px; }
.plain2-points p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.plain2-points strong { color: #1d2142; font-weight: 600; }

/* ---------- Who this is for: heading and intro stacked, readable tabs, one calm panel, a solid CTA ---------- */
#who .section-top { display: block; margin-bottom: 32px; }
#who .section-intro { max-width: 40em; margin-top: 10px; }
.persona-tab { color: var(--muted); }
.persona-tab:hover { color: #1d2142; }
.persona-tab.is-on { color: #1d2142; font-weight: 600; }
.persona-tab.is-on::before { background: var(--violet); }
.persona-panel--purple, .persona-panel--blue, .persona-panel--black { border: 1px solid var(--line); background: #fff; color: var(--text); }
.persona-text strong { font-weight: 600; text-decoration: none; color: #1d2142; }
.persona-cta { min-height: 50px; padding: 13px 26px; font-size: 15px; }
.persona-cta span[aria-hidden] { display: none; }
/* the mock-up is an illustration: its button must not look like the real CTA */
.mock { border: 1px solid var(--line); box-shadow: 0 18px 40px -26px rgba(29, 33, 66, .35); }
.mock-btn { background: var(--purple-t); color: #1d2142; }

@media (max-width: 900px) { .plain2-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- engagement-model cards: each card links to the page that explains the model ---------- */
.mdl--link { display: block; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.mdl--link:hover, .mdl--link:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(29, 33, 66, .4); }
.mdl-more { display: inline-block; margin-top: 16px; color: var(--violet); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: 4px; }
.mdl--link:hover .mdl-more { color: var(--violet-d); text-decoration-color: currentColor; }

/* ---------- approach header ("Judged on the work..."): stacked and centred, with a solid CTA ---------- */
#approach .flow-head { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; max-width: 680px; margin-inline: auto; text-align: center; }
#approach .flow-head .flow-title { margin-bottom: 4px; }
#approach .flow-head .body-copy { margin: 0 auto 22px; }
.flow-cta { min-height: 50px; padding: 13px 26px; font-size: 15px; }

/* ---------- for job seekers: stacked and centred, two solid buttons ---------- */
.seeker2-inner { display: flex; flex-direction: column; align-items: center; max-width: 680px; text-align: center; }
.seeker2-inner .h2 { margin-bottom: 10px; }
.seeker2-inner .body-copy { margin: 0 auto 24px; }
.seeker2-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.seeker2-actions .button { min-height: 50px; padding: 13px 26px; font-size: 15px; }
@media (max-width: 560px) { .seeker2-actions { width: 100%; } .seeker2-actions .button { flex: 1 1 100%; } }

/* ---------- diversity + where we hire: two matching cards, real city links, labelled related services ---------- */
.duo2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.duo2-card { display: flex; flex-direction: column; padding: clamp(26px, 3.2vw, 40px); background: #fff; }
.duo2-card .h2 { margin-bottom: 12px; }
.duo2-card .body-copy { max-width: 30em; margin-bottom: 24px; }
.duo2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.duo2-actions .button { min-height: 48px; padding: 12px 22px; font-size: 14.5px; }
.duo2-cities, .duo2-related { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.duo2-city { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; color: #1d2142; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.duo2-city::before { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; background: var(--purple); transform: rotate(-45deg); }
a.duo2-city:hover, a.duo2-city:focus-visible { border-color: var(--purple); background: var(--lav2); }
.duo2-sub { margin: 26px 0 4px; padding-top: 20px; border-top: 1px solid var(--line); color: #1d2142; font: 600 15px/1.3 var(--sans); }
.duo2-related a { display: inline-block; padding: 6px 0; margin-right: 18px; color: #1d2142; font-size: 14.5px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: 4px; }
.duo2-related a:hover { color: var(--violet); }
@media (max-width: 900px) { .duo2-grid { grid-template-columns: minmax(0, 1fr); } }

/* final check: the reviews and the diversity section were both lavender and ran together; the diversity
   section now sits on white with lavender cards, and the reviews keep less space underneath */
.duo2 { background: #fff; }
.duo2-card { background: var(--lav2, #f3effc); }
.duo2-city { background: #fff; }
.duo2-actions { margin-top: 0; }
.svc-reviews { padding-bottom: clamp(40px, 4vw, 56px); }
.svc-reviews .gr-marquee { padding-bottom: 8px; }
/* lavender buttons on a lavender card had no visible edge: solid violet instead */
.duo2-actions .button--soft { border-color: var(--violet); background: var(--violet); color: #fff; }
.duo2-actions .button--soft:hover { border-color: var(--violet-d); background: var(--violet-d); color: #fff; }

/* fix 2: closing strip with the hiring door only, centred */
.closing-grid--one { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.closing-grid--one .door { max-width: 640px; border: 0; padding: 0; }
.closing-grid--one .door p { margin-inline: auto; }
/* fix 5: "Five stages, one partner." centred under the centred header */
#approach .flow-label { text-align: center; }

/* job seekers: was a small centred block in a lot of white space; now a full-width sky panel with bigger type */
.seeker2 { padding: clamp(48px, 5vw, 72px) 0; }
.seeker2-inner { max-width: none; padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 96px); background: #eaf4fd; }
.seeker2-inner .h2 { max-width: 20em; font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.seeker2-inner .body-copy { max-width: 36em; font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.seeker2-actions .button { min-height: 56px; padding: 15px 32px; font-size: 16px; }
.seeker2-actions .button--soft { border-color: #fff; background: #fff; }
.seeker2-actions .button--soft:hover { border-color: #fff; background: #f3effc; }
/* second button in the diversity card: solid indigo, so it reads as a different choice from the violet one */
.duo2-actions .button:nth-child(2) { border-color: #1d2142; background: #1d2142; color: #fff; }
.duo2-actions .button:nth-child(2):hover { border-color: #3a3f6b; background: #3a3f6b; color: #fff; }

/* ---------- roles chart on a six-step scale (pages other than Finance) and the CFO "reports to" list ---------- */
.lv-head--6 .lv-scale, .lv-scale--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lv-track--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); background-size: 16.666% 100%; }
.lv-rows--top .lv-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lv-rep { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: #f7f5fc; border-left: 4px solid var(--purple); }
.lv-rep span { color: var(--muted); font-size: 13px; }
.lv-rep strong { color: #1d2142; font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .lv-rows--top .lv-row { grid-template-columns: minmax(0, 1fr); } }
