/*
 * Header navigation — a proper mega menu.
 *
 * The earlier version was a full-bleed panel with a plain link list, which read
 * as unmanaged: it hit the viewport edges, had no visual container, no active
 * state and no keyboard affordances. This rebuild gives it a bounded card,
 * a scrim, column headers, per-link hover states and visible focus rings.
 *
 * Load order matters: this comes after site.css, so the rules below win on
 * equal specificity.
 */

/* ---- nav list ------------------------------------------------------------ */

.mk-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-nav__item {
  /* The panel is positioned against the header, not this li — anchoring to the
     li would push the right-hand menus off the viewport, because the nav is
     left-aligned in the bar. The card itself carries the nav anchor instead. */
  position: static;
}

.mk-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.mk-nav__link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.mk-nav__link:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.mk-nav__link[aria-current='page'] {
  color: var(--brand-700);
  font-weight: 600;
}

/* The underline marks the open item, not the current page — two different
   states and they should not look alike. */
.mk-nav__item.is-open > .mk-nav__link {
  color: var(--brand-700);
  font-weight: 600;
  background: var(--surface-2);
}

.mk-nav__item.is-open > .mk-nav__link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-600);
}

.mk-nav__caret {
  opacity: .45;
  transition: transform .18s ease;
}

.mk-nav__item.is-open .mk-nav__caret {
  opacity: 1;
  transform: rotate(180deg);
}

/* ---- scrim --------------------------------------------------------------- */

/*
 * Dims the page behind an open panel so the menu reads as a layer above the
 * content rather than as part of the header.
 *
 * site.js injects this into the body on every page and it is fixed over the
 * whole viewport below the header, so it must not be hit-testable while it is
 * invisible. opacity:0 on its own does not stop hit testing: every click in
 * the body landed on the scrim, which ran closeAll() and did nothing else, so
 * nothing below the header was clickable. visibility is what takes it out of
 * the hit-test path; pointer-events says so explicitly as well, since the
 * element is invisible rather than absent.
 */
.mk-scrim {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 50;
  background: rgba(14, 23, 38, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mk-scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Where the nav begins inside the header bar: wrap padding + logo width + gap.
   The dropdown card is anchored to this offset so it starts at the nav's own
   section rather than at the page edge. --panel-inset mirrors the centred
   .wrap so the anchor holds on viewports wider than the wrap. */
:root {
  --nav-anchor: 162px;
  --panel-inset: max(0px, calc((100% - var(--wrap)) / 2 + var(--nav-anchor)));
}

/* ---- panel shell --------------------------------------------------------- */

/* A transparent full-width positioning layer: the card inside it does the
   anchoring. The 8px gap separates the card from the header bar, and the
   pointer path across it stays within the li, so the panel does not close on
   the way down. */
.mk-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  padding: 0;
  background: transparent;
}

.mk-panel.is-open {
  display: block;
  animation: mk-panel-in .18s ease both;
}

@keyframes mk-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* The visible card. It floats free of the header now, so it is a rounded box
   on all four corners with a full border and a shadow that separates it from
   the page behind. */
.mk-panel__inner {
  /* The anchor: the card starts at the nav item's own left edge, so the menu
     visibly hangs off the item that opened it. --panel-shift is that distance,
     measured and written by site.js on open, then clamped so the right-hand
     menus never run past the viewport.

     Before this, every card sat at the same fixed --panel-inset — the nav's
     left edge — so Hire Talent's menu started 98px to the left of its item,
     Agents' 211px and Enterprise's 300px. Services matched only because it
     happens to be the first item. */
  width: max-content;
  max-width: calc(100% - var(--panel-inset) - 32px);
  margin-left: var(--panel-inset);
  transform: translateX(var(--panel-shift, 0px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -24px rgba(14, 23, 38, .28), 0 2px 8px -4px rgba(14, 23, 38, .12);
}

/* The card sizes itself to its content, so the body and footer are just
   padding — no max-width and no centring, which would stretch the box back
   out to the page measure. */
.mk-panel__body {
  padding: 20px 26px 18px;
}

/* A parked nav item: the whole panel is one short notice, so it sizes to its
   own text rather than inheriting the rail grid's width. */
.mk-panel__soon {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 44ch;
  padding: 28px 32px 26px;
}

.mk-panel__soonbadge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--brand-600) 10%, transparent);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mk-panel__soontitle {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.mk-panel__soonbody {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.mk-panel__sooncta {
  margin: 6px 0 0;
}

.mk-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 11px 26px 13px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 0 0 calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px);
}

.mk-panel__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none;
}

