/* ══════════════════════════════════════════════════════════════════════
   THE TALENT INTELLIGENCE PLATFORM IN THE MENUS (3 December 2026)

   The page sits under Metric DCX in What we do, but it is a product and
   not a sub-sector. So in each menu it is a piece of its own, set below
   the sector list with a small "Platform" label, and never a row in the
   list. Three menus carry it: the new design's full height panel, the
   older panel (Privacy Policy, LatchBio) and the phone menu.

   In a file of its own, loaded on every page, because the menu is. It is
   kept out of mop-up.css, where additions clash between the staging and
   live branches.
   ══════════════════════════════════════════════════════════════════════ */

/* ── The new design's panel ──
   A card in the empty space under the four names, with a small drawing
   of the page's tablet. Shown only while Metric DCX is picked out, and
   kept while the pointer or the keyboard is on it. Hidden with opacity
   and not visibility, so the Tab key can still reach it. */
.mega.mpxm .mpxm-feat{display:grid; grid-template-columns:auto minmax(0,1fr); gap:clamp(18px,2vw,30px); align-items:center;
  width:min(100%, 560px); margin-top:clamp(22px,3.2vh,40px); padding:20px 26px 20px 22px; border-radius:4px;
  background:linear-gradient(180deg,#2a2a2a 0%,#1f1f1f 100%); box-shadow:0 30px 60px -30px #000;
  color:#fff; text-decoration:none; opacity:0; pointer-events:none; transition:opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1)}
.mega.mpxm .mpxm-names:has(.mpxm-name[data-brand="dcx"].is-on) .mpxm-feat,
.mega.mpxm .mpxm-feat:hover,
.mega.mpxm .mpxm-feat:focus-visible{opacity:1; pointer-events:auto}
.mega.mpxm .mpxm-feat:hover{transform:translateY(-3px)}
.mega.mpxm .mpxm-feat:focus-visible{outline:2px solid #fff; outline-offset:3px}
.mpxm-feat-art{display:block; width:84px; transform:rotate(-5deg); filter:drop-shadow(0 16px 20px rgba(0,0,0,.6))}
.mpxm-feat-art svg{display:block; width:100%; height:auto}
.mpxm-feat-txt{display:flex; flex-direction:column; align-items:flex-start; min-width:0}
.mpxm-feat-logo{display:block; height:17px; width:auto; margin-bottom:10px}
.mpxm-feat-t{font-family:var(--mp-type-head,inherit); font-weight:800; font-size:clamp(1.0625rem,1.5vw,1.375rem); line-height:1.05; text-transform:uppercase; color:#fff}
.mpxm-feat-d{margin-top:6px; font-size:.875rem; font-weight:400; line-height:1.4; color:#fff}
.mpxm-feat-btn{display:inline-flex; align-items:center; gap:10px; margin-top:14px; height:36px; padding:0 14px; border-radius:4px; background:#fff; color:#111;
  font-size:.6875rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; transition:background .2s, color .2s}
.mpxm-feat-btn .mpx-arr{width:10px; height:10px; stroke:currentColor; fill:none; stroke-width:1.5}
@media (prefers-reduced-motion:reduce){.mega.mpxm .mpxm-feat{transition:none} .mega.mpxm .mpxm-feat:hover{transform:none}}

/* ── The older panel ──
   Left as a boxed link on Nicky's instruction (3 December 2026). */
.mpn-tool{display:block; margin-top:16px; padding:12px 14px; border-radius:4px; background:rgba(255,255,255,.07); box-shadow:inset 0 2px 0 #FE4526; text-decoration:none; transition:background .2s}
.mpn-tool:hover,.mpn-tool:focus-visible{background:rgba(255,255,255,.14)}
.mpn-tool-k{display:block; margin-bottom:4px; font-size:.625rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.6)}
.mpn-tool-t{display:block; font-size:.875rem; font-weight:700; line-height:1.3; color:#fff}

/* ── The phone menu ──
   The same card as in the desktop panel, in place of a boxed row with a
   red line that matched nothing else in the menu. Set in from the edges
   to line up with the rows above. */
.tipc{display:grid; grid-template-columns:auto minmax(0,1fr); gap:20px; align-items:center; box-sizing:border-box;
  padding:20px 22px 20px 20px; border-radius:4px; background:linear-gradient(180deg,#2a2a2a 0%,#1f1f1f 100%);
  box-shadow:0 24px 44px -26px #000; color:#fff; text-decoration:none}
.tipc:focus-visible{outline:2px solid #fff; outline-offset:3px}
.tipc .mpxm-feat-art{width:72px}
.tipc .mpxm-feat-t{font-size:1.0625rem}
.tipc--phone{width:calc(100% - 48px); margin:26px 24px 22px}

/* ── The banner low on the Metric DCX page and its sector pages ──
   (4 December 2026) The same card again, laid out wide: the drawing, the
   words, then the button at the far end. On a phone it stacks like the
   menu's card. See parts/tip-banner.blade.php. */
.tipb-wrap{display:block; box-sizing:border-box}
.tipb-wrap--brand{padding:0 max(48px, calc((100% - 1300px) / 2)) 72px}
.tipb-wrap--sector{padding:8px 0 56px}
.tipb{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(20px,2.4vw,34px); align-items:center; box-sizing:border-box;
  padding:22px 30px 22px 26px; border-radius:4px; background:linear-gradient(180deg,#2a2a2a 0%,#1f1f1f 100%);
  box-shadow:0 30px 60px -34px #000; color:#fff; text-decoration:none; transition:transform .5s cubic-bezier(.16,1,.3,1)}
.tipb:hover{transform:translateY(-3px)}
.tipb:focus-visible{outline:2px solid #fff; outline-offset:3px}
.tipb .mpxm-feat-art{width:66px}
.tipb .mpxm-feat-btn{margin-top:0; height:40px; padding:0 18px}
.tipb:hover .mpxm-feat-btn{background:#111; color:#fff; box-shadow:inset 0 0 0 1px #fff}
@media (width<=767px){
  .tipb-wrap--brand{padding:0 20px 48px}
  .tipb-wrap--sector{padding:0 0 40px}
  .tipb{grid-template-columns:auto minmax(0,1fr); padding:20px}
  .tipb .mpxm-feat-btn{grid-column:1 / -1; justify-content:center}
}
@media (prefers-reduced-motion:reduce){.tipb{transition:none} .tipb:hover{transform:none}}
