/* dg-dt-ba.css */
/* dt-ba: business analysis, five hexagon steps in a zig-zag (AI deck s05). A highlight runs 1 to 5; dotted links march. */
.dg-dt-ba { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); }
.dg-dt-ba ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 124px auto; }
.dg-dt-ba .st { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; min-width: 0; }
.dg-dt-ba .hb { grid-row: 2; position: relative; display: flex; justify-content: center; align-items: flex-start; }
.dg-dt-ba .st:nth-child(even) .hb { align-items: flex-end; }
.dg-dt-ba .ln { position: absolute; left: 50%; width: 100%; top: 37px; height: 50px; overflow: visible; z-index: 0; }
.dg-dt-ba .ln line { stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0.1 7; vector-effect: non-scaling-stroke; animation: dg-dt-ba-march 1.6s linear infinite; }
.dg-dt-ba .hx { position: relative; z-index: 1; width: 66px; height: 75px; display: grid; place-items: center; animation: dg-dt-ba-hi 7.5s var(--ease) infinite; }
.dg-dt-ba .hx-s { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dg-dt-ba .ring { fill: var(--white); stroke: var(--c); stroke-width: 4; stroke-linejoin: round; }
.dg-dt-ba .core { fill: var(--t); stroke: none; }
.dg-dt-ba .hx b { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--navy); }
.dg-dt-ba .lb { padding: 0 6px; text-align: center; font-size: 0.875rem; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; text-wrap: balance; }
.dg-dt-ba .st:nth-child(odd) .lb { grid-row: 1; align-self: end; padding-bottom: 10px; }
.dg-dt-ba .st:nth-child(even) .lb { grid-row: 3; align-self: start; padding-top: 10px; }
.dg-dt-ba .s1 { --c: var(--amber); --t: var(--yellow-tint); }
.dg-dt-ba .s2 { --c: var(--sky); --t: var(--sky-tint); }
.dg-dt-ba .s3 { --c: var(--amber); --t: var(--yellow); }
.dg-dt-ba .s4 { --c: var(--grey); --t: var(--grey-tint); }
.dg-dt-ba .s5 { --c: var(--teal); --t: var(--blue-tint); }
.dg-dt-ba .s2 .hx { animation-delay: 1.5s; }
.dg-dt-ba .s3 .hx { animation-delay: 3s; }
.dg-dt-ba .s4 .hx { animation-delay: 4.5s; }
.dg-dt-ba .s5 .hx { animation-delay: 6s; }
@keyframes dg-dt-ba-hi { 0%, 22%, 100% { transform: none; } 6%, 14% { transform: translateY(-4px) scale(1.08); } }
@keyframes dg-dt-ba-march { to { stroke-dashoffset: -7.1; } }

