/* ============================================================================
   Zetimagine — marketplace design system
   ----------------------------------------------------------------------------
   Layout language follows Fiverr/Upwork: a sticky utility nav with an inline
   search, a scrolling category strip, a sticky filter rail beside the results,
   and horizontally-composed result cards with the price anchored bottom-right.

   Colours stay on the existing brand blue. Only the *layout* borrows from the
   marketplaces — the visual identity is Zetimagine's.

   Plain CSS rather than a Tailwind CDN: the repeated components here (cards,
   filter rail, chip rows) are long class strings in that style, and the CDN
   costs a render-blocking round trip plus a flash of unstyled markup.
   ============================================================================ */

/* ---- [hidden] must actually hide ----------------------------------------- */
/*
 * The browser's user-agent sheet has [hidden] { display: none }, but any author
 * rule that sets display wins over it. Every component here sets one — .mk-card
 * is display: grid, .mk-finder__q is display: block, .btn is display: flex — so
 * every element the scripts toggle with el.hidden = true stayed on screen with
 * the attribute set.
 *
 * The symptom was the whole catalogue search doing nothing: typing a query set
 * hidden on all 23 cards and updated the count to "0 services available", while
 * all 23 cards remained visible, because none of them were ever hidden. Same
 * for the homepage finder's step panels and every "Clear search" button.
 *
 * One rule, before any component rule, so nothing has to remember it again.
 */
[hidden] { display: none !important; }

/* ---- Design tokens ------------------------------------------------------- */

:root {
  /* Brand — three colours only: blue, white, black. The blue carries every
     CTA, focus ring and status cue; surfaces are white, the footer and dark
     chrome are black, and everything between them is neutral grey. The
     Voltagent structure stays — single accent discipline, hairline chrome,
     calm type — in the brand's own blue. */
  --brand-50:  #f0f6ff;
  --brand-100: #dcecff;
  --brand-200: #bcd9ff;
  --brand-300: #8ec0ff;
  --brand-400: #599fff;
  --brand-500: #2f80f5;
  --brand-600: #0c87ea;
  /* AA-safe brand blue: white text on it and it as text on white both clear
     4.5:1 — #0c87ea only reaches 3.7. Used wherever the blue carries small
     text: buttons, pills, tags, counters. */
  --brand-650: #0a72c8;
  --brand-700: #0155a2;
  --brand-800: #064986;

  /* Neutrals — the white-to-black ramp; no warm tint anywhere. */
  --ink:        #18181b;
  --ink-2:      #3f3f46;
  --muted:      #71717a;
  /* #a1a1aa clears AA on the dark bands (hero, catalogue) where it was
     picked, but only reaches 2.6:1 on white. Light surfaces that use it for
     real text set #646975 directly — headsearch, drawer and field rules. */
  --muted-2:    #a1a1aa;
  --line:       #e4e4e7;
  --line-2:     #f0f0f2;
  --surface:    #ffffff;
  --surface-2:  #f7f7f8;
  --surface-3:  #fafafa;

  /* Semantic — positive states speak in the brand blue too; only genuine
     error text keeps red, and only where an error is being reported. */
  --green:      #0c87ea;
  --green-dark: #0155a2;
  --amber:      #f5a623;
  --red:        #e5484d;
  --violet:     #7c6cf6;

  /* Shape — Voltagent: 6px buttons, 8px cards. No pill buttons; pills are
     for inline status tags only. */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* Elevation — hairlines, not material shadows. Hover reads as an edge
     change plus a quiet glow (Voltagent Level 2); the heavy stack is for
     modal surfaces only. */
  --sh-1: 0 1px 2px rgba(24, 24, 27, .03);
  --sh-2: 0 0 15px rgba(24, 24, 27, .08);
  --sh-3: 0 20px 60px rgba(24, 24, 27, .18);

  --nav-h: 64px;
  --wrap: 1240px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Helvetica, Arial, sans-serif;
}

/* ---- Reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  /* Voltagent's display is intentionally calm — 600, not 700/800, with the
     tracking left tight. Headlines read like documentation, not billboards. */
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink);
}

p { margin: 0; }

/* Visible focus for keyboard users only — never a ring on mouse click. */
:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  height: 40px;
  border: 1px solid transparent;
  /* Tight 6px rectangles, not pills — the pill radius is reserved for inline
     status tags (Voltagent). */
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease,
              color .15s ease, box-shadow .15s ease;
}

/* Blue fill, white label — the brand's CTA in the three-colour palette. */
.btn-primary { background: var(--brand-650); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line); }

/* First stop on every page: parked off-screen until focused, then pinned
   top-left so a keyboard user can jump the header, nav and dropdowns. */
.mk-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transition: transform .12s ease;
}
.mk-skip:focus { transform: translateY(0); }

.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

/* ---- Header -------------------------------------------------------------- */

.mk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  /* Translucent + blurred so content sliding under the sticky bar reads as
     depth instead of a hard paper edge; solid white as the no-backdrop-
     filter fallback. */
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

/* Three-track grid: the logo anchors the left edge, the actions anchor the
   right, and the nav sits on the true centre of the page — not the centre of
   the leftover space, which is what flex would give it and which drifts as
   the two side widths differ. The panel anchor is measured by site.js, so
   centring the nav does not disturb the mega menu. */
.mk-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
}

/* The ZetImagine logo image. The primary source is the API's asset host; the
   onerror fallback points at the copy committed in assets/ so a CDN miss
   degrades to a working image instead of a broken one. */
.mk-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}
.mk-logo:hover { text-decoration: none; }
.mk-logo img { height: 30px; width: auto; display: block; }
/* Emblem + wordmark lockup: taller than the old text logo so the sphere and
   the name both read inside the 64px header bar. */
.mk-logo .mk-logo__lockup {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .mk-logo .mk-logo__lockup { height: 34px; }
}
/* The logo's <picture> is a passthrough so the img keeps the same slot. */
.mk-logo picture { display: contents; }