.mk-panel__foot a::after {
  content: '→';
  transition: transform .15s ease;
}

.mk-panel__foot a:hover::after {
  transform: translateX(3px);
}

/* ---- mega menu: category rail + subcategory panel ------------------------
   Two areas, as specified: a vertical category rail on the left and the
   selected category's subcategories on the right. Height is capped so a
   five-item category and a seven-item category do not produce a menu of two
   very different heights, and the panel scrolls internally instead of growing
   the dropdown past the fold. */

/* A definite width, because the card sizes to content and a percentage track
   inside a max-content box would collapse to nothing. 34% of this is the rail,
   the remaining 66% holds two columns of subcategories. Trimmed ~a quarter on
   the owner's request — the old 1080×560 read as oversized under a 64px bar. */
.mk-mm {
  display: grid;
  width: 810px;
  max-width: 100%;
  /* 34%, not 26%: at the trimmed width the old share truncated every
     category past "Development". The rail keeps full names; the content
     column wraps a line earlier instead. */
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 28px;
  max-height: min(51vh, 420px);
}

/* ---- left rail ----------------------------------------------------------- */

.mk-mm__rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
  border-right: 1px solid var(--line-2);
  overflow-y: auto;
}

/* The rail is a tablist that only works with scripting. site.js sets no-js on
   <html> and removes it on load; until then, and for as long as scripting is
   unavailable, the category buttons would be dead. So drop the rail and stack
   every panel: the menu loses its one-at-a-time shape and keeps every link. */
.no-js .mk-mm__rail { display: none; }
.no-js .mk-mm__panel[hidden] { display: block; }
.no-js .mk-mm__panel + .mk-mm__panel {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.mk-mm__cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: var(--r-md);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.mk-mm__cat:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.mk-mm__cat:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: -2px;
}

