/* Marketer's dark alloy surfaces, scarlet wayfinding and flight-deck controls. */
html[data-ms-theme] .ms-command-page {
  --command-curve: cubic-bezier(.22,.68,.22,1);
  --command-red: var(--ms-base-link, #e60000);
  --command-metal: #f7f3f4;
  --command-surface: #fff;
  --command-line: #dcd1d5;
  --command-shade: #6d273616;
  --command-ink: var(--ms-base-heading, #171419);
  --command-muted: var(--ms-base-muted, #56505a);
  --command-cut: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --command-to-end: to right;
}

html[dir="rtl"][data-ms-theme] .ms-command-page {
  --command-to-end: to left;
}

html[data-ms-theme="dark"] .ms-command-page {
  --command-red: #ff6579;
  --command-metal: #272129;
  --command-surface: #141217;
  --command-line: #48333d;
  --command-shade: #e5405b24;
}

.ms-command-page .ms-space-strategy {
  --command-metal: #282129;
  --command-surface: #151016;
  --command-line: #69404d;
  --command-ink: #fff4f6;
  --command-muted: #dfced4;
  --command-red: #ff7286;
}

.ms-command-page .elementor:is(.elementor-31,.elementor-3255) {
  --space-section: clamp(74px,9vw,144px);
}

.ms-command-page :is(.ms-space-hero,.ms-space-intro,.ms-space-strategy,.ms-space-process-heading,.ms-space-services-heading,.ms-space-contact) {
  scroll-margin-block-start: 92px;
}

/* Solid primary actions and text links share the same directional cue. */
.ms-command-page .ms-command-button {
  --button-ink: var(--command-ink);
}

html[data-ms-theme] .ms-command-page :is(.elementor[data-elementor-id],.ms-site-header) .ms-command-button:is(a,button),
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ff-btn.ms-command-button,
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .elementor-element:is(.ms-space-hero-cta,.ms-space-callout .elementor-widget-button) .elementor-button.ms-command-button:is(a,:hover,:focus-visible) {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: auto;
  max-width: 100%;
  min-height: 46px;
  padding: 6px 11px 6px 15px !important;
  padding-inline: 15px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--button-ink) !important;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-align: start;
  text-decoration: none !important;
  white-space: normal;
  transition: filter .28s var(--command-curve), translate .28s var(--command-curve);
}

.ms-command-page .ms-command-button.ms-command-primary {
  --button-ink: #fff;
  filter: drop-shadow(0 5px 10px #cd142d48);
}

.ms-command-page .ms-command-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg,transparent 33%,#fff2 49%,transparent 63%) -86px 0 / 70px 100% no-repeat,
    linear-gradient(180deg,#e23549,#a20e29 70%,#8f0c24);
  clip-path: var(--command-cut);
  pointer-events: none;
  transition: background-position .55s var(--command-curve);
}

.ms-command-page .ms-command-primary:is(:hover,:focus-visible)::after { background-position: calc(100% + 84px) 0, center; }
.ms-command-page .ms-command-button:not(.ms-command-primary):is(:hover,:focus-visible) {
  --button-ink: var(--command-red);
}
.ms-command-page .ms-command-button:active { translate: 0 1px; }
.ms-command-page .ms-command-button .elementor-button-icon { display: none; }
.ms-command-page .ms-command-button .elementor-button-text { color: inherit !important; }

.ms-command-page .ms-command-chevron {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 0;
  color: inherit;
  opacity: .87;
  transition: translate .25s var(--command-curve);
}

.ms-command-page .ms-command-chevron svg { display: none; }
.ms-command-page .ms-command-chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border-block-start: 1.5px solid;
  border-inline-end: 1.5px solid;
  transform: rotate(45deg);
}

.ms-command-page .ms-command-chevron:dir(rtl)::before { transform: rotate(-45deg); }
.ms-command-page :is(a,button):is(:hover,:focus-visible) > .ms-command-chevron:dir(ltr) { translate: 2px 0; }
.ms-command-page :is(a,button):is(:hover,:focus-visible) > .ms-command-chevron:dir(rtl) { translate: -2px 0; }
.ms-command-page :is(.ms-command-button,.ms-command-topic,.ms-command-metric-tabs button,.ms-command-story a):focus-visible,
.ms-command-page .ms-space-metric-card[role="tabpanel"]:focus-visible {
  outline: 2px solid var(--command-red) !important;
  outline-offset: 4px;
}

.ms-command-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ms-command-actions .ms-command-button { min-width: 150px; }
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-hero-copy .elementor-element:is(.ms-space-hero-title,.ms-space-hero-brand) > .elementor-widget-container {
  margin: 0 !important;
}
.ms-command-page .ms-space-hero .ms-command-button { font-size: 15px; }

html[data-ms-theme] .ms-command-page .ms-site-header .ms-control {
  border: 0;
  border-radius: 0;
  background: transparent;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .elementor-element.ms-space-topics {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent !important;
  margin-block: 0 var(--space-section);
}

.ms-command-page .elementor[data-elementor-id] .elementor-element.ms-command-topics {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.ms-command-topic {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  min-height: 54px;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none !important;
}

.ms-command-topic:is(:hover,:focus-visible) .elementor-heading-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ms-command-topic .ms-command-chevron { color: var(--command-red); }
.ms-command-topic .elementor-widget { margin: 0; width: auto; min-width: 0; }

/* Section title rules and section rhythm. */
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > :is(.ms-space-strength-heading,.ms-space-why-heading,.ms-space-process-heading,.ms-space-insights,.ms-space-clients,.ms-space-contact) {
  position: relative;
  padding-block-start: clamp(23px,3vw,39px);
  border-block-start: 1px solid var(--command-line);
}

.ms-command-page :is(.ms-space-strength-heading,.ms-space-why-heading,.ms-space-process-heading,.ms-space-insights,.ms-space-clients,.ms-space-contact)::after {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: clamp(60px,10vw,142px);
  height: 2px;
  background: linear-gradient(var(--command-to-end),var(--command-red),transparent);
  pointer-events: none;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > :is(.ms-space-intro,.ms-space-strategy) > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items: center;
  gap: clamp(20px,5vw,72px);
}

.ms-command-page :is(.ms-space-intro,.ms-space-strategy) > .e-con-inner > .e-con {
  width: 100%;
  min-width: 0;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-intro-figure {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(270px,31vw,404px);
  padding: clamp(16px,3vw,36px);
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.ms-command-page .elementor[data-elementor-id] .ms-space-strengths .elementor-element-1d6733f {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(11px,1.6vw,22px);
  padding: 0;
}

.ms-command-page .ms-space-strengths .elementor-element-1d6733f > .e-con { display: contents; }

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element:is(.ms-space-strength-card,.ms-space-process-card,.ms-space-contact-card,.ms-space-tab-panel) {
  min-width: 0;
  width: 100%;
  gap: clamp(10px,1.25vw,18px);
  padding-inline: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.ms-command-page .ms-space-strength-card .elementor-icon-list-item { gap: 7px; }
.ms-command-page .ms-space-strength-card .elementor-icon-list-text { font-weight: 750; line-height: 1.4; }
.ms-command-page .ms-space-strength-card .elementor-icon-list-icon { align-self: start; }

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .elementor-element.ms-space-strategy {
  --ms-text: #dfced4 !important;
  --ms-heading: #fff4f6 !important;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(440px,42vw,575px);
  justify-content: center;
  padding: clamp(30px,5.6vw,85px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(var(--command-to-end),#110910 9%,#120a12f2 36%,#1c0c15a0 69%,#100a1080),
    url("/wp-content/uploads/2026/11/marketer-orbital-station.webp") 50% / cover no-repeat,
    #100a10 !important;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-strategy h2.elementor-heading-title { color: #fff4f6 !important; }
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-strategy :is(p,.elementor-icon-list-text,strong) { color: #f2e0e6 !important; }
.ms-command-page .ms-space-strategy .elementor-icon-list-items { display: grid; gap: 10px; }
.ms-command-page .ms-space-strategy .elementor-icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  padding: clamp(12px,1.8vw,21px);
  border: 0;
}

.ms-command-page .ms-space-strategy .elementor-icon-list-item::after { display: none !important; }
.ms-command-page .ms-space-strategy .elementor-icon-list-icon { color: #ff7286 !important; padding-block-start: 4px; }

/* Compact service index and a single contextual detail panel. */
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .ms-directory-heading {
  margin-block-end: clamp(15px,2vw,25px);
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .ms-directory-heading::after {
  display: none;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .ms-directory-heading .elementor-heading-title {
  font-size: clamp(24px,3.15vw,45px) !important;
  line-height: 1.23 !important;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .ms-directory-heading .elementor-element-e6711d6 .elementor-heading-title {
  font-size: clamp(15px,1.6vw,20px) !important;
}

.ms-directory-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-block: 3px 11px;
  margin-block-end: 12px;
  border-block-end: 1px solid var(--command-line);
}
.ms-directory-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 9px;
}
html[data-ms-theme] .ms-command-page .ms-directory-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 4px 11px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--command-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 730;
  line-height: 1.3;
  text-align: start;
  white-space: nowrap;
  transition: color .18s, background-color .18s;
}
html[data-ms-theme] .ms-command-page .ms-directory-filter:hover {
  background: var(--command-shade);
  color: var(--command-ink);
}
html[data-ms-theme] .ms-command-page .ms-directory-filter[aria-pressed="true"] {
  background: var(--command-shade);
  color: var(--command-red);
}
.ms-directory-filter[aria-pressed="true"]::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 10px;
  height: 1px;
  background: currentColor;
  content: "";
}
.ms-directory-count {
  margin: 0;
  color: var(--command-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .elementor-element.ms-directory-section > .e-con-inner.ms-directory {
  --directory-line: color-mix(in srgb,var(--command-line) 57%,var(--command-surface));
  --directory-row: color-mix(in srgb,var(--command-surface) 92%,var(--command-metal));
  --directory-selected: color-mix(in srgb,var(--command-surface) 87%,var(--command-red));
  grid-template-columns: minmax(0,1fr) minmax(0,.93fr);
  align-items: start;
  gap: clamp(15px,2.3vw,35px);
}
.ms-directory-list {
  min-width: 0;
}
.ms-directory-entry + .ms-directory-entry {
  border-block-start: 1px solid var(--directory-line);
}
.ms-directory-entry[hidden],
html[data-ms-theme] .ms-command-page .ms-directory .elementor-element.ms-directory-detail[hidden] {
  display: none !important;
}
html[data-ms-theme] .ms-command-page .ms-directory-select {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) 14px;
  align-items: center;
  min-height: 48px;
  width: 100%;
  gap: clamp(8px,1vw,16px);
  padding: 7px clamp(11px,1.3vw,19px);
  border: 0;
  border-inline-start: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--command-ink);
  font: inherit;
  text-align: start;
  transition: background-color .2s, border-color .2s, color .2s;
}
html[data-ms-theme] .ms-command-page .ms-directory-select:hover {
  background: var(--directory-row);
  color: var(--command-ink);
}
html[data-ms-theme] .ms-command-page .ms-directory-select[aria-expanded="true"] {
  border-inline-start-color: var(--command-red);
  background: var(--directory-selected);
}
.ms-directory-select :is(.ms-directory-mark,.ms-directory-glyph) {
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--command-red);
}
.ms-directory-title {
  font-size: clamp(13px,1.12vw,16px);
  font-weight: 720;
  line-height: 1.4;
}
.ms-directory-latin {
  display: inline-block;
  color: var(--command-muted);
  font-size: .78em;
  font-weight: 580;
}
.ms-directory-mark {
  position: relative;
}
.ms-directory-mark::before,
.ms-directory-mark::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%,-50%);
  transition: transform .2s var(--command-curve);
}
.ms-directory-mark::after {
  transform: translate(-50%,-50%) rotate(90deg);
}
.ms-directory-select[aria-expanded="true"] .ms-directory-mark::after {
  transform: translate(-50%,-50%);
}
.ms-directory-select:focus-visible {
  outline: 2px solid var(--command-red);
  outline-offset: -3px;
}
.ms-directory-filter:focus-visible,
.ms-directory-link:focus-visible {
  outline: 2px solid var(--command-red);
  outline-offset: 3px;
}
.ms-directory-preview {
  position: sticky;
  top: 60px;
  min-width: 0;
}
.ms-directory-visual {
  min-height: clamp(100px,12vw,152px);
  background: url("/wp-content/uploads/2026/11/marketer-service-orbit.webp") 50% 42% / cover no-repeat;
  mask-image: radial-gradient(ellipse 72% 100% at 52% 45%,#000 21%,transparent 70%);
}
html[data-ms-theme="light"] .ms-directory-visual {
  min-height: clamp(124px,13.5vw,176px);
  background: url("/wp-content/uploads/2026/11/marketer-service-orbit-light.webp") center / auto 100% no-repeat;
  mask-image: none;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .elementor-element.ms-directory-detail {
  --ms-text: var(--command-muted) !important;
  --ms-heading: var(--command-ink) !important;
  --ms-link: var(--command-red) !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  gap: 11px;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(10px,1.2vw,20px) 0;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  text-align: start;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail::before {
  display: none;
}
html[data-ms-theme] .ms-command-page .ms-directory .ms-directory-detail > .elementor-widget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
html[data-ms-theme] .ms-command-page .ms-directory .ms-directory-detail > .elementor-widget-icon {
  display: none;
}
html[data-ms-theme] .ms-command-page .ms-directory .ms-directory-detail > .elementor-widget > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail .elementor-heading-title,
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail .elementor-heading-title a {
  color: var(--command-ink) !important;
  font-size: clamp(19px,2.25vw,31px);
  line-height: 1.25;
  text-wrap: balance;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail .elementor-widget-text-editor :is(.elementor-widget-container,p,span,strong,li) {
  color: var(--command-muted) !important;
  font-size: clamp(13px,1.1vw,15px);
  line-height: 1.65;
}
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail .elementor-button.ms-directory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  min-height: 36px;
  padding: 4px 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: var(--command-red) !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-align: start;
  white-space: normal;
}
.ms-directory-link :is(.elementor-button-icon,.ms-command-chevron) {
  display: none;
}
html[data-ms-theme] .ms-command-page .ms-directory-link .elementor-button-text {
  color: var(--command-red) !important;
}
.ms-directory-link:is(:hover,:focus-visible) .elementor-button-text {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ms-directory-arrow {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-block-start: 1.5px solid;
  border-inline-end: 1.5px solid;
  transform: rotate(45deg);
}
.ms-directory-arrow:dir(rtl) {
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .elementor-element.ms-directory-section > .e-con-inner.ms-directory {
    grid-template-columns: minmax(0,1fr);
  }
  .ms-directory-preview {
    display: none;
  }
  html[data-ms-theme] .ms-command-page .ms-directory-toolbar {
    gap: 6px 12px;
    padding-block-end: 9px;
    margin-block-end: 9px;
  }
  .ms-directory-filters {
    gap: 2px 3px;
  }
  .ms-directory-count {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  html[data-ms-theme] .ms-command-page .ms-directory-filter {
    min-height: 32px;
    padding: 3px 7px;
    font-size: 12px;
  }
  .ms-directory-filter[aria-pressed="true"]::after {
    inset-inline: 7px;
  }
  html[data-ms-theme] .ms-command-page .ms-directory-select {
    min-height: 45px;
    padding: 7px 10px;
    grid-template-columns: 17px minmax(0,1fr) 14px;
  }
  .ms-directory-select .ms-directory-glyph {
    width: 16px;
    height: 16px;
  }
  .ms-directory-latin {
    display: none;
  }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .elementor-element.ms-directory-detail {
    padding: 10px 15px 9px;
    gap: 5px;
    background: var(--directory-row) !important;
  }
  html[data-ms-theme] .ms-command-page .ms-directory .ms-directory-detail > .elementor-widget-heading:not(:has(a)) {
    display: none;
  }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-directory .ms-directory-detail .elementor-button.ms-directory-link {
    min-height: 30px;
    font-size: 12px;
  }
}

/* The callout and rationale sit directly on the page surface. */
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element.ms-space-callout-panel {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(18px,4vw,56px);
  border: 0;
  border-radius: 0;
  padding-inline: 0;
  background: transparent !important;
}

.ms-command-page .ms-space-callout-panel > .e-con { width: 100%; min-width: 0; }
.ms-command-page .ms-space-callout-panel::after { display: none; }

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-why-tabs .e-n-tab-title {
  min-height: 46px;
  padding: 10px clamp(11px,2vw,23px);
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--command-ink) !important;
  transition: color .25s;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-why-tabs .e-n-tab-title[aria-selected="true"] {
  color: var(--command-red) !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-why-tabs .e-n-tab-title[aria-selected="true"] :is(span,svg) { color: inherit !important; }
.ms-command-page .ms-space-process-card::before {
  width: auto;
  height: auto;
  place-items: start;
  color: var(--command-red);
  border: 0;
  background: transparent;
}
.ms-command-page .ms-space-process-card:not(:last-child)::after { display: none; }

/* KPI switcher. The native content remains available without scripts. */
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element.ms-space-metrics-panel {
  border: 0;
  border-radius: 0;
  padding: clamp(22px,3.6vw,50px) 0;
  background: transparent !important;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-metrics-panel .elementor-heading-title { color: var(--command-ink) !important; }
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-metrics-panel :is(p,.elementor-widget-text-editor .elementor-widget-container,.elementor-widget-text-editor span,.elementor-widget-text-editor strong) { color: var(--command-muted) !important; }

.ms-command-page .elementor[data-elementor-id] .elementor-element.ms-command-metrics {
  grid-template-columns: minmax(238px,.85fr) minmax(0,1.45fr);
  align-items: stretch;
  gap: clamp(12px,2vw,26px);
}

.ms-command-metric-tabs { display: grid; gap: 5px; align-content: start; min-width: 0; }
.ms-command-page .ms-command-metric-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 7px 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--command-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  text-align: start;
  white-space: normal;
  transition: background .25s, color .25s;
}

.ms-command-page .ms-command-metric-tabs button:hover { color: var(--command-red); }
.ms-command-page .ms-command-metric-tabs button[aria-selected="true"] {
  background: linear-gradient(var(--command-to-end),var(--command-shade),transparent);
  color: var(--command-red);
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element.ms-space-metric-card {
  position: relative;
  min-width: 0;
  min-height: 245px;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  padding: clamp(18px,3vw,38px) 0;
  box-shadow: none;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .ms-space-metric-card[hidden] { display: none !important; }
.ms-command-page .ms-space-metric-card .elementor-icon { color: var(--command-red) !important; }
.ms-command-page .ms-space-metric-card .elementor-heading-title { font-size: clamp(22px,2.6vw,34px) !important; }

/* Client logos, contact, and native-language articles. */
html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-space-client-slider {
  border: 0;
  border-radius: 0;
  background: #fff !important;
  box-shadow: none;
}

.ms-command-page .elementor[data-elementor-id] .elementor-element.ms-space-contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,.78fr);
  align-items: stretch;
}

.ms-command-page .ms-space-contact .ff-el-group { margin-bottom: 14px; }
html[data-ms-theme] .ms-command-page .ms-space-contact .ff-el-form-control {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0 !important;
  border-block-end: 1px solid var(--command-line) !important;
  border-radius: 0;
  background: var(--command-surface) !important;
  color: var(--command-ink) !important;
  box-shadow: none;
}

html[data-ms-theme] .ms-command-page .ms-space-contact .ff-el-form-control:focus { outline: 2px solid var(--command-red); outline-offset: 1px; }
.ms-command-page .ms-space-contact .ff-el-form-control::placeholder { color: var(--command-muted); opacity: 1; }
html[data-ms-theme] .ms-command-page .ms-space-contact textarea.ff-el-form-control { min-height: 104px; resize: vertical; }

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-insights { margin-block-end: var(--space-section); }
.ms-command-stories {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(12px,1.6vw,23px);
  margin-block-start: 15px;
}

html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] :is(.ms-command-story,.ms-space-article-feed .hfe-post-card) {
  overflow: hidden;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
  transition: translate .28s var(--command-curve);
}

.ms-command-page .ms-command-story:hover { translate: 0 -3px; }
.ms-command-story a { display: grid; grid-template-rows: auto 1fr; height: 100%; color: var(--command-ink) !important; text-decoration: none !important; }
.ms-command-story a:focus-visible { outline-offset: -4px !important; }
.ms-command-story figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(ellipse at 45% 50%,#6e2c44,#180c17 82%); }
.ms-command-story img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ms-command-story h3 { margin: 0; font-size: clamp(17px,1.6vw,23px); font-weight: 750; line-height: 1.38; color: inherit !important; }
.ms-command-story-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 66px; padding-block: 12px; }
.ms-command-story-copy .ms-command-chevron { color: var(--command-red); }

html[data-ms-theme] .ms-command-page #colophon {
  border-block-start: 1px solid var(--command-line);
  background:
    linear-gradient(var(--command-to-end),transparent,var(--command-red),transparent) center top / min(70%,980px) 1px no-repeat,
    radial-gradient(ellipse at 50% 0%,var(--command-shade),transparent 70%),
    var(--command-surface);
}

.ms-command-page #colophon a:focus-visible { outline: 2px solid var(--command-red); outline-offset: 3px; }

@media (max-width: 1024px) {
  .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-command-topics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ms-command-page .elementor[data-elementor-id] .ms-space-strengths .elementor-element-1d6733f { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .ms-command-page .elementor:is(.elementor-31,.elementor-3255) { --space-section: clamp(52px,13vw,74px); }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .ms-directory-heading .elementor-widget-text-editor :is(.elementor-widget-container,p) {
    font-size: 14px;
    line-height: 1.66;
  }
  .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-space-hero-copy {
    align-items: center;
    gap: 14px;
  }
  .ms-command-page .elementor[data-elementor-id] .ms-space-hero-copy > .elementor-element { text-align: center; }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-space-hero-brand .elementor-heading-title {
    justify-content: center;
    font-size: 13px;
  }
  .ms-command-actions { justify-content: center; gap: 7px; }
  html[data-ms-theme] .ms-command-page :is(.elementor[data-elementor-id],.ms-site-header) .ms-command-button:is(a,button),
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ff-btn.ms-command-button,
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .elementor-element:is(.ms-space-hero-cta,.ms-space-callout .elementor-widget-button) .elementor-button.ms-command-button:is(a,:hover,:focus-visible) {
    --command-cut: polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px));
    min-width: 0;
    min-height: 34px;
    padding: 4px 9px !important;
    gap: 6px;
    font-size: 12px;
  }
  .ms-command-page .ms-command-button .ms-command-chevron,
  .ms-command-page .ms-command-metric-tabs .ms-command-chevron {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .ms-command-page .ms-command-button .ms-command-chevron::before,
  .ms-command-page .ms-command-metric-tabs .ms-command-chevron::before {
    width: 6px;
    height: 6px;
  }
  html[data-ms-theme] .ms-command-page .ms-site-header .ms-control {
    min-height: 34px;
    padding: 4px 8px;
    font-size: 11px;
  }
  .ms-command-page .ms-site-header .ms-mode-trigger { width: 34px; }
  .ms-command-page .ms-site-header .ms-control svg { width: 15px; height: 15px; }
  .ms-command-topic { grid-template-columns: auto minmax(0,1fr); gap: 7px; padding: 9px; }
  .ms-command-topic .ms-command-chevron { display: none; }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > :is(.ms-space-intro,.ms-space-strategy) > .e-con-inner,
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element.ms-space-callout-panel,
  .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-space-contact-grid,
  .ms-command-page .elementor[data-elementor-id] .elementor-element.ms-command-metrics {
    grid-template-columns: minmax(0,1fr);
  }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-intro-figure { min-height: 225px; }
  .ms-command-page .ms-space-intro-figure img { max-height: 252px; }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] > .elementor-element.ms-space-strategy {
    min-height: 0;
    padding: 24px 18px;
    background:
      linear-gradient(180deg,#100810db,#140a13f7 68%),
      url("/wp-content/uploads/2026/11/marketer-orbital-station.webp") 57% top / cover no-repeat,
      #100a10 !important;
  }
  .ms-command-page .ms-space-strategy .elementor-icon-list-text {
    font-size: 15px;
    line-height: 1.55;
  }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-section .elementor-element.ms-space-metric-card { min-height: 206px; }
  .ms-command-page .ms-command-metric-tabs button { min-height: 35px; padding: 4px 8px; font-size: 12px; }
  html[data-ms-theme] .ms-command-page .elementor[data-elementor-id] .ms-space-why-tabs .e-n-tab-title {
    min-height: 35px;
    padding: 5px 9px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .ms-command-page .elementor[data-elementor-id] .ms-space-strengths .elementor-element-1d6733f,
  .ms-command-stories {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-command-page :is(.ms-command-button,.ms-command-button::after,.ms-command-chevron,.ms-command-topic,.ms-command-metric-tabs button,.ms-command-story,.ms-directory-filter,.ms-directory-select,.ms-directory-mark::after) {
    transition: none !important;
    translate: none !important;
  }
}