/* On the dark footer band the dark-on-light logo inverts to stay visible. */
.mk-footer__brand .mk-logo img {
  height: 28px;
  filter: brightness(0) invert(1);
}

.mk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.mk-nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.mk-nav a:hover { background: var(--surface-2); color: var(--ink); }
.mk-nav a[aria-current='page'] {
  color: var(--brand-700);
  font-weight: 700;
  background: var(--brand-50);
}

.mk-headsearch {
  flex: 1;
  min-width: 0;
  display: flex;
  position: relative;
}
.mk-headsearch input {
  width: 100%;
  height: 40px;
  padding: 0 96px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease,
              box-shadow .15s ease;
}
.mk-headsearch input::placeholder { color: #646975; }
.mk-headsearch input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.mk-headsearch button {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand-600);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mk-headsearch button:hover { background: var(--brand-700); }

/* The grid's right track anchors the row's edge; justify-self does what the
   old margin-left:auto did, without depending on the nav's width. */
.mk-headeractions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.mk-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
}

/* ---- Category strip ------------------------------------------------------ */

.mk-cats {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mk-cats__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 12px;
}
.mk-cats__scroll::-webkit-scrollbar { display: none; }

.mk-cats a {
  flex-shrink: 0;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: all .15s ease;
}
.mk-cats a:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
  background: var(--brand-50);
}
.mk-cats a[aria-current='page'] {
  background: var(--brand-650);
  border-color: var(--brand-650);
  color: #fff;
}

/* ---- Hero ---------------------------------------------------------------- */

.mk-hero {
  background:
    radial-gradient(900px 380px at 12% -10%, var(--brand-50), transparent 60%),
    radial-gradient(700px 320px at 88% 0%, #f2f5ff, transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 72px;
  text-align: center;
}

.mk-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto 18px;
}
.mk-hero h1 em {
  font-style: normal;
  color: var(--brand-600);
}

.mk-hero__sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 32px;
}

.mk-hero__search {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 22px;
}
.mk-hero__search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 15px;
  box-shadow: var(--sh-2);
}
.mk-hero__search input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.mk-hero__search .btn { height: 52px; }

/* The catalogue hero has a button row too. It was emitted with this class on
   /services/ while nothing defined it, so those buttons had no layout at all.
   Kept here rather than in catalog.css because the class is hero furniture and
   the hero lives here. */
.mk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* The catalogue hero is a left-flush search block, not a centred pitch — so
   its button row stays left under the search box rather than centring with
   the tagline heroes. */
.mk-cataloghero .mk-hero__actions {
  justify-content: flex-start;
}

.mk-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.mk-hero__pills a {
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--ink-2);
  transition: background-color .15s ease;
}
.mk-hero__pills a:hover { background: var(--brand-50); color: var(--brand-700); }

/* The hero illustration — an agent hub fanning out to the tasks it owns.
   Full page width, not a boxed card: the artwork fades to the page's own
   white at its edges, so a border or a radius would fight the banner it is
   trying to be. Rendered at 2x and capped so it never becomes a wall. */
.mk-hero__art {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  margin: 44px 0 -32px;
}

.mk-hero__trust {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted-2);
}

/* ---- Hero — neon variant (homepage) ----------------------------------- */
/* The dark agency hero from the "Neon Tech Agency" reference (Oct 2026).
   Scoped to a modifier so the light .mk-hero base keeps serving /404,
   /services (cataloghero) and the enterprise tagline. The header above
   stays light with the original wordmark by design — only this band goes
   dark. */

.mk-hero--neon {
  background:
    radial-gradient(760px 460px at 82% -8%, rgba(124, 92, 255, .22), transparent 62%),
    radial-gradient(620px 380px at 6% 108%, rgba(47, 128, 245, .14), transparent 60%),
    #05070f;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #e7ecf8;
  text-align: left;
  padding: 60px 0 0;
}
.mk-hero--neon .mk-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px 44px;
  align-items: center;
}
.mk-hero--neon .mk-hero__copy { min-width: 0; }

.mk-hero--neon h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 15ch;
  margin: 0 0 18px;
  color: #fff;
}
.mk-hero--neon h1 em {
  background: linear-gradient(92deg, #6f8dff, #7b5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-hero--neon .mk-hero__sub {
  color: #97a1bd;
  max-width: 54ch;
  margin: 0 0 30px;
  font-size: 16.5px;
}

.mk-hero--neon .mk-hero__actions { justify-content: flex-start; margin-top: 0; gap: 14px; }
.mk-hero--neon .mk-hero__cta { gap: 10px; }
.mk-hero--neon .btn-primary.mk-hero__cta {
  background: linear-gradient(92deg, #5b57f0, #4f7dff);
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(79, 125, 255, .35);
}
.mk-hero--neon .btn-primary.mk-hero__cta:hover { filter: brightness(1.08); }
.mk-hero--neon .btn-ghost.mk-hero__cta {
  border-color: rgba(255, 255, 255, .26);
  color: #e7ecf8;
  background: transparent;
}
.mk-hero--neon .btn-ghost.mk-hero__cta:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05);
}

