/**
 * MM&Co. 2026 — Gray-first corporate design system
 * Charcoal gray identity · muted gold accents · warm editorial rhythm
 */

:root {
  --charcoal: #23262D;
  --charcoal-mid: #2E323A;
  --charcoal-light: #3A4049;
  --charcoal-deep: #1B1D22;
  --gray-medium: #6B7280;
  --soft-gray: #F8F9FB;
  --warm-white: #FFFFFF;
  --blue-gray: #8a919c;
  /* Accent is gold only — no blue brand color */
  --accent-blue: #D4AF37;

  /* Remap legacy tokens for compatibility */
  --navy: var(--charcoal);
  --navy-mid: var(--charcoal-mid);
  --navy-light: var(--charcoal-light);
  --gold: #D4AF37;
  --gold-light: #E8C55A;
  --gold-muted: rgba(212, 175, 55, 0.14);
  --cream: var(--warm-white);
  --surface: var(--soft-gray);
  --white: #ffffff;
  --text: #1B1D22;
  --text-muted: #5b6573;
  --paragraph: #B6BDC7;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 24px rgba(27, 29, 34, 0.08);
  --shadow-lg: 0 16px 48px rgba(27, 29, 34, 0.12);
  --card-shadow: 0 1px 2px rgba(27, 29, 34, 0.04), 0 8px 28px rgba(27, 29, 34, 0.06);
  --card-shadow-hover: 0 12px 36px rgba(27, 29, 34, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --header-h: 72px;
  --section-pad: clamp(5rem, 7vw, 6.25rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mmco-glass: rgba(34, 37, 44, 0.72);
  --mmco-bg: #1B1D22;
  --mmco-bg-soft: #23262D;
}

/* ——— Base ——— */
body.mmco-site {
  background: var(--warm-white);
  color: var(--text);
}

body.mmco-site #mainContent {
  background: var(--warm-white);
}

body.mmco-site .page-content--builder > .pb-section:first-child,
body.mmco-site .page-content--builder > section:first-child {
  margin-top: 0;
}

/* Section background rhythm */
body.mmco-site .section--warm { background: var(--warm-white); }
body.mmco-site .section--soft { background: var(--soft-gray); }
body.mmco-site .section--charcoal {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.9);
}
body.mmco-site .section--charcoal .section-heading,
body.mmco-site .section--charcoal h2,
body.mmco-site .section--charcoal h3 { color: #fff; }
body.mmco-site .section--charcoal .section-lead,
body.mmco-site .section--charcoal p { color: rgba(255, 255, 255, 0.78); }
body.mmco-site .section--charcoal .section-label {
  background: rgba(197, 160, 40, 0.18);
  color: var(--gold-light);
}

body.mmco-site .section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

/* Subtle ledger motif */
body.mmco-site .section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(43, 45, 49, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 45, 49, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* ——— Typography ——— */
body.mmco-site h1, body.mmco-site h2, body.mmco-site h3, body.mmco-site h4 {
  color: var(--charcoal);
  letter-spacing: -0.03em;
}

body.mmco-site .section-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 22ch;
}

body.mmco-site .section-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  max-width: 38rem;
  color: var(--gray-medium);
}

