/* =====================================================================
   Fast-Start Engagements (fast-start-engagements.html) and How We Engage (how-we-engage.html).
   Loads after styles.css, v3.css, secondment.css and practice.css: the header, on-this-page bar, rail bands,
   navy bands, header diagrams, "Seven moments" list (models), "other practices" cards, contact band and
   footer all come from those. This file adds only:
   the offering finder, the week chart, the payment cards, the methodology dial, the analytics gate
   pipeline, and the next-step cards.
   ===================================================================== */

/* Header diagram (How We Engage): the lead model chip carries a small tag. */
.pr-chip.is-lead { border-color:#bcd3ec; box-shadow:0 0 0 3px #2f74c914,0 8px 18px -14px #1b3f6659; }
.chip-tag { margin-left:auto; padding:3px 7px; font-size:8.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#2f6bb0; background:#eef4fb; border-radius:5px; }

/* ---------- Offering finder: filter by time available; one row per offering, scope → deliverable ---------- */
.finder-bar { display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; margin-bottom:26px; }
/* Desktop: the deck (and its filter bar) is 70% of the content width, centred. */
@media (min-width:981px) { .finder { width:70%; margin-inline:auto; } }
.finder-label { display:inline-flex; align-items:center; gap:9px; font-size:10.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#5e7890; }
.finder-label .icon { width:16px; height:16px; color:#2f74c9; }
.finder-chips { display:flex; flex-wrap:wrap; gap:8px; }
.finder-chip {
  display:inline-flex; align-items:center; gap:9px; padding:8px 9px 8px 15px; cursor:pointer;
  font:inherit; font-size:13px; line-height:1.2; color:#3d5872; background:#fff; border:1px solid #dbe4ec; border-radius:999px;
  transition:color .25s,background .25s,border-color .25s,box-shadow .25s;
}
.finder-chip b { min-width:22px; padding:3px 7px; font-size:11px; font-weight:600; text-align:center; color:#2f6bb0; background:#eef4fb; border-radius:99px; transition:color .25s,background .25s; }
.finder-chip:hover { color:var(--ink); border-color:#b9cde3; }
.finder-chip[aria-pressed="true"] { color:#fff; background:#102c46; border-color:#102c46; box-shadow:0 10px 22px -14px #102c46; }
.finder-chip[aria-pressed="true"] b { color:#fff; background:#ffffff26; }
.finder-chip:focus-visible { outline:2px solid #2f74c9; outline-offset:2px; }
.finder-count { margin-left:auto; font-size:13px; color:#6b7a87; }
.finder-count span { font-weight:500; color:var(--ink); }
.finder:not(.is-ready) .finder-chips,.finder:not(.is-ready) .finder-count { display:none; }
/* Offering deck: one card per offering. Cards are sticky, each a little lower than the last, so they stack into a deck
   as the page scrolls; the card being covered eases back (engage.js sets --sc and --cv). */
.finder .deck { display:flex; flex-direction:column; gap:28px; margin:0; padding:0 0 10vh; list-style:none; }
.deck-card {
  position:sticky; top:calc(var(--svc-hdr) + var(--svc-sub) + 24px + var(--k) * clamp(6px,1.6svh,14px));
  display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  min-height:min(360px,calc(100svh - var(--svc-hdr) - var(--svc-sub) - 210px));
  overflow:hidden; border-radius:24px; background:#fff; border:1px solid #dfe7ef;
  /* Only the card on top casts a shadow: a covered card fades its shadow out (--cv from engage.js), so the stack
     never piles up nine shadows into a dark band. */
  box-shadow:0 1px 2px #1b3f660a,0 26px 50px -34px rgb(28 74 122 / calc(.42 * (1 - var(--cv,0))));
  transform-origin:50% 0; scale:var(--sc,1); will-change:scale;
}
.deck-card:after { content:''; position:absolute; inset:0; z-index:2; pointer-events:none; border-radius:inherit; background:#0e2740; opacity:calc(var(--cv,0) * .06); }
/* Side: the timeline at a glance on the card's own tint, over a soft dotted field. */
.deck-side { position:relative; isolation:isolate; display:flex; flex-direction:column; padding:30px 34px 32px; background:linear-gradient(160deg,var(--well) 0%,#f8fbfe 92%); border-right:1px solid #e3ebf3; }
.deck-side:before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(#6f8aa438 1px,transparent 1.3px) 0 0/14px 14px; -webkit-mask-image:radial-gradient(70% 70% at 80% 80%,#000,transparent 80%); mask-image:radial-gradient(70% 70% at 80% 80%,#000,transparent 80%); }
.deck-top { display:flex; align-items:center; justify-content:space-between; }
.deck-ico { display:grid; place-items:center; width:46px; height:46px; border-radius:13px; color:#2f6bb0; background:#fff; box-shadow:0 0 0 1px #dfe7ef,0 10px 20px -14px #1c4a7a80; }
.deck-ico .icon { width:21px; height:21px; }
.deck-no { font-size:11px; letter-spacing:.12em; color:#7b8c9a; font-variant-numeric:tabular-nums; }
.deck-dur { display:flex; align-items:baseline; gap:10px; margin-top:auto; padding-top:28px; color:var(--ink); }
.deck-dur b { font-size:clamp(48px,4.6vw,72px); font-weight:500; line-height:.95; letter-spacing:-.045em; }
.deck-dur span { font-size:18px; color:#4d6074; }
.deck-weeks { display:grid; grid-template-columns:repeat(12,1fr); gap:5px; max-width:250px; margin-top:20px; }
.deck-weeks i { height:9px; border-radius:3px; background:#ffffffb3; box-shadow:inset 0 0 0 1px #c9d8e8; }
.deck-weeks i.mid { background:#8dbaf0; box-shadow:none; }
.deck-weeks i.on { background:#2f74c9; box-shadow:none; }
.deck-cap { margin-top:10px; font-size:9.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#5e7890; }
/* Main: name, fixed scope, defined deliverable. */
.deck-main { display:flex; flex-direction:column; padding:32px 36px 28px; }
.deck-main h3 { font-size:clamp(22px,2vw,29px); line-height:1.15; letter-spacing:-.02em; }
.deck-label { margin-top:20px; font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#7b8c9a; }
.deck-scope { margin:8px 0 24px; max-width:560px; font-size:15.5px; line-height:1.65; color:#4d6074; }
.deck-out { display:flex; align-items:flex-start; gap:16px; margin-top:auto; padding:18px 20px; background:linear-gradient(90deg,#eef4fb,#f8fbfe); border:1px solid #e3ecf5; border-radius:16px; }
.deck-out .deck-label { margin-top:0; }
.deck-tick { flex:none; display:grid; place-items:center; width:32px; height:32px; margin-top:2px; border-radius:50%; color:#fff; background:#2f74c9; box-shadow:0 0 0 5px #2f74c91a,0 8px 16px -8px #2f74c9; }
.deck-tick .icon { width:15px; height:15px; stroke-width:2.4; }
.deck-deliv { margin-top:5px; font-size:17px; font-weight:500; line-height:1.4; color:var(--ink); }
.deck-ask { margin-top:16px; padding-block:6px; gap:12px; font-size:12.5px; width:fit-content; }
.deck-ask .icon { width:18px; height:18px; transition:transform .25s; }
.deck-ask:hover .icon { transform:translateX(3px); }
.deck-card.is-in { animation:deck-in .5s var(--v3-ease) both; animation-delay:calc(var(--k, 0) * 60ms); }
@keyframes deck-in { from { opacity:0; translate:0 18px; } }
.deck-card.is-flash { animation:deck-flash 1.8s ease; }
@keyframes deck-flash { 20%,60% { box-shadow:0 0 0 3px #2f74c9,0 26px 50px -34px #1c4a7a6b; } }

/* ---------- At a glance: every offering on one 0–12 week scale (navy band) ---------- */
.gantt { padding:8px 28px 10px; background:#ffffff08; border:1px solid #ffffff1c; border-radius:18px; box-shadow:0 40px 80px -50px #000000b3; }
.gantt-axis,.gantt-row { display:grid; grid-template-columns:minmax(0,34fr) minmax(0,66fr); column-gap:40px; align-items:center; }
.gantt-axis { height:44px; }
.gantt-scale { position:relative; height:100%; }
.gantt-scale i { position:absolute; top:50%; left:calc(var(--at) / var(--max) * 100%); translate:-50% -50%; font-style:normal; font-size:10px; letter-spacing:.06em; color:#7f9ab0; white-space:nowrap; }
.gantt-scale i:first-child { translate:0 -50%; }
.gantt-scale i:last-child { translate:-100% -50%; }
.gantt-rows { margin:0; padding:0; list-style:none; }
.gantt-row {
  width:100%; padding:13px 0; text-align:left; color:inherit; font:inherit; cursor:pointer;
  background:none; border:0; border-top:1px solid #ffffff14; border-radius:0;
}
.gantt-text { display:flex; align-items:center; gap:12px; min-width:0; }
.gantt-name { font-size:15px; font-weight:400; line-height:1.3; color:#dbe6ef; transition:color .25s; }
.gantt-range { flex:none; margin-left:auto; padding:4px 8px; font-size:9.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#9cc7f2; background:#2f74c92e; border-radius:6px; }
/* Lane: gridlines every two weeks on the same scale as the axis. */
.gantt-lane {
  position:relative; display:block; height:26px;
  background:
    repeating-linear-gradient(90deg,#ffffff14 0 1px,transparent 1px calc(100% / 6)),
    linear-gradient(#ffffff1c,#ffffff1c) 0 50%/100% 1px no-repeat;
}
.gantt-bar {
  position:absolute; top:50%; left:0; height:12px; margin-top:-6px; width:calc(var(--hi) / var(--max) * 100%);
  border-radius:99px; transform-origin:left; transition:box-shadow .25s,filter .25s;
  background:linear-gradient(90deg,#b9daf8,#5f9be6 calc(var(--min) / var(--hi) * 100%),#5f9be64d calc(var(--min) / var(--hi) * 100%));
}
.gantt-row:hover .gantt-name,.gantt-row:focus-visible .gantt-name { color:#fff; }
.gantt-row:hover .gantt-bar,.gantt-row:focus-visible .gantt-bar { filter:brightness(1.15); box-shadow:0 0 18px -4px #8dbaf0; }
.gantt-row:focus-visible { outline:2px solid #9cc7f2; outline-offset:2px; border-radius:8px; }
.js-motion .gantt.reveal.is-visible .gantt-bar { animation:v3-grow-x .9s var(--v3-ease) backwards; animation-delay:calc(var(--i, 0) * 70ms + .15s); }
.gantt-note { max-width:760px; margin-top:22px; font-size:13px; line-height:1.7; color:#a9bccb; }
.svc-terms-band .heading-with-aside>p { color:#a9bccb; }

/* ---------- Other practices: four across ---------- */
.more-grid.is-four { grid-template-columns:repeat(4,minmax(0,1fr)); }

/* ---------- Engagement models: the "Seven moments" list; the lead model is marked ---------- */
.engage-page .svc-moments { padding-top:112px; }
.moment-row.is-lead { background:linear-gradient(90deg,#eef4fb 0%,#eef4fb00 85%); }
.moment-row.is-lead .moment-ico { color:#fff; background:#2f74c9; box-shadow:0 0 0 1px #2f74c9,0 8px 18px -8px #2f74c9; }
.moment-row h3 a { background:linear-gradient(#2f74c9,#2f74c9) 0 100%/100% 1px no-repeat; transition:color .25s,background-size .25s; }
.moment-row h3 a:hover { color:#2f74c9; background-size:100% 2px; }
.lead-badge { display:inline-block; margin-left:8px; padding:3px 7px; vertical-align:.2em; font-size:9px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#2f6bb0; background:#e3edfb; border-radius:5px; }

/* ---------- Commercial options: four glass cards, each with a small picture of how it is paid (navy) ---------- */
.pay-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.pay-card { padding:24px 24px 26px; background:#ffffff08; border:1px solid #ffffff1c; border-radius:18px; transition:border-color .3s,background .3s; }
.pay-card:hover { border-color:#ffffff38; background:#ffffff0d; }
.pay-card h3 { margin-top:22px; font-size:18px; color:#fff; }
.pay-card p { margin-top:8px; font-size:14px; line-height:1.65; color:#a9bccb; }
.pay-viz { position:relative; display:flex; align-items:flex-end; gap:6px; height:56px; padding:0 2px; border-bottom:1px solid #ffffff24; }
.pay-viz i { display:block; flex:1; border-radius:4px 4px 0 0; background:linear-gradient(180deg,#8dbaf0,#4f8fe0); transform-origin:bottom; }
/* Monthly rate: the same amount each month. */
.pay-monthly i { height:46%; }
/* Fixed fee: one agreed block. */
.pay-fixed i { flex:none; width:72%; height:78%; border-radius:6px 6px 0 0; }
.pay-fixed:after { content:''; position:absolute; left:2px; right:24%; top:6px; border-top:1.5px dashed #9cc7f2; }
/* Time & materials: varies with the work. */
.pay-tm i { height:var(--h); }
/* Retainer: an ongoing line with regular check-ins. */
.pay-retainer { align-items:center; justify-content:space-between; }
.pay-retainer b { position:absolute; left:2px; right:2px; top:50%; height:2px; background:linear-gradient(90deg,#8dbaf0,#4f8fe0); }
.pay-retainer i { position:relative; flex:none; width:12px; height:12px; border-radius:50%; background:#0e2740; box-shadow:0 0 0 2px #8dbaf0; }
.js-motion .pay-card.reveal { transition-delay:calc(var(--i) * 80ms); }
.js-motion .pay-card.reveal.is-visible .pay-viz:not(.pay-retainer) i { animation:v3-grow-y .7s var(--v3-ease) backwards; animation-delay:calc(var(--i) * 80ms + .25s); }
.pay-card:hover .pay-tm i { filter:brightness(1.1); }

/* ---------- Delivery methodology: a dial driven by scrolling (engage.js) ----------
   Eight segments across a compact semicircle, Assess (left) to Sustain (right). The section holds in place (sticky)
   while the page scrolls; each stretch of scroll opens the next stage, the progress arc follows the scroll
   continuously, then the page moves on. Text sizes follow the dial's width (container units), so labels and the
   centre readout stay large relative to the ring at every size. Phone: a vertical list that highlights the stage
   passing the middle of the screen. Without JavaScript: no pinning, stage 01 shows, every label is listed. */
.meth-pin > .section-heading { margin-bottom:20px; }
.dial { position:relative; container-type:inline-size; aspect-ratio:1280 / 548; width:100%; margin-inline:auto; }
.dial-ring { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.dial-field { fill:url(#dial-dots); }
#dial-dots circle { fill:#6f8aa4; fill-opacity:.3; }
.dial-track { fill:none; stroke:#e1e9f1; stroke-width:3; stroke-linecap:round; }
.dial-progress { fill:none; stroke:#2f74c9; stroke-width:3; stroke-linecap:round; stroke-dasharray:100 100; stroke-dashoffset:calc(100 - var(--p, 12.5)); transition:stroke-dashoffset .25s linear; }
.dial-base { stroke:#d3dee9; stroke-width:1.5; stroke-dasharray:2 6; stroke-linecap:round; }
.dial-seg { cursor:pointer; transform-box:view-box; transform-origin:640px 532px; transition:transform .5s var(--v3-ease); }
.dial-seg path { fill:#e9f0f7; stroke:#fff; stroke-width:1; transition:fill .4s ease,fill-opacity .4s ease; }
.dial-seg use { color:#7b8c9a; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; transition:color .4s; }
.dial-seg:hover path { fill:#dce8f5; }
.dial-seg.is-done path { fill:#2f74c9; fill-opacity:calc(.3 + var(--i) * .06); }
.dial-seg.is-done use { color:#fff; }
.dial-seg.is-current { transform:scale(1.05); }
.dial-seg.is-current path { fill:#2f74c9; fill-opacity:1; filter:drop-shadow(0 8px 14px #2f74c966); }
.dial-seg.is-current use { color:#fff; }
.dial-stops { margin:0; padding:0; list-style:none; }
.dial-stops li { position:absolute; left:var(--x); top:var(--y); }
.dial-stops li.is-left { translate:-100% -50%; text-align:right; }
.dial-stops li.is-right { translate:0 -50%; text-align:left; }
.dial-stops li.is-tl { translate:-100% -100%; text-align:right; }
.dial-stops li.is-tr { translate:0 -100%; text-align:left; }
.dial-stop { display:flex; flex-direction:column; gap:.3cqw; max-width:max(150px,20cqw); padding:6px 8px; font:inherit; text-align:inherit; color:inherit; background:none; border:0; border-radius:10px; cursor:pointer; }
.is-left .dial-stop,.is-tl .dial-stop { align-items:flex-end; }
.dial-no { font-size:clamp(9px,.9cqw,15px); letter-spacing:.12em; color:#9aa8b4; font-variant-numeric:tabular-nums; transition:color .3s; }
.dial-name { font-size:clamp(14px,1.85cqw,34px); font-weight:500; line-height:1.15; letter-spacing:-.012em; color:#8696a5; transition:color .3s; }
.dial-out { font-size:clamp(11px,1.17cqw,21px); line-height:1.4; color:#9aa8b4; transition:color .3s; }
.dial-stop.is-done .dial-name { color:var(--ink); }
.dial-stop.is-done .dial-out { color:#6b7a87; }
.dial-stop[aria-pressed="true"] .dial-no { color:#2f74c9; }
.dial-stop[aria-pressed="true"] .dial-name { color:#2368ad; }
.dial-stop[aria-pressed="true"] .dial-out { color:var(--ink); }
.dial-stop:hover .dial-name { color:#2368ad; }
.dial-stop:focus-visible { outline:2px solid #2f74c9; outline-offset:2px; }
/* Centre readout. */
.dial-center { position:absolute; left:50%; bottom:calc(16 / 548 * 100% + 2.6cqw); translate:-50% 0; width:40%; display:flex; flex-direction:column; align-items:center; text-align:center; }
.dial-count { font-size:clamp(10px,1cqw,17px); letter-spacing:.14em; color:#7b8c9a; font-variant-numeric:tabular-nums; }
.dial-count b { font-weight:600; color:#2f74c9; }
.dial-stage { margin-top:.7cqw; font-size:clamp(26px,4.6cqw,86px); font-weight:500; line-height:1.02; letter-spacing:-.03em; color:var(--ink); }
.dial-result { display:flex; flex-direction:column; align-items:center; gap:.5cqw; margin-top:1.1cqw; }
.dial-result span { padding:.3cqw .7cqw; font-size:clamp(8.5px,.78cqw,13px); font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#2f6bb0; background:#eef4fb; border-radius:6px; }
.dial-result b { font-size:clamp(13px,1.5cqw,27px); font-weight:500; color:#33506a; }
.dial-center.is-swap .dial-stage,.dial-center.is-swap .dial-result,.dial-center.is-swap .dial-count { animation:dial-swap .4s var(--v3-ease) both; }
.dial-center.is-swap .dial-result { animation-delay:.05s; }
@keyframes dial-swap { from { opacity:0; translate:0 8px; } }
/* Reveal: segments light up one after another. */
.js-motion .dial.reveal { opacity:1; transform:none; }
.js-motion .dial.reveal .dial-seg { opacity:0; transition:opacity .5s ease,transform .5s var(--v3-ease); transition-delay:calc(var(--i) * 60ms + .1s); }
.js-motion .dial.reveal.is-visible .dial-seg { opacity:1; transition-delay:0s; }
.js-motion .dial.reveal .dial-stops li,.js-motion .dial.reveal .dial-center { opacity:0; transition:opacity .6s ease .4s; }
.js-motion .dial.reveal.is-visible .dial-stops li,.js-motion .dial.reveal.is-visible .dial-center { opacity:1; }
html[data-motion=paused] .dial-seg,html[data-motion=paused] .dial-stops li,html[data-motion=paused] .dial-center { opacity:1 !important; }
/* Scroll stage (desktop, laptop and landscape tablets, once engage.js is running). The section holds while:
   1. the heading and tag slide up and out of view and the dial zooms from its small size to (nearly) fill the screen;
   2. the stages step 01 → 08;  3. a short hold on Sustain, then the page moves on.
   engage.js sets the scroll length (--meth-run) and, each frame, --hy/--ho (heading) and --dy/--ds (dial).
   The dial is laid out at its full size and drawn smaller with `scale`, so the zoom runs on the compositor;
   `translate`/`scale` are used (not `transform`) so the paused-motion reset of .reveal does not undo them. */
@media (min-width:981px),(min-width:701px) and (orientation:landscape) {
  .meth-scroll.is-ready { height:calc(100svh - var(--svc-hdr) - var(--svc-sub) + var(--meth-run, 0px)); }
  .meth-scroll.is-ready .meth-pin {
    position:sticky; top:calc(var(--svc-hdr) + var(--svc-sub)); height:calc(100svh - var(--svc-hdr) - var(--svc-sub));
    overflow-x:visible; overflow-y:clip;
  }
  .meth-scroll.is-ready .meth-pin > .section-heading { position:absolute; top:28px; left:0; right:0; margin:0; translate:0 var(--hy,0px); opacity:var(--ho,1); transition:none; will-change:translate,opacity; }
  .meth-scroll.is-ready .dial.reveal {
    position:absolute; left:50%; top:50%; margin:0; transform:none; transform-origin:50% 50%;
    width:min(calc(100vw - 64px),calc((100svh - var(--svc-hdr) - var(--svc-sub) - 48px) * 1280 / 548));
    translate:-50% calc(-50% + var(--dy,0px)); scale:var(--ds,1); will-change:translate,scale;
  }
  .meth-section { padding-block:56px; }
}
@media (prefers-reduced-motion:reduce) {
  .dial-seg,.dial-stops li,.dial-center { opacity:1 !important; transition:none !important; }
  .dial-progress { transition:none; }
  .dial-center.is-swap * { animation:none !important; }
}
@media (max-width:980px) {
  .dial { margin-inline:auto; }
  .dial-stop { padding:4px; }
}
/* Phone and portrait tablet: a vertical list; the stage passing the middle of the screen is marked. */
@media (max-width:700px),(max-width:980px) and (orientation:portrait) {
  .dial { aspect-ratio:auto; margin:0; container-type:normal; }
  .dial-ring,.dial-center { display:none; }
  .dial .dial-stops { position:relative; display:grid; gap:4px; padding-left:22px; }
  .dial-stops:before { content:''; position:absolute; left:5px; top:12px; bottom:12px; width:2px; background:#e1e9f1; }
  .dial-stops li { position:relative; left:auto; top:auto; translate:none !important; text-align:left !important; }
  .dial-stop { position:relative; display:grid; grid-template-columns:auto 1fr; column-gap:12px; row-gap:2px; width:100%; max-width:none; padding:12px 14px; align-items:baseline !important; transition:background .3s,box-shadow .3s; }
  .dial-stop:before { content:''; position:absolute; left:-21px; top:17px; width:10px; height:10px; border-radius:50%; background:#fff; box-shadow:0 0 0 2px #c6d6e7; transition:background .3s,box-shadow .3s; }
  .dial-stop.is-done:before { background:#8dbaf0; box-shadow:0 0 0 2px #8dbaf0; }
  .dial-stop[aria-pressed="true"] { background:#fff; box-shadow:0 0 0 1px #dfe7ef,0 12px 26px -18px #1c4a7a73; }
  .dial-stop[aria-pressed="true"]:before { background:#2f74c9; box-shadow:0 0 0 2px #2f74c9,0 0 0 6px #2f74c91f; }
  .dial-no { grid-row:1; font-size:10px; }
  .dial-name { grid-column:2; font-size:17px; color:var(--ink); }
  .dial-out { grid-column:2; font-size:13.5px; color:#6b7a87; }
}

/* ---------- Responsible analytics: one pipeline through six gates (no cards) ----------
   A pulse runs the line; each gate lights as it passes. Validation sits on a separate lane inside a dashed
   zone — "a separate team or a third party" — and the line returns to end at Regulatory Defensibility. */
.gates { position:relative; margin:8px 0 0; }
.gates-map { position:relative; aspect-ratio:1200 / 300; }
.gates-track { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.gates-zone { fill:#eef4fb99; stroke:#b5c9de; stroke-width:1.5; stroke-dasharray:5 6; }
.gates-line { fill:none; stroke:#c6d6e7; stroke-width:2.5; stroke-linecap:round; }
.gates-pulse { fill:none; stroke:#2f74c9; stroke-width:4; stroke-linecap:round; stroke-dasharray:3.5 96.5; animation:gates-run 7s linear infinite; }
@keyframes gates-run { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
.gates-dot { fill:#fff; stroke:#8dbaf0; stroke-width:2.5; animation:gates-lit 7s linear infinite; animation-delay:calc(var(--f) * 7s); }
@keyframes gates-lit { 0%,13% { fill:#2f74c9; stroke:#2f74c9; } 22%,100% { fill:#fff; stroke:#8dbaf0; } }
.gates-lane { position:absolute; font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#7b8c9a; white-space:nowrap; }
.gates-lane-down { left:calc(700 / 1200 * 100%); top:calc(268 / 300 * 100%); translate:-50% -50%; color:#4f6f8c; }
.gates-list { margin:0; padding:0; list-style:none; }
.gate { position:absolute; left:calc(var(--x) * 1%); bottom:calc((1 - 90 / 300) * 100% + 18px); translate:-50% 0; display:flex; flex-direction:column; align-items:center; gap:4px; width:max-content; max-width:170px; text-align:center; }
.gate.is-down { bottom:auto; top:calc(190 / 300 * 100% + 18px); }
.gate.is-end { bottom:calc((1 - 90 / 300) * 100% + 36px); }
.gate-no { font-size:10px; letter-spacing:.12em; color:#9aa8b4; }
.gate-name { font-size:15.5px; font-weight:500; line-height:1.25; color:var(--ink); animation:gates-name 7s linear infinite; animation-delay:calc(var(--f) * 7s); }
@keyframes gates-name { 0%,13% { color:#2368ad; } 22%,100% { color:var(--ink); } }
/* The end of the chain: a sealed, always-lit gate. */
.gate.is-end .gate-name { color:#2368ad; animation:none; }
.gate-seal {
  position:absolute; left:50%; top:calc(100% + 36px); translate:-50% -50%; display:grid; place-items:center; width:46px; height:46px; border-radius:50%;
  color:#fff; background:linear-gradient(160deg,#3a82d6,#1f57a3); box-shadow:0 0 0 7px #2f74c91f,0 14px 26px -10px #2f74c9;
  animation:gates-seal 7s ease-out infinite; animation-delay:calc(var(--f) * 7s);
}
.gate-seal .icon { width:19px; height:19px; }
@keyframes gates-seal { 0% { box-shadow:0 0 0 7px #2f74c91f,0 14px 26px -10px #2f74c9; } 6% { box-shadow:0 0 0 14px #2f74c933,0 14px 26px -10px #2f74c9; } 20%,100% { box-shadow:0 0 0 7px #2f74c91f,0 14px 26px -10px #2f74c9; } }
/* Independence: a plain note in the space beside the dashed zone, no card. */
.indep-note { position:absolute; left:0; top:calc(90 / 300 * 100% + 54px); display:flex; align-items:flex-start; gap:14px; max-width:min(42%,500px); margin:0; }
.indep-mark { flex:none; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; color:#2f6bb0; background:#eef4fb; box-shadow:0 0 0 1px #dbe6f1; }
.indep-mark .icon { width:17px; height:17px; }
.indep-note strong { display:block; margin-bottom:3px; font-size:16px; font-weight:500; color:var(--ink); }
.indep-note span { font-size:14px; line-height:1.65; color:#5b6c7a; }
.js-motion .gates.reveal .gates-pulse { opacity:0; transition:opacity .6s ease .8s; }
.js-motion .gates.reveal.is-visible .gates-pulse { opacity:1; }
.js-motion .gates.reveal.is-visible .gates-line { animation:v3-draw 1.8s var(--v3-ease) backwards; }

/* ---------- Next steps: four steps joined by one line ---------- */
.steps { position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; padding:0; list-style:none; }
.steps:before { content:''; position:absolute; top:44px; left:40px; right:40px; height:2px; background:linear-gradient(90deg,#d3dee9,#8dbaf0); }
.steps li { position:relative; padding:24px 24px 26px; 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; }
.steps li:hover { border-color:#c7d8ea; box-shadow:0 1px 2px #1b3f660a,0 30px 60px -36px #1c4a7a73; }
.step-top { display:flex; align-items:center; justify-content:space-between; }
.step-ico { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; color:#2f6bb0; background:linear-gradient(180deg,#e3edfb,#fff); box-shadow:0 0 0 1px #dfe7ef,0 0 0 6px #fff; transition:background .3s,color .3s; }
.step-ico .icon { width:19px; height:19px; }
.steps li:hover .step-ico { color:#fff; background:#2f74c9; }
.step-no { font-size:11px; letter-spacing:.08em; color:#9aa8b4; font-variant-numeric:tabular-nums; }
.steps h3 { margin-top:22px; font-size:18px; }
.steps p { margin-top:8px; font-size:14px; line-height:1.65; color:#5b6c7a; }
.steps li.is-end { border-color:transparent; background:linear-gradient(160deg,#173a5e 0%,#0f2a44 100%); }
.steps li.is-end h3 { color:#fff; }
.steps li.is-end p { color:#b9cbdb; }
.steps li.is-end .step-ico { color:#fff; background:#2f74c9; box-shadow:0 0 0 1px #2f74c9,0 0 0 6px #0f2a44; }
.steps li.is-end .step-no { color:#7f9ab0; }
.js-motion .steps.reveal { opacity:1; transform:none; }
.js-motion .steps.reveal li { opacity:0; translate:0 12px; transition:opacity .5s ease,translate .5s var(--v3-ease); transition-delay:calc(var(--i) * 120ms + .1s); }
.js-motion .steps.reveal.is-visible li { opacity:1; translate:0 0; }

/* ---------- Motion preferences ---------- */
html[data-motion=paused] .steps li { opacity:1 !important; translate:none !important; }
html[data-motion=paused] .gates-pulse { display:none; }
@media (prefers-reduced-motion:reduce) {
  .steps li { opacity:1 !important; translate:none !important; transition:none !important; }
  .gates-pulse { display:none; }
  .gantt-bar,.pay-viz i,.gates-dot,.gate-name,.gate-seal,.gates-line,.deck-card { animation:none !important; }
  .deck-card { scale:1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width:1200px) {
  .more-grid.is-four { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pay-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .deck-main { padding:30px 32px 26px; }
  .deck-side { padding:26px 28px; }
  .gate-name { font-size:14px; }
}
@media (max-width:980px) {
  .engage-page .svc-moments { padding-top:100px; }
  .more-grid.is-four { grid-template-columns:1fr; }
  .gantt-axis,.gantt-row { column-gap:24px; }
  /* Deck cards: narrower side panel. */
  .deck-card { grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); }
  .deck-dur span { font-size:15px; }
  /* Pipeline: smaller labels; the lane caption moves under the zone. */
  .gate-name { font-size:13px; }
  .gate-no { font-size:9px; }
  .gates-lane { display:none; }
  .indep-note { position:static; max-width:none; margin-top:20px; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .steps:before { display:none; }
}
@media (max-width:700px) {
  .engage-page .svc-moments { padding-top:80px; }
  .finder-count { margin-left:0; width:100%; }
  /* Deck on phones: the timeline sits above the text; cards stack closer together. */
  .finder .deck { gap:18px; padding-bottom:6vh; }
  .deck-card { top:calc(var(--svc-hdr) + var(--svc-sub) + 12px + var(--k) * 8px); grid-template-columns:1fr; min-height:0; border-radius:20px; }
  .deck-side { flex-direction:row; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:18px 20px; border-right:0; border-bottom:1px solid #e3ebf3; }
  .deck-top { width:100%; }
  .deck-ico { width:38px; height:38px; border-radius:11px; }
  .deck-ico .icon { width:18px; height:18px; }
  .deck-dur { margin-top:4px; padding-top:0; gap:7px; }
  .deck-dur b { font-size:40px; }
  .deck-dur span { font-size:14px; }
  .deck-weeks { flex:1; min-width:150px; margin-top:6px; gap:3px; }
  .deck-weeks i { height:7px; }
  .deck-cap { display:none; }
  .deck-main { padding:20px 20px 18px; }
  .deck-main h3 { font-size:21px; }
  .deck-label { margin-top:14px; }
  .deck-scope { font-size:14.5px; }
  .deck-out { margin-top:16px; padding:14px 16px; gap:12px; }
  .deck-tick { width:28px; height:28px; }
  .deck-deliv { font-size:15.5px; }
  .gantt { padding:6px 16px 8px; }
  .gantt-axis { display:none; }
  .gantt-row { grid-template-columns:1fr; row-gap:10px; padding:14px 0; }
  .gantt-name { font-size:14px; }
  .pay-grid { grid-template-columns:1fr; gap:12px; }
  .pay-card { display:grid; grid-template-columns:96px 1fr; column-gap:18px; align-items:center; padding:20px; }
  .pay-viz { grid-row:1 / span 2; height:48px; }
  .pay-card h3 { margin-top:0; font-size:16px; }
  .pay-card p { grid-column:2; }
  /* Pipeline turns into a vertical chain; Validation steps aside onto its separate lane. */
  .gates-map { aspect-ratio:auto; }
  .gates-track,.gates-lane { display:none; }
  .gates-list { position:relative; display:grid; gap:0; padding:0; }
  .gates-list:before { content:''; position:absolute; left:6px; top:14px; bottom:14px; width:2px; background:#c6d6e7; }
  .gate,.gate.is-down,.gate.is-end { position:relative; left:auto; top:auto; bottom:auto; translate:none; flex-direction:row; align-items:baseline; gap:12px; width:auto; max-width:none; padding:12px 0 12px 32px; text-align:left; }
  .gate:before { content:''; position:absolute; left:1px; top:17px; width:12px; height:12px; border-radius:50%; background:#fff; box-shadow:0 0 0 2px #8dbaf0; }
  /* Validation sits inside its own dashed zone, on the same line: separate team or third party. */
  .gate.is-down { flex-wrap:wrap; margin:6px 0; padding:12px 14px 12px 30.5px; border:1.5px dashed #b5c9de; border-radius:12px; background:#eef4fb99; }
  .gate.is-down:before { left:-.5px; top:15.5px; }
  .gate.is-down:after { content:'Separate team or third party'; flex-basis:100%; font-size:9.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#4f6f8c; }
  .gate-name { font-size:16px; }
  .gate.is-end { align-items:center; padding-block:16px; }
  .gate.is-end:before { display:none; }
  .gate-seal { position:absolute; left:-8px; top:50%; translate:0 -50%; width:30px; height:30px; box-shadow:0 0 0 5px #2f74c91f; animation:none; }
  .gate-seal .icon { width:14px; height:14px; }
  .steps { grid-template-columns:1fr; gap:12px; }
  .steps h3 { margin-top:16px; font-size:16px; }
}