.mk-hero--neon .mk-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: #97a1bd;
}
.mk-hero--neon .mk-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
}
.mk-hero--neon .mk-hero__trust li:first-child { padding-left: 0; }
.mk-hero--neon .mk-hero__trust li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.mk-hero--neon .mk-hero__trust svg { color: #8b9dff; flex: none; }

.mk-hero--neon .mk-hero__art {
  width: 100%;
  max-width: 540px;
  margin: 0;
  justify-self: end;
}
.mk-hero--neon .mk-hero__art svg { width: 100%; height: auto; display: block; }

/* The technology strip closes the dark band. */
.mk-hero__tech {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 48px;
  padding: 20px 0 24px;
}
.mk-hero__techlabel {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #767f9c;
  margin-bottom: 14px;
}
.mk-hero__tech ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mk-hero__tech li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #9aa4c0;
}
.mk-hero__tech svg { color: #aab6d8; flex: none; }

@media (max-width: 980px) {
  .mk-hero--neon .mk-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .mk-hero--neon h1 { max-width: none; }
  .mk-hero--neon .mk-hero__art { justify-self: center; max-width: 460px; }
}
@media (max-width: 560px) {
  .mk-hero--neon .mk-hero__trust li { padding: 0 12px; }
  .mk-hero--neon .mk-hero__art { max-width: 360px; }
}

/* ---- Section heads ------------------------------------------------------- */

.mk-section { padding: 68px 0; }
.mk-section--tint { background: var(--surface-3); border-block: 1px solid var(--line); }

.mk-head { margin-bottom: 40px; }
.mk-head--center { text-align: center; }
.mk-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.mk-head p { color: var(--muted); font-size: 16px; max-width: 62ch; }
.mk-head--center p { margin-inline: auto; }

/* The uppercase tracked eyebrow in the brand blue — the signature label
   style (Voltagent runs 14px/600 with 2.52px tracking). */
.mk-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 12px;
}

/* ---- Landing: three-up value panels ------------------------------------ */

.mk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* NOTE: the card rule that used to sit here (.mk-panel { padding; border;
   radius; background }) was dead — no markup uses .mk-panel as a value card —
   but it collided with the header dropdown's .mk-panel (nav.css). Its
   `border: 1px solid var(--line)` survived there (nav.css sets padding and
   background but no border), painting a full-width light-grey outline around
   the transparent positioning layer every time a dropdown opened — two lines
   across the dark hero that read as a stray white box beside the menu card.
   Removed rather than overridden: nothing else used it. */
.mk-panel h3 { font-size: 16.5px; margin-bottom: 8px; }
.mk-panel p { font-size: 14px; color: var(--muted); }

.mk-more { margin-top: 26px; }

/* ---- the catalogue band (dark, neon) ---------------------------------- */
/* The homepage's one dark section, redesigned from the "Neon Services
   Overview" reference (Oct 2026): headline + three promises, department
   pills that filter the grid in place, one card per service, and a closing
   line for custom projects. It replaces the old brand-blue list band
   (mk-bundle / mk-section--blue), which only this page ever used. */