body.mmco-site .section-label {
  background: var(--gold-muted);
  color: var(--charcoal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.38rem 0.8rem;
  border-radius: 100px;
}

body.mmco-site .prose {
  max-width: 58ch;
  color: var(--text);
}

/* ——— Header ——— */
body.mmco-site .site-header {
  background: rgba(250, 250, 248, 0.82) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
  border-bottom: 1px solid rgba(43, 45, 49, 0.08) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.mmco-site .site-header.scrolled {
  background: rgba(250, 250, 248, 0.95) !important;
  box-shadow: 0 4px 24px rgba(43, 45, 49, 0.06);
  border-bottom-color: rgba(43, 45, 49, 0.1) !important;
}

body.mmco-site .site-header .main-nav a {
  color: var(--charcoal) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  position: relative;
}

body.mmco-site .site-header .main-nav a:hover {
  background: rgba(43, 45, 49, 0.05) !important;
  color: var(--charcoal) !important;
}

body.mmco-site .site-header .main-nav a.is-active {
  background: rgba(43, 45, 49, 0.07) !important;
  color: var(--charcoal) !important;
}

body.mmco-site .site-header .main-nav a.is-active::after {
  /* Underline owned by theme-mmco-corporate.css */
  content: none;
}

body.mmco-site .site-header .search-btn,
body.mmco-site .site-header .theme-toggle {
  background: rgba(43, 45, 49, 0.06) !important;
  color: var(--charcoal) !important;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.mmco-site .site-header .search-btn:hover {
  background: rgba(43, 45, 49, 0.1) !important;
  transform: translateY(-1px);
}

body.mmco-site .btn-header-cta {
  background: linear-gradient(145deg, #d4b23a 0%, var(--gold) 48%, #b8911f 100%) !important;
  color: var(--charcoal) !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px rgba(197, 160, 40, 0.28);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
}

body.mmco-site .btn-header-cta:hover {
  background: linear-gradient(145deg, #dfc04a 0%, #d4b23a 55%, var(--gold) 100%) !important;
  color: var(--charcoal) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(197, 160, 40, 0.35);
}

body.mmco-site .logo-img {
  height: 48px;
}

/* ——— Buttons ——— */
body.mmco-site .btn-primary {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

body.mmco-site .btn-primary:hover {
  background: var(--charcoal-mid);
  border-color: var(--charcoal-mid);
  color: #fff;
}

body.mmco-site .btn-outline {
  border-color: rgba(43, 45, 49, 0.2);
  color: var(--charcoal);
}

body.mmco-site .btn-outline:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

body.mmco-site .btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--charcoal);
  border: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(197, 160, 40, 0.28);
}

body.mmco-site .btn-gold:hover {
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 160, 40, 0.35);
}

/* ——— Hero ——— */
body.mmco-site .hero-split .hero-bg {
  background:
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(197, 160, 40, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 35% 30% at 10% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    linear-gradient(155deg, #2a2c30 0%, #35383e 48%, #40444c 100%);
}

body.mmco-site .hero-title,
body.mmco-site h1.hero-title,
body.mmco-site .hero-title > span {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  color: #fff !important;
}

body.mmco-site .hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #fde9a8 55%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.mmco-site .hero-eyebrow {
  color: var(--gold-light);
}

body.mmco-site .hero-badge {
  border-color: rgba(197, 160, 40, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

body.mmco-site .hero-loc-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

body.mmco-site .hero-loc-inline svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ——— Trust bar ——— */
body.mmco-site .tw-trust-bar {
  background: var(--soft-gray);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

body.mmco-site .tw-trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

body.mmco-site .tw-trust-bar__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-medium);
  margin: 0;
  flex-shrink: 0;
}

body.mmco-site .tw-trust-bar__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin: 0;
  list-style: none;
}

body.mmco-site .tw-trust-bar__list::-webkit-scrollbar { display: none; }

body.mmco-site .tw-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  box-shadow: 0 2px 8px rgba(43, 45, 49, 0.04);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

body.mmco-site .tw-trust-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 40, 0.35);
  box-shadow: 0 8px 20px rgba(43, 45, 49, 0.08);
}

body.mmco-site .tw-trust-pill__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gold-muted);
  color: var(--gold);
  flex-shrink: 0;
}

body.mmco-site .tw-trust-pill__dot {
  background: var(--gold);
}

