/* ==========================================================================
   About page (rebuilt 27 September 2026, evening)
   Loaded on /about/ after services.css and pages.css. Classes start "ab-".
   Partner colours: Insight AI Africa blue, NK Digital teal, AI Creative
   Solutions amber (the same as the Home page).
   ========================================================================== */

/* 1. Hero: the Alliance graphic and the four figures ------------------------- */
.ab-hero { padding-bottom: 64px; }
.ab-const-wrap { position: relative; animation: pg-fade-in 1.2s ease 0.2s both; }
.ab-const { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }

.ab-c-glow { transform-box: fill-box; transform-origin: center; animation: svc-breathe 6s ease-in-out infinite; }
.ab-c-orbit { transform-box: fill-box; transform-origin: center; animation: svc-spin 70s linear infinite; }
.ab-c-orbit > circle:first-child { fill: none; stroke: rgba(124, 196, 255, 0.2); stroke-width: 1; stroke-dasharray: 2 8; }
.ab-c-sat { fill: var(--svc-orange); }
.ab-c-sat.s2 { fill: var(--svc-sky); }
.ab-c-tri { fill: none; stroke: rgba(124, 196, 255, 0.22); stroke-width: 1.2; stroke-dasharray: 0.006 0.012; animation: pg-fade-in 1.2s ease 1.6s both; }