.mk-catalog {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(99, 91, 255, .28), transparent 60%),
    radial-gradient(700px 380px at 5% 110%, rgba(12, 135, 234, .12), transparent 60%),
    #070b16;
  border-block: 1px solid rgba(255, 255, 255, .07);
  color: #e7ecf8;
}
.mk-catalog .mk-eyebrow { color: #9aa4ff; }
/* The 26px dash that used to sit before the eyebrow (— THE CATALOGUE) is
   removed per user request: it read as a stray line beside the heading. */

.mk-catalog__head {
  display: grid;
  /* One column: the three-promise list that shared this header with the
     intro was removed on request, so the intro runs the full width. */
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  /* 46px, not the original 34px: the department pill row that used to sit
     between this header and the grid is gone, and 34px left the grid looking
     rushed straight after a two-column header. */
  margin-bottom: 46px;
}
.mk-catalog__intro h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
  max-width: 18ch;
}
.mk-catalog__grad {
  background: linear-gradient(90deg, #7b7bff, #4f8dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-catalog__intro p {
  color: #97a1bd;
  font-size: 15.5px;
  max-width: 52ch;
}

/* Compact rows, not full cards: the homepage catalogue shows only service
   titles and their entry price (descriptions, turnarounds and department
   chips were removed on request). Three columns of three, filled column by
   column (down, not across), so the first three services read top-to-bottom
   in the first column instead of running left-to-right across a row. */
.mk-catalog__grid {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
}
.mk-catalog__grid[hidden] { display: none; }

.mk-ccard {
  display: flex;
  min-width: 0;
}
.mk-ccard[hidden] { display: none; }
.mk-ccard__link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.mk-ccard__link:hover {
  border-color: rgba(123, 123, 255, .55);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .4);
}
.mk-ccard__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 91, 255, .14);
  border: 1px solid rgba(123, 123, 255, .35);
  color: #9d9bff;
}
.mk-ccard[data-cat='web-web3-engineering'] .mk-ccard__icon {
  background: rgba(12, 135, 234, .14);
  border-color: rgba(12, 135, 234, .4);
  color: #5aa8f7;
}
.mk-ccard[data-cat='financial-services'] .mk-ccard__icon {
  background: rgba(16, 185, 129, .13);
  border-color: rgba(16, 185, 129, .38);
  color: #34d399;
}
.mk-ccard__link h3 {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
.mk-ccard__price {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: #9d9bff;
}
.mk-ccard[data-cat='web-web3-engineering'] .mk-ccard__price { color: #5aa8f7; }
.mk-ccard[data-cat='financial-services'] .mk-ccard__price { color: #34d399; }
.mk-ccard__arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #cdd5ea;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.mk-ccard__link:hover .mk-ccard__arrow {
  background: #4f7dff;
  border-color: #4f7dff;
  color: #fff;
}

.mk-catalog__foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 15px;
  color: #97a1bd;
}
.mk-catalog__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-weight: 600;
  color: #6f9dff;
  text-decoration: none;
}
.mk-catalog__foot a:hover { color: #a5c1ff; text-decoration: underline; }

@media (max-width: 1100px) {
  /* Below three columns the column flow stops making sense, so the grid
     returns to a normal two-column row flow. */
  .mk-catalog__grid {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mk-ccard__link h3 { font-size: 14.5px; }
  .mk-ccard__price { font-size: 13.5px; }
}
@media (max-width: 700px) {
  .mk-catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .mk-ccard__link h3, .mk-ccard__price { font-size: 15px; }
}
@media (max-width: 640px) {
  .mk-catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .mk-catalog__intro h2 { max-width: none; }
}

.mk-cta {
  max-width: 640px;
  /* Without the auto margins the block was centred on its own text but
     pinned to the left edge of the section — the heading sat under the
     pricing cards' left margin instead of under the page's centre line. */
  margin-inline: auto;
  text-align: center;
}
.mk-cta h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.mk-cta p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }

.mk-steps--center { max-width: 620px; margin-inline: auto; }

.mk-results__title { font-size: 26px; }
.mk-results__count { margin-bottom: 16px; font-size: 14px; color: var(--muted); }

.mk-link { color: var(--brand-700); font-weight: 600; }
.mk-link:hover { text-decoration: underline; }

.mk-prose { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.mk-prose h2 { margin-top: 0; }
.mk-prose p { color: var(--muted); font-size: 14.5px; }

.mk-formbox__title { font-size: 19px; margin-bottom: 18px; }
.mk-submit { width: 100%; }

/* Homepage contact block: the same fields the contact page once asked for,
   cut to name, email and one brief. Left-aligned inside the otherwise
   centred .mk-cta, and narrowed so the short form reads as a form, not a
   page-wide band. */
.mk-quickform {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.mk-quickform .mk-field textarea { min-height: 96px; }
.mk-quickform .mk-formnote { margin-top: 14px; }
.mk-formnote {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Honeypot: removed from the layout but still focusable by a script. */
.mk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Pricing ------------------------------------------------------------ */

.mk-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.mk-pricecard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.mk-pricecard--featured {
  border-color: var(--brand-600);
  box-shadow: 0 12px 36px rgba(12, 135, 234, .12);
}

.mk-pricecard__tag {
  position: absolute;
  top: -11px; left: 26px;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--brand-650);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mk-pricecard h3 { font-size: 18px; margin-bottom: 4px; }
.mk-pricecard__blurb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.mk-pricecard__amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 22px;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.mk-pricecard__amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.mk-pricecard .mk-ticks { flex: 1; margin-bottom: 24px; }
.mk-pricecard .btn { width: 100%; }

/* ---- Tech stack --------------------------------------------------------- */

.mk-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.mk-stack span {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- Footer socials ----------------------------------------------------- */

.mk-social { display: flex; gap: 8px; margin-top: 18px; }
.mk-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #2e2e35;
  border-radius: var(--r-sm);
  color: #d4d4d8;
  transition: border-color .15s ease, color .15s ease;
}
.mk-social a:hover { border-color: var(--brand-400); color: var(--brand-400); text-decoration: none; }
.mk-social svg { display: block; }

/* ---- Browse layout (results) ---------------------------------------------- */
/* The checkbox filter rail that used to open this block was removed on
   request; the grid takes the full width and search, sort and the
   show-more slice keep working. */

.mk-browse {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0 72px;
}

.mk-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-range input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13.5px;
}
.mk-range input:focus { outline: none; border-color: var(--brand-400); }

/* ---- Results header ------------------------------------------------------ */

.mk-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mk-results__count { font-size: 15px; color: var(--muted); }
.mk-results__count strong { color: var(--ink); }

.mk-sort { display: flex; align-items: center; gap: 8px; }
.mk-sort select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2371717a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 13.5px;
  color: var(--ink-2);
  appearance: none;
  cursor: pointer;
}
.mk-sort select:focus { outline: none; border-color: var(--brand-400); }

/* ---- Service card -------------------------------------------------------- */

.mk-list { display: flex; flex-direction: column; gap: 16px; }

.mk-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease,
              transform .16s ease;
}
/* Hairline + quiet glow on hover, never a material lift (Voltagent). */
.mk-card:hover {
  border-color: var(--brand-400);
  box-shadow: var(--sh-2);
}

.mk-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 20px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--brand-50), #f2f5ff);
  font-size: 46px;
}
/* The illustration fills the media column edge to edge, so it sits outside
   the 20px padding the department-icon fallback uses. The badge still paints
   on top: it is positioned, and it comes after the svg in the markup. */
.mk-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mk-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--brand-700);
}

.mk-card__body { padding: 18px 20px; display: flex; flex-direction: column; }

.mk-card__seller {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mk-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-650);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mk-card__seller a { font-size: 13.5px; font-weight: 600; }
.mk-card__seller a:hover { color: var(--brand-700); }
.mk-dot { color: var(--muted-2); font-size: 12px; }

.mk-stars { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.mk-stars svg { fill: var(--amber); }
.mk-stars span { color: var(--ink-2); font-weight: 600; }
.mk-stars em { font-style: normal; color: var(--muted); }

.mk-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.mk-card h3 a:hover { color: var(--brand-700); }

.mk-card__excerpt {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mk-chip {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.mk-chip--link:hover { background: var(--brand-50); color: var(--brand-700); }

.mk-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}
.mk-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.mk-price { text-align: right; flex-shrink: 0; }
.mk-price strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.mk-price span { font-size: 12.5px; color: var(--muted); }

/* Sticky CTA square on the card's right edge, as on Upwork result rows. */
.mk-card__cta {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: all .16s ease;
}
/* Blue fill + white glyph, the same treatment as the buttons. */
.mk-card:hover .mk-card__cta {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

/* Empty state */
.mk-empty {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--surface-3);
}
.mk-empty h3 { font-size: 17px; margin-bottom: 6px; }
.mk-empty p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---- Detail page --------------------------------------------------------- */

.mk-crumbs {
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mk-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  list-style: none; margin: 0; padding: 0;
}
.mk-crumbs li::after { content: '/'; margin-left: 7px; color: var(--muted-2); }
.mk-crumbs li:last-child::after { content: none; }
.mk-crumbs a:hover { color: var(--brand-700); text-decoration: underline; }

.mk-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 40px;
  align-items: start;
  padding: 32px 0 72px;
}

.mk-detail__title { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 14px; }

.mk-detail__metarow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.mk-detail__metarow .mk-stars { font-size: 13.5px; }

.mk-detail h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}
.mk-detail h2:first-child { margin-top: 0; }
.mk-detail p { color: var(--ink-2); margin-bottom: 14px; }