@media (min-width: 768px) {
  body.mmco-site .tw-trust-bar__list {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* ——— What We Are (split editorial + side panel) ——— */
body.mmco-site .what-we-are-section {
  background: var(--soft-gray);
}

body.mmco-site .what-we-are-section--compact,
body.mmco-site .what-we-are-section--split {
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

body.mmco-site .what-we-are-editorial {
  max-width: none;
}

body.mmco-site .what-we-are-head {
  margin-bottom: 1.15rem;
}

body.mmco-site .what-we-are-head .section-heading {
  max-width: none;
  margin: 0 0 0.75rem;
}

body.mmco-site .what-we-are-head .section-lead {
  margin: 0 0 1rem;
  max-width: 36rem;
}

body.mmco-site .what-we-are-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.mmco-site .what-we-are-badges li {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: var(--soft-gray);
  color: var(--charcoal);
  border: 1px solid rgba(43, 45, 49, 0.08);
}

body.mmco-site .what-we-are-editorial .what-we-are-prose {
  margin-top: 0;
  max-width: none;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

body.mmco-site .what-we-are-editorial .what-we-are-prose p {
  margin: 0 0 0.95rem;
}

body.mmco-site .what-we-are-editorial .what-we-are-prose p:last-child {
  margin-bottom: 0;
}

body.mmco-site .what-we-are-trust-panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: inherit;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

body.mmco-site .what-we-are-trust-panel--band,
body.mmco-site .what-we-are-trust-panel--side {
  margin-top: 0;
}

body.mmco-site .what-we-are-trust-panel::before {
  display: none;
}

body.mmco-site .what-we-are-trust-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

body.mmco-site .what-we-are-cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  position: relative;
  z-index: 1;
}

body.mmco-site .what-we-are-cred-row li {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

body.mmco-site .what-we-are-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  position: relative;
  z-index: 1;
}

body.mmco-site .what-we-are-stats-grid--4,
body.mmco-site .what-we-are-stats-grid--stack {
  grid-template-columns: 1fr;
}

body.mmco-site .what-we-are-stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}

body.mmco-site .what-we-are-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

body.mmco-site .what-we-are-stat strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

body.mmco-site .what-we-are-stat span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* ——— Services bento (compact stacked header) ——— */
body.mmco-site .services-offerings-section {
  background: var(--soft-gray);
  position: relative;
  overflow: visible;
}

body.mmco-site .services-offerings-section--compact {
  padding-top: clamp(2.5rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

body.mmco-site .services-offerings-header {
  margin-bottom: 1.35rem;
}

body.mmco-site .services-offerings-header__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem 1.75rem;
  align-items: end;
}

body.mmco-site .services-offerings-header .section-heading {
  max-width: none;
  margin: 0;
}

body.mmco-site .services-offerings-side .about-block-eyebrow,
body.mmco-site .about-block-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold-muted);
  padding: 0.38rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.65rem;
}

body.mmco-site .about-wide-wrap {
  width: min(1140px, 92%);
  margin: 0 auto;
}

body.mmco-site .about-section-glow {
  display: none;
}

body.mmco-site .services-offerings-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gray-medium);
  margin: 0;
}

body.mmco-site .services-about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: gap 0.25s var(--ease-out), color 0.2s ease;
}

body.mmco-site .services-about-link:hover {
  color: var(--gold);
  gap: 0.55rem;
}

body.mmco-site .services-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body.mmco-site .services-bento-group {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.65rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: visible;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

body.mmco-site .services-bento-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--charcoal-light));
  opacity: 0.9;
}

body.mmco-site .services-bento-group:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 160, 40, 0.3);
  box-shadow: var(--card-shadow-hover);
}

body.mmco-site .services-bento-group--wide {
  grid-column: 1 / -1;
}

body.mmco-site .services-bento-group__head {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
}

body.mmco-site .services-bento-group__icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold-muted);
  color: var(--gold);
  flex-shrink: 0;
}

body.mmco-site .services-bento-group__num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

body.mmco-site .services-bento-group__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.3;
}

body.mmco-site .services-bento-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.mmco-site .services-bento-group--wide .services-bento-group__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
}

body.mmco-site .services-bento-group__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray-medium);
}

body.mmco-site .services-bento-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-muted);
  color: var(--gold);
  margin-top: 0.15rem;
}

/* CPD feature panel — full-bleed editorial card */
body.mmco-site .services-cpd-feature {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1e2024 0%, var(--charcoal) 55%, var(--charcoal-mid) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(43, 45, 49, 0.18);
  color: #fff;
  overflow: visible;
  min-height: 0;
}

body.mmco-site .services-cpd-feature__glow {
  position: absolute;
  width: min(360px, 55%);
  height: min(360px, 120%);
  top: -35%;
  right: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 40, 0.28), transparent 68%);
  pointer-events: none;
}

body.mmco-site .services-cpd-feature__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  box-sizing: border-box;
}

body.mmco-site .services-cpd-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.mmco-site .services-cpd-feature__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: #fde9a8;
  background: rgba(197, 160, 40, 0.18);
  border: 1px solid rgba(197, 160, 40, 0.4);
}

body.mmco-site .services-cpd-feature__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
  flex-shrink: 0;
}

body.mmco-site .services-cpd-feature__icon .services-group-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-light);
  stroke: var(--gold-light);
}

body.mmco-site .services-cpd-feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 44rem;
}

body.mmco-site .services-cpd-feature__title,
body.mmco-site .services-cpd-feature h3 {
  color: #fff !important;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.mmco-site .services-cpd-feature__text,
body.mmco-site .services-cpd-feature__inner p,
body.mmco-site .services-cpd-feature p {
  color: rgba(255, 255, 255, 0.86) !important;
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
}

body.mmco-site .services-cpd-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.65rem 0;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--gold-light) !important;
  text-decoration: none;
  transition: gap 0.25s var(--ease-out), color 0.2s ease;
}

