/*----------------------------------------*/
/*  MoSound Group brand layer
/*  Loaded after main.css. Theme colours live in the :root variables
/*  at the top of main.css (--ms-* and --tp-*); this file only adds
/*  what the MoSound content needs on top of the Acjon components.
/*----------------------------------------*/

/* Logo stripe: the multicolour underline from the MoSound logo */
.ms-stripe-bar {
  display: inline-block;
  width: 120px;
  height: 6px;
  border-radius: 3px;
  background: var(--ms-stripe);
}

/* Header + offcanvas logos: SVG logos need an explicit height ratio */
.tp-header-logo img,
.tp-offcanvas-2-logo img,
.tp-footer-logo img {
  height: auto;
  max-width: 100%;
}
.tp-header-logo img {
  width: 58px;
}
@media (max-width: 575px) {
  .tp-header-logo img {
    width: 48px !important;
  }
}
.tp-offcanvas-2-logo img {
  width: 210px; /* full footer logo in the side menu */
}
@media (max-width: 575px) {
  .tp-offcanvas-2-logo img {
    width: 170px;
  }
}

/* ---------- Home: service cards (navy line icons shown white on dark cards) ---------- */
.ds-service-item-icon img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ---------- Home: methodology tiles (team card component) ---------- */
.ms-step-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 340 / 407;
  overflow: hidden;
  transition: 0.9s;
}
/* one logo colour per step, chosen to suit it; neighbours differ in the
   2-column and 1-column layouts. White icon artwork is drawn deep navy. */
.ms-step-tile--1 { background-color: #55BECF; } /* Project planning: teal */
.ms-step-tile--2 { background-color: #FBE724; } /* Ideation: lightbulb yellow */
.ms-step-tile--3 { background-color: #C85C9D; } /* Design: orchid */
.ms-step-tile--4 { background-color: #EE8035; } /* Production: orange */
.ms-step-tile--5 { background-color: #A5C744; } /* Seamless experience: lime */
.ms-step-tile--6 { background-color: #2AAAE1; } /* Report, research and analysis: sky */
.ms-step-tile img {
  width: 38% !important;
  max-width: 130px;
  transition: 0.9s;
  filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(2900%) hue-rotate(205deg) brightness(92%); /* ≈ #0E1F3D */
}
.ds-team-item:hover .ms-step-tile img {
  transform: scale(1.08);
}
.ms-step-num {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ms-navy-deep);
  font-family: var(--tp-ff-unbounded);
}
.ms-step-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--ms-stripe);
  /* navy rule keeps the stripe whole where a segment matches the tile colour */
  box-shadow: 0 -3px 0 var(--ms-navy-deep);
}

/* ---------- Home: case notes (testimonial component) ---------- */
.ds-testimonial-item-name {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Brand logos ---------- */
.ms-brand-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 30px;
}
.ms-brand-heading p {
  margin: 0;
}
.ds-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-brand-item img {
  width: auto;
  max-width: 78%;
  height: 58px;
  object-fit: contain;
}

/* ---------- Footer ---------- */
.ms-footer-tagline {
  color: rgba(244, 247, 251, 0.7);
}
.ms-footer-affiliate p {
  margin: 14px 0 0;
  color: rgba(244, 247, 251, 0.7);
}
.ms-footer-affiliate-logo {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: var(--tp-common-white-solid);
}
.ms-footer-affiliate-logo img {
  height: 26px;
  width: auto;
}
.ds-footer-area {
  position: relative;
}
.ds-footer-area::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--ms-stripe);
}

/* ---------- About page ---------- */
.sa-service-item-icon img {
  height: 64px;
  width: auto;
}
.tp-about-funfact-circle.style-4 .tp-about-funfact-title,
.tp-about-funfact-circle.style-4 span {
  color: var(--ms-navy);
}
.ms-team-photo img {
  width: 100%;
  border-radius: 6px;
}
.ms-team-text p {
  font-size: 18px;
  line-height: 1.7;
}
.ms-team-caption {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--tp-text-body);
}