.mk-overview { font-size: 16px; color: var(--ink-2); line-height: 1.65; }

.mk-ticks { list-style: none; margin: 0; padding: 0; }
.mk-ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 13px;
  color: var(--ink-2);
}
.mk-ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5l3 3 6-6' stroke='%230c87ea' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* Process timeline */
/* A checked list of benefits — same shape as .mk-steps but with a tick
   instead of a step number, for "what an account gets you" copy. */
.mk-ticks { margin: 0; padding: 0; list-style: none; }
.mk-ticks li {
  position: relative;
  padding: 0 0 18px 32px;
}
.mk-ticks li:last-child { padding-bottom: 0; }
.mk-ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-50, #e8f3fe);
}
.mk-ticks li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}
.mk-ticks strong { display: block; font-size: 15.5px; }
.mk-ticks span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }

.mk-steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.mk-steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 22px 48px;
  border-left: 2px solid var(--line);
  margin-left: 13px;
}
.mk-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.mk-steps li::before {
  content: counter(step);
  position: absolute;
  left: -14px; top: -3px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand-600);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mk-steps strong { display: block; margin-bottom: 3px; font-size: 15px; }
.mk-steps span { font-size: 14px; color: var(--muted); }

/* ---- Sticky detail sidebar ---------------------------------------------- */

.mk-aside {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-2);
  overflow: hidden;
}

.mk-aside__seller {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.mk-aside__seller .mk-avatar { width: 40px; height: 40px; font-size: 15px; }
.mk-aside__seller b { display: block; font-size: 15px; }
.mk-aside__seller span { font-size: 13px; color: var(--muted); }

.mk-aside__block { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mk-aside__block:last-child { border-bottom: 0; }

.mk-aside__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.mk-aside__price strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.mk-aside__price span { font-size: 14px; color: var(--muted); }

.mk-aside .btn { width: 100%; margin-bottom: 10px; }

.mk-spec { display: flex; flex-direction: column; gap: 11px; }
.mk-spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
}
.mk-spec__row dt { color: var(--muted); flex-shrink: 0; }
.mk-spec__row dd { margin: 0; font-weight: 600; text-align: right; }

.mk-aside__note {
  padding: 12px 20px;
  background: var(--surface-3);
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---- Forms --------------------------------------------------------------- */

.mk-field { margin-bottom: 18px; }
.mk-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
}
.mk-field input,
.mk-field textarea,
.mk-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-field textarea { resize: vertical; min-height: 130px; }
.mk-field input:focus,
.mk-field textarea:focus,
.mk-field select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.mk-field input::placeholder, .mk-field textarea::placeholder { color: #646975; }
.mk-field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* Inline validation, shown on the field itself rather than only in the alert
   box at the top of the form. A mismatch on "Confirm password" is the one
   error a visitor can fix without scrolling back up to read what went wrong,
   and aria-invalid plus the red border mean it is not signalled by colour
   alone. */
.mk-field__error {
  color: var(--red);
  font-weight: 600;
}
.mk-field__error:empty { display: none; }
.mk-field.is-invalid input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .14);
}
.mk-field.is-invalid input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .2);
}

.mk-formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.mk-formbox {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-1);
}

.mk-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 18px;
}
.mk-alert.is-visible { display: block; }
.mk-alert--ok { background: var(--brand-50); color: var(--green-dark); border: 1px solid var(--brand-200); }
.mk-alert--err { background: #fdeced; color: var(--red); border: 1px solid #f8c9cc; }

/* ---- Footer -------------------------------------------------------------- */

/* The dark footer band — black, with body-grey text. */
.mk-footer {
  background: #0a0a0a;
  color: #bdbdbd;
  padding: 56px 0 0;
  margin-top: auto;
}
.mk-footer a { color: #d4d4d8; font-size: 14px; }
.mk-footer a:hover { color: #fff; text-decoration: underline; }

.mk-footer__top {
  display: grid;
  /* One brand block + six grouped link columns (AI & Automation,
     Development & IT, Blockchain & Web3, Company, Resources, Legal) — the
     grouping the enterprise redesign asked for, collapsed to 3 / 2 / 1
     columns at the breakpoints below. */
  grid-template-columns: 1.6fr repeat(6, 1fr);
  gap: 32px;
  padding-bottom: 44px;
}

@media (max-width: 1240px) {
  .mk-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .mk-footer__brand { grid-column: 1 / -1; }
}
.mk-footer__brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 34ch;
}
.mk-footer h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mk-footer ul { list-style: none; margin: 0; padding: 0; }
.mk-footer li { margin-bottom: 10px; }

.mk-newsletter { display: flex; margin-top: 16px; max-width: 320px; }
.mk-newsletter input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #2e2e35;
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: #17171d;
  color: #fff;
  font-size: 14px;
}
.mk-newsletter input::placeholder { color: #71717a; }
.mk-newsletter input:focus { outline: none; border-color: var(--brand-500); }
.mk-newsletter button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--brand-650);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.mk-newsletter button:hover { background: var(--brand-700); }
.mk-newsletter button:disabled { opacity: .6; cursor: default; }

/* The form's only feedback channel. Without it a rejected address produced no
   visible change at all, which reads as a dead button rather than a mistake. */
.mk-newsletter__msg {
  display: none;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.mk-newsletter__msg.is-visible { display: block; }
.mk-newsletter__msg--ok { color: var(--brand-300); }
.mk-newsletter__msg--err { color: #fca5a5; }

.mk-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #232329;
  font-size: 13.5px;
}

/* ---- Page shell ---------------------------------------------------------- */

.mk-page { display: flex; flex-direction: column; min-height: 100vh; }
.mk-main { flex: 1; }

/* ---- Contact ------------------------------------------------------------- */

/* One centred header, one two-column band, one quiet legal row. The page
   deliberately has no sidebar chrome and no category strip — the form is the
   only thing here that asks for action. */
.mk-contact { padding: 56px 0 72px; }

.mk-contact__head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.mk-contact__head h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.mk-contact__head p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }

.mk-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
  gap: 48px;
  align-items: start;
}