.mk-mm__catname {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-mm__catcount {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* The chevron marks the active category and is the only thing that appears on
   selection — the background alone is too quiet to read as state. */
.mk-mm__chevron {
  flex: 0 0 auto;
  color: var(--brand-600);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.mk-mm__cat[aria-selected='true'] {
  background: var(--brand-50);
  color: var(--brand-800);
}
.mk-mm__cat[aria-selected='true'] .mk-mm__catcount {
  background: var(--brand-100);
  color: var(--brand-800);
}
.mk-mm__cat[aria-selected='true'] .mk-mm__chevron {
  opacity: 1;
  transform: none;
}

/* ---- right panel --------------------------------------------------------- */

.mk-mm__panels {
  min-width: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.mk-mm__panel[hidden] { display: none; }

.mk-mm__panelhead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.mk-mm__paneltitle {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mk-mm__panelblurb {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.mk-mm__panelcta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none;
  white-space: nowrap;
}
.mk-mm__panelcta:hover { color: var(--brand-800); }

/* Two fixed columns. The rail now takes only 26% of the panel, which leaves
   the content column wide enough for title + description on two lines at the
   same density as before — auto-fill would otherwise have fitted three and
   left each one cramped. */
.mk-mm__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  align-content: start;
}

.mk-mm__item {
  display: block;
  padding: 11px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background-color .16s ease;
}
.mk-mm__item:hover { background: var(--surface-2); }
.mk-mm__item:focus-visible { outline: 2px solid var(--brand-600); outline-offset: -2px; }

.mk-mm__itemhead {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.mk-mm__arrow {
  flex: 0 0 auto;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .16s ease, transform .16s ease;
}
.mk-mm__item:hover .mk-mm__arrow {
  opacity: 1;
  transform: none;
}

.mk-mm__itemdesc {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.mk-mm__item:hover .mk-mm__itemhead { color: var(--brand-700); }

/* ---- menu footer --------------------------------------------------------- */

.mk-panel__foot--mega {
  align-items: center;
  justify-content: space-between;
}

.mk-mm__explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-700);
  text-decoration: none;
}
.mk-mm__explore svg { transition: transform .16s ease; }
.mk-mm__explore:hover svg { transform: translateX(3px); }

.mk-panel__foothint {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- column dropdowns ----------------------------------------------------
   The secondary menus are not lists. Each one is labelled link columns with a
   tinted promo column on the right — the same three-part shape every time, so
   the eye lands in the same place whichever menu is open. */

/* A dropdown holding columns and a promo needs a definite measure, because the
   card sizes to its content and its grid tracks are fractions. */
.mk-menu {
  display: grid;
  width: 960px;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0 40px;
  align-items: stretch;
}

.mk-menu__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  align-items: start;
}

/* Menus that carry one group of links and no promo card (Services,
   Resources). The base rules above reserve a 320px aside column and a second
   link column regardless of what the menu holds, so both panels rendered as a
   960px card that was two-thirds empty. These shrink the grid to the content:
   one column, sized to the longest link, no dead aside track. */
/* Two-class selector on purpose: the 1100px media query below re-declares
   .mk-menu's width and columns, and equal specificity would put the 860px
   measure back on a menu that has no aside to fill it. */
.mk-menu.mk-menu--noaside {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: max-content;
  min-width: min(420px, 100%);
}

.mk-menu__cols.mk-menu__cols--single {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

/* The link list itself. It was emitting default <ul> bullets with the title
   and description running together on one line — no rule styled it outside the
   two-column case, and even that only reset max-width. */
.mk-drop {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.mk-drop a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-md);
  transition: background-color .15s ease;
}
.mk-drop a:hover { background: var(--surface-2); }
.mk-drop a:focus-visible { outline: 2px solid var(--brand-600); outline-offset: -2px; }

.mk-drop a strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.mk-drop a span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

/* The promo column reads as a column, not as a card floating under the links:
   it runs the full height of the panel and is separated by a rule. */
.mk-menu__aside {
  border-left: 1px solid var(--line-2);
  padding-left: 40px;
}

.mk-cols__col { min-width: 0; }

.mk-cols__col + .mk-cols__col {
  border-left: 1px solid var(--line-2);
  padding-left: 40px;
}

.mk-cols__title {
  display: block;
  margin-bottom: 10px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* The column owns its own width; the standalone max-width exists for the
   single-list case and would otherwise fight the grid. */
.mk-cols__col .mk-drop { max-width: none; }

.mk-feature {
  display: block;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  background: var(--brand-50);
  text-decoration: none;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.mk-feature:hover {
  border-color: var(--brand-200);
  box-shadow: var(--sh-2);
}
.mk-feature__title {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-800);
}
.mk-feature__body {
  display: block;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Three reasons, because a promo column with one line of copy reads as filler. */
.mk-feature__points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.mk-feature__points li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.mk-feature__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

.mk-feature__cta {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-700);
}
.mk-feature__cta::after { content: ' →'; }
.mk-feature:hover .mk-feature__cta { color: var(--brand-800); }

/* ---- secondary menu promo card ------------------------------------------ */

/* The rail and the subcategory grid need the full width, so the promo the
   secondary menus carry sits underneath them rather than beside them. It is a
   single tinted band, not a floating card — it reads as part of the panel. */
.mk-mmfeature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
  background: var(--brand-50);
}

.mk-mmfeature__title {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-800);
}

.mk-mmfeature__body {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* The checkmarks are a compact run rather than a stacked list, because this
   band is one line tall on most viewports. */
.mk-mmfeature__points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  flex: 0 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-mmfeature__points li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.mk-mmfeature__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}

.mk-mmfeature__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-700);
  text-decoration: none;
  white-space: nowrap;
}

.mk-mmfeature__cta:hover { color: var(--brand-800); }

.mk-mmfeature__cta svg { transition: transform .16s ease; }
.mk-mmfeature__cta:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) {
  /* Below this the points are dropped rather than wrapped: the band would
     otherwise grow to three lines and push the menu past the fold. */
  .mk-mmfeature { flex-wrap: wrap; gap: 10px 18px; }
  .mk-mmfeature__points { display: none; }
}

/* ---- page furniture ------------------------------------------------------ */

.mk-narrow {
  max-width: 760px;
}

.mk-grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.mk-panelcard {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.mk-panelcard h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.mk-panelcard p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---- breadcrumb ---------------------------------------------------------- */

/*
 * The /hire/ pages in the reference put a trail at the top of every landing
 * page, because they are all one level down from a directory and a visitor who
 * arrives from search needs to know where they are. Ours does the same, and
 * exists on this page only for now.
 */
.mk-crumb { margin-bottom: 22px; }
.mk-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.mk-crumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--muted-2);
}
.mk-crumb a { color: var(--muted); text-decoration: none; }
.mk-crumb a:hover { color: var(--brand-700); text-decoration: underline; }
.mk-crumb [aria-current='page'] { color: var(--ink-2); font-weight: 600; }