/* narrow column: a vertical list, hexagons on a dotted spine */
@container (max-width: 500px) {
  .dg-dt-ba ol { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .dg-dt-ba .st { grid-row: auto; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: none; align-items: center; column-gap: 14px; position: relative; }
  .dg-dt-ba .st:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 56px; height: calc(100% - 44px); border-left: 2.5px dotted var(--sky); }
  .dg-dt-ba .hb, .dg-dt-ba .st:nth-child(even) .hb { grid-row: 1; grid-column: 1; display: block; }
  .dg-dt-ba .ln { display: none; }
  .dg-dt-ba .hx { width: 52px; height: 59px; }
  .dg-dt-ba .hx b { font-size: 1.3rem; }
  .dg-dt-ba .st:nth-child(odd) .lb, .dg-dt-ba .st:nth-child(even) .lb { grid-row: 1; grid-column: 2; align-self: center; padding: 0; text-align: left; font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-ba * { animation: none !important; } }

/* dg-dt-cm.css */
/* dt-cm: change management, three principles as the nodes of one cycle (AI deck s07). A light arc travels round the ring. */
.dg-dt-cm { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); }
.dg-dt-cm .ring { display: block; width: 168px; height: 168px; margin: 0 auto; overflow: visible; }
.dg-dt-cm .track { fill: none; stroke: var(--sky-tint); stroke-width: 3; }
.dg-dt-cm .pulse { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 14 86; stroke-dashoffset: 100; animation: dg-dt-cm-spin 7s linear infinite; }
.dg-dt-cm .chev { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.dg-dt-cm .nd circle { stroke: var(--white); stroke-width: 4; }
.dg-dt-cm .nd text { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-anchor: middle; fill: var(--navy); }
.dg-dt-cm .n1 circle { fill: var(--yellow); }
.dg-dt-cm .n2 circle { fill: var(--white); stroke: var(--teal); stroke-width: 4; }
.dg-dt-cm .n3 circle { fill: var(--sky-tint); }
.dg-dt-cm ol { list-style: none; margin: 0; padding: 0; }
.dg-dt-cm .c { display: flex; gap: 10px; align-items: flex-start; background: var(--off); border-radius: 16px; padding: 12px 14px; font-weight: 700; font-size: 0.9375rem; line-height: 1.35; }
.dg-dt-cm .c b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-family: var(--font-display); font-size: 0.9375rem; line-height: 1; color: var(--navy); box-sizing: border-box; padding-top: 4px; /* Ezra's digits sit 2px above the line box's centre; this optically centres them */ }
.dg-dt-cm .c1 b { background: var(--yellow); }
.dg-dt-cm .c2 b { background: var(--white); box-shadow: inset 0 0 0 2.5px var(--teal); }
.dg-dt-cm .c3 b { background: var(--sky-tint); }
@keyframes dg-dt-cm-spin { to { stroke-dashoffset: 0; } }

/* wide column: cards sit next to their node (1 above, 2 lower right, 3 lower left) */
@container (min-width: 520px) {
  .dg-dt-cm .cy { display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); grid-template-rows: auto 168px; column-gap: 14px; row-gap: 6px; }
  .dg-dt-cm .ring { grid-column: 2; grid-row: 2; }
  .dg-dt-cm ol { display: contents; }
  .dg-dt-cm .c1 { grid-column: 1 / -1; grid-row: 1; justify-self: center; max-width: 330px; }
  .dg-dt-cm .c2 { grid-column: 3; grid-row: 2; align-self: end; margin-bottom: 30px; }
  .dg-dt-cm .c3 { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 30px; }
}
/* narrow column: ring on top, the three cards as a list */
@container (max-width: 519.98px) {
  .dg-dt-cm .ring { width: 132px; height: 132px; margin-bottom: 12px; }
  .dg-dt-cm ol { display: grid; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-cm * { animation: none !important; } }

/* dg-dt-ct.css */
/* dt-ct: Control Tower hub with six review spokes (AI deck s11). Light pulses run out along the spokes. */
.dg-dt-ct { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); }
.dg-dt-ct .in { position: relative; }
.dg-dt-ct .sp { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dg-dt-ct .sp line { vector-effect: non-scaling-stroke; stroke-linecap: round; }
.dg-dt-ct .base line { stroke: var(--sky-tint); stroke-width: 2; }
.dg-dt-ct .pulse line { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 16 84; stroke-dashoffset: 100; animation: dg-dt-ct-out 3.6s linear infinite; }
.dg-dt-ct .pulse line:nth-child(2) { animation-delay: -0.6s; }
.dg-dt-ct .pulse line:nth-child(3) { animation-delay: -1.2s; }
.dg-dt-ct .pulse line:nth-child(4) { animation-delay: -1.8s; }
.dg-dt-ct .pulse line:nth-child(5) { animation-delay: -2.4s; }
.dg-dt-ct .pulse line:nth-child(6) { animation-delay: -3s; }
.dg-dt-ct .sp-m { display: none; }
.dg-dt-ct .hub { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; margin: 0; width: 132px; height: 132px; border-radius: 50%; background: var(--navy); color: var(--on-dark); display: grid; place-items: center; text-align: center; box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--yellow); }
.dg-dt-ct .hub span { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.1; padding: 0 14px; }
.dg-dt-ct ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 34% 32% 34%; grid-template-rows: repeat(3, minmax(76px, 1fr)); }
.dg-dt-ct .k { position: relative; align-self: center; background: var(--off); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; hyphens: auto; overflow-wrap: break-word; }
.dg-dt-ct .k::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); }
.dg-dt-ct .k1, .dg-dt-ct .k2, .dg-dt-ct .k3 { grid-column: 1; text-align: right; }
.dg-dt-ct .k1::after, .dg-dt-ct .k2::after, .dg-dt-ct .k3::after { right: -5px; }
.dg-dt-ct .k4, .dg-dt-ct .k5, .dg-dt-ct .k6 { grid-column: 3; }
.dg-dt-ct .k4::after, .dg-dt-ct .k5::after, .dg-dt-ct .k6::after { left: -5px; }
.dg-dt-ct .k1, .dg-dt-ct .k4 { grid-row: 1; }
.dg-dt-ct .k2, .dg-dt-ct .k5 { grid-row: 2; }
.dg-dt-ct .k3, .dg-dt-ct .k6 { grid-row: 3; }
@keyframes dg-dt-ct-out { to { stroke-dashoffset: 0; } }