.mk-contact__info h2 { font-size: 19px; margin-bottom: 16px; }
.mk-contact__info .mk-steps { margin-bottom: 0; }

.mk-contact__direct {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mk-contact__direct h2 { font-size: 16px; margin-bottom: 8px; }
.mk-contact__direct .mk-link { font-weight: 600; }

.mk-contact__legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.mk-contact__legal .mk-prose h2 { font-size: 15px; margin-bottom: 8px; }
.mk-contact__legal .mk-prose p { font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .mk-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mk-contact__legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---- Mobile -------------------------------------------------------------- */

@media (max-width: 1024px) {
  .mk-detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .mk-nav { display: none; }
  /* The burger has to appear at the same breakpoint the nav disappears —
     otherwise the 821–1024px band gets neither nav links nor a drawer
     toggle (the original regression: burger was on the 820 breakpoint
     while the nav left at 1024). */
  .mk-burger { display: flex; }
  /* With the nav gone the grid's middle (auto) track collapses, so the
     actions landed in it — the burger sat in the centre of the bar instead of
     on the right edge. Pin it to the last track, which is what anchors the
     right-hand side on desktop. */
  .mk-headeractions { grid-column: 3; justify-self: end; }
}

@media (max-width: 820px) {
  .wrap { padding-inline: 18px; }
  .mk-grid-3, .mk-pricing { grid-template-columns: 1fr; }
  .mk-header__bar { gap: 12px; }
  .mk-headsearch { display: none; }
  /* The Contact us button leaves with the nav — the drawer carries it. */
  .mk-headeractions .btn { display: none; }

  .mk-hero { padding: 44px 0 52px; }
  .mk-hero__search { flex-direction: column; }
  .mk-hero__search .btn { width: 100%; }

  .mk-section { padding: 52px 0; }

  .mk-card { grid-template-columns: minmax(0, 1fr); }
  .mk-card__media {
    min-height: 148px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mk-detail { grid-template-columns: minmax(0, 1fr); }
  .mk-aside { position: static; }

  .mk-formrow { grid-template-columns: 1fr; }
  .mk-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mk-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .mk-footer__top { grid-template-columns: 1fr; }
  .mk-card__foot { flex-direction: column; align-items: flex-start; }
  .mk-price { text-align: left; }
}

/* Mobile drawer — the off-canvas nav behind .mk-burger */
.mk-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--surface);
  padding: 20px 18px 40px;
  overflow-y: auto;
  display: none;
}
.mk-drawer.is-open { display: block; }
.mk-drawer a:not(.btn) {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 16px;
  font-weight: 500;
}
.mk-drawer .mk-drawer__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk-drawer .mk-drawer__actions .btn { width: 100%; }

/* Drawer variant of the mega menu. Below 860px the panel is display:none, so
   the taxonomy has to be reachable here or mobile has no route into it.
   Collapsed by default: the row carries the link and its disclosure button,
   and the panel only shows when the button has been tapped. */
.mk-drawer__row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--line-2);
}
.mk-drawer__row > a {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: 0;
}
.mk-drawer__acc {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: #646975;
  cursor: pointer;
}
.mk-drawer__acc[aria-expanded='true'] { color: var(--brand-700); }
.mk-drawer__acc[aria-expanded='true'] svg { transform: rotate(180deg); }
.mk-drawer__acc svg { transition: transform .16s ease; }
.mk-drawer__acc:focus-visible { outline: 2px solid var(--brand-600); outline-offset: -4px; }

.mk-drawer__mega {
  margin: 2px 0 10px;
  padding: 4px 0 10px 16px;
  border-left: 2px solid var(--line-2);
}

/* Mirrors .mk-panel__soon so a parked item reads identically in the drawer. */
.mk-drawer__soon {
  margin: 4px 0 10px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.mk-drawer__group + .mk-drawer__group { margin-top: 16px; }

.mk-drawer__cat {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #646975;
}

.mk-drawer__sub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 16px;
}

.mk-drawer__link {
  padding: 9px 0;
  border-bottom: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.mk-drawer__link:hover { color: var(--brand-700); }

/* ---- marketplace grid system --------------------------------------------
   The site is built from repeated, comparable units: a service is a card, a
   step is a numbered cell. These rules give them the same rhythm so a page
   scans as a system rather than a stack of unrelated blocks. */

/* Numbered steps as three comparable cells rather than a prose list. */
.mk-steps--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mk-steps--row li {
  border-left: 0;
  border-top: 2px solid var(--line);
  margin-left: 0;
  padding: 22px 0 0;
}
.mk-steps--row li::before { left: 0; top: -14px; }
.mk-steps--row li:last-child { border-left-color: transparent; }

/* Two engagement modes, same card language as every other unit on the page. */
.mk-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.mk-mode {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.mk-mode h3 { font-size: 17px; margin-bottom: 8px; }
.mk-mode p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }

@media (max-width: 760px) {
  .mk-steps--row,
  .mk-modes { grid-template-columns: 1fr; }
}

/* ---- marketplace blocks: finder, calculator, roster ------------------- */

/* ---- guided finder ------------------------------------------------------- */

/* The finder replaces the questions with one result, so the two states share a
   card rather than sitting in two different places on the page. */
.mk-finder {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 28px 30px 24px;
}

.mk-finder__q {
  margin: 0;
  padding: 0;
  border: 0;
}
.mk-finder__q[hidden] { display: none; }

.mk-finder__legend {
  display: block;
  padding: 0;
  margin-bottom: 18px;
}

.mk-finder__step {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.mk-finder__qtitle {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.mk-finder__hint {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* Options are a 2-up grid rather than a stack: the visitor is comparing
   answers, not reading them in sequence, and side by side makes the choice
   visible at a glance. */
.mk-finder__opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mk-finder__opt {
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.mk-finder__opt:hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-800);
}

.mk-finder__opt:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.mk-finder__opt.is-picked {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 600;
}

.mk-finder__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.mk-finder__skip {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.mk-finder__skip:hover { color: var(--brand-700); }

.mk-finder__result[hidden] { display: none; }

.mk-finder__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 12px;
}

.mk-finder__match { margin-bottom: 22px; }

/* The alternatives are a quiet list, not cards — they are context for the
   match above them, and three full cards would out-shout it. */
.mk-finder__also {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.mk-finder__also > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.mk-finder__alsolist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.mk-finder__alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.mk-finder__alt span { color: var(--muted); font-weight: 500; }
.mk-finder__alt:hover { border-color: var(--brand-600); color: var(--brand-700); }

/* ---- cost calculator ------------------------------------------------------ */

/* A dark band, deliberately unlike the rest of the page: this is the one
   section that exists to be operated rather than read. */
.mk-calcwrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  margin-top: 44px;
  padding: 32px 34px;
  border-radius: var(--r-lg);
  background: #10131a;
  color: #fff;
}

.mk-calcwrap h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.mk-calcwrap p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}

.mk-calcwrap__foot {
  margin-top: 12px;
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, .5) !important;
}

.mk-calc {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
}

.mk-calc__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mk-calc__field {
  display: block;
  min-width: 0;
}

/* The rollout control is three buttons and spans both columns. */
.mk-calc__field:last-child { grid-column: 1 / -1; }

.mk-calc__field > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 7px;
}