/* ---------- Services page ---------- */
.tp-service-item-icon img {
  height: 64px;
  width: auto;
}
.tp-service-item {
  scroll-margin-top: 120px;
}
.tp-breadcrumb-s5-title img {
  border-radius: 100px;
  object-fit: cover;
}

/* ---------- Work + project pages ---------- */
.tp-project-thumb img,
.tp-project-slide-thumb img {
  aspect-ratio: 725 / 632;
  object-fit: cover;
}
.tp-project-slide-thumb img {
  aspect-ratio: 456 / 569;
}
.ms-highlights .tp-project-details-tag span {
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--tp-common-black);
  border-radius: 50px;
  padding: 8px 13px;
  border: 1px solid rgba(22, 45, 84, 0.1);
}
.tp-project-navigation-thumb img {
  width: 96px;
  height: auto;
}

/* ---------- Contact ---------- */
.cn-contact-info-thumb img {
  aspect-ratio: 320 / 242;
  object-fit: cover;
}

/* Email addresses must keep their case inside capitalised template text */
a[href^="mailto:"] {
  text-transform: none !important;
}

/* ---------- Services: production capabilities (project-grid component) ---------- */
.ms-capabilities .tp-project-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ms-capabilities .tp-project-content p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
}
.ms-capabilities-intro {
  margin: 16px 0 0;
  font-size: 18px;
}

/* ---------- Social links: 44px tap targets ---------- */
.ds-footer-social a span {
  width: 44px;
  height: 44px;
}
.tp-offcanvas-2-right-social a,
.ar-about-funfact-item-social a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Full-width banner photos (supplied photos are narrower than the demo images) */
.sa-banner-wrapper > img {
  width: 100%;
  height: auto;
}
.tp-copyright-menu a {
  white-space: nowrap;
}

/* ---------- Home: hero wordmark ----------
   The supplied "MoSound Group" SVG fills the full container width,
   where the demo's two-line display type sat. */
.ms-hero-wordmark {
  margin: 0;
  line-height: 0;
}
.ms-hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Project details list: fixed label column ----------
   The template gives labels a 240px width inside a flex row, which the
   narrow column shrinks by different amounts, so values never lined up. */
.tp-project-details-cetagory ul li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}
.tp-project-details-cetagory ul li span.spacing {
  width: auto;
}

/* ---------- Equal-height cards ----------
   Card text lengths vary, so cards in a row are stretched to the same
   height and their buttons pinned to the bottom edge. */
.tp-service-inner-wrap .row > [class*="col-"],
.ds-price-area .tp-tab-item .row > [class*="col-"] {
  display: flex;
}
.tp-service-inner-wrap .tp-service-item,
.ds-price-area .ds-price-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.tp-service-item-btn,
.ds-price-item-btn {
  margin-top: auto;
}
/* About "Eight ways" grid: cards in a row share one height, Read More aligned */
.ms-service-grid .sa-service-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.sa-service-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sa-service-item-content .ds-service-item-btn {
  margin-top: auto;
}
.ds-price-area .ds-price-item-head p {
  min-height: 3.3em; /* two lines, so every card's figure and scope list start level */
}
.ds-brand-item img[src*="woza"] {
  height: 44px; /* solid wordmark reads heavier than the other logos at full height */
}
/* process-band bullets: navy arrow on the sky disc */
.inner-step-list-item span svg path {
  fill: var(--ms-navy);
}

/* ---------- Footer: three balanced columns ----------
   The last column sits flush with the right edge of the container,
   so the row reads edge to edge without a gap at the end. */