/* narrow column: hub on the left, the six reviews stacked on the right */
@container (max-width: 520px) {
  .dg-dt-ct .sp-d { display: none; }
  .dg-dt-ct .sp-m { display: block; }
  .dg-dt-ct .hub { left: 15%; width: 92px; height: 92px; box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--yellow); }
  .dg-dt-ct .hub span { font-size: 0.875rem; padding: 0 8px; }
  .dg-dt-ct ul { grid-template-columns: 40% 60%; grid-template-rows: repeat(6, minmax(54px, 1fr)); }
  .dg-dt-ct .k, .dg-dt-ct .k1, .dg-dt-ct .k2, .dg-dt-ct .k3 { grid-column: 2; text-align: left; padding: 8px 12px; font-size: 0.875rem; }
  .dg-dt-ct .k::after, .dg-dt-ct .k1::after, .dg-dt-ct .k2::after, .dg-dt-ct .k3::after { left: -5px; right: auto; }
  .dg-dt-ct .k1 { grid-row: 1; } .dg-dt-ct .k2 { grid-row: 2; } .dg-dt-ct .k3 { grid-row: 3; }
  .dg-dt-ct .k4 { grid-row: 4; } .dg-dt-ct .k5 { grid-row: 5; } .dg-dt-ct .k6 { grid-row: 6; }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-ct * { animation: none !important; } }