.ab-c-link { fill: none; stroke: var(--c); stroke-opacity: 0.4; stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 0; animation: ab-draw 0.9s ease 0.95s both; }
.ab-c-flow { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-dasharray: 3 11; opacity: 0.85; animation: pg-flow 1.1s linear infinite, ab-show 0.6s ease 1.9s both; }
.ab-c-pk circle { fill: #fff; }
.ab-c-pk .halo { fill: var(--c); opacity: 0.35; }

.ab-c-hub { transform-box: fill-box; transform-origin: center; animation: ab-lock 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.25s both; }
.ab-c-hex { fill: rgba(7, 20, 46, 0.78); stroke: url(#abHexGrad); stroke-width: 2.5; stroke-linejoin: round; }
.ab-c-hex2 { fill: none; stroke: rgba(124, 196, 255, 0.32); stroke-width: 1.2; stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; animation: svc-spin-rev 40s linear infinite; }
.ab-c-arcs { transform-box: fill-box; transform-origin: center; animation: svc-spin 12s linear infinite; }
.ab-c-arcs circle { fill: none; stroke: url(#abHexGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 80 36 26 58; }
.ab-c-core { fill: #fff; stroke: rgba(124, 196, 255, 0.7); stroke-width: 2; }
.ab-c-flash { fill: none; stroke: #FFD27A; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ab-flash 1.3s ease-out 2s forwards; }
.ab-c-label { fill: #8FA6CF; font: 700 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.26em; }

.ab-c-chip { transform-box: fill-box; transform-origin: center; animation: ab-chip 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0.3s) both; }
.ab-c-halo { fill: var(--c); opacity: 0.2; }
.ab-c-card { fill: #fff; }
.ab-c-role { fill: var(--c); font: 700 11.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.16em; }

.ab-stats {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.ab-stats li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px;
  background: rgba(11, 29, 66, 0.66); border: 1px solid rgba(124, 196, 255, 0.2);
  animation: pg-fade-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(0.9s + var(--i, 0) * 110ms);
}
.ab-stats b {
  flex: none; min-width: 1.1ch; font: 800 2.5rem/1 'Montserrat', 'Inter', sans-serif;
  background: linear-gradient(135deg, #7CC4FF, #FFD27A); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ab-stats span { font-size: 0.92rem; line-height: 1.35; color: #C4D2EC; }

/* 2. The partners ----------------------------------------------------------------- */
.ab-partners { position: relative; padding: 112px 0; background: #fff; }
.ab-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1400px; }
.ab-partner {
  --pc: #2F7BFF; --pg: rgba(47, 123, 255, 0.09);
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #F7FAFF 100%); border: 1px solid #E1E8F3;
  box-shadow: 0 30px 60px -46px rgba(10, 42, 94, 0.5);
}
.ab-partner.p2 { --pc: #1B9CC4; --pg: rgba(63, 182, 217, 0.1); }
.ab-partner.p3 { --pc: #E39A16; --pg: rgba(245, 174, 49, 0.12); }
.ab-partner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pc), transparent 85%); }
.ab-partner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--pg), transparent 62%);
}
.ab-partner:hover::after { opacity: 1; }
.ab-partner:hover { box-shadow: 0 50px 90px -50px rgba(10, 42, 94, 0.62); }
.ab-partner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; margin-bottom: 18px; }
.ab-partner-logo img { display: block; height: 52px; width: auto; max-width: 170px; object-fit: contain; }
.ab-partner.p3 .ab-partner-logo img { height: 66px; }
.ab-partner-icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0E428C, #2F7BFF); box-shadow: 0 16px 30px -14px rgba(47, 123, 255, 0.9);
}
.ab-partner.p2 .ab-partner-icon { background: linear-gradient(135deg, #0A6E8C, #3FB6D9); box-shadow: 0 16px 30px -14px rgba(63, 182, 217, 0.9); }
.ab-partner.p3 .ab-partner-icon { background: linear-gradient(135deg, #C98410, #F5AE31); color: #0A2A5E; box-shadow: 0 16px 30px -14px rgba(245, 174, 49, 0.9); }
.ab-partner-icon .svc-i { width: 26px; height: 26px; }
.ab-partner-role { font-family: var(--svc-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8F5800; }
.ab-partner h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.ab-partner > p { margin: 0 0 22px; color: #3A4458; }
.ab-partner-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid #E6ECF5; }
.ab-partner-lead { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: #51607A; }
.ab-partner-lead .aia-avatar { --s: 42px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pc); }
.ab-partner-lead b { color: var(--navy-dark); }
.ab-partner-stages { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.ab-leads-word { font-family: var(--svc-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #56657E; }
.ab-partner-stages ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-partner-stages li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #EEF4FC; color: var(--navy); font-size: 0.84rem; font-weight: 700; }
.ab-partner-stages .svc-i { width: 16px; height: 16px; }

/* 3. The team --------------------------------------------------------------------- */
.ab-team {
  position: relative; isolation: isolate; overflow: hidden; padding: 116px 0 112px;
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(47, 123, 255, 0.28), transparent 64%),
    radial-gradient(700px 420px at 100% 110%, rgba(245, 174, 49, 0.1), transparent 60%),
    linear-gradient(180deg, #06122B 0%, #07142E 100%);
}
.ab-team-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(124, 196, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 196, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 72%);
}
.ab-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.ab-person {
  --oc: #7CC4FF;
  flex: 0 1 calc((100% - 48px) / 3); display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 26px 28px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 40, 90, 0.78) 0%, rgba(9, 24, 56, 0.78) 100%);
  border: 1px solid rgba(124, 196, 255, 0.18); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ab-person.o-nk { --oc: #3FB6D9; }
.ab-person.o-acs { --oc: #F5AE31; }
.svc-js .ab-person[data-reveal].is-in:hover, .ab-person:hover { transform: translateY(-6px); border-color: rgba(124, 196, 255, 0.42); box-shadow: 0 40px 70px -40px rgba(47, 123, 255, 0.55); transition-delay: 0ms; }
.ab-person-photo { position: relative; width: 150px; height: 150px; margin-bottom: 20px; display: grid; place-items: center; }
.ab-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--oc), rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 72%, var(--oc));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: svc-spin 9s linear infinite;
}
.ab-person:nth-child(2n) .ab-ring { animation-duration: 11s; animation-direction: reverse; }
.ab-person-photo .aia-avatar { --s: 132px; font-size: 2.1rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85); }
.ab-person h3 { font-size: 1.25rem; margin: 0 0 4px; color: #fff; }
.ab-person-role { margin: 0 0 12px; color: #BFD4F2; font-size: 0.95rem; line-height: 1.4; }
.ab-org {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--svc-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7CC4FF; background: rgba(124, 196, 255, 0.1); border: 1px solid rgba(124, 196, 255, 0.35);
}
.ab-org.o-nk { color: #6FD0EE; background: rgba(63, 182, 217, 0.1); border-color: rgba(63, 182, 217, 0.4); }
.ab-org.o-acs { color: #FFC960; background: rgba(245, 174, 49, 0.1); border-color: rgba(245, 174, 49, 0.4); }
.ab-org::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ab-person-bio { margin: 0; color: #A9B8D6; font-size: 0.93rem; line-height: 1.62; }

/* 4. How engagements run: the chart of who leads each stage ------------------------ */
.ab-path { position: relative; padding: 112px 0; background: #F2F5FA; }
.ab-lanes {
  position: relative; container-type: inline-size;
  display: grid; grid-template-columns: 232px repeat(4, minmax(0, 1fr)); grid-template-rows: auto 72px 72px 72px auto;
  background: #fff; border: 1px solid #E1E8F3; border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px -60px rgba(10, 42, 94, 0.55);
}
.ab-legend {
  grid-column: 1; grid-row: 1 / span 5; display: grid; grid-template-rows: subgrid;
  border-right: 1px solid #E8EDF5; background: linear-gradient(180deg, #F8FAFD, #fff);
}
.ab-legend-head { grid-row: 1; align-self: end; padding: 22px 20px 18px 22px; font-family: var(--svc-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #56657E; }
.ab-legend-row { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; }
.ab-legend-row.p1 { grid-row: 2; }
.ab-legend-row.p2 { grid-row: 3; }
.ab-legend-row.p3 { grid-row: 4; }
.ab-legend-logo { flex: none; width: 56px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #E3E9F2; display: grid; place-items: center; }
.ab-legend-logo img { display: block; height: 28px; width: auto; max-width: 46px; object-fit: contain; }
.ab-legend-row.p3 .ab-legend-logo img { height: 34px; }
.ab-legend-text b { display: block; font-size: 0.86rem; line-height: 1.25; color: var(--navy-dark); }
.ab-legend-text small { display: block; margin-top: 2px; font-size: 0.72rem; line-height: 1.3; color: #56657E; }
.ab-legend-foot { grid-row: 5; border-top: 1px solid #EDF1F7; }

.ab-stages { grid-column: 2 / span 4; grid-row: 1 / span 5; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; list-style: none; margin: 0; padding: 0; }
.ab-stage { grid-row: 1 / span 5; display: grid; grid-template-rows: subgrid; position: relative; transition: background 0.3s ease; }
.ab-stage + .ab-stage { border-left: 1px dashed #E3E9F2; }
.ab-stage:hover { background: rgba(47, 123, 255, 0.035); }
.ab-stage-head { padding: 24px 20px 16px; }
.ab-stage-no { display: inline-flex; align-items: center; gap: 8px; font-family: var(--svc-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); }
.ab-stage-no .svc-i { width: 18px; height: 18px; }
.ab-stage h3 { font-size: 1.3rem; margin: 8px 0 4px; }
.ab-stage-q { margin: 0; color: #8F5800; font-weight: 600; font-size: 0.93rem; line-height: 1.4; }
.ab-stage-note { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 7px; background: #EAF1FC; color: #0E428C; font-size: 0.72rem; font-weight: 700; line-height: 1.4; }

.ab-lane { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.ab-lane.p1 { --lc: #2F7BFF; --lt: #1B55C2; --lg: rgba(47, 123, 255, 0.16); --l1: #0E428C; --l2: #2F7BFF; }
.ab-lane.p2 { --lc: #1B9CC4; --lt: #0A6E8C; --lg: rgba(63, 182, 217, 0.18); --l1: #0A6E8C; --l2: #3FB6D9; }
.ab-lane.p3 { --lc: #E39A16; --lt: #8F5800; --lg: rgba(245, 174, 49, 0.2); --l1: #C98410; --l2: #F5AE31; }
.ab-node { position: relative; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--lc); opacity: 0.55; }
.ab-lane.is-lead .ab-node {
  width: 46px; height: 46px; border: 0; opacity: 1; color: #fff;
  background: linear-gradient(135deg, var(--l1), var(--l2));
  box-shadow: 0 0 0 6px var(--lg), 0 14px 26px -10px var(--lc);
}
.ab-lane.p3.is-lead .ab-node { color: #0A2A5E; }
.ab-lane.is-lead .ab-node .svc-i { width: 22px; height: 22px; }
.ab-lane.is-lead .ab-node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lc); opacity: 0;
  animation: ab-pulse 2.8s ease-out infinite; animation-delay: calc(2.6s + var(--c, 0) * 0.35s);
}
.ab-lane em {
  position: absolute; left: calc(50% + 32px); top: 50%; transform: translateY(-50%);
  font-style: normal; font-family: var(--svc-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lt);
  padding: 2px 6px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--lg);
}
.ab-stage-body { padding: 18px 20px 26px; border-top: 1px solid #EDF1F7; }
.ab-stage-body p { margin: 0; font-size: 0.92rem; line-height: 1.62; color: #3A4458; }
.ab-stage-led { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.ab-track { grid-column: 2 / -1; align-self: center; position: relative; z-index: 1; height: 2px; pointer-events: none; }
.ab-track.t1 { grid-row: 2; --lc: #2F7BFF; }
.ab-track.t2 { grid-row: 3; --lc: #1B9CC4; }
.ab-track.t3 { grid-row: 4; --lc: #E39A16; }
.ab-track::before { content: ""; position: absolute; inset: 0; background: var(--lc); opacity: 0.22; }
.ab-track-pk {
  position: absolute; left: 0; top: 50%; width: 70px; height: 4px; margin-top: -2px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--lc)); box-shadow: 0 0 12px var(--lc); opacity: 0.9;
  animation: ab-run 6s linear infinite;
}
.ab-track.t2 .ab-track-pk { animation-delay: -2s; }
.ab-track.t3 .ab-track-pk { animation-delay: -4s; }

.ab-scan { grid-column: 2 / -1; grid-row: 2 / span 3; position: relative; z-index: 3; pointer-events: none; opacity: 0; }
.ab-scan::before {
  content: ""; position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px;
  background: linear-gradient(180deg, transparent, #F5AE31 20%, #FFD27A 50%, #F5AE31 80%, transparent);
  box-shadow: 0 0 18px rgba(245, 174, 49, 0.85);
}
.svc-js .ab-lanes.is-in .ab-scan { animation: ab-scan 2.6s cubic-bezier(0.45, 0.05, 0.3, 1) 0.3s both; }
.svc-js .ab-lanes .ab-lane.is-lead .ab-node { transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.3); transition-delay: calc(0.5s + var(--c, 0) * 0.55s); }
.svc-js .ab-lanes:not(.is-in) .ab-lane.is-lead .ab-node { opacity: 0; transform: scale(0.4); }
.svc-js .ab-lanes:not(.is-in) .ab-lane em { opacity: 0; }
.svc-js .ab-lanes .ab-lane em { transition: opacity 0.5s ease; transition-delay: calc(0.9s + var(--c, 0) * 0.55s); }

.ab-lanes-note { max-width: 720px; margin: 28px auto 0; text-align: center; color: #51607A; }
.ab-path-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; margin: 30px 0 0; }

/* 5. How we work -------------------------------------------------------------- */
.ab-principles {
  position: relative; padding: 112px 0;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(245, 174, 49, 0.14), transparent 60%),
    radial-gradient(800px 480px at 0% 0%, rgba(47, 123, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #07142E 0%, #040B1C 100%);
}
.ab-pr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-pr {
  position: relative; overflow: hidden; padding: 26px 28px 30px; border-radius: 24px;
  background: rgba(11, 29, 66, 0.72); border: 1px solid rgba(124, 196, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ab-pr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 196, 255, 0.7), transparent); }
.svc-js .ab-pr[data-reveal].is-in:hover, .ab-pr:hover { transform: translateY(-6px); border-color: rgba(124, 196, 255, 0.45); transition-delay: 0ms; }
.ab-pr-art { height: 140px; display: grid; place-items: center; margin: 0 -8px 16px; border-radius: 16px; background: radial-gradient(circle at 50% 45%, rgba(47, 123, 255, 0.2), transparent 70%); }
.ab-pa { width: 210px; height: 126px; overflow: visible; }
.ab-pr-no { font-family: var(--svc-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--svc-orange); }
.ab-pr h3 { font-size: 1.45rem; margin: 6px 0 8px; }
.ab-pr p { margin: 0; color: #B7C6E2; }

/* Measurable: bars rise to the agreed goal */
.ab-pa-axis { fill: none; stroke: rgba(124, 196, 255, 0.35); stroke-width: 1.5; }
.ab-pa-goal { fill: none; stroke: #F5AE31; stroke-width: 1.5; stroke-dasharray: 5 5; }
.ab-pa-tag { fill: #F5AE31; font: 700 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.16em; }
.ab-pa-bar { fill: #7CC4FF; transform-box: fill-box; transform-origin: 50% 100%; animation: ab-bar 6s cubic-bezier(0.2, 0.7, 0.2, 1) infinite both; }
.ab-pa-bar.b2 { fill: #8FCBFF; animation-delay: 0.15s; }
.ab-pa-bar.b3 { fill: #A6D6FF; animation-delay: 0.3s; }
.ab-pa-bar.b4 { fill: #BFE0FF; animation-delay: 0.45s; }
.ab-pa-bar.b5 { fill: #FFD27A; animation-delay: 0.6s; }
.ab-pa-tick circle { fill: #9CD14B; }
.ab-pa-tick path { fill: none; stroke: #0A2A5E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-pa-tick { transform-box: fill-box; transform-origin: center; animation: ab-tick 6s ease infinite both; }

/* Auditable: a document checked line by line */
.ab-pa-doc { fill: rgba(216, 236, 255, 0.06); stroke: rgba(216, 236, 255, 0.55); stroke-width: 1.5; }
.ab-pa-head { fill: #7CC4FF; }
.ab-pa-line { fill: rgba(216, 236, 255, 0.45); }
.ab-pa-ok circle { fill: #9CD14B; }
.ab-pa-ok path { fill: none; stroke: #0A2A5E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-pa-ok { transform-box: fill-box; transform-origin: center; animation: ab-ok 5s ease infinite both; }
.ab-pa-ok.k1 { animation-delay: 0.7s; }
.ab-pa-ok.k2 { animation-delay: 1.35s; }
.ab-pa-ok.k3 { animation-delay: 2s; }
.ab-pa-ok.k4 { animation-delay: 2.65s; }
.ab-pa-beam rect:first-child { fill: #FFD27A; }
.ab-pa-beam .soft { fill: rgba(255, 210, 122, 0.14); }
.ab-pa-beam { opacity: 0; animation: ab-beam 5s ease-in-out infinite; }

/* Embedded: AI inside the existing workflow */
.ab-pa-wire { fill: none; stroke: rgba(124, 196, 255, 0.3); stroke-width: 2; }
.ab-pa-wire-flow { fill: none; stroke: #7CC4FF; stroke-width: 2; stroke-dasharray: 4 10; animation: pg-flow 1s linear infinite; }
.ab-pa-box { fill: #0B1D44; stroke: rgba(216, 236, 255, 0.55); stroke-width: 1.5; }
.ab-pa-ai polygon { fill: rgba(245, 174, 49, 0.18); stroke: #F5AE31; stroke-width: 2; stroke-linejoin: round; }
.ab-pa-ai circle { fill: #FFD27A; }
.ab-pa-ai { transform-box: fill-box; transform-origin: center; animation: svc-breathe 3s ease-in-out infinite; }
.ab-pa-dot { fill: #fff; opacity: 0; animation: ab-dot 3s linear infinite; }
.ab-pa-dot.d2 { animation-delay: 1.5s; }

/* 6. One agreement -------------------------------------------------------------- */
.ab-deal-section { position: relative; padding: 112px 0; background: #fff; }
.ab-deal-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 52px; align-items: center; }
.ab-deal-copy h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -0.015em; margin-bottom: 16px; }
.ab-deal-copy > p { color: #3A4458; margin: 0; }
.ab-deal-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ab-deal-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; color: var(--navy-dark); }
.ab-deal-points .svc-i { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: -1px; border-radius: 50%; background: #EAF5DD; color: #4A7A12; }

.ab-deal {
  position: relative; display: grid; grid-template-columns: 128px 58px minmax(0, 1fr) 50px 118px; align-items: center;
  min-height: 320px; padding: 26px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(420px 240px at 58% 50%, rgba(47, 123, 255, 0.24), transparent 70%),
    linear-gradient(180deg, #07142E 0%, #0B1D44 100%);
  box-shadow: 0 40px 80px -50px rgba(10, 42, 94, 0.85);
}
.ab-deal-partners { list-style: none; margin: 0; padding: 0; align-self: stretch; display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; }
.ab-deal-partners li { height: 62px; display: grid; place-items: center; background: #fff; border-radius: 14px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); }
.ab-deal-partners li.p1 { box-shadow: 0 0 0 4px rgba(124, 196, 255, 0.18); }
.ab-deal-partners li.p2 { box-shadow: 0 0 0 4px rgba(63, 182, 217, 0.2); }
.ab-deal-partners li.p3 { box-shadow: 0 0 0 4px rgba(245, 174, 49, 0.22); }
.ab-deal-partners img { display: block; height: 38px; width: auto; max-width: 100px; object-fit: contain; }
.ab-deal-partners li.p1 img { height: 34px; }
.ab-deal-links { align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.ab-deal-links path { fill: none; stroke: rgba(124, 196, 255, 0.35); stroke-width: 1.6; }
.ab-deal-links path.flow { stroke: #7CC4FF; stroke-dasharray: 4 10; animation: pg-flow 1.1s linear infinite; }
.ab-deal-down { display: none; }
.ab-deal-contract {
  text-align: center; padding: 22px 16px 20px; border-radius: 20px;
  background: rgba(12, 32, 72, 0.9); border: 1px solid rgba(245, 174, 49, 0.55);
  box-shadow: 0 0 0 6px rgba(245, 174, 49, 0.08), 0 24px 50px -24px rgba(245, 174, 49, 0.55);
}
.ab-deal-seal { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; color: #0A2A5E; background: linear-gradient(135deg, #C98410, #F5AE31); animation: svc-float 5s ease-in-out infinite; }
.ab-deal-seal .svc-i { width: 30px; height: 30px; }
.ab-deal-contract b { display: block; color: #fff; font: 800 1.12rem/1.2 'Montserrat', 'Inter', sans-serif; }
.ab-deal-contract small { display: block; margin-top: 7px; color: #A9B8D6; font-size: 0.78rem; line-height: 1.45; }
.ab-deal-arrow { position: relative; height: 2px; margin: 0 6px; background: rgba(245, 174, 49, 0.4); }
.ab-deal-arrow::after { content: ""; position: absolute; right: -3px; top: -5px; border: 6px solid transparent; border-right: 0; border-left-color: rgba(245, 174, 49, 0.9); }
.ab-deal-arrow i { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #FFD27A; box-shadow: 0 0 10px #F5AE31; animation: ab-arrow 1.8s linear infinite; }
.ab-deal-client { text-align: center; }
.ab-deal-org {
  width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0E428C, #2F7BFF); box-shadow: 0 0 0 8px rgba(47, 123, 255, 0.14), 0 20px 40px -16px rgba(47, 123, 255, 0.9);
}
.ab-deal-org .svc-i { width: 34px; height: 34px; }
.ab-deal-client b { display: block; color: #fff; font: 800 1rem/1.25 'Montserrat', 'Inter', sans-serif; }

/* Keyframes ------------------------------------------------------------------ */
@keyframes ab-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ab-show { from { opacity: 0; } to { opacity: 0.85; } }
@keyframes ab-chip { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes ab-lock { 0% { opacity: 0; transform: scale(0.72); } 60% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes ab-flash { 0% { opacity: 0.95; transform: scale(0.82); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes ab-pulse { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ab-run { from { transform: translateX(-70px); } to { transform: translateX(calc(100cqw - 232px)); } }
@keyframes ab-scan { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100cqw - 234px)); } }
@keyframes ab-bar { 0% { transform: scaleY(0.06); } 30%, 88% { transform: scaleY(1); } 100% { transform: scaleY(0.06); } }
@keyframes ab-tick { 0%, 32% { opacity: 0; transform: scale(0.4); } 40%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes ab-ok { 0% { opacity: 0; transform: scale(0.3); } 10%, 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes ab-beam { 0% { opacity: 0; transform: translateY(18px); } 8% { opacity: 1; } 70% { opacity: 1; transform: translateY(102px); } 78%, 100% { opacity: 0; transform: translateY(102px); } }
@keyframes ab-dot { 0% { opacity: 0; transform: translateX(18px); } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(182px); } }
@keyframes ab-arrow { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(30px); } }
@keyframes ab-arrow-y { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(34px); } }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ab-const-wrap { max-width: 520px; width: 100%; margin: 0 auto; }
  .ab-deal-grid { grid-template-columns: 1fr; gap: 44px; }
  .ab-deal-copy { max-width: 720px; }
}
@media (max-width: 1000px) {
  .ab-partner-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .ab-person { flex-basis: calc((100% - 24px) / 2); }
  .ab-pr-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  /* The chart becomes one card per stage, each saying who leads it */
  .ab-lanes { display: block; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; container-type: normal; }
  .ab-legend, .ab-track, .ab-scan, .ab-lane { display: none; }
  .ab-stages { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: none; gap: 16px; }
  .ab-stage { grid-row: auto; display: block; background: #fff; border: 1px solid #E1E8F3; border-radius: 20px; box-shadow: 0 24px 50px -40px rgba(10, 42, 94, 0.5); }
  .ab-stage + .ab-stage { border-left: 1px solid #E1E8F3; }
  .ab-stage-body { border-top: 0; padding-top: 0; }
  .ab-stage-led {
    position: static !important; width: auto; height: auto; margin: 0 0 12px; overflow: visible; clip: auto; white-space: normal;
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    font-size: 0.82rem; color: #0E428C; background: #EAF1FC;
  }
  .ab-stage-led.p2 { color: #0A5F79; background: #E2F5FB; }
  .ab-stage-led.p3 { color: #7A4F00; background: #FFF3DC; }
  .ab-stage-led p { margin: 0; }
}
@media (max-width: 900px) {
  .ab-stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .ab-partners, .ab-path, .ab-principles, .ab-deal-section { padding: 84px 0; }
  .ab-team { padding: 88px 0 84px; }
  .ab-c-role, .ab-c-label { font-size: 15px; }

  .ab-deal { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 24px 18px 26px; min-height: 0; }
  .ab-deal-partners { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 420px; }
  .ab-deal-partners li { height: 56px; }
  .ab-deal-partners img { height: 30px; max-width: 84px; }
  .ab-deal-partners li.p1 img { height: 24px; }
  .ab-deal-links { display: none; }
  .ab-deal-down, .ab-deal-arrow { display: block; position: relative; width: 2px; height: 42px; margin: 0; background: rgba(124, 196, 255, 0.45); }
  .ab-deal-arrow { background: rgba(245, 174, 49, 0.45); }
  .ab-deal-arrow::after { right: auto; left: -5px; top: auto; bottom: -3px; border: 6px solid transparent; border-bottom: 0; border-top-color: rgba(245, 174, 49, 0.9); }
  .ab-deal-arrow i { left: -3px; top: 0; animation-name: ab-arrow-y; }
  .ab-deal-contract { width: 100%; max-width: 380px; }
}
@media (max-width: 640px) {
  .ab-stats { gap: 10px; }
  .ab-stats li { padding: 14px 14px; gap: 10px; }
  .ab-stats b { font-size: 2rem; }
  .ab-stats span { font-size: 0.84rem; }
  .ab-person { flex-basis: 100%; }
  .ab-stages { grid-template-columns: 1fr; }
  .ab-partner { padding: 26px 22px 22px; }
}

/* Reduced motion: a still page (services.css stops every animation) ----------- */
@media (prefers-reduced-motion: reduce) {
  .ab-const-wrap, .ab-stats li { opacity: 1; transform: none; }
  .ab-c-pk, .ab-c-flash, .ab-pa-dot, .ab-pa-beam, .ab-track-pk, .ab-scan { display: none; }
  .ab-c-flow { opacity: 0.85; }
  .svc-js .ab-lanes:not(.is-in) .ab-lane.is-lead .ab-node, .svc-js .ab-lanes:not(.is-in) .ab-lane em { opacity: 1; transform: none; }
}