body.mmco-site .services-cpd-feature__link:hover {
  gap: 0.7rem;
  color: #fff !important;
}

body.mmco-site .services-cpd-feature__link svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

body.mmco-site .services-cpd-feature__link:hover svg {
  transform: translateX(3px);
}

/* ——— Features bento ——— */
body.mmco-site .tw-bento-section {
  background: var(--warm-white);
}

body.mmco-site .tw-bento-section--compact {
  padding-top: clamp(2.5rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}

body.mmco-site .section-header--compact {
  margin-bottom: 1.35rem;
  text-align: left;
}

body.mmco-site .section-header--compact .section-heading {
  max-width: 22ch;
}

body.mmco-site .section-header--compact .section-lead {
  margin-bottom: 0;
}

body.mmco-site .tw-bento-grid--equal {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  body.mmco-site .tw-bento-grid--equal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.mmco-site .tw-bento-card {
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.25rem 1.2rem 1.3rem;
}

body.mmco-site .tw-bento-card::before {
  background: linear-gradient(135deg, rgba(197, 160, 40, 0.3), transparent 50%);
}

body.mmco-site .tw-bento-card h3 {
  color: var(--charcoal);
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

body.mmco-site .tw-bento-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

body.mmco-site .tw-bento-card--3 {
  background: linear-gradient(145deg, var(--soft-gray) 0%, var(--warm-white) 70%);
}

body.mmco-site .tw-bento-card__icon {
  background: var(--gold-muted) !important;
  color: var(--gold) !important;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.75rem;
}

/* ——— Who we are ——— */
body.mmco-site .who-we-are-section {
  background: var(--soft-gray);
}

body.mmco-site .who-we-are-visual-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
}

/* ——— Stats ——— */
body.mmco-site .stats-band {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

body.mmco-site .stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 80% at 100% 50%, rgba(197, 160, 40, 0.12), transparent 60%);
  pointer-events: none;
}

body.mmco-site .stat-pill-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

body.mmco-site .stat-pill-value.is-done,
body.mmco-site .stat-pill-value.stat-count {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.mmco-site .stat-pill-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ——— Services grid ——— */
body.mmco-site .services-section {
  background: var(--warm-white);
}

body.mmco-site .service-card {
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

body.mmco-site .service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(197, 160, 40, 0.25);
  color: inherit;
}

body.mmco-site .service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-muted);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.mmco-site .service-card h3 {
  color: var(--charcoal);
  font-size: 1.1rem;
  margin: 0;
}

body.mmco-site .service-card .card-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  transition: transform 0.25s var(--ease-out);
}

body.mmco-site .service-card:hover .card-link {
  transform: translateX(4px);
}

body.mmco-site .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ——— Testimonials ——— */
body.mmco-site .testimonials-section {
  background: var(--soft-gray);
}

body.mmco-site .testimonial-card {
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
}

body.mmco-site .testimonial-card .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

body.mmco-site .testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* ——— Blog ——— */
body.mmco-site .blog-preview-section {
  background: var(--warm-white);
}

body.mmco-site .blog-card {
  background: var(--warm-white);
  border: 1px solid rgba(43, 45, 49, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

body.mmco-site .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

body.mmco-site .blog-card time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-medium);
}

body.mmco-site .view-all {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
}

body.mmco-site .view-all:hover {
  color: var(--gold);
  transform: translateX(3px);
}

/* ——— CTA ——— */
body.mmco-site .cta-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: center;
  color: #fff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

body.mmco-site .cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(197, 160, 40, 0.15), transparent 70%);
  pointer-events: none;
}

body.mmco-site .cta-heading,
body.mmco-site .cta-box h2 {
  color: #fff !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
  position: relative;
}

body.mmco-site .cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

/* ——— Industries ——— */
body.mmco-site .industries-section {
  background: var(--soft-gray);
}

body.mmco-site .industries-header {
  margin-bottom: 1.5rem;
}

body.mmco-site .industries-header .section-heading {
  max-width: none;
  margin-bottom: 0.35rem;
}

body.mmco-site .industries-header .section-lead {
  margin: 0;
}

body.mmco-site .industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.mmco-site .industry-tag {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--soft-gray);
  border: 1px solid rgba(43, 45, 49, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-out);
}

body.mmco-site .industry-tag:hover {
  background: var(--warm-white);
  border-color: rgba(197, 160, 40, 0.3);
  transform: translateY(-2px);
}