/* ---- talent cards (hire-talent) ----------------------------------------- */

/*
 * These deliberately carry .mk-card as well as .mk-tcard. The card shell — the
 * 260px media column, the body, the chips, the price anchored bottom-right —
 * is the same component /services/ uses, so the two pages are one layout and
 * not two that happen to look similar. Everything below only fills the shell
 * with a person instead of a service.
 */
.mk-tcard .mk-card__media {
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
}

.mk-tcard__avatar {
  width: 46px;
  height: 46px;
  font-size: 19px;
  flex: none;
}

.mk-tcard .mk-card__body { padding-bottom: 18px; }

/*
 * The name is the heading of the card and the availability sits beside it,
 * because the two facts a buyer scans a directory for are who this is and when
 * they can start. On /services/ that row is the seller line; here it is the
 * same row doing the same job.
 */
.mk-tcard .mk-card__seller {
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.mk-tcard__name {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.mk-tcard__status {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
  white-space: nowrap;
}

/* What this person actually delivers. Three rows, always real services. */
.mk-tcard__delivers {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.mk-tcard__delivers li {
  border-bottom: 1px solid var(--line);
}
.mk-tcard__delivers a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.mk-tcard__delivers a:hover { color: var(--brand-700); }

.mk-tcard .mk-card__foot { margin-top: auto; padding-top: 14px; }

.mk-steps--wide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  display: grid;
}

/* ---- narrow screens ------------------------------------------------------ */

@media (max-width: 1100px) {
  /* The category rail narrows before the panel gives up its second column, so
     the subcategory names keep their line length as long as possible. */
  .mk-mm {
    width: 705px;
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 22px;
  }

  .mk-mm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
  }

  /* The promo column moves below the links before it gets too narrow to read. */
  .mk-menu {
    width: 860px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mk-menu__aside {
    border-left: 0;
    border-top: 1px solid var(--line-2);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 860px) {
  .mk-menu__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .mk-cols__col + .mk-cols__col {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  /* Below this the header collapses into the drawer, which already lists
     every nav item — so the panels and scrim are removed rather than left
     half-usable. */
  .mk-panel,
  .mk-scrim {
    display: none !important;
  }
}

/* ---- Agents menu: promo aside + outcomes grid --------------------------- */

/* Not the department rail. The rail answers "which discipline"; this one
   answers "what can I get an agent to do", so it is an aside and a grid rather
   than a tablist. 22/78 split: the aside is promotional and reads fine narrow,
   the cards need the width for title + description on one line each. */
.mk-oc {
  position: relative;
  display: grid;
  grid-template-columns: 22% minmax(0, 1fr);
  gap: 32px;
  width: 820px;
}

/* The brand mark as a watermark: top-right, behind the content, 10% opacity.
   pointer-events none so it can never intercept a click on a card underneath,
   and decorative in the markup (alt="") so a screen reader does not read the
   logo twice. */
.mk-oc__mark {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 0;
  width: 240px;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

/* The watermark must not sit on top of the text, so both content columns take
   their own stacking context above it. */
.mk-oc__promo,
.mk-oc__main {
  position: relative;
  z-index: 1;
}

.mk-oc__promo {
  padding-right: 28px;
  border-right: 1px solid var(--line-2);
}

.mk-oc__heading {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.mk-oc__blurb {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.mk-oc__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mk-oc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

/* Cards are unboxed text links. A border here would fight the panel's own
   border and make eight small boxes inside one big card. */
.mk-oc__card {
  display: grid;
  gap: 3px;
  padding: 4px 0;
  text-decoration: none;
  border-radius: var(--r-sm);
}

.mk-oc__title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}

.mk-oc__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.mk-oc__card:hover .mk-oc__title,
.mk-oc__card:focus-visible .mk-oc__title {
  color: var(--brand-700);
  text-decoration-color: currentColor;
}

.mk-oc__card:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .mk-oc {
    width: 720px;
    grid-template-columns: 26% minmax(0, 1fr);
    gap: 26px;
  }

  .mk-oc__grid {
    gap: 16px 24px;
  }
}

@media (max-width: 960px) {
  /* The aside stops earning its column before the cards get too narrow to
     hold a title and a description on one line each. */
  .mk-oc {
    width: 600px;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .mk-oc__promo {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
}