@media (min-width: 992px) {
  .ms-footer-cols > div:last-child .ds-footer-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
  .ms-footer-cols > div:nth-child(2) .ds-footer-widget {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Home: case notes ----------
   Centre the slider text vertically against the photo instead of top-aligning it. */
@media (min-width: 992px) {
  .ds-testimonial-ptb .container > .row {
    align-items: center;
  }
}
@media (min-width: 992px) {
  /* keep the template's right-aligned photo, leaving room for the slide counter on the left */
  .ds-testimonial-thumb img {
    max-width: calc(100% - 130px);
  }
}

/* credit line under sourced (public-domain) event photos */
.ms-photo-credit {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--tp-text-body);
}
.tp-project-details-thumb img {
  width: 100%;
}

/* ---------- Side menu colours ----------
   Each top-level item in its own logo colour (number and + toggle too). Hover
   turns the item white; the current page is underlined in its colour. Submenu
   links stay white and take their item's colour on hover or when current. */
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li { --ms-menu: var(--ms-sky); }
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:nth-child(2) { --ms-menu: #FBE724; }
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:nth-child(3) { --ms-menu: #EE8035; }
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:nth-child(4) { --ms-menu: #EA5B78; }
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:nth-child(5) { --ms-menu: #A5C744; }
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > a,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li.is-active-2 > a,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > a::after,
.tp-offcanvas-2-area .tp-offcanvas-menu .tp-menu-close i,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li.is-active-2 .tp-menu-close i {
  color: var(--ms-menu);
}
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > ul > li > a {
  color: var(--tp-common-white-solid);
}
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:hover > a,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:hover > a::after,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li:hover .tp-menu-close i {
  color: var(--tp-common-white-solid);
}
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li.ms-current > a {
  text-decoration: underline;
  text-decoration-color: var(--ms-menu);
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
}
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > ul > li > a:hover,
.tp-offcanvas-2-area .tp-offcanvas-menu > nav > ul > li > ul > li > a.ms-current,
.tp-offcanvas-2-area .tp-offcanvas-menu .tp-submenu li a:hover {
  color: var(--ms-menu);
}

/* ---------- Related-project cards ----------
   A soft black gradient behind the white title and location so they never
   disappear into a bright photo. The template's sky hover fill still sits on top. */
.tp-project-slide-wrap {
  padding-top: 90px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.8) 100%);
}

/* ---------- Case-study title banners ----------
   The supplied crowd illustration shows faintly through the navy. */
.tp-breadcrumb-s9-spacing {
  background-image: linear-gradient(rgba(22, 45, 84, 0.9), rgba(22, 45, 84, 0.9)),
    url("../img/mosound/graphics/hero-crowd-artwork.png");
  background-size: cover;
  background-position: center 30%;
}
/* the template's black spray shape reads as a dark blob on navy: keep it as a subtle accent */
.tp-breadcrumb-s9-shape {
  opacity: 0.25;
}

/* ---------- Footer illustration ----------
   The supplied crowd artwork at 10% opacity behind the footer content. */
.ds-footer-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/mosound/graphics/hero-crowd-artwork.png") center 35% / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.ds-footer-area > * {
  position: relative;
  z-index: 1;
}

/* crisp brand icons in every social link */
.ms-social-icon {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- Case notes: photo follows the active slide ---------- */
.ms-note-stack {
  display: inline-grid;
  vertical-align: top;
}
.ms-note-stack .ms-note-img {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ms-note-stack .ms-note-img.is-active {
  opacity: 1;
}
@media (min-width: 992px) {
  .ds-testimonial-thumb .ms-note-stack {
    max-width: calc(100% - 130px);
  }
  .ds-testimonial-thumb .ms-note-stack img {
    max-width: 100%;
  }
}

/* sticky white header shows the full dark logo; the emblem stays at the top of the page */
.tp-header-logo img.logo-black {
  width: 180px;
}
@media (max-width: 575px) {
  .tp-header-logo img.logo-black {
    width: 150px !important;
  }
}

/* ---------- Service icons: one 64x64 box for every icon ----------
   The gamepad artwork is far wider than the others; contain keeps it the
   same visual size and vertically centred like the rest. */
.ds-service-item-icon img,
.sa-service-item-icon img,
.tp-service-item-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.ds-service-item-icon img {
  margin: 0 auto;
}
.sa-service-item-icon img,
.tp-service-item-icon img {
  object-position: left center;
}
/* hover on the home cards: the icons' own navy on the sky fill, like the title */
.ds-service-item:hover .ds-service-item-icon img {
  filter: none;
}
/* Lineicons carry inner padding in their 24px frame: draw them a little larger */
.ds-service-item-icon img,
.sa-service-item-icon img,
.tp-service-item-icon img {
  width: 76px;
  height: 76px;
}

/* ---------- Home: service cards in the logo's colours ----------
   Eight distinct colours from the logo stripe plus brand sky, ordered so no two
   neighbouring cards look alike in the 4-column layout. Deep navy text and icons
   read on all eight (contrast 4.3:1 or better); the hover sweep turns the card
   deep navy with white text. */
.row > :nth-child(1) > .ds-service-item { --ms-tile: #EE8035; } /* Event production: orange */
.row > :nth-child(2) > .ds-service-item { --ms-tile: #55BECF; } /* Audio visual: teal */
.row > :nth-child(3) > .ds-service-item { --ms-tile: #C85C9D; } /* Brand activation: orchid */
.row > :nth-child(4) > .ds-service-item { --ms-tile: #FBE724; } /* Media production: yellow */
.row > :nth-child(5) > .ds-service-item { --ms-tile: #2AAAE1; } /* Digital media: sky */
.row > :nth-child(6) > .ds-service-item { --ms-tile: #F1BA2C; } /* On air media: amber */
.row > :nth-child(7) > .ds-service-item { --ms-tile: #A5C744; } /* E-sports and gaming: lime */
.row > :nth-child(8) > .ds-service-item { --ms-tile: #EA5B78; } /* Curated solutions: pink */
.ds-service-item {
  background-color: var(--ms-tile, var(--ms-navy));
}
.ds-service-item::before {
  background-color: var(--ms-navy-deep);
}
.ds-service-item .ds-service-item-title,
.ds-service-item .ds-service-item-btn a {
  color: var(--ms-navy-deep);
}
.ds-service-item .ds-service-item-icon img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(32%) saturate(2900%) hue-rotate(205deg) brightness(92%); /* ≈ #0E1F3D */
}
.ds-service-item .ds-service-item-btn-icon {
  border-color: rgba(14, 31, 61, 0.3);
}
.ds-service-item:hover .ds-service-item-title,
.ds-service-item:hover .ds-service-item-btn a {
  color: var(--tp-common-white);
}
.ds-service-item:hover .ds-service-item-icon img {
  filter: brightness(0) invert(1);
}
.ds-service-item:hover .ds-service-item-btn-icon {
  color: var(--ms-navy-deep);
  background-color: var(--ms-tile, var(--ms-sky));
  border-color: transparent;
}

/* ---------- Home: stacked scope panels, one logo colour each ----------
   Each panel slides over the last, so neighbours never share a colour. Classes
   come from tools/build.py (GSAP's pin wrappers rule out nth-child). Deep
   navy text reads on all six (4.8:1 or better, enough for the 16px lists). */
.inner-service-3-panel.ms-panel--1 { background-color: #2AAAE1; } /* sky */
.inner-service-3-panel.ms-panel--2 { background-color: #EE8035; } /* orange */
.inner-service-3-panel.ms-panel--3 { background-color: #55BECF; } /* teal */
.inner-service-3-panel.ms-panel--4 { background-color: #EA5B78; } /* pink */
.inner-service-3-panel.ms-panel--5 { background-color: #A5C744; } /* lime */
.inner-service-3-panel.ms-panel--6 { background-color: #F1BA2C; } /* amber */
.inner-service-3-panel .service-3-process-list span,
.inner-service-3-panel .service-3-process-list h2,
.inner-service-3-panel .service-3-process-list h2 a,
.inner-service-3-panel .service-3-process-content p,
.inner-service-3-panel .service-3-process-content ul li {
  color: var(--ms-navy-deep);
}
.inner-service-3-panel .service-3-process-list span {
  border-color: rgba(14, 31, 61, 0.35);
}
/* the template's hover recolours to sky, which vanishes on these fills */
.inner-service-3-panel .service-3-process-list:hover span {
  color: var(--tp-common-white);
  background-color: var(--ms-navy-deep);
  border-color: var(--ms-navy-deep);
}
.inner-service-3-panel .service-3-process-list:hover h2 a {
  color: var(--ms-navy-deep);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* ---------- Case-study banners for the home scope-panel projects ----------
   Opened from a coloured scope panel, the banner keeps that panel's colour: the
   crowd artwork's spotlight beam is recoloured to match (tools/recolor_hero.py)
   and the overlay is the panel colour, so title and header switch to deep navy.
   85% overlay keeps navy text at 4.8:1 or better over the darkest artwork; pink
   needs 90%. */
.ms-hero--1 { background-image: linear-gradient(rgba(42, 170, 225, 0.85), rgba(42, 170, 225, 0.85)), url("../img/mosound/graphics/hero-crowd-artwork-sky.png"); }
.ms-hero--2 { background-image: linear-gradient(rgba(238, 128, 53, 0.85), rgba(238, 128, 53, 0.85)), url("../img/mosound/graphics/hero-crowd-artwork-orange.png"); }
.ms-hero--3 { background-image: linear-gradient(rgba(85, 190, 207, 0.85), rgba(85, 190, 207, 0.85)), url("../img/mosound/graphics/hero-crowd-artwork-teal.png"); }
.ms-hero--4 { background-image: linear-gradient(rgba(234, 91, 120, 0.9), rgba(234, 91, 120, 0.9)), url("../img/mosound/graphics/hero-crowd-artwork-pink.png"); }
.ms-hero--5 { background-image: linear-gradient(rgba(165, 199, 68, 0.85), rgba(165, 199, 68, 0.85)), url("../img/mosound/graphics/hero-crowd-artwork-lime.png"); }
.ms-hero--6 { background-image: linear-gradient(rgba(241, 186, 44, 0.85), rgba(241, 186, 44, 0.85)), url("../img/mosound/graphics/hero-crowd-artwork-amber.png"); }
/* UN Environment Assembly and Jamhuri aren't in the scope panels: logo green and orchid,
   lightened a touch so navy text reads on them */
.ms-hero--7 { background-image: linear-gradient(rgba(120, 157, 114, 0.9), rgba(120, 157, 114, 0.9)), url("../img/mosound/graphics/hero-crowd-artwork-green.png"); }
.ms-hero--8 { background-image: linear-gradient(rgba(208, 115, 171, 0.9), rgba(208, 115, 171, 0.9)), url("../img/mosound/graphics/hero-crowd-artwork-orchid.png"); }
.ms-hero .tp-breadcrumb-s9-title,
.ms-hero .tp-breadcrumb-s9-title *,
.ms-hero .tp-breadcrumb-s9-subtitle .tp-breadcrumb-s1-subtitle,
.ms-hero .tp-breadcrumb-s9-subtitle .tp-breadcrumb-s1-subtitle a,
.ms-hero .tp-breadcrumb-s9-subtitle span {
  color: var(--ms-navy-deep);
}
.ms-hero .tp-breadcrumb-s9-subtitle .tp-breadcrumb-s1-subtitle::after {
  background: var(--ms-navy-deep);
}
.ms-hero .tp-breadcrumb-s9-shape-2 path {
  stroke: var(--ms-navy-deep);
}
/* the template's dark spray shape reads as a smudge on the bright banners */
.ms-hero .tp-breadcrumb-s9-shape {
  opacity: 0.1;
}

/* ---------- Header: outlined "Let's talk" pill before the menu pill ----------
   Same height and type as the menu pill, outline only. White over dark banners,
   deep navy on light pages and the coloured case-study banners, navy once the
   header turns white on scroll. Hidden below 576px, where the menu pill is enough. */
.ms-talk-pill {
  align-items: center;
  padding: 8px 22px;
  border-radius: 24px;
  border: 1.5px solid var(--tp-common-white);
  background: transparent;
  color: var(--tp-common-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.3s;
}
.ms-talk-pill:hover {
  background: var(--tp-common-white);
  color: var(--ms-navy-deep);
}
.ms-talk-pill--dark,
.header-sticky.sticky-white-bg .ms-talk-pill {
  border-color: var(--ms-navy-deep);
  color: var(--ms-navy-deep);
}
.ms-talk-pill--dark:hover,
.header-sticky.sticky-white-bg .ms-talk-pill:hover {
  background: var(--ms-navy-deep);
  color: var(--tp-common-white);
}

/* ---------- Home: project labels in each case study's colour ----------
   The date and title tabs that slide in on hover use the same colour as the
   project's scope panel and case-study banner (TONES in tools/build.py). */
.ms-tone--1 { --ms-tone: #2AAAE1; }
.ms-tone--2 { --ms-tone: #EE8035; }
.ms-tone--3 { --ms-tone: #55BECF; }
.ms-tone--4 { --ms-tone: #EA5B78; }
.ms-tone--5 { --ms-tone: #A5C744; }
.ms-tone--6 { --ms-tone: #F1BA2C; }
.ms-tone--7 { --ms-tone: #789D72; }
.ms-tone--8 { --ms-tone: #D073AB; }
.ds-portfolio-item[class*="ms-tone--"] .ds-portfolio-item-content span,
.ds-portfolio-item[class*="ms-tone--"] .ds-portfolio-item-title {
  background-color: var(--ms-tone);
  color: var(--ms-navy-deep);
}
.ds-portfolio-item[class*="ms-tone--"] .ds-portfolio-item-title a {
  color: var(--ms-navy-deep);
}

/* ---------- About: methodology timeline in the step colours ----------
   Same colour per stage as the home "How we work" tiles (.ms-step-tile--N).
   Dots get a navy ring so yellow and lime still read on the pale page. */
.bnc-step-wrapper > .bnc-step-item:nth-child(1) { --ms-step: #55BECF; }
.bnc-step-wrapper > .bnc-step-item:nth-child(2) { --ms-step: #FBE724; }
.bnc-step-wrapper > .bnc-step-item:nth-child(3) { --ms-step: #C85C9D; }
.bnc-step-wrapper > .bnc-step-item:nth-child(4) { --ms-step: #EE8035; }
.bnc-step-wrapper > .bnc-step-item:nth-child(5) { --ms-step: #A5C744; }
.bnc-step-wrapper > .bnc-step-item:nth-child(6) { --ms-step: #2AAAE1; }
.bnc-step-wrapper > .bnc-step-item::after {
  background-color: var(--ms-step, var(--tp-common-black));
  box-shadow: 0 0 0 2px var(--ms-navy-deep);
}
.bnc-step-wrapper > .bnc-step-item::before {
  height: 2px;
  background-color: var(--ms-step, rgba(22, 45, 84, 0.1));
}
.bnc-step-wrapper > .bnc-step-item .bnc-step-item-sub span {
  color: var(--ms-navy-deep);
  background-color: var(--ms-step, var(--tp-common-black));
}
/* the arrow artwork is hard-coded white */
.bnc-step-wrapper > .bnc-step-item .bnc-step-item-sub span path {
  fill: var(--ms-navy-deep);
}