.mk-calc select {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Native option lists are painted by the OS, so they need a light background
   or the text disappears on Windows and macOS. */
.mk-calc select option {
  background: #171b24;
  color: #fff;
}

.mk-calc select:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 1px;
}

.mk-calc__scopes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mk-calc__scope {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  font: inherit;
  color: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.mk-calc__scope strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.mk-calc__scope span {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .55);
}

.mk-calc__scope:hover { border-color: rgba(255, 255, 255, .4); }

.mk-calc__scope.is-on {
  border-color: var(--brand-500);
  background: rgba(47, 128, 245, .16);
}

.mk-calc__scope:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.mk-calc__out {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.mk-calc__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 4px;
}

/* Tabular figures so the number does not jitter as the inputs change. */
.mk-calc__figure {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mk-calc__basis {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}

/* ---- role cards ---------------------------------------------------------- */

/* These are the homepage roster cards. They used to be emitted as mk-role*,
   which nav.css already owned for /hire-talent/, and the stylesheet block was
   never renamed along with the markup — so the rules landed on the hire-talent
   page and the homepage cards shipped with no styling at all. The prefix is
   mk-mrole* for exactly that reason, and scripts/check-classes.cjs fails the
   build if one page picks up another's block. */

.mk-roster { margin-top: 48px; }

.mk-roster > h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

.mk-mroles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* A flex column so the CTA pins to the bottom of every card and all four line
   up, however long their summaries run. No bottom padding — the CTA is
   full-bleed to the card edge and supplies its own. */
.mk-mrole {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .16s ease;
}

.mk-mrole:hover { border-color: var(--brand-600); }

/* Name first and on its own line: it is the anchor the eye lands on and
   everything below it qualifies it. */
.mk-mrole__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Rate and availability share one line. They were on separate lines before,
   which split the two facts a buyer scans for and left them on different
   baselines in every card. */
.mk-mrole__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* The rate is the reason this block exists, so it gets the emphasis. */
.mk-mrole__rate {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}

.mk-mrole__avail.is-now { color: var(--brand-700); }

.mk-mrole__avail.is-now::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  vertical-align: middle;
}

/* The skill axis, derived from the services this role delivers — it links to
   the department so the mapping works in both directions. */
.mk-mrole__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.mk-mrole__tags a {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: none;
}

.mk-mrole__tags a:hover {
  background: var(--surface-3, #eeeef0);
  color: var(--brand-700);
}

/* Clamped so a two-line summary and a three-line summary leave the service
   list starting at the same height in all four cards. */
.mk-mrole__summary {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* The services replace the old "3 services" count: the same three, named and
   priced, and clickable. mk-linkrow is a shared component so the rows match
   the ones in the department tabs above. */
.mk-mrole__services {
  margin: 0 0 16px;
  padding-top: 4px;
  border-top: 1px solid var(--line-2);
}

.mk-mrole__serviceslabel {
  display: block;
  margin: 8px 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mk-mrole__services .mk-linkrow {
  padding: 7px 8px;
  font-size: 13px;
}

/* One action per card, full width, pinned to the bottom. The count used to sit
   here as grey text beside it, which read as a button with nothing behind it. */
.mk-mrole__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -20px 0;
  padding: 13px 20px;
  border-top: 1px solid var(--line-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none;
  transition: background-color .12s ease;
}

.mk-mrole__cta::after { content: '→'; }

.mk-mrole:hover .mk-mrole__cta { background: var(--surface-2); }

.mk-mrole__cta:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: -2px;
}

/* ---- responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .mk-calcwrap { grid-template-columns: 1fr; gap: 28px; }
  .mk-mroles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .mk-finder { padding: 22px 20px 20px; }
  .mk-finder__opts { grid-template-columns: 1fr; }
  .mk-finder__nav { flex-wrap: wrap; }
  .mk-finder__skip { margin-left: 0; width: 100%; }
  .mk-calcwrap { padding: 24px 20px; }
  .mk-calc__controls { grid-template-columns: 1fr; }
  .mk-calc__scopes { grid-template-columns: 1fr; }
  .mk-mroles { grid-template-columns: 1fr; }
  .mk-calc__figure { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====================================================================
   /enterprise/ — redesigned page block (Oct 2026)

   One page, one prefix (mk-ent*): the class-ownership guard exists so a
   page-specific block cannot collide with a shared one, and this is a
   page-specific block. Shared pieces it layers on top of — .btn,
   .mk-head, .mk-section, .mk-pricing, .mk-panelcard, .mk-grid3,
   .mk-cta — keep their own definitions elsewhere.
   ==================================================================== */

/* ---- hero: dark, two columns, one diagram -------------------------- */

.mk-enthero {
  position: relative;
  background:
    radial-gradient(860px 440px at 88% -12%, rgba(108, 92, 255, .30), transparent 62%),
    radial-gradient(700px 380px at -4% 112%, rgba(47, 128, 245, .16), transparent 60%),
    #070b16;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #e7ecf8;
  padding: 84px 0 88px;
}
.mk-enthero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.mk-enthero__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aeb9ff;
  background: rgba(99, 91, 255, .14);
  border: 1px solid rgba(140, 150, 255, .38);
  border-radius: var(--r-pill);
  padding: 6px 15px;
  margin-bottom: 24px;
}
.mk-enthero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -.022em;
  font-weight: 700;
  color: #fff;
  max-width: 17ch;
  margin: 0 0 20px;
}
.mk-enthero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: #aab4d0;
  max-width: 56ch;
  margin: 0 0 34px;
}
.mk-enthero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* The dark hero's ghost button: the base .btn-ghost text (var(--ink-2)) is
   near-black and disappears against this band — 1.9:1. Same treatment the
   neon hero already gives its own ghost CTA. */