/* dg-dt-eff.css */
/* dt-eff: three efficiency levers grouped by direct and indirect impact on financial performance (AI deck s09). Numbers breathe in turn. */
.dg-dt-eff { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); }
.dg-dt-eff .grp { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 14px; }
.dg-dt-eff .grp + .grp { margin-top: 10px; }
.dg-dt-eff .gl { margin: 0; max-width: none; display: flex; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--off); font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.25; color: var(--blue); }
.dg-dt-eff .dir .gl { background: var(--blue); color: var(--white); }
.dg-dt-eff ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dg-dt-eff .lv { display: flex; gap: 14px; align-items: flex-start; padding: 12px 4px 12px 0; }
.dg-dt-eff .lv + .lv { border-top: 1px solid var(--grey-tint); }
.dg-dt-eff .n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4px var(--c); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--navy); animation: dg-dt-eff-breathe 6s var(--ease) infinite; }
.dg-dt-eff .l1 { --c: var(--yellow); }
.dg-dt-eff .l2 { --c: var(--teal); }
.dg-dt-eff .l3 { --c: var(--blue); }
.dg-dt-eff .l2 .n { animation-delay: 2s; }
.dg-dt-eff .l3 .n { animation-delay: 4s; }
.dg-dt-eff .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dg-dt-eff .tx strong { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.dg-dt-eff .tx strong::after { content: ""; display: block; width: 36px; height: 4px; margin: 6px 0 4px; border-radius: 2px; background: var(--c); }
.dg-dt-eff .tx span { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
@keyframes dg-dt-eff-breathe { 0%, 30%, 100% { transform: none; } 12% { transform: scale(1.1); } }

@container (max-width: 480px) {
  .dg-dt-eff .grp { grid-template-columns: minmax(0, 1fr); }
  .dg-dt-eff .gl { padding: 8px 12px; border-radius: 12px; font-size: 0.875rem; margin-bottom: 2px; }
  .dg-dt-eff .n { width: 38px; height: 38px; font-size: 1.15rem; box-shadow: inset 0 0 0 3.5px var(--c); }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-eff * { animation: none !important; } }

/* dg-dt-erp.css */
/* dt-erp: ERP/CRM selection as a 10-week plan, six steps with milestones (durations from the SCT ERP selection deck, slide 5). A time line sweeps week 1 to 10. */
.dg-dt-erp { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); --lw: 46%; --cg: 16px; }
.dg-dt-erp .in { position: relative; }
.dg-dt-erp .ax, .dg-dt-erp .r { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); column-gap: var(--cg); align-items: center; }
.dg-dt-erp .ax { padding-bottom: 6px; }
.dg-dt-erp .ax strong { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.2; color: var(--blue); }
.dg-dt-erp .tk { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.dg-dt-erp .tk span { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dg-dt-erp ol { list-style: none; margin: 0; padding: 0; }
.dg-dt-erp .r { padding: 7px 0; border-top: 1px solid var(--grey-tint); }
.dg-dt-erp .lb { display: flex; gap: 10px; align-items: baseline; font-size: 0.875rem; font-weight: 700; line-height: 1.3; min-width: 0; }
.dg-dt-erp .lb b { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint); font-family: var(--font-display); font-size: 0.8125rem; line-height: 1; transform: translateY(-1px); }
.dg-dt-erp .trk { position: relative; height: 18px; border-radius: 5px; background-color: var(--off); background-image: linear-gradient(to right, var(--grey-tint) 1px, transparent 1px); background-size: 10% 100%; }
.dg-dt-erp .bar { position: absolute; top: 2px; bottom: 2px; left: calc(var(--s) * 10%); width: calc(var(--d) * 10%); border-radius: 6px; background: var(--blue); }
.dg-dt-erp .bar::after { content: ""; position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; margin-top: -6.5px; background: var(--yellow); border: 2px solid var(--navy); border-radius: 2px; transform: rotate(45deg); }
.dg-dt-erp .r1 { --s: 0; --d: 2; }
.dg-dt-erp .r2 { --s: 2; --d: 2; }
.dg-dt-erp .r3 { --s: 4; --d: 1; }
.dg-dt-erp .r4 { --s: 5; --d: 1; }
.dg-dt-erp .r5 { --s: 6; --d: 3; }
.dg-dt-erp .r6 { --s: 9; --d: 1; }
.dg-dt-erp .r6 .bar { background: var(--navy); }
.dg-dt-erp .sw { position: absolute; top: 0; bottom: 0; left: calc(var(--lw) + var(--cg)); right: 0; overflow: hidden; pointer-events: none; }
.dg-dt-erp .sw span { position: relative; display: block; width: 100%; height: 100%; animation: dg-dt-erp-sweep 10s linear infinite; }
.dg-dt-erp .sw span::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--amber); border-radius: 1px; }
@keyframes dg-dt-erp-sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }

