/* V3 trial — restrained, Mixpanel-informed detailing on the approved V1 homepage.
   Hero, priorities and contact are left exactly as V1 (the banner already carries colour).
   Adds only: a soft off-white canvas, fine rails, faint line/grid/dot patterns behind
   visuals, and clean tag-style section labels. Minimal colour throughout. */

:root {
  --v3-canvas:#f6f8fa;
  --v3-rule:#e2e8ed;
  --v3-half:min(640px,calc(50% - 56px));
  --v3-rail-gap:28px;
  /* Fine vertical rails just outside the content column. */
  --v3-rails:linear-gradient(90deg,
    transparent calc(50% - var(--v3-half) - var(--v3-rail-gap) - 1px),
    var(--v3-rule) 0 calc(50% - var(--v3-half) - var(--v3-rail-gap)),
    transparent 0 calc(50% + var(--v3-half) + var(--v3-rail-gap)),
    var(--v3-rule) 0 calc(50% + var(--v3-half) + var(--v3-rail-gap) + 1px),
    transparent 0);
}

.v3-band { position:relative; isolation:isolate; background:var(--v3-rails),var(--v3-canvas); }
.v3-band:before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; }

/* Numbers: a whisper of ice blue with a faint dot grid rising from the bottom edge. */
.v3-metrics {
  background:radial-gradient(50% 120% at 50% 100%,#e8eff7 0%,#e8eff700 70%),var(--v3-canvas);
  border-bottom:1px solid var(--v3-rule);
}
.v3-metrics:before {
  background:radial-gradient(#6f8aa438 1px,transparent 1.3px) 50% 100%/16px 16px;
  mask-image:linear-gradient(0deg,#000 0%,transparent 85%);
}
.metrics { border-bottom:0; }
.metrics>div { border-color:#dbe3ea; }

/* Visual panels: near-white surface, hairline frame, faint grid — like a product-screen backdrop. */
.approach-item+.approach-item { border-left-color:var(--v3-rule); }
.approach-illustration {
  isolation:isolate;
  border:1px solid #e1e8ee;
  border-radius:10px;
  background:linear-gradient(180deg,#fdfdfe 0%,#f0f4f8 100%);
}
.approach-illustration:before {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    linear-gradient(#56789a12 1px,transparent 1px) 50% 50%/22px 22px,
    linear-gradient(90deg,#56789a12 1px,transparent 1px) 50% 50%/22px 22px;
  mask-image:radial-gradient(70% 80% at 50% 55%,#000,transparent 85%);
}
.practice-card { border-color:#e0e7ed; }
.practice-art { border-bottom-color:#e0e7ed; }

/* Why TMC: concentric hairline rings radiate from the accountability seal; the list sits on a clean card. */
.why-section {
  position:relative; isolation:isolate; overflow:hidden; border-color:var(--v3-rule);
  background:linear-gradient(180deg,#f5f7fa,#eff3f7);
}
/* Anchored to the seal itself, so the rings follow it at every breakpoint; the section clips them. */
.seal-icon { position:relative; }
.seal-icon:before {
  content:''; position:absolute; left:50%; top:50%; width:760px; height:760px; z-index:-1; pointer-events:none;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,#e4ecf7 0%,#e4ecf700 55%);
}
/* Twelve light hairline rings. When the section comes into view, and again whenever the statement is hovered,
   each ring ripples out from the seal and settles at its own radius. Same light tone throughout. */
.seal-ring {
  --ring:rgb(111 138 164 / calc(.17 - var(--i) * .012));
  position:absolute; left:50%; top:50%; z-index:-1; pointer-events:none;
  width:calc(var(--i) * 84px + 2px); height:calc(var(--i) * 84px + 2px);
  border-radius:50%; transform:translate(-50%,-50%);
  border:1px solid var(--ring);
}
.js-motion .why-intro.is-visible .seal-ring {
  animation:v3-ring-out 1.6s cubic-bezier(.16,.84,.3,1) both;
  animation-delay:calc(.2s + var(--i) * 75ms);
}
@keyframes v3-ring-out { from { width:49px; height:49px; opacity:0; } }
/* Hover replay: a twin of each ring travels out from the seal while the resting ring steps aside,
   so nothing jumps when the pointer leaves. */
.seal-ring:before {
  content:''; position:absolute; left:50%; top:50%;
  width:calc(100% + 2px); height:calc(100% + 2px);
  border-radius:50%; transform:translate(-50%,-50%);
  border:1px solid var(--ring); opacity:0;
}
.why-intro:hover .seal-ring { border-color:transparent; transition:border-color .25s; }
.why-intro:hover .seal-ring:before { animation:v3-ring-replay 1.5s cubic-bezier(.16,.84,.3,1) both; animation-delay:calc(var(--i) * 70ms); }
@keyframes v3-ring-replay {
  from { width:49px; height:49px; opacity:0; }
  12% { opacity:1; }
  to { opacity:1; }
}
html[data-motion=paused] .why-intro:hover .seal-ring { border-color:var(--ring); }
.seal-icon { transition:background .4s,color .4s,border-color .4s,box-shadow .4s; }
.why-intro:hover .seal-icon { background:#eef4fb; color:#2f6bb0; border-color:#c6d8ea; box-shadow:0 0 0 6px #ffffffb3,0 0 0 7px #c9d9e8; }
.quality-list {
  margin-top:-6px; padding:4px 34px;
  background:#ffffffe6; border:1px solid #e0e7ed; border-radius:12px;
  box-shadow:0 1px 0 #fff inset,0 24px 50px -36px #1c4a7a4d;
}
.quality-item:last-child { padding-bottom:26px; }
.quality-item { border-bottom-color:#e8edf2; }
.seal-icon { background:#fff; box-shadow:0 0 0 6px #ffffffb3,0 0 0 7px #d8e2eb; }
.quality-icon { background:#fff; }
.institution-list>div { border-bottom-color:var(--v3-rule); }

/* Clean tag-style section labels. */
.section-heading .eyebrow,.why-intro .eyebrow,.institutions-heading .eyebrow {
  width:fit-content;
  padding:5px 10px 4px;
  border:1px solid #d9e3ec;
  border-radius:6px;
  background:linear-gradient(180deg,#ffffff,#f1f5f9);
  box-shadow:0 1px 2px #1a3a5a0a;
  color:#4f6f8c;
}
.dark-section .section-heading .eyebrow {
  border-color:#ffffff24;
  background:#ffffff0d;
  box-shadow:none;
  color:#b5c9d9;
}

/* Your priority: navy kept, with faint column lines and a soft cobalt glow behind the panel. */
.priorities { isolation:isolate; overflow:hidden; background:#0e2740; }
.priorities:before {
  z-index:-1;
  background:
    radial-gradient(44% 60% at 70% 52%,#2f6cc061 0%,#2f6cc000 72%),
    radial-gradient(34% 44% at 0% 0%,#22598a40 0%,#22598a00 72%),
    linear-gradient(180deg,#102b46 0%,#0c233a 100%);
}
/* Flowing contour lines (the brand wave, drawn as linework) sweep behind the panel, fading out under the tabs. */
.priorities:after {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:url('../assets/images/tidal-lines.svg') 50% 0/max(1500px,115%) auto no-repeat;
  opacity:.9;
  mask-image:linear-gradient(90deg,transparent 8%,#000 46%,#000 88%,transparent);
}
.priority-tab { border-bottom-color:#ffffff14; }

/* The five mockups move onto a light "screen" with a soft frame, so they no longer sit dark on dark. */
.priority-visual {
  color:#2b4f6e;
  border:1px solid #ffffff40;
  border-radius:12px;
  background:
    radial-gradient(70% 90% at 78% 118%,#c3d6f2 0%,#c3d6f200 70%),
    radial-gradient(55% 70% at 0% 0%,#ffffff 0%,#ffffff00 70%),
    linear-gradient(180deg,#f4f7fa,#e5ecf5);
  box-shadow:0 0 0 6px #ffffff0d,0 44px 80px -40px #000000a6;
}
.visual-grid { background-image:radial-gradient(#56789a33 .8px,transparent .9px); }
.diagram-overline { color:#6d8599; }
.diagram-footer { color:#5d7890; }
.diagram-footer i { background:#a6b8c8; }
/* 01 Talent */
.talent-connectors { stroke:#8aa9c78c; }
.talent-connectors .signal-path { stroke:#2f74c9; }
.talent-pills>span { background:#fff; border-color:#d6e1eb; color:#244866; box-shadow:0 6px 14px #1b3f6614; }
.talent-pills i { background:#3f86cf; }
.team-model { background:#fff; border-color:#d6e1eb; box-shadow:0 20px 40px -16px #1b3f6640; }
.team-people>i { background:#e2eaf2; }
.team-people>i:after { background:#a9bccc; box-shadow:0 8px 0 3px #a9bccc; }
.team-people .specialist-person { background:#2e73af; }
.team-people .specialist-person:after { background:#e0f1fd; box-shadow:0 8px 0 3px #e0f1fd; }
/* 02 Inspection */
.paper-back { background:#cddbe9b3; border-color:#bccfe0; }
.evidence-paper { background:#fff; border:1px solid #dbe5ee; box-shadow:0 20px 40px -16px #1b3f6645; }
.evidence-paper>div { border-top-color:#e3eaf1; }
/* 03 Detection */
.signal-cloud i { background:#9fb2c48c; }
.signal-cloud .strong { background:#2f74c9; box-shadow:0 0 0 4px #2f74c91f; }
.signal-filter { background:#ffffffd9; border-color:#c9d9e7; color:#2f6bb0; box-shadow:0 14px 30px -14px #1b3f6650; }
.signal-filter:before,.signal-filter:after { background:#9db8d0; }
.signal-results>span { background:#fff; border-color:#d6e1eb; color:#2b4f6e; box-shadow:0 6px 14px #1b3f6614; }
.signal-results i { background:#3f86cf; }
/* 04 Validation */
.model-chart { background:#fff; border-color:#d6e1eb; box-shadow:0 18px 36px -18px #1b3f6645; }
.model-chart>span:first-child { color:#7890a5; }
.validation-grid { stroke:#e1e8ef; }
.model-curve { stroke:#2f74c9; }
.benchmark-curve { stroke:#86a497; }
.model-caption { color:#6a8297; }
.model-caption i { background:#2f74c9; }
.model-caption i:nth-of-type(2) { background:#86a497; }
.validation-card { background:#fff; border-color:#d6e1eb; box-shadow:0 20px 40px -16px #1b3f6645; }
.validation-card>p { border-top-color:#e3eaf1; }
/* 05 Resilience */
.resilience-lines { stroke:#a3bbd0; }
.resilience-orbit-disc { border-color:#86a49799; }
.critical-service { background:linear-gradient(145deg,#ffffff,#dce9f6); border-color:#d0dfec; box-shadow:0 0 0 9px #2f74c90a,0 0 0 10px #2f74c926,0 16px 28px -10px #1b3f6650; }
.dependency { background:#fff; border-color:#d6e1eb; color:#2b4f6e; box-shadow:0 6px 14px #1b3f6614; }
.dependency .icon { color:#3f86cf; }

/* Approach 03: an explainability card showing a score, its rationale and the drivers behind a decision. */
.explain-card {
  --explain-scale:1;
  width:232px; padding:12px 14px 14px; margin:-2px 0 0 -40px;
  background:#fff; border:1px solid #dee7ef; border-radius:8px;
  box-shadow:0 14px 28px -14px #1c4a7a33;
  transform:rotate(-2deg) scale(var(--explain-scale));
  transition:transform .5s var(--ease),box-shadow .5s;
}
.explain-head { display:flex; align-items:center; gap:10px; padding-bottom:9px; margin-bottom:10px; border-bottom:1px solid #edf1f5; }
.explain-score { position:relative; width:32px; height:32px; flex-shrink:0; display:grid; place-items:center; color:#2f74c9; }
.explain-score>svg:first-child { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); fill:none; stroke-width:3.5; }
.explain-track { stroke:#e6edf4; }
.explain-arc { stroke:#2f74c9; stroke-linecap:round; stroke-dasharray:100; stroke-dashoffset:26; transition:stroke-dashoffset .9s var(--ease); }
.explain-score .icon { width:13px; height:13px; }
.explain-lines { display:flex; flex-direction:column; gap:6px; flex:1; }
.explain-lines i { display:block; height:5px; width:74%; border-radius:3px; background:#dfe7ef; }
.explain-lines i+i { width:48%; background:#edf1f5; }
.explain-flag { position:relative; width:24px; height:12px; border-radius:6px; background:#e2f1eb; }
.explain-flag:after { content:''; position:absolute; left:4px; top:4px; width:4px; height:4px; border-radius:50%; background:#4a9a7f; }
.explain-drivers { position:relative; display:flex; flex-direction:column; gap:7px; }
/* Centre axis of the driver chart. */
.explain-drivers:before { content:''; position:absolute; top:-5px; bottom:-5px; left:calc(70px + (100% - 70px) / 2); border-left:1px dashed #c9d6e2; }
.explain-drivers>span { display:grid; grid-template-columns:60px 1fr; gap:10px; align-items:center; }
.explain-drivers i { display:block; height:5px; border-radius:3px; background:#e3eaf1; }
.explain-drivers>span:nth-child(2) i { width:78%; }
.explain-drivers>span:nth-child(3) i { width:88%; }
.explain-drivers>span:nth-child(4) i { width:62%; }
.explain-drivers b { display:block; height:6px; border-radius:3px; transition:transform .6s var(--ease); }
.explain-drivers .up b { margin-left:50%; background:linear-gradient(90deg,#6aa3e3,#2f74c9); transform-origin:left; }
.explain-drivers .down b { margin-left:26%; width:24%; background:#b3c1ce; transform-origin:right; }
.explain-drivers>span:nth-child(1) b { width:44%; }
.explain-drivers>span:nth-child(2) b { width:30%; }
.explain-drivers>span:nth-child(4) b { width:15%; }
.approach-item:hover .explain-card { transform:translateY(-6px) rotate(0) scale(var(--explain-scale)); box-shadow:0 22px 36px -16px #1c4a7a45; }
.approach-item:hover .explain-arc { stroke-dashoffset:12; }
.approach-item:hover .explain-drivers .up b { transform:scaleX(1.14); }
.approach-item:hover .explain-drivers .down b { transform:scaleX(.62); }
.approach-item:hover .explain-drivers>span:nth-child(2) b { transition-delay:.06s; }
.approach-item:hover .explain-drivers>span:nth-child(3) b { transition-delay:.12s; }
.approach-item:hover .explain-drivers>span:nth-child(4) b { transition-delay:.18s; }

/* Approach 02: grow the route nodes in place so they stay centred on the line when hovered. */
.approach-item:hover .blueprint-route>i { transform:scale(1.14); }

/* Priority 03 (detection): an alert stream funnels into risk scoring, which triages a few items to people. */
.triage-stream {
  position:absolute; left:4%; top:50%; width:20%; height:60%; transform:translateY(-50%);
  overflow:hidden; mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);
}
.triage-feed { animation:v3-feed 14s linear infinite; }
@keyframes v3-feed { to { transform:translateY(-50%); } }
.triage-feed>span {
  display:flex; align-items:center; gap:7px; height:22px; margin-bottom:6px; padding:0 9px;
  background:#ffffffb3; border:1px solid #dde6ee; border-radius:6px;
}
.triage-feed i { width:5px; height:5px; flex:none; border-radius:50%; background:#b4c3d0; }
.triage-feed b { height:4px; flex:1; border-radius:2px; background:#dfe7ef; }
.triage-feed>span:nth-child(3n) b { flex:.55 0 0; }
.triage-feed>span:nth-child(3n+1) b { flex:.8 0 0; }
.triage-feed .hot { background:#fff; border-color:#bcd3ee; box-shadow:0 4px 10px -4px #2f74c955; }
.triage-feed .hot i { background:#2f74c9; box-shadow:0 0 0 3px #2f74c926; }
.triage-feed .hot b { background:#c6d8ef; }
.triage-flow { position:absolute; inset:0; width:100%; height:100%; fill:none; stroke:#b3c6d8; stroke-width:1; }
.triage-flow path { vector-effect:non-scaling-stroke; }
.triage-out { stroke:#a5bdd3; }
.triage-out-main { stroke:#2f74c9; stroke-width:1.6; animation:v3-line-pulse 2.6s ease-in-out infinite; }
@keyframes v3-line-pulse { 50% { stroke-opacity:.35; } }
.triage-engine {
  position:absolute; left:33%; top:50%; width:26%; transform:translateY(-50%);
  padding:12px 12px 10px; background:#fff; border:1px solid #cfdeec; border-radius:10px;
  box-shadow:0 0 0 5px #2f74c90d,0 18px 34px -16px #1b3f6655;
}
.triage-head { display:flex; align-items:center; gap:7px; font-size:9px; color:#2f6bb0; padding-bottom:9px; margin-bottom:10px; border-bottom:1px solid #edf1f5; }
.triage-head .icon { width:16px; height:16px; }
.triage-bars { position:relative; display:flex; align-items:flex-end; gap:3px; height:54px; border-bottom:1px solid #d9e3ec; }
.triage-bars i { flex:1; border-radius:2px 2px 0 0; background:#cdd9e5; transform-origin:bottom; animation:v3-bars 3.4s ease-in-out infinite alternate; }
.triage-bars i:nth-child(1) { height:100%; } .triage-bars i:nth-child(2) { height:86%; animation-delay:-.4s; }
.triage-bars i:nth-child(3) { height:68%; animation-delay:-.8s; } .triage-bars i:nth-child(4) { height:52%; animation-delay:-1.2s; }
.triage-bars i:nth-child(5) { height:40%; animation-delay:-1.6s; } .triage-bars i:nth-child(6) { height:30%; animation-delay:-2s; }
.triage-bars i:nth-child(7) { height:22%; animation-delay:-2.4s; }
.triage-bars i:nth-child(n+8) { background:linear-gradient(180deg,#5c9be0,#2f74c9); }
.triage-bars i:nth-child(8) { height:24%; animation-delay:-2.8s; } .triage-bars i:nth-child(9) { height:17%; animation-delay:-3.2s; }
.triage-bars i:nth-child(10) { height:12%; animation-delay:-3.6s; }
/* Review threshold: only the scored tail to its right goes forward. */
.triage-bars:after { content:''; position:absolute; left:70%; top:-7px; bottom:0; border-left:1px dashed #2f74c9b3; }
@keyframes v3-bars { from { transform:scaleY(.8); } to { transform:scaleY(1); } }
.signal-results { top:50%; right:4%; width:29%; transform:translateY(-50%); }
.signal-results>span:first-child { background:#eef5fe; border-color:#b9d1ef; color:#1d5aa6; box-shadow:0 8px 18px -8px #2f74c966; }
.signal-results>span:first-child i { background:#2f74c9; box-shadow:0 0 0 3px #2f74c926; }

/* ---------- Practices: a horizontal showcase ---------- */
.v3-practices { overflow-x:clip; }
.practices-pin { container-type:inline-size; }
.practice-grid {
  display:flex; gap:24px; grid-template-columns:none;
  overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
  padding-bottom:16px; scrollbar-width:thin; scrollbar-color:#b6c7d6 transparent;
}
.practice-card {
  flex:none; width:min(700px,86cqw); display:grid; grid-template-columns:340px 1fr;
  scroll-snap-align:start; transition:box-shadow .35s,border-color .35s,transform .35s;
}
.practice-card:hover { transform:translateY(-4px); }
.practice-art { height:auto; min-height:330px; border-bottom:0; border-right:1px solid #e0e7ed; }
.practice-copy { display:flex; flex-direction:column; padding:28px 26px 26px; }
.practice-copy h3 { min-height:0; font-size:22px; margin-bottom:14px; }
.practice-copy ul { margin-bottom:24px; }
/* One CTA system: these are the hero's primary button (.button.button-blue), at the hero's sizes. */
.practice-link.button,.priority-panel-copy>a.button {
  display:inline-flex; justify-content:center; width:fit-content;
  gap:30px; padding:17px 23px; font-size:13px; color:#fff;
  border:1px solid transparent;
}
.practice-link.button { margin-top:auto; }
.priority-panel-copy>a.button { margin-top:24px; }
.priority-panel-copy>a.button:hover { color:#fff; }
.practice-link.button>span { display:contents; }
.practice-link.button .icon,.priority-panel-copy>a.button .icon { width:19px; height:19px; }
.practices-progress { display:none !important; height:3px; margin-top:28px; border-radius:2px; background:#dfe6ed; overflow:hidden; }
.practices-progress i { display:block; height:100%; background:linear-gradient(90deg,#5c9be0,var(--blue)); transform-origin:left; }

/* Dark trial: navy band, faint dot field and a low cobalt glow; white cards float on it. */
.v3-practices {
  border-top:1px solid #ffffff14;
  background:
    radial-gradient(42% 55% at 88% 100%,#2c62b340 0%,#2c62b300 72%),
    radial-gradient(36% 46% at 0% 0%,#1f527d38 0%,#1f527d00 72%),
    linear-gradient(180deg,#0c2238,#0f2a44);
}
.v3-practices:before {
  background:radial-gradient(#ffffff17 1px,transparent 1.3px) 0 0/22px 22px;
  mask-image:radial-gradient(65% 60% at 50% 60%,#000 0%,#0000 85%);
}
.v3-practices h2 { color:#fff; }
.v3-practices h2 em { color:#9dbfd7; }
.v3-practices .heading-with-aside>p { color:#a9bccb; }
.v3-practices .section-heading .eyebrow { border-color:#ffffff24; background:#ffffff0d; box-shadow:none; color:#b5c9d9; }
.v3-practices .practice-card { border-color:#ffffff1a; box-shadow:0 34px 60px -34px #000000b3; }
.v3-practices .practice-card:hover { border-color:#ffffff40; box-shadow:0 40px 70px -34px #000000cc; }
.v3-practices .practices-progress { background:#ffffff1a; }
.v3-practices .practices-progress i { background:linear-gradient(90deg,#4f8fe0,#9cc7f2); }
.v3-practices .practice-grid { scrollbar-color:#4d6f8f transparent; }

/* Where supported, vertical scrolling drives the cards sideways while the section stays pinned. */
@supports (animation-timeline:view()) {
  @media (min-width:701px) and (min-height:540px) and (prefers-reduced-motion:no-preference) {
    /* Taller navy band: extra background above and below the pinned stage (cards keep their size). */
    html:not([data-motion=paused]) .v3-practices { padding-block:120px; }
    html:not([data-motion=paused]) .practices { view-timeline:--practices block; height:300vh; padding-block:0; }
    html:not([data-motion=paused]) .practices-pin {
      position:sticky; top:90px; height:calc(100vh - 90px);
      display:flex; flex-direction:column; justify-content:safe center;
    }
    html:not([data-motion=paused]) .practices-pin .section-heading { margin-bottom:40px; }
    html:not([data-motion=paused]) .practice-grid {
      width:max-content; overflow:visible; padding-bottom:0;
      animation:v3-track linear both; animation-timeline:--practices; animation-range:contain 0% contain 100%;
    }
  }
  @media (min-width:701px) and (min-height:540px) and (max-height:760px) and (prefers-reduced-motion:no-preference) {
    html:not([data-motion=paused]) .v3-practices { padding-block:72px; }
    html:not([data-motion=paused]) .practices-pin .section-heading { margin-bottom:24px; }
    html:not([data-motion=paused]) .practices-pin .section-heading .eyebrow { margin-bottom:16px; }
    html:not([data-motion=paused]) .practices-pin h2 { font-size:clamp(32px,3vw,42px); }
    html:not([data-motion=paused]) .practices-pin .heading-with-aside>p { padding-bottom:0; }
  }
  @media (min-width:701px) and (max-width:980px) and (min-height:540px) {
    html:not([data-motion=paused]) .practices-pin { top:79px; height:calc(100vh - 79px); }
  }
}
@keyframes v3-track { to { transform:translateX(calc(-100% + 100cqw)); } }
@keyframes v3-progress { from { transform:scaleX(.08); } to { transform:scaleX(1); } }

/* =====================================================================
   Mockup system (from the reference video): every visual sits in a white frame holding a
   pastel "well" that fades to white; UI pieces build in one after another when they come into
   view, then a calm live loop runs (a highlight stepping through rows, a dot travelling a route).
   Resting state = final state, so no-JS, paused motion and reduced motion all show the finished visual.
   ===================================================================== */
:root { --v3-ease:cubic-bezier(.2,.7,.2,1); }
@keyframes v3-rise { from { opacity:0; translate:0 12px; } }
@keyframes v3-pop { from { opacity:0; scale:.9; } }
@keyframes v3-drop { from { opacity:0; translate:0 -26px; } }
@keyframes v3-fade { from { opacity:0; } }
@keyframes v3-grow-x { from { scale:0 1; } }
@keyframes v3-grow-y { from { scale:1 0; } }
@keyframes v3-expand { from { opacity:0; scale:.6; } }
@keyframes v3-draw { from { stroke-dasharray:1600; stroke-dashoffset:1600; } to { stroke-dasharray:1600; stroke-dashoffset:0; } }
@keyframes v3-arc { from { stroke-dashoffset:100; } }
@keyframes v3-travel { 0% { left:11px; opacity:0; } 12%,86% { opacity:1; } 100% { left:calc(100% - 11px); opacity:0; } }

/* ---------- Frames and pastel wells ---------- */
.approach-illustration { background:#fff; border:1px solid #e3eaf1; border-radius:16px; box-shadow:0 1px 2px #1b3f660a,0 14px 30px -24px #1b3f6640; }
.approach-illustration:before { inset:7px; border-radius:11px; background:linear-gradient(180deg,var(--well) 0%,#fff 100%); mask-image:none; }
.embed-illustration { --well:#e3edfb; }
.build-illustration { --well:#ece9fb; }
.analytics-illustration { --well:#e1f1ec; }

.priority-visual { background:#fff; border:1px solid #ffffff59; border-radius:16px; box-shadow:0 0 0 6px #ffffff0d,0 44px 80px -40px #000000a6; }
.priority-visual:before { content:''; position:absolute; inset:8px; border-radius:11px; background:linear-gradient(180deg,var(--well) 0%,#fbfcfe 100%); }
.visual-grid { display:none; }
.talent-visual { --well:#e3edfb; }
.inspection-visual { --well:#ece9fb; }
.detection-visual { --well:#e1eff8; }
.validation-visual { --well:#e2f2ec; }
.resilience-visual { --well:#f9ede5; }

.secondment-art,.crime-art,.risk-art,.continuity-art { background:#fff; }
.practice-art:before { content:''; position:absolute; inset:10px; border-radius:14px; background:linear-gradient(180deg,var(--well) 0%,#fff 100%); }
.secondment-art { --well:#e2edfb; }
.crime-art { --well:#ddf1e9; }
.risk-art { --well:#e9e7fb; }
.continuity-art { --well:#f8ede4; }
/* Risk artwork recoloured for its new light well. */
.risk-art .practice-number,.risk-art .practice-art-caption { color:#6f7fa8; }
.risk-guide { stroke:#5b6b9a1f; }
.risk-line { stroke:#2f74c9; }
.risk-line-secondary { stroke:#97a6c6; }
.risk-curves { fill:#2f74c9; }
.risk-tag { background:#fffffff2; border-color:#e0e3f2; color:#3b4f7a; backdrop-filter:none; box-shadow:0 8px 18px -8px #2a3c7033; }
.risk-tag>i { background:#2f74c9; }
.practice-card:hover .risk-tag,.practice-card:focus-within .risk-tag { background:#fff; }

/* Practice artwork stays inside its pastel well, with breathing room on every side. */
.practice-art { clip-path:inset(10px round 14px); }
.specialist-tile { width:118px; height:94px; }
.resilience-rings { transform:translate(-50%,-50%) scale(.62); }
.network-art,.risk-curves { inset:auto; left:28px; top:30px; width:calc(100% - 56px); height:calc(100% - 66px); }
.practice-number { top:24px; left:26px; }
.practice-art-caption { left:26px; bottom:22px; }

/* ---------- Practices: the hero's secondary CTA ---------- */
.practice-link.text-link {
  margin-top:auto; width:fit-content; justify-content:flex-start;
  padding:12px 0; gap:13px; border:0; font-size:12px; color:var(--ink);
}
.practice-link.text-link>span { display:contents; }
.practice-link.text-link .icon { width:19px; height:19px; transition:transform .25s; }
.practice-link.text-link:hover .icon { transform:translateX(3px); }

/* ---------- Approach: build-in on reveal ---------- */
.approach-item.is-visible .embed-grid>span { animation:v3-pop .5s var(--v3-ease) backwards; }
.approach-item.is-visible .embed-grid>span:nth-child(1) { animation-delay:.2s; }
.approach-item.is-visible .embed-grid>span:nth-child(2) { animation-delay:.26s; }
.approach-item.is-visible .embed-grid>span:nth-child(3) { animation-delay:.32s; }
.approach-item.is-visible .embed-grid>span:nth-child(4) { animation-delay:.38s; }
.approach-item.is-visible .embed-grid>span:nth-child(6) { animation-delay:.44s; }
.approach-item.is-visible .embed-grid>span:nth-child(7) { animation-delay:.5s; }
.approach-item.is-visible .embed-grid>span:nth-child(8) { animation-delay:.56s; }
.approach-item.is-visible .embed-grid>span:nth-child(9) { animation-delay:.62s; }
.approach-item.is-visible .embed-grid>.embed-specialist { animation:v3-drop .7s var(--v3-ease) .8s backwards; }
.approach-item.is-visible .expertise-stamp { animation:v3-rise .6s var(--v3-ease) 1.15s backwards; }
.approach-item.is-visible .mini-blueprint { animation:v3-rise .6s var(--v3-ease) .15s backwards; }
.approach-item.is-visible .blueprint-route>i { animation:v3-pop .45s var(--v3-ease) backwards; }
.approach-item.is-visible .blueprint-route>i:nth-of-type(1) { animation-delay:.45s; }
.approach-item.is-visible .blueprint-route>i:nth-of-type(2) { animation-delay:.8s; }
.approach-item.is-visible .blueprint-route>i:nth-of-type(3) { animation-delay:1.15s; }
.approach-item.is-visible .blueprint-route>span { transform-origin:left; animation:v3-grow-x .4s ease backwards; }
.approach-item.is-visible .blueprint-route>span:nth-of-type(1) { animation-delay:.6s; }
.approach-item.is-visible .blueprint-route>span:nth-of-type(2) { animation-delay:.95s; }
.approach-item.is-visible .blueprint-tags b { animation:v3-fade .4s ease backwards; }
.approach-item.is-visible .blueprint-tags b:nth-child(1) { animation-delay:.55s; }
.approach-item.is-visible .blueprint-tags b:nth-child(2) { animation-delay:.9s; }
.approach-item.is-visible .blueprint-tags b:nth-child(3) { animation-delay:1.25s; }
/* Hover: a signal travels the route Build → Run → Tune and rests on Tune. */
.blueprint-route { position:relative; }
.blueprint-route:after { content:''; position:absolute; top:50%; left:11px; width:7px; height:7px; margin:-3.5px 0 0 -3.5px; border-radius:50%; background:#2f74c9; box-shadow:0 0 0 4px #2f74c926; opacity:0; pointer-events:none; }
.approach-item:hover .blueprint-route:after { animation:v3-travel-once 1.5s cubic-bezier(.45,0,.2,1) .15s forwards; }
@keyframes v3-travel-once { 0% { left:11px; opacity:0; } 12%,100% { opacity:1; } 100% { left:calc(100% - 11px); } }
.approach-item.is-visible .explain-card { animation:v3-rise .6s var(--v3-ease) .15s backwards; }
.approach-item.is-visible .explain-arc { animation:v3-arc 1.3s var(--v3-ease) .5s backwards; }
.approach-item.is-visible .explain-lines i { transform-origin:left; animation:v3-grow-x .5s ease .55s backwards; }
.approach-item.is-visible .explain-lines i+i { animation-delay:.65s; }
.approach-item.is-visible .explain-drivers b { animation:v3-grow-x .6s var(--v3-ease) backwards; }
.approach-item.is-visible .explain-drivers>span:nth-child(1) b { animation-delay:.75s; }
.approach-item.is-visible .explain-drivers>span:nth-child(2) b { animation-delay:.85s; }
.approach-item.is-visible .explain-drivers>span:nth-child(3) b { animation-delay:.95s; }
.approach-item.is-visible .explain-drivers>span:nth-child(4) b { animation-delay:1.05s; }
.approach-item.is-visible .explain-flag { animation:v3-pop .4s var(--v3-ease) 1.15s backwards; }
.approach-item.is-visible .analytics-illustration .analytics-stamp { animation:v3-rise .6s var(--v3-ease) 1.25s backwards; }

/* ---------- Priorities: build-in each time a panel is shown ---------- */
.priority-layout.is-visible .priority-panel:not([hidden]) .diagram-overline { animation:v3-fade .5s ease .1s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .diagram-footer { animation:v3-fade .5s ease 1.2s backwards; }
/* 01 Talent */
.priority-layout.is-visible .priority-panel:not([hidden]) .talent-pills>span { animation:v3-rise .5s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .talent-pills>span:nth-child(1) { animation-delay:.2s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .talent-pills>span:nth-child(2) { animation-delay:.32s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .talent-pills>span:nth-child(3) { animation-delay:.44s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .talent-connectors>path:not(.signal-path) { animation:v3-draw 1.2s ease .5s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-model { animation:v3-pop .6s var(--v3-ease) .7s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i { animation:v3-pop .4s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(1) { animation-delay:.9s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(2) { animation-delay:.96s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(3) { animation-delay:1.02s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(4) { animation-delay:1.08s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(5) { animation-delay:1.14s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .team-people>i:nth-child(6) { animation-delay:1.2s; }
/* 02 Inspection */
.priority-layout.is-visible .priority-panel:not([hidden]) .paper-back { animation:v3-fade .5s ease .15s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper { animation:v3-rise .6s var(--v3-ease) .2s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div { animation:v3-rise .5s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(1) { animation-delay:.45s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(2) { animation-delay:.6s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(3) { animation-delay:.75s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper b { animation:v3-pop .35s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(1) b { animation-delay:.95s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(2) b { animation-delay:1.1s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .evidence-paper>div:nth-of-type(3) b { animation-delay:1.25s; }
/* 03 Detection */
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-stream { animation:v3-fade .5s ease .1s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-flow path { animation:v3-draw .9s ease .35s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-out { animation-delay:.95s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-out-main { animation:v3-draw .9s ease .95s backwards,v3-line-pulse 2.6s ease-in-out 1.9s infinite; }
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-engine { animation:v3-pop .6s var(--v3-ease) .5s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .triage-bars { transform-origin:bottom; animation:v3-grow-y .6s var(--v3-ease) .75s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .signal-results>span { animation:v3-rise .5s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .signal-results>span:nth-child(1) { animation-delay:1.05s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .signal-results>span:nth-child(2) { animation-delay:1.15s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .signal-results>span:nth-child(3) { animation-delay:1.25s; }
/* 04 Validation */
.priority-layout.is-visible .priority-panel:not([hidden]) .model-chart { animation:v3-rise .6s var(--v3-ease) .15s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .model-curve { animation:v3-draw 1.3s ease .45s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .benchmark-curve { animation:v3-fade .6s ease .95s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card { animation:v3-pop .6s var(--v3-ease) .6s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p { animation:v3-rise .45s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(1) { animation-delay:.85s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(2) { animation-delay:1s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(3) { animation-delay:1.15s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card b { animation:v3-pop .3s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(1) b { animation-delay:1.1s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(2) b { animation-delay:1.25s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .validation-card>p:nth-of-type(3) b { animation-delay:1.4s; }
/* 05 Resilience */
.priority-layout.is-visible .priority-panel:not([hidden]) .critical-service { animation:v3-pop .6s var(--v3-ease) .15s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .resilience-orbit-disc { animation:v3-fade .8s ease .3s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .resilience-lines path { animation:v3-draw 1.1s ease .4s backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .dependency { animation:v3-pop .5s var(--v3-ease) backwards; }
.priority-layout.is-visible .priority-panel:not([hidden]) .dependency-people { animation-delay:.6s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .dependency-tech { animation-delay:.72s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .dependency-data { animation-delay:.84s; }
.priority-layout.is-visible .priority-panel:not([hidden]) .dependency-partner { animation-delay:.96s; }
/* ---------- Priority list: selectable cards ---------- */
.priority-tab { position:relative; overflow:hidden; }
.priority-tab:after { content:''; position:absolute; left:0; bottom:0; width:100%; height:2px; background:linear-gradient(90deg,#4f8fe0,#9cc7f2); transform:scaleX(0); transform-origin:left; pointer-events:none; }
.v3-autoplay.v3-inview .priority-tab.active:after { animation:v3-tab-progress 7s linear; }
.priority-layout:hover .priority-tab.active:after,.priority-layout:focus-within .priority-tab.active:after { animation-play-state:paused; }
@keyframes v3-tab-progress { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@media (min-width:701px) and (max-width:980px) {
  .priority-tabs { gap:10px; padding-top:0; }
  .priority-tab {
    gap:14px; padding:15px 18px; font-size:14px; color:#a9bccb;
    border:1px solid #ffffff14; border-radius:12px; background:#ffffff05;
    transition:background .3s,border-color .3s,color .3s,translate .3s,box-shadow .3s;
  }
  .priority-tab:hover { padding-left:18px; color:#fff; background:#ffffff0c; border-color:#ffffff26; translate:4px 0; }
  .priority-tab>span:first-child {
    display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:8px;
    font-size:10px; color:#9fb6c9; background:#ffffff0f; border:1px solid #ffffff1a;
    transition:background .3s,color .3s,border-color .3s,box-shadow .3s;
  }
  .priority-tab.active { color:#fff; background:linear-gradient(100deg,#ffffff1f,#ffffff08); border-color:#ffffff38; box-shadow:0 18px 40px -26px #000000d9; }
  .priority-tab.active>span:first-child { color:#fff; background:#2f74c9; border-color:#2f74c9; box-shadow:0 6px 16px -6px #2f74c9; }
}

/* ---------- Hero banner ---------- */
@keyframes v3-kenburns { from { scale:1; translate:0 0; } to { scale:1.08; translate:-2% -1.5%; } }
@keyframes v3-sweep { 0%,55% { background-position:160% 0; } 100% { background-position:-60% 0; } }
.hero-art:before {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(105deg,transparent 40%,#ffffff38 50%,transparent 60%) 160% 0/250% 100% no-repeat;
  mix-blend-mode:soft-light;
}
.js-motion .hero-art.is-visible .wave-art { animation:v3-kenburns 26s ease-in-out infinite alternate; }
.js-motion .hero-art.is-visible:before { animation:v3-sweep 9s ease-in-out 1.5s infinite; }
.js-motion .hero-art.is-visible .panel-heading { animation:v3-fade .6s ease .45s backwards; }
.js-motion .hero-art.is-visible .expertise-row { animation:v3-rise .6s var(--v3-ease) backwards; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(1) { animation-delay:.6s; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(2) { animation-delay:.75s; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(3) { animation-delay:.9s; }
.js-motion .hero-art.is-visible .tiny-check { animation:v3-pop .35s var(--v3-ease) backwards; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(1) .tiny-check { animation-delay:1.05s; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(2) .tiny-check { animation-delay:1.2s; }
.js-motion .hero-art.is-visible .expertise-row:nth-of-type(3) .tiny-check { animation-delay:1.35s; }

/* ---------- Practices: build-in as each card slides into view ---------- */
.practice-card.is-visible .tile-back { animation:v3-rise .6s var(--v3-ease) .25s backwards; }
.practice-card.is-visible .tile-mid { animation:v3-rise .6s var(--v3-ease) .4s backwards; }
.practice-card.is-visible .tile-front { animation:v3-rise .6s var(--v3-ease) .55s backwards; }
.network-art circle,.risk-curves circle { transform-box:fill-box; transform-origin:center; }
.practice-card.is-visible .network-art>path { animation:v3-draw 1.3s ease .3s backwards; }
.practice-card.is-visible .network-art circle { animation:v3-pop .45s var(--v3-ease) backwards; }
.practice-card.is-visible .network-art circle:nth-of-type(3n+1) { animation-delay:.5s; }
.practice-card.is-visible .network-art circle:nth-of-type(3n+2) { animation-delay:.64s; }
.practice-card.is-visible .network-art circle:nth-of-type(3n) { animation-delay:.78s; }
.practice-card.is-visible .network-tag { animation:v3-rise .5s var(--v3-ease) 1s backwards; }
.practice-card.is-visible .risk-line:not(.risk-line-secondary) { animation:v3-draw 1.5s ease .35s backwards; }
.practice-card.is-visible .risk-line-secondary { animation:v3-fade .6s ease .9s backwards; }
.practice-card.is-visible .risk-curves>path[fill] { animation:v3-fade .8s ease 1s backwards; }
.practice-card.is-visible .risk-curves circle { animation:v3-pop .4s var(--v3-ease) 1.6s backwards; }
.practice-card.is-visible .risk-tag { animation:v3-rise .5s var(--v3-ease) 1.2s backwards; }
.practice-card.is-visible .aligned-orbits { animation:v3-expand 1s var(--v3-ease) .3s backwards; }
.practice-card.is-visible .resilience-rings>span { animation:v3-pop .5s var(--v3-ease) .2s backwards; }
.practice-card.is-visible .continuity-tag { animation:v3-rise .5s var(--v3-ease) 1s backwards; }

@media(prefers-reduced-motion:reduce) {
  .approach-illustration *,.approach-illustration *:after,.priority-visual *,.priority-visual *:after,.practice-art *,.hero-art *,.hero-art:before,.priority-tab:after { animation:none !important; }
  .priority-tab { transition:none; }
}

@media(max-width:1200px) {
  .practice-link.button,.priority-panel-copy>a.button { padding:16px 18px; gap:20px; font-size:12px; } :root { --v3-half:calc(50% - 36px); --v3-rail-gap:16px; } }
@media(max-width:980px) {
  :root { --v3-half:calc(50% - 28px); --v3-rail-gap:12px; }
  .explain-card { --explain-scale:.8; }
  .practice-card { width:min(440px,72cqw); grid-template-columns:1fr; }
  .resilience-rings { transform:translate(-50%,-50%) scale(.5); }
  .specialist-tile { width:108px; height:86px; }
  .practice-art { min-height:220px; height:220px; border-right:0; border-bottom:1px solid #e0e7ed; }
}
@media(max-width:700px) {
  .v3-band:not(.v3-practices) { background:var(--v3-canvas); }
  .explain-card { --explain-scale:.5; margin:-6px 0 0 -20px; }
  .quality-list { padding:18px 20px 0; }
  .practice-grid { gap:16px; margin-inline:-20px; padding-inline:20px; scroll-padding-inline:20px; }
  .practice-card { width:84vw; grid-template-columns:1fr; }
  .practice-art { min-height:200px; height:200px; border-right:0; border-bottom:1px solid #e0e7ed; }
  .practice-copy { padding:24px 22px 22px; }
  .practice-link.button,.priority-panel-copy>a.button { font-size:11px; padding:15px 17px; gap:20px; }
}
@media(max-width:380px) { .practice-link.button,.priority-panel-copy>a.button { padding:14px 13px; gap:13px; font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .explain-card,.explain-arc,.explain-drivers b,.seal-icon,.seal-ring,.practice-card,.practice-link { transition:none; } .triage-feed,.triage-bars i,.triage-out-main { animation:none; } .seal-ring { animation:none !important; } .seal-ring:before { display:none; } .why-intro:hover .seal-ring { border-color:var(--ring); } }
@media print { .v3-band,.why-section { background:white; } .v3-band:before,.seal-icon:before,.approach-illustration:before,.priorities:after { display:none; } }

/* =====================================================================
   "What we help you achieve" — accordion (after vonder.ai "What you will love"), TMC theme.
   Left: priority headings beside one hairline; a brighter segment of that line marks the open item,
   whose answer and secondary CTA open directly beneath its heading. Right: the active mockup,
   centred and scaled to fit its column. All five priority numbers are hidden (still in the markup).
   ===================================================================== */
.priority-tab>span:first-child { display:none; }
/* The answer unfolds to its real height (--h, set by v3.js) while the previous one folds away (v3-copy-fold),
   so the list keeps a steady height and the headings glide instead of jumping. */
@keyframes v3-copy-open { from { max-height:0; margin-bottom:0; opacity:0; overflow:hidden; } to { max-height:var(--h,260px); margin-bottom:16px; opacity:1; overflow:hidden; } }
@keyframes v3-copy-fold { from { max-height:var(--h,260px); margin-bottom:16px; opacity:1; overflow:hidden; } to { max-height:0; margin-bottom:0; opacity:0; overflow:hidden; } }
@media (min-width:981px) {
  .priority-panel.is-closing .priority-visual { display:none; }
  .priority-panel.is-closing .priority-panel-copy { animation:v3-copy-fold .55s var(--v3-ease) both; }
  .priority-panel.is-closing .priority-panel-copy>* { animation:none; }
}
@keyframes v3-list-drift { from { translate:0 -20px; } to { translate:0 28px; } }
@keyframes v3-mark-0 { from { scale:1 0; } }
@keyframes v3-tab-progress-0 { from { scale:1 0; } to { scale:1 1; } }
@keyframes v3-mark-1 { from { scale:1 0; } }
@keyframes v3-tab-progress-1 { from { scale:1 0; } to { scale:1 1; } }
@keyframes v3-mark-2 { from { scale:1 0; } }
@keyframes v3-tab-progress-2 { from { scale:1 0; } to { scale:1 1; } }
@keyframes v3-mark-3 { from { scale:1 0; } }
@keyframes v3-tab-progress-3 { from { scale:1 0; } to { scale:1 1; } }
@keyframes v3-mark-4 { from { scale:1 0; } }
@keyframes v3-tab-progress-4 { from { scale:1 0; } to { scale:1 1; } }

@media (min-width:981px) {
  .priority-layout {
    --pv-zoom:1;
    display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows:repeat(10,auto);
    row-gap:0; column-gap:72px; align-content:center; min-height:380px; view-timeline:--prio block;
  }
  /* Headings and the hairline */
  .priority-tabs {
    grid-column:1; grid-row:1/-1; display:grid; grid-template-rows:subgrid;
    position:relative; z-index:1; gap:0; padding:0 0 0 30px;
  }
  .priority-tabs:before { content:''; position:absolute; left:0; top:0; bottom:0; width:1px; background:#ffffff24; }
  #priority-tab-0 { grid-row:1; }
  #priority-panel-0 .priority-panel-copy { grid-row:2; }
  #priority-tab-1 { grid-row:3; }
  #priority-panel-1 .priority-panel-copy { grid-row:4; }
  #priority-tab-2 { grid-row:5; }
  #priority-panel-2 .priority-panel-copy { grid-row:6; }
  #priority-tab-3 { grid-row:7; }
  #priority-panel-3 .priority-panel-copy { grid-row:8; }
  #priority-tab-4 { grid-row:9; }
  #priority-panel-4 .priority-panel-copy { grid-row:10; }
  .priority-tab {
    overflow:visible; padding:13px 0; gap:0; border:0; border-radius:0; background:none; box-shadow:none;
    font-size:24px; line-height:1.25; letter-spacing:-.015em; color:#ffffff66; translate:none;
    transition:color .35s;
  }
  .priority-tab:hover { padding-left:0; color:#ffffffd9; background:none; border:0; translate:none; }
  .priority-tab.active { color:#fff; background:none; border:0; box-shadow:none; }
  .priority-tab .icon,.priority-tab:after { display:none; }
  /* Active segment of the hairline: spans the open heading and its answer. */
  .priority-layout:before {
    content:''; grid-column:1; justify-self:start; align-self:stretch; z-index:2; pointer-events:none;
    width:2px; margin-left:-.5px; border-radius:2px; transform-origin:top;
    background:linear-gradient(180deg,#d4e8fb,#5d9be6);
    animation:var(--mk,none) .5s var(--v3-ease) backwards;
  }
  .priority-layout:has(#priority-tab-0.active) { --mk:v3-mark-0; --mkp:v3-tab-progress-0; }
  .priority-layout:has(#priority-tab-0.active):before { grid-row:1/span 2; }
  .priority-layout:has(#priority-tab-1.active) { --mk:v3-mark-1; --mkp:v3-tab-progress-1; }
  .priority-layout:has(#priority-tab-1.active):before { grid-row:3/span 2; }
  .priority-layout:has(#priority-tab-2.active) { --mk:v3-mark-2; --mkp:v3-tab-progress-2; }
  .priority-layout:has(#priority-tab-2.active):before { grid-row:5/span 2; }
  .priority-layout:has(#priority-tab-3.active) { --mk:v3-mark-3; --mkp:v3-tab-progress-3; }
  .priority-layout:has(#priority-tab-3.active):before { grid-row:7/span 2; }
  .priority-layout:has(#priority-tab-4.active) { --mk:v3-mark-4; --mkp:v3-tab-progress-4; }
  .priority-layout:has(#priority-tab-4.active):before { grid-row:9/span 2; }
  /* Autoplay: the segment fills over 7s, then the next priority opens. Hovering shows it whole and restarts the timer on leave. */
  .priority-layout.v3-autoplay.v3-inview:before { animation:var(--mkp,none) 7s linear; }
  .priority-layout.v3-autoplay.v3-inview:hover:before { animation:var(--mk,none) .5s var(--v3-ease) backwards; }
  /* Panels share the layout grid so each answer sits under its own heading. */
  .priority-panels,.priority-panel { grid-column:1/-1; grid-row:1/-1; display:grid; grid-template-columns:subgrid; grid-template-rows:subgrid; }
  .priority-panels { pointer-events:none; }
  .priority-panels:before { content:none; }
  .priority-panel { position:relative; }
  .priority-panel>* { pointer-events:auto; }
  .priority-panel-copy {
    grid-column:1; margin:0 0 16px 30px; padding:0; border:0;
    animation:v3-copy-open .55s var(--v3-ease) backwards;
  }
  .priority-panel-copy>p { font-size:15px; line-height:1.65; color:#a9bccb; max-width:400px; animation:v3-rise .5s var(--v3-ease) .12s backwards; }
  .priority-panel-copy>a.text-link { margin-top:12px; padding-block:8px; gap:13px; font-size:12px; color:#fff; animation:v3-rise .5s var(--v3-ease) .2s backwards; }
  .priority-panel-copy>a.text-link:hover { color:#fff; }
  .priority-panel-copy>a.text-link .icon { width:19px; height:19px; transition:transform .25s; }
  .priority-panel-copy>a.text-link:hover .icon { transform:translateX(3px); }
  .priority-panel-copy>a.text-link:after { right:32px; }
  /* Mockup: centred in its column, drawn at one design size and scaled to fit (never cropped). */
  .priority-visual {
    /* Out of flow, so it never stretches the list rows; centred in its own column. */
    position:absolute; inset:0; margin:auto; grid-column:2; grid-row:1/-1;
    width:680px; height:326px; zoom:var(--pv-zoom);
    box-shadow:0 44px 80px -40px #000000a6;
  }
}
@media (min-width:981px) and (max-width:1380px) { .priority-layout { --pv-zoom:.9; column-gap:56px; } }
@media (min-width:981px) and (max-width:1200px) { .priority-layout { --pv-zoom:.78; column-gap:44px; } .priority-tab { font-size:21px; } }
/* Headings drift gently down as the section scrolls past. */
@supports (animation-timeline:view()) {
  @media (min-width:981px) and (prefers-reduced-motion:no-preference) {
    .priority-tabs { animation:v3-list-drift linear both; animation-timeline:--prio; animation-range:cover 0% cover 100%; }
    .priority-panel-copy { animation:v3-copy-open .55s var(--v3-ease) backwards,v3-list-drift linear both; animation-timeline:auto,--prio; animation-range:normal,cover 0% cover 100%; }
    .priority-panel.is-closing .priority-panel-copy { animation:v3-copy-fold .55s var(--v3-ease) both,v3-list-drift linear both; animation-timeline:auto,--prio; animation-range:normal,cover 0% cover 100%; }
    .priority-layout:before { animation:var(--mk,none) .5s var(--v3-ease) backwards,v3-list-drift linear both; animation-timeline:auto,--prio; animation-range:normal,cover 0% cover 100%; }
    .priority-layout.v3-autoplay.v3-inview:before { animation:var(--mkp,none) 7s linear,v3-list-drift linear both; animation-timeline:auto,--prio; animation-range:normal,cover 0% cover 100%; }
    .priority-layout.v3-autoplay.v3-inview:hover:before { animation:var(--mk,none) .5s var(--v3-ease) backwards,v3-list-drift linear both; animation-timeline:auto,--prio; animation-range:normal,cover 0% cover 100%; }
  }
}
@media (min-width:981px) and (prefers-reduced-motion:reduce) {
  .priority-layout:before,.priority-panel-copy,.priority-panel-copy>p,.priority-panel-copy>a.text-link { animation:none; }
}
/* Tablet and phone keep their stacked layouts, now with the secondary CTA. */
@media (max-width:980px) {
  .priority-panel-copy>a.text-link { margin-top:14px; gap:13px; font-size:12px; color:#fff; }
}

/* =====================================================================
   Priority mockups as taller app windows (desktop): header bar / diagram stage / footer bar.
   The stage keeps the original 680×326 drawing coordinates, centred in the taller window,
   so every diagram keeps its composition. Window height matches the priority list beside it.
   ===================================================================== */
@media (min-width:981px) {
  .priority-visual { height:404px; display:flex; flex-direction:column; justify-content:space-between; }
  /* Header bar: section title, window controls, hairline below. */
  .priority-visual .diagram-overline {
    position:relative; inset:auto; flex:none; display:flex; align-items:center; gap:10px;
    margin:8px 8px 0; padding:16px 18px 14px; border-bottom:1px solid #1b3f6612;
    font-size:8px; letter-spacing:.14em; color:#5e7890;
  }
  .priority-visual .diagram-overline:before {
    content:''; flex:none; width:22px; height:22px; border-radius:7px;
    background:radial-gradient(circle at 50% 50%,#2f74c9 0 3px,transparent 3.5px),#fff;
    box-shadow:0 0 0 1px #d6e1eb,0 4px 10px -4px #1b3f6640;
  }
  .priority-visual .diagram-overline:after {
    content:''; margin-left:auto; width:42px; height:8px;
    background:radial-gradient(circle,#c3d1de 0 3px,transparent 3.5px) 0 0/14px 8px repeat-x;
  }
  /* Diagram stage: original coordinates, centred vertically in the remaining space. */
  /* The drawing keeps empty bands top and bottom (where its old title/caption sat); tuck them under the bars. */
  .pv-stage { position:relative; flex:none; height:326px; margin-block:-30px -34px; }
  /* Footer bar: the diagram's caption line. */
  .priority-visual .diagram-footer {
    position:relative; inset:auto; flex:none; margin:0 8px 8px; padding:13px 18px 15px;
    border-top:1px solid #1b3f6612; font-size:10px; color:#5d7890;
  }
}

/* Practice 01 tiles: the group is centred in its well and the hover spread stays inside it. */
.tile-back { transform:translate(-100%,-56%) rotate(-14deg); }
.tile-mid { transform:translate(0%,-60%) rotate(12deg); }
.tile-front { transform:translate(-50%,-40%) rotate(-3deg); }
.practice-card:hover .tile-back,.practice-card:focus-within .tile-back { transform:translate(-106%,-60%) rotate(-17deg); }
.practice-card:hover .tile-mid,.practice-card:focus-within .tile-mid { transform:translate(6%,-64%) rotate(15deg); }
.practice-card:hover .tile-front,.practice-card:focus-within .tile-front { transform:translate(-50%,-44%) rotate(-3deg); }

/* =====================================================================
   Phone pass (≤700px): every visual gets room to be read, nothing overlaps its caption.
   ===================================================================== */
@media (max-width:700px) {
  /* Approach: visuals full width above their text instead of 130px thumbnails. */
  .approach-item { display:block; }
  .approach-illustration { height:176px; margin:0 0 20px; }
  .approach-item>p { margin-left:22px; max-width:none; font-size:12px; }
  .embed-grid { grid-template-columns:repeat(3,30px); gap:9px; margin-top:-14px; }
  .embed-grid>span { height:28px; }
  .mini-blueprint { width:214px; padding:20px 18px; }
  .blueprint-caption { font-size:6px; letter-spacing:.09em; }
  .blueprint-route { margin-top:20px; }
  .blueprint-route>i { width:22px; height:22px; }
  .blueprint-route>i:after { width:6px; height:6px; left:7px; top:7px; }
  .blueprint-tags { font-size:8px; }
  .explain-card { --explain-scale:.86; margin:-4px 0 0 -24px; }
  .analytics-stamp,.expertise-stamp { font-size:7px; padding:6px 9px; gap:5px; bottom:12px; }
  .analytics-stamp:not(.expertise-stamp) { right:6%; }
  .analytics-stamp .icon { width:10px; height:10px; }

  /* Priority mockups: a little taller, with each composition re-spaced for a narrow frame. */
  .priority-visual { height:340px; }
  .diagram-overline { font-size:6.5px; }
  .diagram-footer { font-size:7.5px; bottom:18px; }
  /* 02 Inspection: card inset from the frame and clear of the caption. */
  .evidence-stack { width:calc(100% - 64px); top:66px; }
  .evidence-paper { padding:16px 18px; }
  .paper-heading { font-size:11px; margin-bottom:10px; }
  .evidence-paper>div { padding:10px 0 4px; }
  /* 03 Detection: wider columns, no awkward wraps. */
  .triage-stream { left:4%; width:21%; }
  .triage-engine { left:31%; width:31%; padding:10px 9px 9px; }
  .triage-head { font-size:8px; gap:5px; white-space:nowrap; padding-bottom:7px; margin-bottom:8px; }
  .triage-head .icon { width:13px; height:13px; }
  .triage-bars { height:46px; gap:2px; }
  .signal-results { right:3%; width:31%; gap:8px; }
  .signal-results>span { font-size:7px; padding:8px 7px; gap:5px; line-height:1.3; }
  /* 04 Validation: chart and review card layered with only a small overlap. */
  .model-chart { top:58px; left:4%; width:61%; padding:12px 12px 8px; }
  .model-chart>svg { height:104px; }
  .validation-card { top:auto; bottom:50px; right:4%; width:45%; padding:13px; }
  .validation-card>span { font-size:8px; margin-bottom:9px; }
  .validation-card>p { font-size:7.5px; }
}
@media (max-width:380px) {
  .priority-visual { height:350px; }
  .signal-results>span { font-size:6.5px; padding:7px 6px; }
  .triage-head { font-size:7.5px; }
  .model-chart { width:63%; }
  .validation-card { width:47%; }
}
@media (max-width:700px) {
  .practice-art { min-height:236px; height:236px; }
  .resilience-rings { transform:translate(-50%,-56%) scale(.48); }
  .continuity-tag { bottom:26px; }
}

/* Practice titles that open their service page. */
.practice-title-link { background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat; transition:background-size .3s; }
.practice-title-link:hover,.practice-title-link:focus-visible { background-size:100% 1px; }