/* ——— Footer ——— */
body.mmco-site .site-footer {
  background: linear-gradient(180deg, #1e2024 0%, var(--charcoal) 100%);
  color: rgba(255, 255, 255, 0.85);
}

body.mmco-site .footer-col h4,
body.mmco-site .footer-newsletter h4 {
  color: var(--gold-light);
}

body.mmco-site .footer-contact-cta:hover {
  color: #fff;
}

/* ——— Page builder backgrounds ——— */
body.mmco-site .pb-bg-light { background: var(--soft-gray); }
body.mmco-site .pb-bg-navy,
body.mmco-site .pb-bg-charcoal {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.9);
}
body.mmco-site .pb-bg-gold-accent {
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--soft-gray) 100%);
}

body.mmco-site.nav-open {
  overflow: hidden;
}

body.mmco-site.nav-open .site-header {
  background: rgba(250, 250, 248, 0.98) !important;
}

@media (max-width: 900px) {
  body.mmco-site .what-we-are-head__row,
  body.mmco-site .services-offerings-header__row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  body.mmco-site .what-we-are-stats-grid--4,
  body.mmco-site .what-we-are-stats-grid--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mmco-site .services-bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.mmco-site .services-bento-group {
    padding: 1.5rem 1.35rem 1.35rem;
  }

  body.mmco-site .services-bento-group--wide .services-bento-group__list {
    grid-template-columns: 1fr;
  }

  body.mmco-site .services-cpd-feature__inner {
    padding: 1.5rem 1.35rem 1.65rem;
  }

  body.mmco-site .tw-bento-grid--equal {
    grid-template-columns: 1fr;
  }

  body.mmco-site .main-nav {
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mmco-site .motion-card,
  body.mmco-site .service-card,
  body.mmco-site .tw-trust-pill,
  body.mmco-site .what-we-are-stat {
    transition: none !important;
  }
}

/* ——— UI life: section rhythm & motion polish ——— */
body.mmco-site .scroll-progress {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  height: 3px;
}

body.mmco-site .section-header {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

body.mmco-site .section-divider {
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0.5rem 0 0.85rem;
}

body.mmco-site .reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
body.mmco-site .reveal-stagger > *:nth-child(2) { transition-delay: 0.09s; }
body.mmco-site .reveal-stagger > *:nth-child(3) { transition-delay: 0.14s; }
body.mmco-site .reveal-stagger > *:nth-child(4) { transition-delay: 0.19s; }
body.mmco-site .reveal-stagger > *:nth-child(5) { transition-delay: 0.24s; }
body.mmco-site .reveal-stagger > *:nth-child(6) { transition-delay: 0.29s; }

body.mmco-site .what-we-are-section,
body.mmco-site .services-offerings-section,
body.mmco-site .tw-bento-section,
body.mmco-site .who-we-are-section,
body.mmco-site .testimonials-section,
body.mmco-site .blog-preview-section {
  position: relative;
}

body.mmco-site .what-we-are-section::after,
body.mmco-site .tw-bento-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(720px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 45, 49, 0.1), transparent);
  pointer-events: none;
}

body.mmco-site .tw-bento-card,
body.mmco-site .testimonial-card,
body.mmco-site .blog-card,
body.mmco-site .service-card {
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

body.mmco-site a.card-link,
body.mmco-site .services-about-link,
body.mmco-site .view-all,
body.mmco-site .footer-contact-cta {
  transition: color 0.2s ease, gap 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

body.mmco-site .btn {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

body.mmco-site .btn:hover {
  transform: translateY(-2px);
}

body.mmco-site .who-we-are-checklist li {
  transition: transform 0.25s var(--ease-out), color 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.mmco-site .who-we-are-checklist li:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 40, 0.35);
  box-shadow: 0 8px 22px rgba(43, 45, 49, 0.08);
}

body.mmco-site .about-vision-block h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--charcoal, #2b2d31);
  letter-spacing: -0.01em;
}

body.mmco-site .about-vision-block h2:first-child {
  margin-top: 0;
}

body.mmco-site .about-vision-block p,
body.mmco-site .about-vision-block li {
  line-height: 1.7;
  color: var(--text-muted, #5a5d63);
}

body.mmco-site .about-vision-block ul {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

body.mmco-site .site-footer {
  position: relative;
}

body.mmco-site .site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--charcoal-mid), var(--gold), var(--charcoal-mid));
  opacity: 0.85;
}
