/* =====================================================================
   Service page — Specialist Secondment.
   Loads after styles.css and v3.css, so it inherits the V3 home theme (canvas, rails,
   tags, mockup frames, buttons) and only adds what this page needs.
   ===================================================================== */
:root { --svc-hdr:90px; --svc-sub:58px; --svc-well-a:#e3edfb; --svc-well-b:#ece9fb; --svc-well-c:#e1f1ec; --svc-well-d:#f9ede5; }
html { scroll-padding-top:calc(var(--svc-hdr) + var(--svc-sub) + 18px); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.desktop-nav a.is-current { color:var(--ink); }
.svc-band-white { background:var(--v3-rails),#fff; }
.service-page .section-heading { margin-bottom:48px; }
.service-page ol { margin:0; padding:0; list-style:none; }

/* ---------- Page header: quieter than the homepage hero ---------- */
.svc-header {
  position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(40% 70% at 88% 30%,#e3edfb 0%,#e3edfb00 70%),linear-gradient(180deg,#fbfcfd,#f3f6f9);
  border-bottom:1px solid var(--v3-rule);
}
.svc-header:before {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(#56789a14 1px,transparent 1px) 0 0/56px 56px,linear-gradient(90deg,#56789a14 1px,transparent 1px) 0 0/56px 56px;
  mask-image:radial-gradient(45% 80% at 82% 45%,#000 0%,transparent 75%);
}
.svc-header-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:72px; align-items:end; padding-block:64px 76px; }
.svc-crumbs { display:flex; align-items:center; gap:9px; margin-bottom:24px; font-size:11px; color:#7c8a94; }
.svc-crumbs a { transition:color .2s; }
.svc-crumbs a:hover { color:var(--ink); }
.svc-crumbs span { color:#b6c2cc; }
.svc-header h1 { max-width:660px; font-size:clamp(38px,4vw,56px); line-height:1.08; letter-spacing:-.03em; }
.svc-header h1 em { color:#2368ad; }
.svc-kicker {
  display:flex; width:fit-content; margin-bottom:24px; padding:5px 10px 4px;
  font-size:10px; font-weight:600; line-height:1.5; letter-spacing:.14em; text-transform:uppercase;
  color:#4f6f8c; border:1px solid #d9e3ec; border-radius:6px;
  background:linear-gradient(180deg,#fff,#f1f5f9); box-shadow:0 1px 2px #1a3a5a0a;
}
.svc-lead { margin-top:24px; max-width:560px; font-size:15px; line-height:1.8; color:#5b6c7a; }
.svc-header .hero-actions { margin-top:32px; }
/* Stats: a ledger. Light numerals in one column, labels aligned beside them, hairlines between rows.
   (Count-up comes from main.js.) */
.svc-stats.metrics { display:block; padding:0; border:0; border-top:1px solid #d5dee7; background:none; box-shadow:none; }
.svc-stats.metrics>div,.svc-stats.metrics>div:first-child {
  position:relative; display:grid; grid-template-columns:172px 1fr; align-items:center; column-gap:24px;
  padding:20px 0; border:0; border-bottom:1px solid #d5dee7; background:none;
}
/* A short cobalt tick marks each row on the left rule. */
.svc-stats.metrics>div:before { content:''; position:absolute; left:0; top:-1px; width:28px; height:1px; background:#2f74c9; transition:width .45s var(--v3-ease); }
.svc-stats.metrics>div:hover:before { width:72px; }
.svc-stats.metrics p { font-size:46px; font-weight:300; line-height:1; letter-spacing:-.04em; color:var(--ink); white-space:nowrap; }
.svc-stats.metrics p>span { font-weight:300; }
/* Numerals sit tight: no width reserved around each figure. */
.svc-stats .metric-number { min-width:0 !important; letter-spacing:-.02em; }
.svc-stats .metric-range { margin:0 .04em; }
.svc-stats.metrics p>.metric-number,.svc-stats.metrics p>.metric-range { color:var(--ink); }
.svc-stats.metrics p>span:not(.metric-number):not(.metric-range) { color:#2f74c9; }
.svc-stats.metrics>div>span { margin:0; font-size:13px; line-height:1.5; letter-spacing:0; color:#6b7a87; }
.metrics .metric-unit { font-size:.4em; margin-left:.3em; letter-spacing:.02em; vertical-align:.15em; }

/* ---------- On-this-page bar ---------- */
.svc-subnav {
  position:sticky; top:var(--svc-hdr); z-index:40;
  background:#f6f8faeb; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--v3-rule);
}
.svc-subnav-inner { display:flex; align-items:center; gap:24px; height:var(--svc-sub); }
.svc-subnav-title { flex:none; padding-right:24px; border-right:1px solid var(--v3-rule); font-size:13px; font-weight:500; white-space:nowrap; }
.svc-subnav-links { flex:1; display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; }
.svc-subnav-links::-webkit-scrollbar { display:none; }
.svc-subnav-links a { flex:none; padding:7px 12px; border-radius:8px; font-size:12px; color:#5b6c7a; white-space:nowrap; transition:color .2s,background .2s,box-shadow .2s; }
.svc-subnav-links a:hover { color:var(--ink); background:#fff; }
.svc-subnav-links a.is-active { color:var(--ink); background:#fff; box-shadow:0 0 0 1px #dce4eb,0 2px 6px #1b3f660d; }
.svc-subnav-cta { flex:none; display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:500; color:var(--blue); white-space:nowrap; }
.svc-subnav-cta .icon { width:16px; height:16px; transition:transform .25s; }
.svc-subnav-cta:hover .icon { transform:translateX(3px); }

/* ---------- What makes TMC different ---------- */
.compare { position:relative; }
/* The TMC column is one raised card behind the table. */
.compare:before {
  content:''; position:absolute; top:0; right:0; bottom:0; width:45%; z-index:0; pointer-events:none;
  background:#fff; border:1px solid #dfe7ee; border-radius:18px;
  box-shadow:0 1px 0 #fff inset,0 30px 60px -40px #1c4a7a59;
}
.compare-table { position:relative; z-index:1; width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; }
.compare-table thead th:nth-child(1) { width:22%; }
.compare-table thead th:nth-child(2) { width:33%; }
.compare-table thead th:nth-child(3) { width:45%; }
.compare-table thead th {
  padding:26px 28px 20px; text-align:left; vertical-align:bottom;
  font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; color:#7b8c9a;
}
.compare-table thead .compare-tmc { color:var(--ink); }
.compare-mark { display:inline-block; vertical-align:middle; width:46px; height:24px; margin:-4px 12px 0 0; overflow:hidden; }
.compare-mark img { width:46px; }
.compare-table tbody th,.compare-table tbody td { padding:20px 28px; text-align:left; vertical-align:middle; border-top:1px solid var(--v3-rule); transition:background .25s,color .25s; }
.compare-table tbody th { padding-left:0; font-size:15px; font-weight:500; color:var(--ink); }
.compare-table tbody .compare-staff { font-size:14px; color:#8794a0; }
.compare-table tbody .compare-staff:before { content:''; display:inline-block; width:10px; height:1.5px; margin:0 12px 4px 0; background:#c2ccd5; vertical-align:middle; }
.compare-table tbody .compare-tmc { border-top-color:#edf1f5; font-size:14.5px; color:var(--ink); }
.compare-table tbody .compare-tmc .icon {
  display:inline-block; vertical-align:middle; width:22px; height:22px; margin:-3px 12px 0 0; padding:4px;
  color:#fff; background:#2f74c9; border-radius:50%; stroke-width:2.4; box-shadow:0 4px 10px -4px #2f74c9;
}
.compare-table tbody tr:hover th,.compare-table tbody tr:hover .compare-staff { color:var(--ink); }
.compare-table tbody tr:hover .compare-tmc { background:#f5f9fe; }
.compare-table tbody tr:last-child .compare-tmc { border-bottom-right-radius:18px; border-bottom-left-radius:18px; }

/* ---------- Seven moments: an editorial index with a pinned heading ---------- */
.svc-moments { padding-top:16px; }
.moments-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:80px; align-items:start; }
.moments-aside { position:sticky; top:calc(var(--svc-hdr) + var(--svc-sub) + 40px); }
.moments-aside .section-heading { margin-bottom:34px; }
/* Quiet text call to action: a cobalt rule on the left, one arrow on the right. */
.moments-cta { display:flex; align-items:center; gap:24px; max-width:400px; padding:2px 0 2px 18px; color:var(--ink); border-left:2px solid #2f74c9; }
.moments-cta strong { display:block; font-size:15px; font-weight:500; transition:color .25s; }
.moments-cta strong+span { display:block; margin-top:4px; font-size:13px; line-height:1.55; color:#6b7a87; }
.moments-cta-arrow { flex:none; margin-left:auto; width:20px; height:20px; color:#2f74c9; transition:transform .3s var(--ease); }
.moments-cta:hover strong { color:#2f74c9; }
.moments-cta:hover .moments-cta-arrow { transform:translateX(4px); }
.moment-list { border-top:1px solid var(--v3-rule); }
.moment-row {
  position:relative; display:grid; grid-template-columns:34px 40px minmax(0,1fr) minmax(0,1.15fr);
  align-items:center; column-gap:16px; padding:24px 4px; border-bottom:1px solid var(--v3-rule);
}
/* A cobalt rule draws along the row on hover. */
.moment-row:after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:1px; background:#2f74c9; transform:scaleX(0); transform-origin:left; transition:transform .5s var(--v3-ease); }
.moment-row:hover:after { transform:scaleX(1); }
.moment-no { font-size:11px; letter-spacing:.06em; color:#9aa8b4; }
.moment-ico { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; color:#2f6bb0; background:#fff; box-shadow:0 0 0 1px #dbe4ec; transition:background .3s,color .3s,box-shadow .3s; }
.moment-ico .icon { width:18px; height:18px; }
.moment-row:hover .moment-ico { color:#fff; background:#2f74c9; box-shadow:0 0 0 1px #2f74c9,0 8px 18px -8px #2f74c9; }
.moment-row h3 { font-size:18px; line-height:1.3; transition:transform .35s var(--v3-ease); }
.moment-row:hover h3 { transform:translateX(4px); }
.moment-row p { font-size:13.5px; line-height:1.65; color:#6b7a87; }

/* ---------- Available profiles (navy) ---------- */
.svc-profiles { isolation:isolate; overflow:hidden; background:#0e2740; }
.svc-profiles:before {
  z-index:-1;
  background:radial-gradient(44% 60% at 70% 55%,#2f6cc052 0%,#2f6cc000 72%),radial-gradient(34% 44% at 0% 0%,#22598a40 0%,#22598a00 72%),linear-gradient(180deg,#102b46,#0c233a);
}
.svc-profiles:after {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.8;
  background:url('../assets/images/tidal-lines.svg') 50% 0/max(1500px,115%) auto no-repeat;
  mask-image:linear-gradient(90deg,transparent 10%,#000 50%,#000 88%,transparent);
}
.svc-profiles .heading-with-aside>p { color:#a9bccb; }
.profile-explorer { display:grid; grid-template-columns:280px minmax(0,1fr); gap:44px; align-items:start; }
/* Disciplines: a hairline list; a bright segment of the line marks the selected one. */
.profile-tabs { position:relative; display:flex; flex-direction:column; padding:6px 0 6px 26px; }
.profile-tabs:before { content:''; position:absolute; left:0; top:0; bottom:0; width:1px; background:#ffffff24; }
.profile-tab {
  position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:4px;
  width:100%; padding:16px 0; text-align:left; color:#ffffff6b; background:none; border:0;
  transition:color .3s;
}
.profile-tab+.profile-tab { border-top:1px solid #ffffff12; }
.profile-tab:before {
  content:''; position:absolute; left:-26.5px; top:14px; bottom:14px; width:2px; border-radius:2px;
  background:linear-gradient(180deg,#d4e8fb,#5d9be6); transform:scaleY(0); transition:transform .4s var(--v3-ease);
}
.profile-tab:hover { color:#ffffffd9; }
.profile-tab.active { color:#fff; }
.profile-tab.active:before { transform:scaleY(1); }
.profile-tab-name { font-size:20px; letter-spacing:-.015em; line-height:1.25; }
.profile-tab-count { flex:none; font-size:12px; color:#7f9ab0; }
.profile-tab-count b { font-weight:500; color:inherit; }
.profile-tab.active .profile-tab-count { color:#9cc7f2; }
/* Panel: the V3 light app window. Panels share one slot, so switching never shifts the layout. */
.profile-panels { display:grid; gap:18px; }
.profile-panel { position:relative; isolation:isolate; padding:8px; background:#fff; border-radius:16px; box-shadow:0 0 0 6px #ffffff0d,0 44px 80px -40px #000000a6; }
.profile-panel:before { content:''; position:absolute; inset:8px; z-index:-1; border-radius:11px; background:linear-gradient(180deg,var(--well) 0%,#fbfcfe 100%); }
.profile-panel:focus-visible { outline-offset:4px; }
.profile-panel-head { display:flex; align-items:center; gap:10px; padding:15px 18px 14px; border-bottom:1px solid #1b3f6612; }
.profile-panel-dot { 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; }
.profile-panel-head h3 { font-size:14px; font-weight:500; letter-spacing:-.005em; color:var(--ink); }
.profile-panel-count { margin-left:auto; padding:4px 10px; font-size:11px; color:#2f6bb0; background:#fff; border-radius:99px; box-shadow:0 0 0 1px #d6e1eb; }
.profile-groups { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); padding:22px 6px 20px; }
.profile-group { padding:0 16px; border-left:1px solid #1b3f6612; }
.profile-group:first-child { border-left:0; }
.profile-group h4 { min-height:28px; margin-bottom:12px; font-size:9px; font-weight:600; line-height:1.5; letter-spacing:.13em; text-transform:uppercase; color:#5e7890; }
.profile-group li {
  display:flex; align-items:center; gap:9px; margin-bottom:8px; padding:10px 12px;
  font-size:13px; line-height:1.35; color:var(--ink);
  background:#fff; border:1px solid #e1e8ef; border-radius:9px; box-shadow:0 4px 10px -8px #1b3f6633;
  transition:border-color .25s,transform .25s;
}
.profile-group li:before { content:''; flex:none; width:5px; height:5px; border-radius:50%; background:#3f86cf; }
.profile-group li:hover { border-color:#b9d1ef; transform:translateX(2px); }
.profile-panel.is-entering .profile-group { animation:v3-rise .5s var(--v3-ease) backwards; }
.profile-panel.is-entering .profile-group:nth-child(2) { animation-delay:.06s; }
.profile-panel.is-entering .profile-group:nth-child(3) { animation-delay:.12s; }
.profile-panel.is-entering .profile-group:nth-child(4) { animation-delay:.18s; }
.profile-across {
  grid-column:1/-1; display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px;
  padding:18px 22px; color:#c9d7e3; background:#ffffff06; border:1px solid #ffffff14; border-radius:14px;
}
.profile-across h3 { font-size:9px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#8fb0c9; }
.profile-across ul { display:flex; flex-wrap:wrap; gap:10px; }
.profile-across li { display:flex; align-items:center; gap:9px; padding:8px 14px; font-size:13px; color:#fff; background:#ffffff0f; border:1px solid #ffffff1f; border-radius:99px; }
.profile-across li .icon { width:15px; height:15px; color:#9cc7f2; }
.profile-note { margin-left:auto; display:flex; align-items:center; gap:14px; font-size:13px; color:#a9bccb; }
.profile-note .text-link { padding-block:6px; color:#fff; }
.profile-note .text-link:after { right:32px; }

/* ---------- Seniority: a rising staircase ---------- */
.ladder { position:relative; overflow:hidden; background:#fff; border:1px solid #e3eaf1; border-radius:18px; box-shadow:0 1px 2px #1b3f660a,0 30px 60px -46px #1c4a7a59; }
.ladder-levels { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.ladder-level { --h:54px; --a:.08; position:relative; display:flex; flex-direction:column; border-left:1px solid #edf1f5; }
.ladder-level:first-child { border-left:0; }
.lvl-2 { --h:110px; --a:.12; } .lvl-3 { --h:165px; --a:.16; } .lvl-4 { --h:217px; --a:.22; }
.ladder-text { padding:28px 26px 34px; }
.depth-years { display:block; width:fit-content; padding:4px 9px; font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#2f6bb0; background:#eef4fb; border-radius:6px; }
.ladder-text h3 { margin:14px 0 8px; font-size:19px; line-height:1.25; }
.ladder-text p { font-size:13px; line-height:1.7; color:#6b7a87; }
.ladder-bar {
  position:relative; margin-top:auto; height:var(--h); transform-origin:bottom;
  background:linear-gradient(180deg,rgb(47 116 201 / var(--a)) 0%,rgb(47 116 201 / .015) 100%);
  transition:background .35s;
}
/* A node where each level begins. */
.ladder-bar:before { content:''; position:absolute; top:-7px; left:26px; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 0 0 3px #2f74c9,0 6px 14px -4px #2f74c9; z-index:2; }
.ladder-bar b { display:none; position:absolute; left:24px; bottom:10px; font-size:34px; font-weight:500; line-height:1; letter-spacing:-.05em; color:rgb(47 116 201 / .16); }
.ladder-level:hover .ladder-bar { background:linear-gradient(180deg,rgb(47 116 201 / calc(var(--a) + .14)) 0%,rgb(47 116 201 / .03) 100%); }
.ladder-level:hover .ladder-bar b { color:rgb(47 116 201 / .3); }
.ladder-line { position:absolute; left:0; right:0; bottom:0; width:100%; height:220px; overflow:visible; pointer-events:none; }
.ladder-path,.ladder-pulse { fill:none; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.ladder-path { stroke:#2f74c9; }
.ladder-pulse { stroke:#fff; stroke-dasharray:5 120; stroke-dashoffset:5; opacity:0; }
.ladder.is-visible .ladder-bar { animation:v3-grow-y .8s var(--v3-ease) backwards; }
.ladder.is-visible .lvl-2 .ladder-bar { animation-delay:.12s; }
.ladder.is-visible .lvl-3 .ladder-bar { animation-delay:.24s; }
.ladder.is-visible .lvl-4 .ladder-bar { animation-delay:.36s; }
.ladder.is-visible .ladder-path { animation:v3-draw 1.8s var(--v3-ease) .3s backwards; }
.ladder.is-visible .ladder-pulse { opacity:1; animation:svc-climb 4.2s cubic-bezier(.45,0,.25,1) 2.1s infinite; }
@keyframes svc-climb { from { stroke-dashoffset:5; } to { stroke-dashoffset:-102; } }

/* ---------- Flexible models ---------- */
.svc-terms { padding-top:0; }
.term-board { --lane-gap:48px; padding:12px 32px 8px; background:#fff; border:1px solid #e3eaf1; border-radius:18px; box-shadow:0 1px 2px #1b3f660a,0 30px 60px -46px #1c4a7a59; }
.term-axis,.term-row { display:grid; grid-template-columns:minmax(0,36fr) minmax(0,64fr); column-gap:var(--lane-gap); align-items:center; }
.term-axis { height:46px; }
.term-axis>span {
  grid-column:2; grid-row:1; justify-self:start; margin-left:calc(var(--at) / 12 * 92%);
  translate:-50% 0; font-size:10px; letter-spacing:.06em; color:#8a99a5; white-space:nowrap;
}
.term-axis>span:first-child { translate:0 0; }
.term-axis>span:last-child { translate:-14px 0; }
.term-row { padding:26px 0; border-top:1px solid #edf1f5; }
.term-range { display:block; width:fit-content; padding:4px 9px; font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#2f6bb0; background:#eef4fb; border-radius:6px; }
.term-text h3 { margin:12px 0 8px; font-size:19px; line-height:1.25; }
.term-text p { font-size:13px; line-height:1.7; color:#6b7a87; }
/* Lane: month gridlines at 1, 3, 6 and 12 on the same scale as the axis. */
.term-lane {
  position:relative; height:40px;
  background:
    linear-gradient(90deg,#e8eef3 1px,transparent 1px) 0 0/1px 100% no-repeat,
    linear-gradient(90deg,#e8eef3 1px,transparent 1px) calc(1 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#e8eef3 1px,transparent 1px) calc(3 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#e8eef3 1px,transparent 1px) calc(6 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#e8eef3 1px,transparent 1px) 92% 0/1px 100% no-repeat,
    linear-gradient(#edf1f5,#edf1f5) 0 50%/100% 1px no-repeat;
}
.term-bar {
  position:absolute; top:50%; height:14px; margin-top:-7px; border-radius:99px;
  left:calc(var(--from) / 12 * 92%); width:calc((var(--to) - var(--from)) / 12 * 92%);
  background:linear-gradient(90deg,#8dbaf0,#4f8fe0); box-shadow:0 8px 18px -8px #2f74c9b3;
  transform-origin:left;
}
.term-row:nth-child(3) .term-bar { background:linear-gradient(90deg,#5f9be6,#2f74c9); }
.term-open .term-bar { width:calc(100% - var(--from) / 12 * 92%); background:linear-gradient(90deg,#2f74c9 0%,#1d5fb8 70%,#1d5fb800 100%); }
.term-board.is-visible .term-bar { animation:v3-grow-x .9s var(--v3-ease) backwards; }
.term-board.is-visible .term-row:nth-child(3) .term-bar { animation-delay:.12s; }
.term-board.is-visible .term-row:nth-child(4) .term-bar { animation-delay:.24s; }
.term-deploy { display:flex; align-items:center; justify-content:space-between; gap:40px; margin-top:26px; padding:24px 32px; border:1px dashed #cfdbe6; border-radius:18px; }
.term-deploy p { max-width:460px; font-size:15px; line-height:1.6; color:var(--ink); }
.deploy-scale { display:flex; align-items:flex-end; gap:30px; }
.deploy-scale>span { display:flex; flex-direction:column; align-items:center; gap:10px; font-size:10px; letter-spacing:.06em; color:#7b8c9a; white-space:nowrap; }
.dots { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; width:calc(var(--w) * 11px); }
.dots i { width:7px; height:7px; border-radius:50%; background:#2f74c9; }
.deploy-scale>span:nth-child(1) .dots i { background:#8dbaf0; }
.deploy-scale>span:nth-child(2) .dots i { background:#6aa3e3; }
.deploy-scale>span:nth-child(3) .dots i { background:#4f8fe0; }
/* Dark version: navy band, a glass board, light bars. */
.svc-terms-band { isolation:isolate; overflow:hidden; background:#0e2740; }
.svc-terms-band:before {
  z-index:-1;
  background:radial-gradient(42% 60% at 85% 20%,#2f6cc047 0%,#2f6cc000 72%),radial-gradient(36% 50% at 0% 100%,#1f527d3d 0%,#1f527d00 72%),linear-gradient(180deg,#0f2a44,#0c233a);
}
.svc-terms-band:after {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(#ffffff17 1px,transparent 1.3px) 0 0/22px 22px;
  mask-image:radial-gradient(60% 70% at 70% 40%,#000 0%,transparent 80%);
}
.svc-terms-band .svc-terms { padding-top:112px; }
.svc-terms-band .term-board { background:#ffffff08; border-color:#ffffff1c; box-shadow:0 40px 80px -50px #000000b3; backdrop-filter:blur(6px); }
.svc-terms-band .term-axis>span { color:#7f9ab0; }
.svc-terms-band .term-row { border-top-color:#ffffff14; }
.svc-terms-band .term-range { color:#9cc7f2; background:#2f74c92e; }
.svc-terms-band .term-text h3 { color:#fff; }
.svc-terms-band .term-text p { color:#a9bccb; }
.svc-terms-band .term-lane {
  background:
    linear-gradient(90deg,#ffffff17 1px,transparent 1px) 0 0/1px 100% no-repeat,
    linear-gradient(90deg,#ffffff17 1px,transparent 1px) calc(1 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#ffffff17 1px,transparent 1px) calc(3 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#ffffff17 1px,transparent 1px) calc(6 / 12 * 92%) 0/1px 100% no-repeat,
    linear-gradient(90deg,#ffffff17 1px,transparent 1px) 92% 0/1px 100% no-repeat,
    linear-gradient(#ffffff1c,#ffffff1c) 0 50%/100% 1px no-repeat;
}
.svc-terms-band .term-bar { background:linear-gradient(90deg,#b9daf8,#8dbaf0); box-shadow:0 0 18px -4px #8dbaf099; }
.svc-terms-band .term-row:nth-child(3) .term-bar { background:linear-gradient(90deg,#8dbaf0,#5f9be6); }
.svc-terms-band .term-open .term-bar { background:linear-gradient(90deg,#5f9be6 0%,#3f86cf 70%,#3f86cf00 100%); }
.svc-terms-band .term-deploy { border-color:#ffffff2e; }
.svc-terms-band .term-deploy p { color:#dbe6ef; }
.svc-terms-band .deploy-scale>span { color:#8fa9bf; }
.svc-terms-band .dots i { background:#9cc7f2; }
.svc-terms-band .deploy-scale>span:nth-child(1) .dots i { background:#5c7d9c; }
.svc-terms-band .deploy-scale>span:nth-child(2) .dots i { background:#6f93b6; }
.svc-terms-band .deploy-scale>span:nth-child(3) .dots i { background:#86aed3; }

/* ---------- How we deploy: swimlanes (who does what) ---------- */
/* Two lanes — You and TMC. Steps sit in their lane; step 7 straddles both. Connectors are drawn by
   secondment.js from the real box positions, then a soft pulse travels the route. Without JavaScript the
   boxes still read in order (01–07) inside their lanes. */
.lanes {
  --you:#2f74c9; --you-soft:#eef4fb; --you-tint:#f3f8fe;
  --tmc:#6d63d9; --tmc-soft:#efedfc; --tmc-tint:#f6f5fe;
  --node-w:min(100%,154px);
  position:relative; isolation:isolate; display:grid;
  grid-template-columns:58px repeat(7,minmax(0,1fr)); grid-template-rows:auto auto;
  column-gap:34px; padding:0 30px 0 0;
  border:1px solid #dfe7ef; border-radius:20px; overflow:hidden; background:#fff;
  box-shadow:0 1px 2px #1b3f660a,0 34px 70px -52px #1c4a7a66;
}
.lanes-bg { grid-column:1/-1; margin-right:-30px; }
.lanes-bg-you { grid-row:1; background:linear-gradient(180deg,var(--you-tint),#fff 90%); }
.lanes-bg-tmc { grid-row:2; background:linear-gradient(180deg,var(--tmc-tint),#fbfaff 90%); border-top:1px solid #e6e9f4; }
/* Lane labels sit in their own column, divided by a hairline. */
.lane-label { grid-column:1; z-index:1; display:flex; align-items:center; justify-content:center; margin:0; border-right:1px solid #e3e9f1; }
.lane-label span { display:flex; align-items:center; gap:10px; writing-mode:vertical-rl; rotate:180deg; font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; }
.lane-label span:before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.lane-label-you { grid-row:1; } .lane-label-you span { color:var(--you); }
.lane-label-tmc { grid-row:2; } .lane-label-tmc span { color:var(--tmc); }
.lanes-steps { display:contents; }
.ls { position:relative; z-index:2; align-self:start; padding:36px 0 34px; }
.ls:nth-child(1) { grid-column:2; } .ls:nth-child(2) { grid-column:3; } .ls:nth-child(3) { grid-column:4; } .ls:nth-child(4) { grid-column:5; } .ls:nth-child(5) { grid-column:6; } .ls:nth-child(6) { grid-column:7; } .ls:nth-child(7) { grid-column:8; }
.ls-you { grid-row:1; } .ls-tmc { grid-row:2; }
.ls-both { grid-row:1/3; align-self:center; padding:0; }
.ls-node {
  position:relative; width:var(--node-w); min-height:82px; padding:12px 14px 14px;
  background:#fff; border:1px solid #dbe4ed; border-radius:13px;
  box-shadow:0 1px 2px #1b3f660a,0 12px 24px -16px #1b3f6640;
  transition:transform .3s var(--v3-ease),box-shadow .3s,border-color .3s;
}
.ls-no { display:inline-grid; place-items:center; min-width:26px; height:19px; margin-bottom:9px; padding:0 6px; border-radius:6px; font-size:11px; font-weight:500; letter-spacing:.04em; font-variant-numeric:tabular-nums; }
.ls-you .ls-no { color:var(--you); background:var(--you-soft); }
.ls-tmc .ls-no { color:var(--tmc); background:var(--tmc-soft); }
.ls-both .ls-no { color:#fff; background:linear-gradient(90deg,var(--you),var(--tmc)); }
.ls-node h3 { font-size:14.5px; line-height:1.3; letter-spacing:-.01em; }
.ls-node .ls-d { display:none; }
.ls p { width:var(--node-w); margin-top:12px; padding-left:2px; font-size:12.5px; line-height:1.5; color:#6b7a87; }
/* Step 7 belongs to both lanes: a two-tone border and a soft halo. */
.ls-both .ls-node { border:1.5px solid transparent; background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,var(--you),var(--tmc)) border-box; box-shadow:0 0 0 6px #ffffffcc,0 16px 30px -16px #4b56b866; }
.ls-both > p { position:absolute; left:0; top:100%; }
/* Hover: lift the step and colour its frame in its lane colour. */
.ls:hover .ls-node { transform:translateY(-3px); box-shadow:0 1px 2px #1b3f660a,0 18px 30px -16px #1b3f6659; }
.ls-you:hover .ls-node { border-color:#a9c8ee; } .ls-tmc:hover .ls-node { border-color:#c3bdf2; }
/* Connectors */
.lanes-wires { position:absolute; inset:0; z-index:1; width:100%; height:100%; overflow:visible; pointer-events:none; }
.lw { fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:stroke-width .3s,opacity .3s; }
.lw-head { fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lw-dot { stroke-width:2; }
.lanes.is-hovering .lw,.lanes.is-hovering .lw-head { opacity:.35; }
.lanes.is-hovering .lw.is-lit,.lanes.is-hovering .lw-head.is-lit { opacity:1; stroke-width:2.6; }
.lw-pulse { fill:#fff; stroke:var(--you); stroke-width:2; filter:drop-shadow(0 0 6px #2f74c9aa); opacity:0; }
/* Reveal: the lanes fade in, steps rise in order, each connector draws after the step before it. */
.js-motion .lanes.reveal .ls,.js-motion .lanes.reveal .lane-label { opacity:0; translate:0 10px; transition:opacity .5s var(--v3-ease),translate .5s var(--v3-ease); }
.js-motion .lanes.reveal.is-visible .ls,.js-motion .lanes.reveal.is-visible .lane-label { opacity:1; translate:0 0; }
.js-motion .lanes.reveal.is-visible .ls { transition-delay:calc(var(--i) * 220ms + .15s); }
.js-motion .lanes.reveal.is-visible { opacity:1; transform:none; }
.lanes.is-drawn .lw { animation:svc-wire .6s var(--v3-ease) both; animation-delay:calc(var(--k) * 220ms + .35s); }
.lanes.is-drawn .lw-head,.lanes.is-drawn .lw-dot { animation:svc-fade .3s ease both; animation-delay:calc(var(--k) * 220ms + .8s); }
.lanes.is-drawn .lw-pulse { opacity:1; transition:opacity .4s 2.2s; }
.lanes.is-settled .lw,.lanes.is-settled .lw-head,.lanes.is-settled .lw-dot { animation:none; }
.lanes.is-settled .lw-pulse { transition:none; }
@keyframes svc-wire { from { stroke-dashoffset:var(--len); } to { stroke-dashoffset:0; } }
@keyframes svc-fade { from { opacity:0; } }
.mobilise {
  display:flex; align-items:center; gap:24px; margin-top:40px; padding:26px 32px;
  background:linear-gradient(100deg,#eef4fb 0%,#f8fbfe 55%,#fff 100%); border:1px solid #dce6f0; border-radius:18px;
}
.mobilise-icon { flex:none; display:grid; place-items:center; width:52px; height:52px; border-radius:50%; color:#fff; background:#2f74c9; box-shadow:0 0 0 7px #2f74c91a,0 12px 24px -10px #2f74c9; }
.mobilise-icon .icon { width:24px; height:24px; }
.mobilise h3 { font-size:18px; margin-bottom:6px; }
.mobilise p { max-width:860px; font-size:14px; line-height:1.7; color:#5b6c7a; }

/* ---------- Quality and governance ---------- */
.svc-governance { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(180deg,#f5f7fa,#eff3f7); border-top:1px solid var(--v3-rule); }
.svc-governance:before {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(#7d95ab2e 1px,transparent 1.3px) 0 0/18px 18px;
  mask-image:radial-gradient(50% 60% at 80% 30%,#000,transparent 80%);
}
.gov-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; overflow:hidden; background:#e3eaf1; border:1px solid #e0e7ed; border-radius:18px; box-shadow:0 30px 60px -46px #1c4a7a59; }
.gov-item { padding:30px 30px 34px; background:#fff; transition:background .3s; }
.gov-item:hover { background:#fbfdff; }
.gov-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:11px; color:#2f6bb0; background:linear-gradient(180deg,var(--svc-well-a),#fff); box-shadow:0 0 0 1px #dfe7ef; transition:background .3s,color .3s; }
.gov-item:hover .gov-icon { color:#fff; background:#2f74c9; }
.gov-icon .icon { width:20px; height:20px; }
.gov-item h3 { margin:22px 0 8px; font-size:18px; }
.gov-item p { font-size:13.5px; line-height:1.7; color:#6b7a87; max-width:330px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion:reduce) {
  .moment-row:after,.moment-ico,.moment-row h3,.profile-tab,.profile-tab:before,.profile-group li,.ladder-bar { transition:none !important; }
  .profile-panel.is-entering .profile-group,.term-bar,.ladder * { animation:none !important; }
  .lanes *,.lanes .lw { transition:none !important; animation:none !important; opacity:1 !important; translate:none !important; }
  .lw-pulse { display:none; }
  .ladder-pulse { display:none; }
}

/* ---------- Responsive ---------- */
@media (max-width:1200px) {
  .svc-subnav-title { display:none; }
  .svc-header-grid { gap:48px; }
  .moments-layout { gap:56px; }
  .moment-row { grid-template-columns:28px 40px minmax(0,1fr) minmax(0,1.1fr); column-gap:14px; }
  .profile-explorer { grid-template-columns:240px minmax(0,1fr); gap:36px; }
  .profile-group { padding:0 12px; }
  .compare-table thead th,.compare-table tbody td { padding-inline:22px; }
  .term-board { --lane-gap:36px; }
  .deploy-scale { gap:20px; }
  .ladder-text { padding:24px 20px 30px; }
  .lanes { grid-template-columns:48px repeat(7,minmax(0,1fr)); column-gap:26px; padding-right:22px; }
  .lanes-bg { margin-right:-22px; }
  .ls-node { padding:11px 11px 12px; }
  .ls-node h3 { font-size:13.5px; }
  .ls p { font-size:12px; }
}
@media (max-width:980px) {
  :root { --svc-hdr:79px; }
  .svc-header-grid { grid-template-columns:1fr; gap:36px; align-items:start; }
  .moments-layout { grid-template-columns:1fr; gap:8px; }
  .moments-aside { position:static; }
  .compare:before { width:46%; }
  .compare-table thead th:nth-child(1) { width:20%; }
  .compare-table thead th:nth-child(2) { width:34%; }
  .compare-table thead th:nth-child(3) { width:46%; }
  .compare-table tbody th { font-size:14px; }
  .compare-table tbody .compare-staff,.compare-table tbody .compare-tmc { font-size:13px; }
  .profile-explorer { grid-template-columns:1fr; gap:24px; }
  .profile-tabs { flex-direction:row; padding:0; border-bottom:1px solid #ffffff1f; }
  .profile-tabs:before { display:none; }
  .profile-tab { flex:1; gap:2px; padding:12px 0 14px; }
  .profile-tab+.profile-tab { border-top:0; padding-left:18px; }
  .profile-tab:before { left:0; right:0; top:auto; bottom:-1px; width:auto; height:2px; transform:scaleX(0); }
  .profile-tab+.profile-tab:before { left:18px; }
  .profile-tab.active:before { transform:scaleX(1); }
  .profile-tab-name { font-size:17px; }
  .profile-groups { grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:18px; }
  .profile-group:nth-child(odd) { border-left:0; }
  .ladder-text { padding:22px 16px 28px; }
  .ladder-text h3 { font-size:16px; }
  .ladder-text p { font-size:12px; }
  .gov-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .term-deploy { flex-direction:column; align-items:flex-start; }
  /* How we deploy: below 980px the lanes turn into two columns and the steps zig-zag down. */
  .lanes { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto repeat(7,auto); column-gap:0; row-gap:0; padding:0; }
  .lanes-bg { grid-column:auto; grid-row:1/-1; margin:0; }
  .lanes-bg-you { grid-column:1; background:linear-gradient(90deg,var(--you-tint),#fff); }
  .lanes-bg-tmc { grid-column:2; border-top:0; border-left:1px solid #e6e9f4; background:linear-gradient(270deg,var(--tmc-tint),#fbfaff); }
  .lane-label { grid-row:1; padding:22px 12px 6px; border-right:0; }
  .lane-label span { writing-mode:horizontal-tb; rotate:0deg; }
  .lane-label-you { grid-column:1; } .lane-label-tmc { grid-column:2; }
  .ls:nth-child(1) { grid-row:2; } .ls:nth-child(2) { grid-row:3; } .ls:nth-child(3) { grid-row:4; } .ls:nth-child(4) { grid-row:5; } .ls:nth-child(5) { grid-row:6; } .ls:nth-child(6) { grid-row:7; } .ls:nth-child(7) { grid-row:8; }
  .ls,.ls-you,.ls-tmc,.ls-both { justify-self:center; align-self:start; padding:14px 12px; width:100%; display:flex; justify-content:center; }
  .ls-you { grid-column:1; } .ls-tmc { grid-column:2; } .ls-both { grid-column:1/-1; padding-top:22px; }
  /* On narrow screens the description lives inside the box. */
  .ls { --node-w:min(100%,230px); }
  .ls-both { --node-w:min(78%,300px); }
  .ls-node { width:var(--node-w); min-height:0; }
  .ls p { display:none; }
  .ls-node p.ls-d { display:block; width:auto; margin-top:6px; padding:0; font-size:12.5px; }
  .ls.ls-you { grid-column:1; } .ls.ls-tmc { grid-column:2; } .ls.ls-both { grid-column:1/-1; padding-bottom:28px; }
}
@media (max-width:700px) {
  :root { --svc-hdr:72px; --svc-sub:50px; }
  .svc-subnav-cta { display:none; }
  .svc-subnav-inner { gap:0; }
  .svc-subnav-links { margin-inline:-20px; padding-inline:16px; }
  .svc-subnav-links a { font-size:11.5px; padding:7px 11px; }
  .service-page .section-heading { margin-bottom:34px; }
  .svc-header-grid { padding-block:40px 48px; }
  .svc-kicker { font-size:9px; margin-bottom:20px; }
  .svc-crumbs { margin-bottom:20px; font-size:10px; }
  .svc-lead { font-size:14px; }
  .svc-stats.metrics>div,.svc-stats.metrics>div:first-child { grid-template-columns:132px 1fr; column-gap:16px; padding:16px 0; }
  .svc-stats.metrics p { font-size:36px; }
  .svc-stats.metrics>div>span { font-size:12.5px; }
  /* Comparison: each row becomes a card. */
  .compare:before { display:none; }
  .compare-table,.compare-table tbody,.compare-table tr,.compare-table th,.compare-table td { display:block; width:auto; }
  .compare-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .compare-table tbody { display:grid; gap:12px; }
  .compare-table tbody tr { padding:18px 18px 16px; background:#fff; border:1px solid #e3eaf1; border-radius:14px; }
  .compare-table tbody th,.compare-table tbody td { padding:0; border:0; }
  .compare-table tbody th { margin-bottom:14px; font-size:16px; }
  .compare-table tbody td:before { display:block; margin-bottom:5px; font-size:8.5px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; color:#8a99a5; content:attr(data-label); }
  .compare-table tbody .compare-staff { padding-bottom:12px; margin-bottom:12px; border-bottom:1px dashed #e3eaf1; font-size:13px; }
  .compare-table tbody .compare-staff:before { content:attr(data-label); display:block; width:auto; height:auto; margin:0 0 5px; background:none; vertical-align:baseline; }
  .compare-table tbody .compare-tmc { display:grid; grid-template-columns:22px 1fr; column-gap:10px; align-items:start; font-size:14px; line-height:1.5; }
  .compare-table tbody .compare-tmc:before { grid-column:1/-1; color:#2f6bb0; }
  .compare-table tbody .compare-tmc .icon { margin:0; }
  .compare-table tbody tr:last-child .compare-tmc { border-radius:0; }
  .compare-table tbody tr:hover .compare-tmc { background:none; }
  /* Moments: compact rows. */
  .moments-aside .section-heading { margin-bottom:24px; }
  .moments-cta { margin-bottom:24px; }
  .moment-row { grid-template-columns:40px 1fr; column-gap:14px; row-gap:4px; padding:18px 0; align-items:start; }
  .moment-no { display:none; }
  .moment-ico { grid-row:1/3; }
  .moment-row h3 { font-size:16px; padding-top:2px; }
  .moment-row p { grid-column:2; font-size:13px; }
  /* Profiles */
  .profile-tab { padding:10px 0 12px; }
  .profile-tab+.profile-tab { padding-left:12px; }
  .profile-tab+.profile-tab:before { left:12px; }
  .profile-tab-name { font-size:13.5px; }
  .profile-tab-count { font-size:11px; }
  .profile-groups { grid-template-columns:1fr; padding:16px 4px 10px; row-gap:16px; }
  .profile-group { border-left:0; }
  .profile-group h4 { min-height:0; margin-bottom:10px; }
  .profile-across { flex-direction:column; align-items:flex-start; padding:18px; }
  .profile-note { margin-left:0; flex-wrap:wrap; gap:4px 12px; }
  /* Seniority: a rising mini-bar beside each level. */
  .ladder-levels { grid-template-columns:1fr; }
  .ladder-level { display:grid; grid-template-columns:28px 1fr; column-gap:14px; align-items:end; padding:20px 18px; border-left:0; border-top:1px solid #edf1f5; }
  .ladder-level:first-child { border-top:0; }
  .lvl-1 { --h:16px; } .lvl-2 { --h:28px; } .lvl-3 { --h:40px; } .lvl-4 { --h:52px; }
  .ladder-bar { grid-column:1; grid-row:1; align-self:start; width:10px; margin:4px 0 0; border-radius:3px; background:linear-gradient(180deg,#6aa3e3,#2f74c9); }
  .ladder-bar:before,.ladder-bar b,.ladder-line { display:none; }
  .ladder-text { grid-column:2; grid-row:1; padding:0; }
  .ladder-text h3 { margin:10px 0 6px; font-size:17px; }
  .ladder-text p { font-size:13px; }
  /* Flexible models: lane under its text, axis across the top. */
  .term-board { padding:6px 18px 4px; }
  .term-axis,.term-row { grid-template-columns:1fr; }
  .term-axis>span { grid-column:1; }
  .term-axis>span:last-child { translate:-62% 0; }
  .term-row { row-gap:14px; padding:22px 0; }
  .term-text h3 { font-size:17px; }
  .term-deploy { padding:20px 18px; }
  .deploy-scale { flex-wrap:wrap; gap:18px 26px; }
  .mobilise { flex-direction:column; align-items:flex-start; gap:16px; margin-top:36px; padding:22px 20px; }
  /* Governance */
  .gov-grid { grid-template-columns:1fr; }
  .gov-item { display:grid; grid-template-columns:42px 1fr; column-gap:16px; padding:22px 20px; }
  .gov-icon { grid-row:1/3; }
  .gov-item h3 { margin:2px 0 4px; font-size:16px; }
}
@media (max-width:380px) {
  .profile-tab-name { font-size:12px; }
  .deploy-scale { gap:14px 18px; }
}
@media print {
  .svc-subnav,.svc-profiles:after,.svc-governance:before { display:none; }
}
