/* Tech, Automations & AI · follow a lead (lead.js): the hops' labels along the route, and the CRM board laid on the
   tablet's screen (one matrix3d a frame; illustrative, labelled). Builds on ../_template/discipline.css. */
.cap-boardwrap { display: contents; }
.cap-board { position: fixed; left: 0; top: 0; transform-origin: 0 0; box-sizing: border-box; display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 18px 18px 16px; background: #0f0d14; border-radius: 6px; opacity: 0; visibility: hidden; will-change: transform; }
.cap-board .cap-chip { font-size: 11px; }
.cap-board__cols { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cap-board__col { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-height: 0; padding: 10px 8px; border-radius: 6px; background: rgba(236, 233, 241, 0.05); border: 1px solid rgba(236, 233, 241, 0.08); }
.cap-board__h { font: 600 15px/1.1 var(--v3-title); font-stretch: 90%; color: var(--signal, #ece9f1); }
.cap-board__slot { display: block; }
/* the card: the lead, moving New -> Contacted -> Booked (--col, lead.js) */
.cap-board__card { position: absolute; left: 18px; bottom: 28px; width: calc((100% - 36px - 32px) / 5 - 16px); height: 52px; margin-left: 8px; border-radius: 5px; background: linear-gradient(180deg, rgba(201, 182, 234, 0.9), rgba(139, 69, 208, 0.75)); box-shadow: 0 0 18px rgba(201, 182, 234, 0.5); opacity: 0; transform: translateX(calc(var(--col, 0) * (100% + 24px))); transition: transform 520ms var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)), opacity 280ms var(--v3-ease); }
.cap-board__card.is-on { opacity: 1; }
.xp[data-story^="sig-h"] .xp__mono { max-width: 22ch; }
/* a phone: the hops as a list low in the frame, a line a hop, each staying to the act's end (lead.js: the narrow frame
   has no room for seven labels at their places) */
html[data-layout="port"] .xp[data-port^="hop"] { left: var(--g-m); right: auto; top: auto; width: auto; max-width: calc(100vw - 2 * var(--g-m)); padding: 6px 12px; }
html[data-layout="port"] .xp[data-port^="hop"] .xp__mono { max-width: none; white-space: nowrap; }
html[data-layout="port"] .xp[data-port="hop0"] { bottom: calc(var(--z-cap-bottom) + 6 * 36px); }
html[data-layout="port"] .xp[data-port="hop1"] { bottom: calc(var(--z-cap-bottom) + 5 * 36px); }
html[data-layout="port"] .xp[data-port="hop2"] { bottom: calc(var(--z-cap-bottom) + 4 * 36px); }
html[data-layout="port"] .xp[data-port="hop3"] { bottom: calc(var(--z-cap-bottom) + 3 * 36px); }
html[data-layout="port"] .xp[data-port="hop4"] { bottom: calc(var(--z-cap-bottom) + 2 * 36px); }
html[data-layout="port"] .xp[data-port="hop5"] { bottom: calc(var(--z-cap-bottom) + 1 * 36px); }
html[data-layout="port"] .xp[data-port="hop6"] { bottom: calc(var(--z-cap-bottom) + 0 * 36px); }
/* no WebGL: the board stands in the section's flow */
:is(.v3-nogl, .v3-reduced) .cap-board { transform: none !important; position: relative; width: min(100%, 560px); height: 360px; opacity: 1; visibility: visible; }

/* (P1, change 16) the hero's tools (tools.js): the official marks on small glass chips round the dock, each on a thin
   wire to it; one enquiry (a point of light) travels them and each tool lights as it lands; the dock takes each return
   with a ring. A desktop's hero only. Transform and opacity only. */
.tk { position: fixed; inset: 0; z-index: 1; pointer-events: none; visibility: hidden; }
.tk.is-on { visibility: visible; }
.tk__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk__w { fill: none; stroke: rgba(201, 182, 234, 0.3); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0;
  transition: opacity 520ms var(--v3-ease, ease) calc(160ms + var(--i) * 45ms); }
.tk.is-in .tk__w { opacity: 1; }
.tk__chip { position: absolute; left: 0; top: 0; display: grid; place-items: center; box-sizing: border-box; height: 46px; min-width: 46px;
  padding: 0 11px; border-radius: 13px; background: rgba(14, 10, 22, 0.62); border: 1px solid rgba(236, 233, 241, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 32px -14px rgba(0, 0, 0, 0.85);
  translate: var(--x, -200px) var(--y, -200px); transform: translate(-50%, -50%) scale(0.84); opacity: 0;
  transition: opacity 380ms var(--v3-ease, ease) calc(var(--i) * 45ms), transform 560ms var(--v3-ease, ease) calc(var(--i) * 45ms); }
.tk__chip img { display: block; height: 24px; width: auto; max-width: 64px; }
.tk__chip::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(201, 182, 234, 0.9);
  box-shadow: 0 0 24px rgba(102, 45, 145, 0.75), inset 0 0 12px rgba(201, 182, 234, 0.18); opacity: 0; transition: opacity 240ms var(--v3-ease, ease); }
.tk.is-in .tk__chip { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tk.is-in .tk__chip.is-hot { transform: translate(-50%, -50%) scale(1.09); transition-delay: 0ms; transition-duration: 240ms; }
.tk__chip.is-hot::after { opacity: 1; }
.tk:not(.is-in) .tk__chip, .tk:not(.is-in) .tk__w { transition-delay: 0ms; transition-duration: 240ms; }
.tk__dot { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #f6f1ff;
  box-shadow: 0 0 10px 3px rgba(201, 182, 234, 0.85), 0 0 28px 8px rgba(102, 45, 145, 0.6); opacity: 0; transition: opacity 120ms linear; }
.tk__hub { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1px solid rgba(201, 182, 234, 0.85); box-shadow: 0 0 18px rgba(102, 45, 145, 0.6); opacity: 0; }
html[data-layout="port"] .tk, :is(.v3-reduced, .v3-nogl) .tk { display: none; }
