/* =====================================================================
   Practice pages — AML, Financial Crime & Compliance (aml-financial-crime.html),
   Banking Risk & Quantitative Risk (banking-risk.html) and
   Business Continuity & Operational Resilience (business-continuity.html).
   Loads after styles.css, v3.css and secondment.css, so the header, on-this-page bar, rail bands,
   navy band, contact section and footer match the Specialist Secondment page exactly.
   This file adds: the header diagram, the capabilities explorer (practice.js), the fast-start board,
   the BCM lifecycle and the "other practices" links.
   Every diagram is decorative (aria-hidden) and only repeats words from the page's own copy.
   ===================================================================== */
.practice-page .svc-header-grid { align-items:center; }
.practice-page .svc-header h1 { max-width:640px; }
/* The diagram sits on its own dotted field, so the header's grid lines are not repeated behind it. */
.practice-page .svc-header:before { display:none; }

/* ---------- Header diagram: drawn straight on a soft dotted field (no window frame) ---------- */
.pr-window { position:relative; }
.pr-stage { position:relative; isolation:isolate; min-height:320px; padding:30px 8px; }
.pr-stage:before {
  content:''; position:absolute; inset:-28px -36px; z-index:-1; pointer-events:none;
  background:radial-gradient(#6f8aa44d 1.1px,transparent 1.5px) 0 0/15px 15px;
  -webkit-mask-image:radial-gradient(closest-side,#000 55%,transparent 100%); mask-image:radial-gradient(closest-side,#000 55%,transparent 100%);
}
.pr-chip { display:flex; align-items:center; gap:10px; padding:9px 14px 9px 9px; font-size:13px; font-weight:500; line-height:1.3; color:var(--ink); background:#fff; border:1px solid #dfe7ef; border-radius:999px; box-shadow:0 8px 18px -14px #1b3f6659; }
.pr-chip-ico { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#2f6bb0; background:#eef4fb; }
.pr-chip-ico .icon { width:15px; height:15px; }

/* AML: four strands of expertise converge on one intelligence-led, defensible control. */
.pr-flow { display:grid; grid-template-columns:minmax(0,1fr) 56px minmax(0,.95fr); align-items:stretch; }
/* Rows have no gap, so each chip's centre sits at 12.5 / 37.5 / 62.5 / 87.5% — where its line starts. */
.flow-in { display:grid; grid-auto-rows:1fr; align-items:center; justify-items:stretch; margin:0; padding:0; list-style:none; }
/* Connector lines (hero and capabilities), as on the homepage: practice.js redraws them in real pixels from the
   boxes they join, and a short pulse travels each line from item to outcome. Line and pulse share one width. */
.flow-lines,.capx-lines { width:100%; height:100%; overflow:visible; }
.flow-lines path,.capx-lines path { fill:none; stroke:#a9c6e6; stroke-width:1.25; stroke-linecap:round; }
.flow-lines .flow-signal,.capx-lines .flow-signal { stroke:#2f74c9; stroke-dasharray:8 92; animation:pr-signal 4s linear infinite; }
@keyframes pr-signal { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
/* Before practice.js has drawn them (or without JavaScript): the stretched fallback, no pulse. */
.flow-lines:not([data-drawn]) path,.capx-lines:not([data-drawn]) path { vector-effect:non-scaling-stroke; }
.flow-lines:not([data-drawn]) .flow-run,.capx-lines:not([data-drawn]) .flow-run { display:none; }
.flow-out { align-self:center; display:flex; flex-direction:column; align-items:center; gap:14px; padding:22px 12px 18px; text-align:center; background:#fff; border:1px solid #dfe7ef; border-radius:16px; box-shadow:0 24px 44px -28px #1c4a7a80; }
.flow-core { display:grid; place-items:center; width:54px; height:54px; border-radius:50%; color:#fff; background:linear-gradient(160deg,#3a82d6,#1f57a3); box-shadow:0 0 0 7px #2f74c91a,0 12px 24px -10px #2f74c9; }
.flow-core .icon { width:24px; height:24px; }
.flow-out b { font-size:14px; font-weight:500; line-height:1.35; color:var(--ink); }
.flow-check { display:flex; align-items:center; gap:7px; padding:6px 10px; font-size:11px; line-height:1.3; text-align:left; color:#2f6bb0; background:#eef4fb; border-radius:999px; }
.flow-check .icon { width:13px; height:13px; stroke-width:2.4; }

/* Banking risk: development and independent validation sit in separate lanes, apart by design. */
.pr-split { display:flex; flex-direction:column; gap:18px; }
.split-domains { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.split-domains li { padding:6px 12px; font-size:12px; color:#3f5a73; background:#fff; border:1px solid #dfe7ef; border-radius:999px; }
.split-lanes { flex:1; display:grid; grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr); }
.split-lane { display:flex; flex-direction:column; gap:12px; padding:16px; background:#fff; border:1px solid #dfe7ef; border-radius:14px; box-shadow:0 20px 40px -30px #1c4a7a80; }
.split-lane-head { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:500; line-height:1.3; color:var(--ink); }
.split-ico { flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; }
.split-ico .icon { width:16px; height:16px; }
.split-dev .split-ico { color:#2f6bb0; background:#eef4fb; }
.split-val .split-ico { color:#5d54c8; background:#efedfc; }
.split-chart { width:100%; height:92px; margin-top:auto; overflow:visible; }
.split-chart .bar { fill:#2f74c9; opacity:.85; transform-box:fill-box; transform-origin:bottom; }
.split-chart .bar:nth-child(odd) { fill:#8dbaf0; }
.split-chart .grid { stroke:#e6edf3; stroke-width:1; }
.split-chart .diag { fill:none; stroke:#c9c3f3; stroke-width:1.5; stroke-dasharray:4 4; }
.split-chart .fit { fill:none; stroke:#6d63d9; stroke-width:2; }
.split-chart .pt { fill:#fff; stroke:#6d63d9; stroke-width:1.6; }
.split-wall { position:relative; display:flex; justify-content:center; }
.split-wall:before { content:''; position:absolute; top:6px; bottom:6px; left:50%; border-left:1.5px dashed #b5c4d3; }
.split-wall span { position:relative; align-self:center; padding:6px 0; writing-mode:vertical-rl; rotate:180deg; font-size:9px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#7b8c9a; background:#f2f6fa; }
.split-foot { display:flex; align-items:center; gap:8px; font-size:11.5px; color:#6b7a87; }
.split-foot span { display:inline-flex; align-items:center; gap:6px; }
.split-foot span:before { content:''; width:6px; height:6px; border-radius:50%; background:#2f74c9; }
.split-foot span+span:before { background:#6d63d9; }
.js-motion .pr-window.reveal.is-visible .split-chart .bar { animation:v3-grow-y .8s var(--v3-ease) backwards; }
.js-motion .pr-window.reveal.is-visible .split-chart .fit { animation:v3-draw 1.6s var(--v3-ease) .2s backwards; }

/* Business continuity: critical services at the centre, ringed by people, technology and third parties. */
.pr-rings { display:grid; grid-template-rows:1fr auto; justify-items:center; gap:16px; }
.rings-map { position:relative; width:min(100%,300px); aspect-ratio:1; }
.rings-map > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.rings-map circle.ring { fill:none; stroke:#cfdceb; stroke-width:1; }
.rings-map circle.ring-dash { stroke-dasharray:3 6; }
.rings-map .orbit { transform-origin:150px 150px; animation:pr-orbit 40s linear infinite; }
.rings-map .orbit:nth-of-type(2) { animation-duration:56s; animation-direction:reverse; }
.rings-map .node { fill:#2f74c9; }
@keyframes pr-orbit { to { rotate:360deg; } }
.ring-core { position:absolute; left:50%; top:50%; translate:-50% -50%; display:flex; flex-direction:column; align-items:center; gap:8px; width:118px; text-align:center; }
.ring-core span { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; color:#fff; background:linear-gradient(160deg,#3a82d6,#1f57a3); box-shadow:0 0 0 8px #2f74c91a,0 12px 24px -10px #2f74c9; }
.ring-core .icon { width:22px; height:22px; }
.ring-core b { font-size:11.5px; font-weight:500; line-height:1.3; color:var(--ink); }
.ring-tags { margin:0; padding:0; list-style:none; }
.ring-tag { position:absolute; translate:-50% -50%; padding:7px 12px 7px 8px; font-size:12px; white-space:nowrap; }
.ring-tag .pr-chip-ico { width:24px; height:24px; }
.ring-tag .pr-chip-ico .icon { width:13px; height:13px; }
.rings-foot { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0; padding:0; list-style:none; }
.rings-foot li { display:flex; align-items:center; gap:6px; padding:5px 10px; font-size:11px; color:#2f6bb0; background:#eef4fb; border-radius:999px; }
.rings-foot .icon { width:12px; height:12px; stroke-width:2.4; }

/* ---------- Capabilities (practice.js) — the homepage "What we help you achieve" pattern ----------
   Left: plain headings on a hairline (no icons, no numbers); the open heading carries a cobalt segment,
   with its line and a text link underneath. Right: a V3 diagram window — header bar / stage / footer bar —
   where the capability's items connect to its outcome. Changes only on click (or Enter/Space).
   ≤980px the same markup is an accordion: heading, its line and link, then the window under it.
   Without JavaScript every capability is shown in sequence. */
.capx { position:relative; }
.capx-item { margin:0; }
.capx-head,.capx-answer { position:relative; }
.capx-head { margin:0; font:inherit; letter-spacing:normal; }
/* Heading size follows the service-page list headings (moment rows, governance, mobilise: 18px; 16px on phones),
   so the whole list fits on one screen beside the window. */
.capx-tab {
  position:relative; display:block; width:100%; padding:12px 0 12px 30px; text-align:left; cursor:pointer;
  font:inherit; font-size:18px; font-weight:400; line-height:1.3; letter-spacing:-.01em;
  color:#8696a5; background:none; border:0; transition:color .3s;
}
.capx-tab:hover { color:#3d5872; }
.capx-tab[aria-expanded="true"] { color:var(--ink); }
.capx-tab:focus-visible { outline:2px solid #2f74c9; outline-offset:2px; border-radius:6px; }
.capx-badge { display:inline-block; margin-left:10px; padding:4px 8px; vertical-align:.25em; font-size:9.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#2f6bb0; background:#eef4fb; border-radius:6px; }
/* Hairline and marker (desktop, as on the homepage): one 1px hairline down the list and ONE cobalt marker that
   spans the open heading and its text. The marker grows in on every switch; while the section is on screen it
   fills over 7s and the next capability opens (autoplay, practice.js). Hovering shows it whole; a click stops it. */
@keyframes pr-mark-a { from { scale:1 0; } }
@keyframes pr-mark-b { from { scale:1 0; } }
@keyframes pr-progress-a { from { scale:1 0; } to { scale:1 1; } }
@keyframes pr-progress-b { from { scale:1 0; } to { scale:1 1; } }
@media (min-width:981px) {
  .capx.is-ready:before { content:''; grid-column:1; grid-row:1 / -2; justify-self:start; width:1px; background:#d3dee9; }
  .capx.is-ready:after {
    content:''; z-index:1; grid-column:1; grid-row:var(--mr,1) / span 2; justify-self:start; align-self:stretch;
    width:2px; margin-left:-.5px; border-radius:2px; transform-origin:top; pointer-events:none;
    background:linear-gradient(180deg,#8dbaf0,#2f74c9); animation:pr-mark-a .5s var(--v3-ease) backwards;
  }
  .capx.is-ready[data-mark="b"]:after { animation-name:pr-mark-b; }
  .capx.is-ready.pr-autoplay.pr-inview:after { animation:pr-progress-a 7s linear; }
  .capx.is-ready.pr-autoplay.pr-inview[data-mark="b"]:after { animation-name:pr-progress-b; }
  .capx.is-ready.pr-autoplay.pr-inview:hover:after { animation:pr-mark-a .5s var(--v3-ease) backwards; }
  .capx.is-ready.pr-autoplay.pr-inview[data-mark="b"]:hover:after { animation-name:pr-mark-b; }
}
/* Accordion and no-JavaScript list: the hairline runs beside each heading and its text; the open pair is marked. */
.capx:not(.is-ready) .capx-head,.capx:not(.is-ready) .capx-answer { border-left:1px solid #d3dee9; }
@media (max-width:980px) {
  .capx-head,.capx-answer { border-left:1px solid #d3dee9; }
  .capx-head:has(.capx-tab[aria-expanded="true"]):before,.capx-panel:not([hidden]):not(.is-closing) .capx-answer:before {
    content:''; position:absolute; left:-1.5px; top:0; bottom:0; width:2px; background:#2f74c9;
  }
}
.capx-answer { padding:0 0 14px 30px; }
.capx-tag { max-width:430px; font-size:14px; line-height:1.65; color:#5b6c7a; }
.capx-answer .text-link { margin-top:6px; padding-block:8px; gap:13px; font-size:12px; }
.capx-answer .text-link .icon { width:19px; height:19px; transition:transform .25s; }
.capx-answer .text-link:hover .icon { transform:translateX(3px); }

/* Diagram window: the homepage priority mockup on a light page. */
.capx-window {
  position:relative; isolation:isolate; display:flex; flex-direction:column;
  background:#fff; border:1px solid #dfe7ef; border-radius:16px; box-shadow:0 1px 2px #1b3f660a,0 44px 80px -48px #1c4a7a80;
}
.capx-window:before { content:''; position:absolute; inset:8px; z-index:-1; border-radius:11px; background:linear-gradient(180deg,var(--well,#e3edfb) 0%,#fbfcfe 100%); }
.capx-bar {
  display:flex; align-items:center; gap:10px; margin:8px 8px 0; padding:15px 18px 14px; border-bottom:1px solid #1b3f6612;
  font-size:9px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:#5e7890;
}
.capx-bar:before { content:''; flex:none; width:22px; height:22px; border-radius:7px; background:radial-gradient(circle,#2f74c9 0 3px,transparent 3.5px),#fff; box-shadow:0 0 0 1px #d6e1eb,0 4px 10px -4px #1b3f6640; }
.capx-stage { flex:1; display:grid; grid-template-columns:minmax(0,1fr) 56px minmax(0,.82fr); align-items:stretch; padding:34px 30px; }
.capx-list { display:grid; grid-auto-rows:1fr; margin:0; padding:0; list-style:none; }
.capx-list li {
  align-self:center; display:flex; align-items:center; gap:9px; margin:5px 0; padding:10px 13px;
  font-size:12.5px; line-height:1.4; color:var(--ink); background:#fff; border:1px solid #dfe7ef; border-radius:9px;
  box-shadow:0 6px 14px -12px #1b3f6680;
}
.capx-list li:before { content:''; flex:none; width:5px; height:5px; border-radius:50%; background:#3f86cf; }
.capx-out {
  align-self:center; display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:18px 18px 20px;
  background:#fff; border:1px solid #dfe7ef; border-radius:13px; box-shadow:0 24px 44px -28px #1c4a7a80;
}
.capx-out-ico { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:#fff; background:#2f74c9; box-shadow:0 0 0 5px #2f74c91a,0 8px 16px -8px #2f74c9; }
.capx-out-ico .icon { width:15px; height:15px; stroke-width:2.4; }
.capx-out-label { font-size:9px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#7b8c9a; }
.capx-out p { margin-top:-4px; font-size:14px; font-weight:500; line-height:1.45; color:var(--ink); }
/* War-game window: a light week scale in the card. */
.capx-out-weeks { width:100%; }
.capx-out-weeks b { margin-top:-4px; font-size:20px; font-weight:500; color:var(--ink); }
.capx-out-weeks .start-scale { width:100%; margin-top:6px; padding-bottom:22px; }
/* A separate positioned "range" element here cost a ~120ms frame each time the window opened, so the
   week bars are one element (see Fast-start board). */
.capx-out-weeks .start-track { height:10px; background:#e6eef6; }
.capx-out-weeks .start-bar { box-shadow:none; }
.capx-out-weeks .start-ticks li { font-size:9.5px; color:#8a99a5; }
.capx-foot {
  display:flex; align-items:center; justify-content:center; gap:12px; margin:0 8px 8px; padding:13px 18px 15px;
  border-top:1px solid #1b3f6612; font-size:10px; letter-spacing:.025em; color:#5d7890;
}
.capx-foot i { width:3px; height:3px; border-radius:50%; background:#a6b8c8; }
/* Opening: the answer unfolds under its heading; the window's pieces settle in. */
/* Folding (practice.js sets --h to the folding part's full height): the old text folds away while the new one
   unfolds, so the headings glide instead of jumping. Padding folds too (border-box would otherwise keep it). */
@keyframes pr-unfold { from { max-height:0; padding-bottom:0; opacity:0; } to { max-height:var(--h); padding-bottom:var(--pb); opacity:1; } }
@keyframes pr-fold { from { max-height:var(--h); padding-bottom:var(--pb); opacity:1; } to { max-height:0; padding-bottom:0; opacity:0; } }
@media (min-width:981px) {
  .capx-answer { --pb:14px; }
  .capx-panel.is-opening .capx-answer { overflow:hidden; overflow:clip; animation:pr-unfold .45s var(--v3-ease) both; }
  .capx-panel.is-closing .capx-answer { overflow:hidden; overflow:clip; animation:pr-fold .45s var(--v3-ease) both; }
  .capx-panel.is-closing .capx-window { display:none; }
}
@media (max-width:980px) {
  .capx-panel { --pb:22px; padding-bottom:22px; }
  .capx-panel.is-opening { overflow:hidden; animation:pr-unfold .45s var(--v3-ease) both; }
  .capx-panel.is-closing { overflow:hidden; animation:pr-fold .45s var(--v3-ease) both; }
}
.capx-panel.is-entering .capx-list li { animation:v3-rise .45s var(--v3-ease) backwards; }
.capx-panel.is-entering .capx-list li:nth-child(2) { animation-delay:.06s; }
.capx-panel.is-entering .capx-list li:nth-child(3) { animation-delay:.12s; }
.capx-panel.is-entering .capx-list li:nth-child(4) { animation-delay:.18s; }
.capx-panel.is-entering .capx-lines path:not(.flow-signal) { animation:v3-draw .9s ease .15s backwards; }
.capx-panel.is-entering .capx-out { animation:v3-pop .5s var(--v3-ease) .35s backwards; }
.capx-panel.is-entering .capx-bar,.capx-panel.is-entering .capx-foot { animation:v3-fade .4s ease backwards; }

/* Desktop: headings and answers on the left; the diagram window on the right is sticky within this section, so it
   stays in view from the first capability to the last (even after clicking the last one), then leaves with the section.
   - It holds centred in the space below the header and on-this-page bar (top = bars + half the free height).
   - The grid ends with one flexible 1fr row that the window also spans. An item spanning a flexible row is sized in
     the flexible step, never by stretching the auto heading rows — so the list cannot shift during a switch.
   - practice.js gives every window the tallest one's height (--capx-h), so switching never resizes it. */
@media (min-width:981px) {
  .capx.is-ready { position:relative; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows:repeat(var(--rows),auto) 1fr; column-gap:72px; align-content:start; }
  .capx.is-ready .capx-item,.capx.is-ready .capx-panel:not([hidden]) { display:contents; }
  .capx.is-ready .capx-head { grid-column:1; grid-row:var(--r); }
  .capx.is-ready .capx-answer { grid-column:1; grid-row:var(--a); }
  .capx.is-ready .capx-window {
    position:sticky; grid-column:2; grid-row:1 / -1; align-self:start; min-height:var(--capx-h,0);
    top:calc(var(--svc-hdr) + var(--svc-sub) + max(24px, (100vh - var(--svc-hdr) - var(--svc-sub) - var(--capx-h,400px)) / 2));
  }
}
@media (min-width:981px) and (max-width:1200px) {
  .capx.is-ready { column-gap:48px; }
  .capx-stage { grid-template-columns:minmax(0,1fr) 40px minmax(0,.85fr); padding:28px 22px; }
}
/* Tablet and phone: accordion; the window opens under its heading. */
@media (max-width:980px) {
  .capx-tab { padding-right:34px; }
  .capx-tab:after { content:''; position:absolute; right:8px; top:50%; width:8px; height:8px; margin-top:-6px; border-right:1.5px solid #2f74c9; border-bottom:1.5px solid #2f74c9; rotate:45deg; transition:rotate .3s var(--v3-ease); }
  .capx-tab[aria-expanded="true"]:after { rotate:225deg; margin-top:-2px; }
  .capx-window { margin:4px 0 0; }
}
@media (max-width:700px) {
  .capx-tab { padding:10px 30px 10px 20px; font-size:16px; }
  .capx-answer { padding-left:20px; }
  .capx-tag { font-size:14px; }
  .capx-bar { padding:13px 14px 12px; font-size:8.5px; }
  /* Narrow window: items, then one connector down to the outcome. */
  .capx-stage { grid-template-columns:1fr; padding:20px 16px 22px; }
  .capx-lines { display:none; }
  .capx-list { gap:8px; }
  .capx-list li { margin:0; font-size:12.5px; }
  .capx-out { position:relative; margin-top:30px; width:100%; }
  .capx-out:before { content:''; position:absolute; left:28px; top:-31px; height:30px; border-left:1.5px dashed #9cc0ea; }
  .capx-foot { padding:11px 12px 13px; font-size:9.5px; }
}
@media (prefers-reduced-motion:reduce) {
  .capx-tab,.capx-tab:after { transition:none; }
  .capx-panel.is-entering *,.capx-lines .flow-signal { animation:none !important; }
  .capx-lines .flow-signal { display:none; }
}
html[data-motion=paused] .capx-lines .flow-signal,html[data-motion=paused] .flow-lines .flow-signal { display:none; }

/* ---------- Fast-start board (navy band) ---------- */
.pr-start-band .pr-start { padding-block:112px; }
.start-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:80px; align-items:center; }
.start-copy h2 { color:#fff; }
.start-lead { max-width:470px; margin-top:24px; font-size:16px; line-height:1.75; color:#c9d7e3; }
.start-copy .hero-actions { margin-top:34px; }
.start-board { padding:26px 28px 24px; background:#ffffff08; border:1px solid #ffffff1c; border-radius:18px; box-shadow:0 40px 80px -50px #000000b3; backdrop-filter:blur(6px); }
.start-head { display:flex; align-items:center; gap:12px; }
.start-ico { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:11px; color:#fff; background:#2f74c9; box-shadow:0 10px 20px -10px #2f74c9; }
.start-ico .icon { width:19px; height:19px; }
.start-head b { font-size:17px; font-weight:500; color:#fff; }
.start-range { margin-left:auto; white-space:nowrap; padding:5px 10px; font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#9cc7f2; background:#2f74c92e; border-radius:6px; }
/* Week scale: solid to the shortest duration, then a fading stretch to the longest. */
.start-scale { position:relative; margin-top:30px; padding-bottom:26px; }
.start-track { position:relative; height:14px; border-radius:99px; background:#ffffff12; }
/* Week scale: one element draws the solid stretch (to the shortest duration) and the lighter stretch (to the longest). */
.start-bar { position:absolute; top:0; bottom:0; left:0; width:calc(var(--hi) / var(--max) * 100%); border-radius:99px; background:linear-gradient(90deg,#8dbaf0,#4f8fe0 calc(var(--min) / var(--hi) * 100%),#4f8fe04d calc(var(--min) / var(--hi) * 100%)); transform-origin:left; }
.start-bar-range { display:none; }
.start-ticks { position:absolute; left:0; right:0; bottom:0; height:16px; margin:0; padding:0; list-style:none; }
.start-ticks li { position:absolute; left:calc(var(--at) / var(--max) * 100%); translate:-50% 0; font-size:10px; letter-spacing:.06em; white-space:nowrap; color:#7f9ab0; }
.start-ticks li:first-child { translate:0 0; }
.start-ticks li:last-child { translate:-100% 0; }
.start-outs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:22px 0 0; padding:20px 0 0; list-style:none; border-top:1px solid #ffffff14; }
.start-outs li { display:flex; align-items:center; gap:10px; padding:12px 14px; font-size:13.5px; color:#fff; background:#ffffff0a; border:1px solid #ffffff1a; border-radius:12px; }
.start-outs .icon { flex:none; width:22px; height:22px; padding:4px; color:#fff; background:#2f74c9; border-radius:50%; stroke-width:2.4; }
.js-motion .start-board.reveal.is-visible .start-bar { animation:v3-grow-x 1s var(--v3-ease) .2s backwards; }

/* ---------- BCM lifecycle (navy band) ---------- */
.pr-cycle-band .pr-cycle { padding-block:112px; }
.cycle-board { position:relative; padding:40px 36px 34px; background:#ffffff08; border:1px solid #ffffff1c; border-radius:18px; box-shadow:0 40px 80px -50px #000000b3; backdrop-filter:blur(6px); }
.cycle { position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:0; padding:0; list-style:none; }
.cycle:before,.cycle:after { content:''; position:absolute; top:25px; left:calc(100% / 12); right:calc(100% / 12); height:2px; border-radius:2px; }
.cycle:before { background:#ffffff1f; }
.cycle:after { background:linear-gradient(90deg,#8dbaf0,#4f8fe0); transform-origin:left; }
.cycle li { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.cycle-node { display:grid; place-items:center; width:52px; height:52px; border-radius:50%; color:#9cc7f2; background:#10304d; box-shadow:0 0 0 1px #ffffff2e,0 0 0 7px #0e2740; transition:background .3s,color .3s,box-shadow .3s; }
.cycle-node .icon { width:21px; height:21px; }
.cycle li:hover .cycle-node { color:#fff; background:#2f74c9; box-shadow:0 0 0 1px #2f74c9,0 0 0 7px #0e2740,0 12px 24px -8px #2f74c9; }
.cycle-no { font-size:10px; letter-spacing:.12em; color:#7f9ab0; font-variant-numeric:tabular-nums; }
.cycle-name { margin-top:-8px; font-size:17px; font-weight:500; color:#fff; }
/* A dashed return path: after Sustain the programme comes back round to Assess. */
.cycle-return { position:relative; height:34px; margin:14px calc(100% / 12) 0; border:1.5px dashed #4f7398; border-top:0; border-radius:0 0 20px 20px; }
.cycle-return:before { content:''; position:absolute; left:-6px; top:-2px; width:9px; height:9px; border-left:1.5px solid #8dbaf0; border-top:1.5px solid #8dbaf0; rotate:45deg; }
.js-motion .cycle-board.reveal.is-visible .cycle:after { animation:v3-grow-x 1.6s var(--v3-ease) .2s backwards; }
.js-motion .cycle-board.reveal .cycle li { opacity:0; translate:0 10px; transition:opacity .5s ease,translate .5s var(--v3-ease); transition-delay:calc(var(--i) * 140ms + .2s); }
.js-motion .cycle-board.reveal.is-visible .cycle li { opacity:1; translate:0 0; }

/* ---------- Other practices ---------- */
.more-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0; padding:0; list-style:none; }
.more-card {
  position:relative; display:flex; flex-direction:column; height:100%; padding:26px 26px 24px; overflow:hidden;
  background:#fff; border:1px solid #e0e8ef; border-radius:18px; box-shadow:0 1px 2px #1b3f660a,0 24px 50px -42px #1c4a7a66;
  transition:border-color .3s,box-shadow .3s;
}
.more-card:hover { border-color:#c7d8ea; box-shadow:0 1px 2px #1b3f660a,0 30px 60px -36px #1c4a7a73; }
.more-ico { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; color:#2f6bb0; background:linear-gradient(180deg,#e3edfb,#fff); box-shadow:0 0 0 1px #dfe7ef; transition:background .3s,color .3s; }
.more-ico .icon { width:20px; height:20px; }
.more-card:hover .more-ico { color:#fff; background:#2f74c9; }
.more-name { margin-top:22px; font-size:19px; font-weight:500; line-height:1.3; letter-spacing:-.01em; color:var(--ink); }
.more-tag { margin-top:8px; font-size:14px; line-height:1.6; color:#5b6c7a; }
.more-go { display:flex; align-items:center; gap:10px; margin-top:auto; padding-top:24px; font-size:13px; font-weight:500; color:var(--blue); }
.more-go .icon { width:16px; height:16px; transition:transform .3s var(--v3-ease); }
.more-card:hover .more-go .icon { transform:translateX(4px); }

/* ---------- Motion preferences ---------- */
html[data-motion=paused] .rings-map .orbit { animation-play-state:paused; }
@media (prefers-reduced-motion:reduce) {
  .flow-lines .flow-signal,.rings-map .orbit { animation:none !important; }
  .flow-lines .flow-signal { display:none; }
  .split-chart *,.start-bar,.start-bar-range,.cycle:after { animation:none !important; }
  .js-motion .cycle-board.reveal .cycle li { opacity:1; translate:none; transition:none; }
}
html.js-motion[data-motion=paused] .cycle-board.reveal .cycle li { opacity:1; translate:none; }

/* ---------- Responsive ---------- */
@media (max-width:1200px) {
  .start-grid { gap:56px; }
  .cycle-board { padding:36px 22px 30px; }
  .cycle-name { font-size:15px; }
}
@media (max-width:980px) {
  .practice-page .svc-header-grid { align-items:start; }
  .pr-window { max-width:620px; }
  .start-grid { grid-template-columns:1fr; gap:44px; }
  .more-grid { grid-template-columns:1fr; gap:12px; }
  .more-card { display:grid; grid-template-columns:44px minmax(0,1fr) auto; column-gap:18px; align-items:center; padding:20px 22px; }
  .more-ico { grid-row:1/3; }
  .more-name { margin:0; font-size:17px; }
  .more-tag { grid-column:2; margin-top:4px; font-size:13.5px; }
  .more-go { grid-column:3; grid-row:1/3; margin:0; padding:0; }
  .more-go span { display:none; }
}
@media (max-width:700px) {
  .pr-stage { min-height:0; padding:18px; }
  .pr-flow { grid-template-columns:minmax(0,1fr) 34px minmax(0,.9fr); }
  .pr-chip { gap:8px; padding:7px 10px 7px 7px; font-size:11.5px; }
  .pr-chip-ico { width:24px; height:24px; }
  .pr-chip-ico .icon { width:13px; height:13px; }
  .flow-out { padding:16px 10px 14px; gap:10px; }
  .flow-core { width:44px; height:44px; }
  .flow-out b { font-size:12px; }
  .flow-check { font-size:10px; padding:5px 8px; }
  .split-lanes { grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr); }
  .split-lane { padding:12px; }
  .split-lane-head { font-size:12px; }
  .split-chart { height:70px; }
  .ring-tag { font-size:11px; padding:5px 9px 5px 6px; }
  .pr-start-band .pr-start,.pr-cycle-band .pr-cycle { padding-block:72px; }
  .start-board { padding:20px 18px; }
  .start-head b { font-size:15px; line-height:1.3; }
  .start-ticks li:not(.key) { display:none; }
  .start-outs { grid-template-columns:1fr; }
  /* Lifecycle: the six stages run down a vertical track. */
  .cycle-board { padding:24px 20px; }
  .cycle { grid-template-columns:1fr; row-gap:14px; }
  .cycle:before,.cycle:after { top:26px; bottom:26px; left:25px; right:auto; width:2px; height:auto; }
  .cycle:after { transform-origin:top; }
  .js-motion .cycle-board.reveal.is-visible .cycle:after { animation-name:v3-grow-y; }
  .cycle li { display:grid; grid-template-columns:52px auto 1fr; align-items:center; column-gap:16px; text-align:left; }
  .cycle-no { grid-column:2; grid-row:1; }
  .cycle-name { grid-column:3; grid-row:1; margin:0; }
  .cycle-return { display:none; }
  .more-card { grid-template-columns:40px minmax(0,1fr) auto; column-gap:14px; padding:18px; }
  .more-ico { width:40px; height:40px; }
  .more-name { font-size:16px; }
}
@media print {
  .flow-lines .flow-signal { display:none; }
}