@container (max-width: 500px) {
  .dg-dt-erp .ax, .dg-dt-erp .r { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .dg-dt-erp .r { padding: 9px 0; }
  .dg-dt-erp .sw { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-erp * { animation: none !important; } }

/* dg-dt-lifecycle.css */
/* dt-lifecycle — circular IT transformation lifecycle with floating phase lists (white page context) */
.dg-dt-lifecycle {
  margin: 0;
  container-type: inline-size;
  color: var(--ink);
  font-family: var(--font);
}
.dg-dt-lifecycle__grid {
  --d: clamp(240px, 78cqi, 340px);
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* ---------- hub: circle + arcs ---------- */
.dg-dt-lifecycle__hub { display: flex; flex-direction: column; align-items: center; }
.dg-dt-lifecycle__circle { position: relative; width: var(--d); height: var(--d); }
.dg-dt-lifecycle__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dg-dt-lifecycle__arc { fill: none; stroke-width: 30; }
.dg-dt-lifecycle__arc--a { stroke: var(--blue); }
.dg-dt-lifecycle__arc--b { stroke: var(--yellow); }
.dg-dt-lifecycle__arc--c { stroke: var(--sky); }
.dg-dt-lifecycle__head--a { fill: var(--blue); }
.dg-dt-lifecycle__head--b { fill: var(--yellow); }
.dg-dt-lifecycle__head--c { fill: var(--sky); }
.dg-dt-lifecycle__pulse {
  fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 9 140; stroke-dashoffset: -140; opacity: 0.85;
  animation: dg-dt-lifecycle-pulse 7.5s linear infinite;
}
.dg-dt-lifecycle__pulse--b { animation-delay: 2.5s; }
.dg-dt-lifecycle__pulse--c { animation-delay: 5s; }
@keyframes dg-dt-lifecycle-pulse {
  0%   { stroke-dashoffset: 9; }
  33%  { stroke-dashoffset: -100; }
  33.1%, 100% { stroke-dashoffset: -140; }
}
.dg-dt-lifecycle__badge { fill: var(--white); }
.dg-dt-lifecycle__letter { font-family: var(--font-display); font-weight: 700; font-size: 19px; fill: var(--navy); }
.dg-dt-lifecycle__leader, .dg-dt-lifecycle__dot { display: none; }
.dg-dt-lifecycle__leader { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.dg-dt-lifecycle__dot { stroke: var(--navy); stroke-width: 1.5; }
.dg-dt-lifecycle__dot--a { fill: var(--blue); }
.dg-dt-lifecycle__dot--b { fill: var(--yellow); }
.dg-dt-lifecycle__dot--c { fill: var(--sky); }

/* service-line legend in the centre of the circle */
.dg-dt-lifecycle__legend {
  position: absolute; left: 50%; top: 50%;
  width: 58%; transform: translate(-50%, -50%);
  text-align: center;
}
.dg-dt-lifecycle__legend-title {
  margin: 0 0 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
.dg-dt-lifecycle__legend ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.dg-dt-lifecycle__legend li { font-size: 12px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.dg-dt-lifecycle__legend .dg-dt-lifecycle__n { margin-right: 5px; vertical-align: 1px; }

.dg-dt-lifecycle__n {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1;
}
.dg-dt-lifecycle__stem { display: none; }

/* ---------- phase panels ---------- */
.dg-dt-lifecycle__phase {
  --tone: var(--blue); --on-tone: var(--white); --mark: var(--blue);
  --pad: 22px;
  background: var(--off);
  border-radius: 22px;
  padding: var(--pad);
}
.dg-dt-lifecycle__phase--b { --tone: var(--yellow); --on-tone: var(--navy); --mark: var(--amber); }
.dg-dt-lifecycle__phase--c { --tone: var(--sky); --on-tone: var(--navy); --mark: var(--sky); }
.dg-dt-lifecycle__head-row { display: flex; align-items: center; margin-bottom: 16px; }
.dg-dt-lifecycle__pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; margin: 0; padding: 4px 18px 4px 6px;
  border-radius: 999px; background: var(--tone); color: var(--on-tone);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.15;
}
.dg-dt-lifecycle__pill-letter {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-size: 16px;
}
.dg-dt-lifecycle__lead { display: none; }

.dg-dt-lifecycle__lines { display: grid; gap: 16px; }
.dg-dt-lifecycle__line h4 {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font); font-weight: 800; font-size: 14px; line-height: 1.3; color: var(--ink);
}
.dg-dt-lifecycle__line h4 .dg-dt-lifecycle__n { margin-top: -1px; }
.dg-dt-lifecycle__line ul { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 4px; }
.dg-dt-lifecycle__line li {
  position: relative; padding-left: 15px;
  font-size: 15px; line-height: 1.4; color: var(--ink-soft);
}
.dg-dt-lifecycle__line li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 7px; height: 7px; background: var(--mark); transform: rotate(45deg);
}

/* mid widths: the three service lines sit side by side inside each phase */
@container (min-width: 640px) {
  .dg-dt-lifecycle__lines { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .dg-dt-lifecycle__line ul { padding-left: 0; }
}

/* desktop: circle in the middle, phases float around it with leader lines */
@container (min-width: 1000px) {
  .dg-dt-lifecycle__grid {
    --d: clamp(340px, 30cqi, 400px); --g: 44px;
    grid-template-columns: minmax(0, 1fr) var(--d) minmax(0, 1fr);
    grid-template-areas: "a hub b" "c c c";
    column-gap: var(--g); row-gap: 26px;
  }
  .dg-dt-lifecycle__hub { grid-area: hub; }
  .dg-dt-lifecycle__phase--a { grid-area: a; }
  .dg-dt-lifecycle__phase--b { grid-area: b; }
  .dg-dt-lifecycle__phase--c { grid-area: c; }
  .dg-dt-lifecycle__legend { width: 54%; }
  .dg-dt-lifecycle__legend-title { font-size: 12px; margin-bottom: 8px; }
  .dg-dt-lifecycle__legend ol { gap: 8px; }
  .dg-dt-lifecycle__legend li { font-size: 13.5px; }
  .dg-dt-lifecycle__leader, .dg-dt-lifecycle__dot { display: inline; }
  /* the hub stretches to the row height; a stem carries the C leader down to the bottom panel */
  .dg-dt-lifecycle__stem { display: block; flex: 1; width: 1.5px; min-height: 0; background: var(--ink-soft); }

  .dg-dt-lifecycle__phase--a, .dg-dt-lifecycle__phase--b {
    align-self: start;
    /* pill centre lines up with the leader at 25% of the circle height */
    margin-top: calc(var(--d) * 0.25 - var(--pad) - 20px);
  }
  .dg-dt-lifecycle__phase--c { position: relative; }
  .dg-dt-lifecycle__lines { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dg-dt-lifecycle__phase--c .dg-dt-lifecycle__lines { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .dg-dt-lifecycle__line ul { padding-left: 28px; }
  .dg-dt-lifecycle__pill { height: 40px; }

  .dg-dt-lifecycle__lead { display: block; height: 1.5px; background: var(--ink-soft); }
  .dg-dt-lifecycle__phase--a .dg-dt-lifecycle__lead {
    flex: 1; margin-right: calc(-1 * (var(--pad) + var(--g)));
  }
  .dg-dt-lifecycle__phase--b .dg-dt-lifecycle__lead {
    order: -1; flex: none; width: calc(var(--pad) + var(--g));
    margin-left: calc(-1 * (var(--pad) + var(--g)));
  }
  .dg-dt-lifecycle__phase--c .dg-dt-lifecycle__head-row { justify-content: center; }
  .dg-dt-lifecycle__phase--c .dg-dt-lifecycle__lead {
    position: absolute; left: calc(50% - 0.75px); top: -26px;
    width: 1.5px; height: calc(26px + var(--pad)); background: var(--ink-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-dt-lifecycle * { animation: none !important; }
}

/* dg-dt-maturity.css */
/* dt-maturity — ascending staircase of the four maturity stages (navy panel context) */
.dg-dt-maturity {
  margin: 0;
  container-type: inline-size;
  color: var(--on-dark);
  font-family: var(--font);
}
.dg-dt-maturity__stairs { position: relative; }
.dg-dt-maturity__steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.dg-dt-maturity__step {
  --tone: var(--blue); --on-tone: var(--white); --mark: var(--sky-tint);
  display: flex; flex-direction: column;
}
.dg-dt-maturity__step:nth-child(2) { --tone: var(--sky); --on-tone: var(--navy); --mark: var(--sky); }
.dg-dt-maturity__step:nth-child(3) { --tone: var(--yellow); --on-tone: var(--navy); --mark: var(--yellow); }
.dg-dt-maturity__step:nth-child(4) { --tone: var(--off); --on-tone: var(--navy); --mark: var(--off); }

/* riser = coloured step block carrying number + title */
.dg-dt-maturity__riser {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--tone); color: var(--on-tone);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
/* quarter-circle brand shape tucked into the riser corner */
.dg-dt-maturity__riser::after {
  content: ""; position: absolute; right: -22px; bottom: -22px;
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0.18;
}
.dg-dt-maturity__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; line-height: 1; letter-spacing: -0.02em;
  flex: none;
}
.dg-dt-maturity__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.15; letter-spacing: -0.01em;
  color: inherit; text-wrap: balance;
}

/* body = text + bullets, a faint column below the riser */
.dg-dt-maturity__body {
  flex: 1;
  padding: 16px 18px 20px;
  background: color-mix(in srgb, var(--off) 7%, transparent);
  border-radius: 0 0 18px 18px;
}
.dg-dt-maturity__body p {
  margin: 0 0 12px;
  font-size: 15px; line-height: 1.5; color: var(--on-dark);
}
.dg-dt-maturity__body ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px;
}
.dg-dt-maturity__body li {
  position: relative; padding-left: 18px;
  font-size: 14px; line-height: 1.4; color: var(--on-dark-soft);
}
.dg-dt-maturity__body li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em;
  width: 7px; height: 7px; background: var(--mark);
  transform: rotate(45deg);
}

/* mobile: vertical stepped list, progressively indented */
.dg-dt-maturity__step:nth-child(2) { margin-inline-start: clamp(8px, 4cqi, 28px); }
.dg-dt-maturity__step:nth-child(3) { margin-inline-start: calc(2 * clamp(8px, 4cqi, 28px)); }
.dg-dt-maturity__step:nth-child(4) { margin-inline-start: calc(3 * clamp(8px, 4cqi, 28px)); }

.dg-dt-maturity__climber { display: none; }

/* desktop: a real staircase, four steps rising left to right */
@container (min-width: 820px) {
  .dg-dt-maturity__stairs {
    --g: 14px; --rise: 48px; --pad: 26px; --c: 16px;
    padding-top: var(--pad);
  }
  .dg-dt-maturity__steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--g); align-items: stretch;
  }
  .dg-dt-maturity__step { margin-inline-start: 0 !important; }
  .dg-dt-maturity__step:nth-child(1) { padding-top: calc(3 * var(--rise)); }
  .dg-dt-maturity__step:nth-child(2) { padding-top: calc(2 * var(--rise)); }
  .dg-dt-maturity__step:nth-child(3) { padding-top: var(--rise); }
  .dg-dt-maturity__riser {
    flex-direction: column; align-items: flex-start; gap: 10px;
    min-height: 148px; padding: 20px 20px 18px;
    border-radius: 22px 22px 0 0;
  }
  .dg-dt-maturity__riser::after { width: 88px; height: 88px; right: -30px; bottom: -30px; }
  .dg-dt-maturity__num { font-size: 46px; }
  .dg-dt-maturity__title { font-size: clamp(17px, 1.75cqi, 22px); }
  .dg-dt-maturity__body { padding: 18px 20px 24px; border-radius: 0 0 22px 22px; }
  .dg-dt-maturity__body p { font-size: 15.5px; }

  /* small yellow circle that climbs the treads; rests on the top step when still */
  .dg-dt-maturity__climber {
    display: block; position: absolute;
    width: var(--c); height: var(--c); border-radius: 50%;
    background: var(--yellow);
    left: calc((100% - 3 * var(--g)) / 4 * 3.5 + var(--g) * 3 - var(--c) / 2);
    top: calc(var(--pad) - var(--c) - 3px);
    animation: dg-dt-maturity-climb 11s var(--ease) infinite;
    pointer-events: none;
  }
}

@keyframes dg-dt-maturity-climb {
  0%   { opacity: 0; left: calc((100% - 3 * var(--g)) / 4 * 0 + 18px); top: calc(var(--pad) + 3 * var(--rise) - var(--c) - 3px); }
  4%   { opacity: 1; left: calc((100% - 3 * var(--g)) / 4 * 0 + 24px); top: calc(var(--pad) + 3 * var(--rise) - var(--c) - 3px); }
  13%  { left: calc((100% - 3 * var(--g)) / 4 * 1 - 34px); top: calc(var(--pad) + 3 * var(--rise) - var(--c) - 3px); }
  17%  { left: calc((100% - 3 * var(--g)) / 4 * 1 + var(--g) / 2 - var(--c) / 2); top: calc(var(--pad) + 2 * var(--rise) - var(--c) - 22px); }
  21%  { left: calc((100% - 3 * var(--g)) / 4 * 1 + var(--g) + 22px); top: calc(var(--pad) + 2 * var(--rise) - var(--c) - 3px); }
  32%  { left: calc((100% - 3 * var(--g)) / 4 * 2 + var(--g) - 34px); top: calc(var(--pad) + 2 * var(--rise) - var(--c) - 3px); }
  36%  { left: calc((100% - 3 * var(--g)) / 4 * 2 + var(--g) * 1.5 - var(--c) / 2); top: calc(var(--pad) + 1 * var(--rise) - var(--c) - 22px); }
  40%  { left: calc((100% - 3 * var(--g)) / 4 * 2 + var(--g) * 2 + 22px); top: calc(var(--pad) + 1 * var(--rise) - var(--c) - 3px); }
  51%  { left: calc((100% - 3 * var(--g)) / 4 * 3 + var(--g) * 2 - 34px); top: calc(var(--pad) + 1 * var(--rise) - var(--c) - 3px); }
  55%  { left: calc((100% - 3 * var(--g)) / 4 * 3 + var(--g) * 2.5 - var(--c) / 2); top: calc(var(--pad) - var(--c) - 22px); }
  59%  { left: calc((100% - 3 * var(--g)) / 4 * 3 + var(--g) * 3 + 22px); top: calc(var(--pad) - var(--c) - 3px); }
  70%, 88% { opacity: 1; left: calc((100% - 3 * var(--g)) / 4 * 3.5 + var(--g) * 3 - var(--c) / 2); top: calc(var(--pad) - var(--c) - 3px); }
  95%, 100% { opacity: 0; left: calc((100% - 3 * var(--g)) / 4 * 3.5 + var(--g) * 3 - var(--c) / 2); top: calc(var(--pad) - var(--c) - 3px); }
}

@media (prefers-reduced-motion: reduce) {
  .dg-dt-maturity * { animation: none !important; }
}

/* inside the site's dark panel the generic ".dark h3" colour must not override the step colours */
.dark .dg-dt-maturity .dg-dt-maturity__title { color: inherit; }

/* dg-dt-pm.css */
/* dt-pm: waterfall staircase vs agile loop on a shared programme-office base (AI deck s06). Pulses flow down the steps and around the loops. */
.dg-dt-pm { margin: 8px 0 28px; container-type: inline-size; font-family: var(--font); color: var(--ink); }
.dg-dt-pm .in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dg-dt-pm .pan { margin: 0; background: var(--off); border-radius: 20px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dg-dt-pm .art { display: block; width: 100%; height: auto; max-height: 130px; overflow: visible; }
.dg-dt-pm .cap { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; text-wrap: balance; }
.dg-dt-pm .wf .cap { color: var(--blue); }
.dg-dt-pm .flow { fill: none; stroke: var(--grey-tint); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.dg-dt-pm .wf .pulse { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9 91; stroke-dashoffset: 100; animation: dg-dt-pm-flow 4.5s linear infinite; }
.dg-dt-pm .b1 { fill: var(--sky-tint); }
.dg-dt-pm .b2 { fill: var(--sky); }
.dg-dt-pm .b3 { fill: var(--blue); }
.dg-dt-pm .b4 { fill: var(--navy); }
.dg-dt-pm .coil { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg-dt-pm .ag .pulse { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; animation: dg-dt-pm-flow 6s linear infinite; }
.dg-dt-pm .tip { fill: var(--amber); }
.dg-dt-pm .base { grid-column: 1 / -1; margin: 0; max-width: none; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--navy); color: var(--on-dark); font-weight: 700; font-size: 0.9375rem; line-height: 1.35; }
.dg-dt-pm .dm { flex: none; width: 12px; height: 12px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
@keyframes dg-dt-pm-flow { to { stroke-dashoffset: 0; } }

/* narrow column: the two methods stack, picture left and caption right */
@container (max-width: 440px) {
  .dg-dt-pm .in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dg-dt-pm .pan { flex-direction: row; align-items: center; padding: 12px 14px; border-radius: 16px; gap: 14px; }
  .dg-dt-pm .art { flex: none; width: 38%; }
  .dg-dt-pm .cap { min-width: 0; font-size: 0.875rem; overflow-wrap: break-word; }
  .dg-dt-pm .base { padding: 10px 14px; font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) { .dg-dt-pm * { animation: none !important; } }