.mk-enthero .btn-ghost {
  border-color: rgba(255, 255, 255, .26);
  color: #e7ecf8;
  background: transparent;
}
.mk-enthero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05);
}
.mk-enthero__art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* The diagram is the page's only ambient motion: the connector dashes drift
   toward the orchestration layer. Hover lifts a node's stroke so the four
   systems feel addressable. The global reduced-motion block above stops both. */
.ent-flow path { animation: ent-flow 22s linear infinite; }
@keyframes ent-flow { to { stroke-dashoffset: -240; } }
.entnode rect { transition: stroke .2s ease, fill .2s ease; }
.entnode:hover rect {
  stroke: rgba(165, 175, 255, .8);
  fill: rgba(99, 91, 255, .16);
}

/* ---- capabilities: 2×2, one identity per discipline ------------------ */

.mk-entcaps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mk-entcaps__card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mk-entcaps__card:hover {
  border-color: #cbd7f0;
  box-shadow: 0 18px 34px -22px rgba(14, 23, 38, .3);
  transform: translateY(-2px);
}
.mk-entcaps__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mk-entcaps__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.mk-entcaps__icon {
  display: inline-flex;
  color: var(--brand-600);
}
/* Four disciplines, four quiet identities — blue, brand, ink, deep blue —
   kept inside the brand's own palette rather than four invented hues. */
.mk-entcaps__card:nth-child(1) .mk-entcaps__mark { background: #6d5cff; }
.mk-entcaps__card:nth-child(1) .mk-entcaps__icon { color: #6d5cff; }
.mk-entcaps__card:nth-child(2) .mk-entcaps__mark { background: var(--brand-600); }
.mk-entcaps__card:nth-child(3) .mk-entcaps__icon { color: var(--ink-2); }
.mk-entcaps__card:nth-child(4) .mk-entcaps__mark { background: var(--brand-800); }
.mk-entcaps__card:nth-child(4) .mk-entcaps__icon { color: var(--brand-700); }
.mk-entcaps__card h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.mk-entcaps__card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  margin: 0 0 16px;
}
.mk-entcaps__points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.mk-entcaps__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.mk-entcaps__points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .3em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--brand-500);
  border-bottom: 2px solid var(--brand-500);
  transform: rotate(-45deg);
}
.mk-entcaps__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none;
}
.mk-entcaps__link:hover { color: var(--brand-800); text-decoration: underline; }
.mk-entcaps__link:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }
.mk-entcaps__link svg { transition: transform .15s ease; }
.mk-entcaps__link:hover svg { transform: translateX(3px); }

/* ---- honesty note under engagement / engineering ---------------------- */

.mk-entnote {
  max-width: 66ch;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- scope tags on the engineering practice cards --------------------- */

.mk-entscope {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid;
  margin-bottom: 12px;
}
.mk-entscope--incl {
  color: var(--brand-700);
  background: var(--brand-50);
  border-color: var(--brand-200);
}
.mk-entscope--contract {
  color: #5546d8;
  background: #f2f0ff;
  border-color: #d9d4ff;
}
.mk-entscope--managed {
  color: var(--ink-2);
  background: var(--surface-2);
  border-color: var(--line);
}
.mk-entscope--arch {
  color: var(--muted);
  background: transparent;
  border-color: var(--muted-2);
  border-style: dashed;
}

/* ---- engineering practice cards: 3 + 3 --------------------------------- */

.mk-enteng {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ---- final CTA actions ------------------------------------------------ */

.mk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---- footer contact line in the brand block --------------------------- */

.mk-footer__contact { margin-top: 10px; }
.mk-footer__contact a { color: #8ec0ff; }
.mk-footer__contact a:hover { color: #bcd9ff; }

/* ---- responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
  .mk-enthero { padding: 64px 0 68px; }
  .mk-enthero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .mk-enthero h1 { max-width: 20ch; }
  .mk-enthero__art { max-width: 560px; margin: 0 auto; }
  .mk-enteng { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .mk-entcaps { grid-template-columns: minmax(0, 1fr); }
  .mk-enteng { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .mk-enthero { padding: 52px 0 56px; }
  .mk-enthero__actions { flex-direction: column; }
  .mk-enthero__actions .btn { width: 100%; justify-content: center; }
  .mk-entcaps__card { padding: 24px 22px; }
  .mk-cta__actions { flex-direction: column; }
  .mk-cta__actions .btn { width: 100%; justify-content: center; }
}
