/* ═══════════════════════════════════════════════════════════
   MMK CONSULT — Unified Design System
   Premium consulting aesthetic — Design Mirror: McKinsey palette
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
         MMK CONSULT — Premium Landing Page Styles
         Light-background consulting aesthetic (unified with site)
         ═══════════════════════════════════════════════════════════ */

      /* ── Tokens ──────────────────────────────────────────────── */
      :root {
        /* Design Mirror — McKinsey.com palette applied to MMK tokens.
           Accent token kept as --accent-gold for compatibility; value is now
           McKinsey "Blue Ribbon". Bower/McKinsey Sans are proprietary →
           mapped to the closest in-use faces (Source Serif 4 + Inter). */
        --bg-main:       #ffffff;
        --bg-card:       #ffffff;
        --bg-soft:       #f5f5f5;
        --text-main:     #1d2b33;
        --text-muted:    #42535c;
        --text-light:    #5e6e76;
        --text-heading:  #051c2c;
        --navy:          #051c2c;
        --deep-blue:     #005eb8;
        --teal:          #005eb8;
        --consulting-green: #051c2c;
        --accent-gold:   #2251ff;
        --accent-gold-hover: #1a3fd9;
        --line-soft:     #dfe3e6;
        --line-softer:   #eef1f2;
        --border-card:   #dfe3e6;
        --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
        --font-sans:  Inter, 'system-ui', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        --radius:    0;
        --radius-sm: 0;
        --radius-lg: 0;
        --shadow-card: 0 1px 2px rgba(5,28,44,0.05);
        --shadow-card-hover: 0 8px 24px rgba(5,28,44,0.10);
        --shadow-elevated: 0 14px 36px rgba(5,28,44,0.12);
      }

      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

      html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }

      body {
        font-family: var(--font-sans);
        color: var(--text-main);
        background: var(--bg-main);
        line-height: 1.65;
        overflow-x: hidden;
      }

      img, picture, video, svg { display: block; max-width: 100%; height: auto; }
      a { color: inherit; text-decoration: none; }
      button, input, select, textarea { font: inherit; color: inherit; }

      :focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 3px;
        border-radius: 4px;
      }

      /* ── Fluid background ───────────────────────────────────── */
      #fluid-bg {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0.15;
        pointer-events: none;
      }

      /* ── Skip link ──────────────────────────────────────────── */
      .skip-link {
        position: absolute;
        top: -100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        padding: 0.75rem 1.5rem;
        background: var(--navy);
        color: white;
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 0 0 var(--radius) var(--radius);
        transition: top 0.2s ease;
        white-space: nowrap;
      }
      .skip-link:focus { top: 0; }

      /* ── Container ──────────────────────────────────────────── */
      .container-main {
        width: 100%;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 clamp(1.25rem, 4vw, 3rem);
      }

      /* ── Header ─────────────────────────────────────────────── */
      .mmk-header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 100;
        transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
        background: transparent;
        border-bottom: 1px solid transparent;
      }
      .mmk-header.scrolled {
        background: rgba(247, 248, 246, 0.95);
        backdrop-filter: blur(16px) saturate(1.4);
        -webkit-backdrop-filter: blur(16px) saturate(1.4);
        box-shadow: 0 1px 0 rgba(0,0,0,0.06);
        border-bottom-color: var(--line-soft);
      }

      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 clamp(1.25rem, 4vw, 3rem);
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        color: var(--text-heading);
        flex-shrink: 0;
      }
      .brand-logo-img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        object-fit: contain;
        display: block;
        flex-shrink: 0;
        transition: transform 0.25s ease;
      }
      .brand:hover .brand-logo-img { transform: scale(1.04); }
      .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
      .brand-text strong {
        font-family: var(--font-serif);
        font-size: 0.8125rem; font-weight: 600;
        color: var(--text-heading); letter-spacing: 0.01em;
      }
      .brand-text span {
        font-size: 0.625rem; font-weight: 500;
        color: var(--text-light); letter-spacing: 0.04em;
        text-transform: uppercase;
      }

      .nav-links {
        display: flex; align-items: center; gap: 0.25rem;
        list-style: none;
      }
      .nav-links a {
        padding: 0.5rem 0.625rem;
        font-size: 0.78125rem; font-weight: 500;
        color: var(--text-muted);
        border-radius: 6px;
        transition: color 0.2s ease, background 0.2s ease;
        letter-spacing: 0.01em;
      }
      .nav-links a:hover {
        color: var(--text-heading);
        background: rgba(255, 255, 255, 0.06);
      }
      .nav-cta {
        margin-left: 0.75rem;
        padding: 0.5625rem 1.25rem !important;
        font-size: 0.75rem !important;
        border-radius: 8px !important;
        background: var(--navy) !important;
        color: white !important;
        font-weight: 600 !important;
        transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
      }
      .nav-cta:hover {
        background: var(--deep-blue) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
        color: white !important;
      }

      .nav-toggle {
        display: none;
        background: none; border: none; cursor: pointer; padding: 0.5rem;
      }

      .nav-mobile-overlay {
        display: none;
        position: fixed; inset: 0; z-index: 99;
        background: rgba(247, 248, 246, 0.98);
        backdrop-filter: blur(20px);
        padding-top: 80px;
        padding-left: clamp(1.25rem, 4vw, 3rem);
        padding-right: clamp(1.25rem, 4vw, 3rem);
        flex-direction: column; gap: 0;
        animation: fadeIn 0.2s ease;
      }
      .nav-mobile-overlay.open { display: flex; }
      .nav-mobile-overlay a {
        padding: 0.875rem 0;
        font-size: 1.125rem; font-weight: 500;
        color: var(--text-heading);
        border-bottom: 1px solid var(--line-soft);
        font-family: var(--font-serif);
      }
      .nav-mobile-overlay .btn-mob {
        margin-top: 1.25rem;
        display: flex; align-items: center; justify-content: center;
        padding: 0.875rem 2rem;
        background: var(--navy); color: white;
        border-radius: var(--radius); font-weight: 600; font-size: 0.875rem;
      }

      @keyframes fadeIn {
        from { opacity: 0; } to { opacity: 1; }
      }

      @media (max-width: 1024px) {
        .nav-links { display: none; }
        .nav-toggle { display: block; }
      }

      /* ── Section system ─────────────────────────────────────── */
      .section {
        padding: clamp(4.5rem, 9vw, 8rem) 0;
        position: relative;
        z-index: 1;
      }
      .section-soft { background: var(--bg-soft); }
      .section-card { background: var(--bg-card); }
      .section-divider {
        border-top: 1px solid var(--line-soft);
      }

      .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 4rem); }
      .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
      .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

      @media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 768px) {
        .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
      }

      /* ── Typography ──────────────────────────────────────────── */
      .eyebrow {
        font-family: var(--font-sans);
        font-size: 0.6875rem; font-weight: 600;
        letter-spacing: 0.18em; text-transform: uppercase;
        color: var(--accent-gold);
        margin-bottom: 1rem;
      }
      .eyebrow-centered {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
      }
      .eyebrow-centered::before,
      .eyebrow-centered::after {
        content: '';
        display: block;
        width: 24px;
        height: 1px;
        background: var(--accent-gold);
        opacity: 0.4;
      }

      .heading-hero {
        font-family: var(--font-serif);
        font-size: clamp(2.2rem, 4.8vw, 4rem);
        font-weight: 600; line-height: 1.05;
        color: var(--text-heading); letter-spacing: -0.02em;
      }
      .heading-xl {
        font-family: var(--font-serif);
        font-size: clamp(1.6rem, 3.2vw, 2.6rem);
        font-weight: 600; line-height: 1.15;
        color: var(--text-heading); letter-spacing: -0.01em;
      }
      .heading-lg {
        font-family: var(--font-serif);
        font-size: clamp(1.3rem, 2.5vw, 2rem);
        font-weight: 600; line-height: 1.2; color: var(--text-heading);
      }
      .heading-md {
        font-family: var(--font-serif);
        font-size: clamp(1.1rem, 1.8vw, 1.4rem);
        font-weight: 600; line-height: 1.25; color: var(--text-heading);
      }
      .body-lg {
        font-size: clamp(1rem, 1.3vw, 1.125rem);
        line-height: 1.7; color: var(--text-muted); max-width: 60ch;
      }
      .body { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); }
      .body-sm { font-size: 0.8125rem; line-height: 1.6; color: var(--text-light); }

      /* ── Components ─────────────────────────────────────────── */
      .pill {
        display: inline-flex; align-items: center;
        padding: 0.3125rem 0.75rem;
        background: rgba(15,61,46,0.10);
        border-radius: 9999px;
        font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em;
        text-transform: uppercase; color: var(--accent-gold);
        white-space: nowrap;
      }

      .proof-tag {
        display: inline-flex; align-items: center;
        padding: 0.5rem 1rem;
        background: rgba(17,24,39,0.06);
        border-radius: var(--radius-sm);
        font-size: 0.75rem; font-weight: 500;
        color: var(--text-muted); letter-spacing: 0.01em;
        transition: transform 0.2s ease, color 0.2s ease;
      }
      .proof-tag:hover {
        transform: translateY(-1px);
        color: var(--text-main);
      }

      .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
        padding: 0.75rem 1.75rem;
        font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
        letter-spacing: 0.02em; border-radius: var(--radius);
        transition: all 0.25s ease; cursor: pointer;
        text-decoration: none; border: none;
      }
      .btn-primary { background: var(--navy); color: white; }
      .btn-primary:hover {
        background: var(--deep-blue); transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15); color: white;
      }
      .btn-secondary {
        background: transparent; color: var(--text-main);
        border: 1.5px solid var(--line-soft);
      }
      .btn-secondary:hover {
        border-color: var(--accent-gold);
        background: rgba(201,168,76,0.08);
        transform: translateY(-1px);
      }
      .btn-gold { background: var(--accent-gold); color: white; }
      .btn-gold:hover {
        background: var(--accent-gold-hover); transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(184,138,68,0.25); color: white;
      }
      .btn-ghost {
        background: transparent; color: var(--text-main);
        border: 1.5px solid var(--line-soft);
      }
      .btn-ghost:hover {
        border-color: var(--accent-gold);
        background: rgba(201,168,76,0.08);
        transform: translateY(-1px);
      }

      /* ── Card system ────────────────────────────────────────── */
      .card {
        background: var(--bg-soft); padding: 2rem;
        transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
      }
      .card:hover {
        transform: translateY(-3px);
      }

      /* ── Image styling — free-flowing, no borders, no frames ─── */
      .editorial-frame {
        border-radius: 1.5rem;
        overflow: hidden;
        position: relative;
      }
      .editorial-frame img {
        width: 100%; height: 100%; object-fit: cover;
        transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
      }
      .editorial-frame:hover img {
        transform: scale(1.04);
      }

      .editorial-frame::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 1.5rem;
        background: linear-gradient(180deg, transparent 60%, rgba(247,248,246,0.45) 100%);
        pointer-events: none;
      }

      /* ── HERO ───────────────────────────────────────────────── */
      .hero-section {
        position: relative; z-index: 1;
        min-height: 100vh;
        display: flex; flex-direction: column; justify-content: center;
        padding-top: 120px;
        padding-bottom: clamp(3rem, 6vw, 5rem);
        background: linear-gradient(180deg, var(--bg-main) 0%, rgba(238,243,245,0.8) 50%, var(--bg-main) 100%);
      }

      .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 5vw, 5rem);
        align-items: center;
      }

      .hero-content { max-width: 640px; }

      .hero-visual {
        position: relative;
        border-radius: 2rem 1rem 2.5rem 1rem;
        overflow: hidden;
        min-height: 540px;
        max-height: 660px;
      }
      .hero-visual img,
      .hero-visual .hero-visual-video {
        position: absolute; inset: 0;
        width: 100%; height: 100%; object-fit: cover; display: block;
      }
      .hero-visual-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(247,248,246,0.70) 0%, transparent 50%);
        pointer-events: none;
      }

      @media (max-width: 768px) {
        .hero-grid { grid-template-columns: 1fr !important; }
        .hero-visual { display: block !important; min-height: 380px; }
        .hero-section { min-height: auto; padding-top: 100px; }
      }

      /* ── Scroll reveal ────────────────────────────────────────── */
      .reveal {
        opacity: 0; transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
      }
      .reveal.revealed { opacity: 1; transform: translateY(0); }
      .reveal-delay-1 { transition-delay: 0.1s; }
      .reveal-delay-2 { transition-delay: 0.2s; }
      .reveal-delay-3 { transition-delay: 0.3s; }

      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
          animation-duration: 0.01ms !important;
          transition-duration: 0.01ms !important;
        }
        .reveal { opacity: 1; transform: none; }
      }

      /* ── WHAT MMK DOES ──────────────────────────────────────── */
      .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 2.5vw, 2rem);
        margin-top: 2rem;
      }
      .step-item {
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--line-soft);
        transition: transform 0.3s ease;
        position: relative;
        overflow: hidden;
      }
      .step-item:hover {
        transform: translateX(4px);
      }
      .step-item::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 2px;
        height: 100%;
        background: var(--accent-gold);
        transform: scaleY(0); transform-origin: top;
        transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
      }
      .step-item:hover::before { transform: scaleY(1); }
      .step-item h3 {
        font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
        color: var(--text-heading); margin-bottom: 0.5rem;
      }
      .step-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
      @media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

      /* ── SERVICES ───────────────────────────────────────────── */
      .service-card {
        display: flex; flex-direction: column; gap: 1rem;
        padding: 2rem 0;
        text-decoration: none; color: inherit;
        transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
        position: relative; overflow: hidden;
      }
      .service-card::before {
        content: '';
        position: absolute; top: 0; left: 0; width: 100%; height: 3px;
        background: var(--accent-gold);
        transform: scaleX(0); transform-origin: left;
        transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
        z-index: 2;
      }
      .service-card:hover {
        transform: translateY(-3px);
      }
      .service-card:hover::before { transform: scaleX(1); }
      .service-card:hover .svc-arrow { gap: 0.625rem !important; }

      .service-card-img {
        height: 240px;
        margin: 0 0 1rem 0;
        overflow: hidden;
        position: relative;
        border-radius: 1.5rem 0.5rem 2rem 1rem;
      }
      .service-card-img img {
        width: 100%; height: 100%; object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
        filter: brightness(0.95) saturate(0.95);
      }
      .service-card:hover .service-card-img img {
        transform: scale(1.08);
        filter: brightness(1) saturate(1);
      }
      .service-card-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 50%, rgba(247,248,246,0.5) 100%);
        pointer-events: none;
      }

      .svc-arrow {
        display: flex; align-items: center; gap: 0.375rem;
        font-size: 0.75rem; font-weight: 600; color: var(--accent-gold);
        margin-top: auto; padding-top: 0.75rem;
        transition: gap 0.25s ease;
      }

      @media (max-width: 768px) {
        .service-card-img { height: 180px; }
      }

      /* Stats and hero metric CSS removed — clean, free-flowing layout */

      /* ── PROCESS ────────────────────────────────────────────── */
      .process-steps {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem; margin-top: 2.5rem;
        position: relative;
      }
      .process-steps::before {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: 7.5%;
        right: 7.5%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
        z-index: 0;
        pointer-events: none;
      }
      .process-step {
        position: relative; padding: 1.75rem 0;
        counter-increment: process-counter;
        z-index: 1;
        transition: transform 0.3s ease;
      }
      .process-step:hover {
        transform: translateY(-2px);
      }
      .process-step-num {
        font-family: var(--font-serif); font-size: 0.6875rem; font-weight: 700;
        color: var(--accent-gold); letter-spacing: 0.1em;
        text-transform: uppercase; margin-bottom: 0.75rem; display: block;
      }
      .process-step h3 {
        font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600;
        color: var(--text-heading); margin-bottom: 0.5rem; line-height: 1.3;
      }
      .process-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
      @media (max-width: 1024px) { .process-steps { grid-template-columns: repeat(2, 1fr); } .process-steps::before { display: none; } }
      @media (max-width: 640px)  { .process-steps { grid-template-columns: 1fr; } }

      /* ── INSIGHTS FEATURED ────────────────────────────────────── */
      .insight-featured {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 4vw, 3.5rem);
        align-items: center;
        overflow: hidden;
        transition: transform 0.3s ease;
      }
      .insight-featured:hover {
        transform: translateY(-2px);
      }
      .insight-featured figure { margin: 0; overflow: hidden; border-radius: 1.5rem 0.5rem 2rem 1rem; }
      .insight-featured figure img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease; filter: brightness(0.95); }
      .insight-featured:hover figure img { transform: scale(1.02); filter: brightness(1); }
      .insight-featured-body {
        padding: clamp(1.5rem, 3vw, 2.5rem);
        padding-left: 0;
      }
      .insight-featured-body h3 {
        font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.6rem);
        font-weight: 600; color: var(--text-heading); margin: 1rem 0 0.75rem; line-height: 1.25;
      }
      .insight-featured-body p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
      .insight-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
      @media (max-width: 768px) {
        .insight-featured { grid-template-columns: 1fr; }
        .insight-featured-body { padding: clamp(1.5rem, 3vw, 2.5rem); padding-top: 0; }
      }

      /* ── TRUST ──────────────────────────────────────────────── */
      .trust-panel {
        padding: clamp(3rem, 5vw, 4rem) 0;
        position: relative;
      }
      .trust-tags { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 2rem; justify-content: center; }

      /* ── PROOF VISUAL ───────────────────────────────────────── */
      .proof-visual {
        position: relative;
        overflow: hidden;
        border-radius: 1.5rem 0.5rem 2rem 1rem;
        transition: transform 0.3s ease;
      }
      .proof-visual:hover {
        transform: translateY(-2px);
      }
      .proof-visual img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease; filter: brightness(0.95); }
      .proof-visual:hover img { transform: scale(1.02); filter: brightness(1); }
      .proof-note {
        margin-top: 1rem; padding: 1.25rem 0;
        transition: transform 0.3s ease;
        position: relative;
      }
      .proof-note:hover {
        transform: translateY(-1px);
      }
      .proof-note::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 2px;
        background: var(--accent-gold);
        opacity: 0.3;
        border-radius: 1px;
      }
      .proof-note h4 {
        font-family: var(--font-serif); font-size: 1rem; font-weight: 600;
        color: var(--text-heading); margin-bottom: 0.375rem;
      }
      .proof-note p { font-size: 0.875rem; color: var(--text-muted); }

      /* ── TESTIMONIAL ────────────────────────────────────────── */
      .testimonial-wrap {
        max-width: 760px; margin: 0 auto; text-align: center;
        position: relative;
      }
      .testimonial-quote-mark {
        font-family: var(--font-serif);
        font-size: clamp(4rem, 8vw, 6rem);
        font-weight: 700;
        color: var(--accent-gold);
        opacity: 0.22;
        line-height: 1;
        position: absolute;
        top: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
        user-select: none;
      }
      .testimonial-quote {
        font-family: var(--font-serif);
        font-size: clamp(1.2rem, 2.4vw, 1.7rem);
        font-weight: 500; line-height: 1.4;
        color: var(--text-heading); font-style: italic;
        position: relative;
      }
      .testimonial-caption {
        margin-top: 1.25rem; font-size: 0.8125rem;
        color: var(--text-light); letter-spacing: 0.01em;
      }

      /* ── CTA PANEL ──────────────────────────────────────────── */
      .cta-panel {
        background: var(--navy);
        padding: clamp(2.5rem, 5vw, 4.5rem);
        text-align: center; position: relative; overflow: hidden;
      }
      .cta-panel::before {
        content: ''; position: absolute; top: -50%; right: -20%;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(184,138,68,0.08) 0%, transparent 70%);
        pointer-events: none;
      }
      .cta-panel::after {
        content: ''; position: absolute; bottom: -50%; left: -20%;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(18,53,91,0.5) 0%, transparent 70%);
        pointer-events: none;
      }

      /* ── NEWSLETTER STRIP ───────────────────────────────────── */
      .footer-newsletter-strip {
        background: var(--navy); padding: clamp(2rem, 4vw, 2.5rem) 0;
        position: relative; z-index: 2;
      }
      .footer-nl-inner {
        max-width: 1320px; margin: 0 auto;
        padding: 0 clamp(1.25rem, 4vw, 3rem);
        display: grid; grid-template-columns: 1fr 1.5fr auto;
        gap: 2rem; align-items: center;
      }
      .footer-nl-brand { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.25rem; }
      .footer-nl-logo { width: 24px; height: 24px; border-radius: 4px; object-fit: contain; }
      .footer-nl-brand strong { font-size: 0.875rem; font-weight: 600; color: white; }
      .footer-nl-text > span { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
      .footer-nl-form { display: flex; gap: 0.5rem; width: 100%; }
      .footer-nl-email {
        flex: 1; min-width: 0;
        padding: 0.625rem 1rem; border-radius: var(--radius);
        border: 1px solid rgba(255,255,255,0.15);
        background: rgba(255,255,255,0.08); color: white;
        font-size: 0.8125rem;
      }
      .footer-nl-email::placeholder { color: rgba(255,255,255,0.4); }
      .footer-nl-email:focus { outline: 2px solid var(--accent-gold); border-color: transparent; }
      .footer-nl-btn {
        padding: 0.625rem 1.25rem; background: var(--accent-gold); color: white;
        border: none; border-radius: var(--radius); font-size: 0.8125rem;
        font-weight: 600; cursor: pointer; white-space: nowrap;
        transition: background 0.2s, transform 0.2s ease;
      }
      .footer-nl-btn:hover { background: var(--accent-gold-hover); transform: translateY(-1px); }
      .footer-nl-note { font-size: 0.6875rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
      .footer-nl-feedback { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
      @media (max-width: 900px) {
        .footer-nl-inner { grid-template-columns: 1fr; gap: 1rem; }
        .footer-nl-note { white-space: normal; }
      }

      /* ── FOOTER ───────────────────────────────────────────────── */
      .mmk-footer {
        background: var(--navy); padding: clamp(3rem, 6vw, 4rem) 0 0;
        position: relative; z-index: 2;
      }
      .footer-grid {
        display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: clamp(2rem, 4vw, 3rem); margin-bottom: 3rem;
      }
      .footer-brand a {
        display: flex; align-items: center; gap: 0.625rem;
        color: white; font-size: 0.9375rem; font-weight: 600;
        font-family: var(--font-serif); margin-bottom: 0.75rem;
      }
      .footer-brand img { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; }
      .footer-brand p { font-size: 0.8125rem; color: rgba(255,255,255,0.6); line-height: 1.65; }
      .footer-brand-reg { display: block; font-size: 0.6875rem; color: rgba(255,255,255,0.3); margin-top: 0.75rem; }
      .mmk-footer h4 {
        font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em;
        text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1rem;
      }
      .mmk-footer ul { list-style: none; }
      .mmk-footer ul li + li { margin-top: 0.5rem; }
      .mmk-footer ul a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
      .mmk-footer ul a:hover { color: white; }
      .footer-cta-text { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
      .footer-cta-btn {
        display: inline-flex; padding: 0.625rem 1.25rem;
        background: var(--accent-gold); color: white;
        border-radius: var(--radius); font-size: 0.8125rem;
        font-weight: 600; transition: background 0.2s, transform 0.2s ease;
      }
      .footer-cta-btn:hover { background: var(--accent-gold-hover); color: white; transform: translateY(-1px); }
      .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 1.25rem 0;
        display: flex; justify-content: space-between; align-items: center;
        flex-wrap: wrap; gap: 1rem;
        font-size: 0.75rem; color: rgba(255,255,255,0.4);
      }
      .footer-socials { display: inline-flex; gap: 1.25rem; align-items: center; }
      .footer-socials a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
      .footer-socials a:hover { color: rgba(255,255,255,0.9); }
      .footer-socials svg { width: 16px; height: 16px; }
      @media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
      @media (max-width: 580px)  { .footer-grid { grid-template-columns: 1fr; } }

      /* ── Mobile refinements ────────────────────────────────────── */
      @media (max-width: 768px) {
        .hero-section { min-height: auto; padding-top: 100px; }
        .hero-grid { grid-template-columns: 1fr !important; gap: 2rem; }
        .hero-content,
        .hero-grid > * {
          min-width: 0;
          max-width: 100%;
        }
        .heading-hero,
        .hero-content .body-lg {
          max-width: 100%;
          overflow-wrap: break-word;
        }
        .hero-content > div[style*="display: flex"] {
          display: grid !important;
          grid-template-columns: 1fr !important;
          width: 100% !important;
        }
        .hero-content .btn {
          width: 100%;
        }
        .hero-visual {
          min-height: 420px;
        }
        .steps-grid { margin-top: 1.5rem; }
        .process-steps { margin-top: 1.5rem; }
        .trust-panel { padding: 2rem; }
      }

      @media (max-width: 480px) {
        .btn { padding: 0.625rem 1.25rem; font-size: 0.75rem; }
        .service-card { padding: 1.5rem 0; }
        .service-card-img { margin: 0 0 0.5rem 0; height: 160px; }
        .card { padding: 1.5rem; }
      }\n

/* ═══════════════════════════════════════════════════════════
   COMPATIBILITY LAYER — Existing page structures
   ═══════════════════════════════════════════════════════════ */

/* ── Footer (unified for all pages) ───────────────────────── */
.mmk-footer,
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.70);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}
.mmk-footer a,
.site-footer a {
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  transition: color 0.2s;
}
.mmk-footer a:hover,
.site-footer a:hover {
  color: var(--accent-gold);
}
.mmk-footer strong,
.site-footer strong {
  color: white;
}

/* ── Cinematic hero (team page) ───────────────────────────── */
.cinematic-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.cinematic-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cinematic-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy) 0%, transparent 60%);
}
.cinematic-hero .section-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}
.cinematic-hero h1 {
  color: white;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
}
.cinematic-hero .hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* ── Section inner (existing pages) ───────────────────────── */
.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Consultant cards ─────────────────────────────────────── */
.consultant-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.consultant-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line-soft);
}
.consultant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.consultant-card-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.consultant-card-body {
  padding: 1.5rem;
}
.consultant-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0;
}
.consultant-card-body h3 a {
  color: var(--text-heading);
  text-decoration: none;
}
.consultant-card-body h3 a:hover {
  color: var(--deep-blue);
}
.consultant-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-decoration: none;
}
.consultant-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.75rem 0;
}
.profile-link {
  font-size: 0.8125rem;
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 500;
}
.profile-link:hover {
  color: var(--accent-gold);
}

/* ── Section soft background ──────────────────────────────── */
.section-soft {
  background: var(--bg-soft);
}

/* ── Buttons (existing page variants) ─────────────────────── */
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--deep-blue);
  color: white;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.button-primary:hover {
  background: var(--navy);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}
.button-secondary:hover {
  background: var(--bg-soft);
}

/* ── Closing section (dark CTA) ───────────────────────────── */
.closing-section {
  background: var(--navy);
  color: white;
  text-align: center;
}
.closing-section h2 {
  color: white;
  font-family: var(--font-serif);
}
.closing-section .eyebrow {
  color: var(--accent-gold);
}


/* ── Reveal animations (fixed: was missing from extraction) ─ */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════
   Design Mirror — McKinsey sharp corners
   Flattens rounded rectangles site-wide; circular elements
   (avatars, icon buttons, social, logo) are re-asserted below.
   ═══════════════════════════════════════════════════════════ */
.btn, button, [class*="btn"], input, textarea, select,
[class*="card"], [class*="panel"], [class*="tile"], [class*="box"],
[class*="hero"], [class*="cta"], [class*="tab"], [class*="chip"],
[class*="tag"], [class*="pill"], [class*="badge"], [class*="field"],
[class*="search"], [class*="media"], [class*="thumb"], [class*="cover"],
[class*="frame"], [class*="photo"], [class*="image"], [class*="img-"],
figure, blockquote, pre, code, table, img, picture, video {
  border-radius: 0 !important;
}

/* Preserve intentional circles */
[class*="avatar"], [class*="circle"], [class*="round"], [class*="headshot"],
[class*="-pic"], [class*="profile-photo"], [class*="profile-img"],
[class*="social"], [class*="dot"], .wa-float,
.footer-socials a, .social-icon-link {
  border-radius: 50% !important;
}


/* ═══════════════════════════════════════════════════════════
   MMK CONSULT — Premium McKinsey-Style Design System
   Exact implementation from MMK_DESIGN_SYSTEM_PROMPT.md
   ═══════════════════════════════════════════════════════════ */

/* ── Import Playfair Display (design system requirement) ───── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design System CSS Custom Properties ──────────────────── */
:root {
  /* Core McKinsey Palette */
  --mmk-navy: #051C2C;
  --mmk-navy-light: #0A2540;
  --mmk-blue: #2251FF;
  --mmk-blue-light: #4F8CFF;
  --mmk-blue-dark: #1A40CC;
  --mmk-bg: #F6F7F9;
  --mmk-bg-warm: #F8F7F4;
  --mmk-surface: #FFFFFF;
  --mmk-text: #111827;
  --mmk-text-secondary: #4B5563;
  --mmk-text-muted: #9CA3AF;
  --mmk-border: #E5E7EB;
  --mmk-border-light: #F0F0F0;
  --mmk-accent-bg: #EEF2FF;
  --mmk-sidebar-bg: #F8F9FB;

  /* Hero Gradient */
  --mmk-hero-gradient: linear-gradient(135deg, #051C2C 0%, #0A2540 50%, #0D2E4C 100%);

  /* Font overrides per design system */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Typography System (Design System) ─────────────────────── */
body {
  background-color: var(--mmk-bg);
  color: var(--mmk-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  line-height: 1.7;
  color: var(--mmk-text-secondary);
}

/* ── Layout Container ─────────────────────────────────────── */
.mmk-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .mmk-container {
    padding: 0 3rem;
  }
}

/* ── Nav Link ─────────────────────────────────────────────── */
.mmk-nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mmk-text);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.mmk-nav-link:hover {
  color: var(--mmk-blue);
  background-color: var(--mmk-accent-bg);
}

.mmk-nav-link.active {
  color: var(--mmk-blue);
  font-weight: 600;
}

/* ── Publication/insight article header — mobile nav ───────
   Shared by all pages using the lightweight sticky header
   (`.mmk-pub-header`) with plain `.mmk-nav-link` links, e.g.
   the publication and insight article templates.
   Reuses the same is-open / aria-expanded contract as
   /assets/js/mobile-nav.js so no page-specific JS is needed. */
.mmk-pub-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--mmk-border);
  border-radius: 0.375rem;
  cursor: pointer;
  flex-shrink: 0;
}

.mmk-pub-nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--mmk-navy);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mmk-pub-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.mmk-pub-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mmk-pub-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mmk-pub-nav-cta-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .mmk-pub-nav-toggle {
    display: inline-flex;
  }

  .mmk-pub-header-cta {
    display: none;
  }

  .mmk-pub-header nav[data-nav] {
    position: fixed;
    inset: 4rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--mmk-border);
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(5, 28, 44, 0.14);
    z-index: 90;
  }

  .mmk-pub-header nav[data-nav].is-open {
    display: flex;
  }

  .mmk-pub-header nav[data-nav] .mmk-nav-link {
    width: 100%;
    padding: 0.875rem 0.75rem;
    border-radius: 0.375rem;
  }

  .mmk-pub-nav-cta-mobile {
    display: block;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--mmk-navy);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
  }

  .mmk-pub-nav-cta-mobile:hover {
    background: var(--mmk-navy-light);
  }
}

/* ── Section Label ────────────────────────────────────────── */
.mmk-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mmk-blue);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mmk-section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--mmk-blue);
}

/* ── Hero ─────────────────────────────────────────────────── */
.mmk-hero {
  background: linear-gradient(135deg, #051C2C 0%, #0A2540 50%, #0D2E4C 100%);
  position: relative;
  overflow: hidden;
}

.mmk-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(34, 81, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mmk-hero h1 { color: white; }
.mmk-hero p { color: rgba(255, 255, 255, 0.7); }
.mmk-hero .meta { color: rgba(255, 255, 255, 0.6); }

/* ── Buttons ──────────────────────────────────────────────── */
.mmk-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: var(--mmk-navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mmk-btn-primary:hover {
  background-color: var(--mmk-accent-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mmk-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mmk-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── Tags ─────────────────────────────────────────────────── */
.mmk-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background-color: var(--mmk-accent-bg);
  color: var(--mmk-blue-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  border: 1px solid rgba(34, 81, 255, 0.15);
}

/* ── Cards ──────────────────────────────────────────────────── */
.mmk-card {
  background: var(--mmk-surface);
  border: 1px solid var(--mmk-border);
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
}

.mmk-card:hover {
  border-color: var(--mmk-blue);
  box-shadow: 0 4px 20px rgba(34, 81, 255, 0.08);
}

/* ── Key Points Box ───────────────────────────────────────── */
.mmk-key-points {
  background: var(--mmk-sidebar-bg);
  border-left: 3px solid var(--mmk-blue);
  padding: 1.5rem 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* ── Sidebar Card ─────────────────────────────────────────── */
.mmk-sidebar-card {
  background: var(--mmk-sidebar-bg);
  border: 1px solid var(--mmk-border-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* ── Status Badges (Dashboard) ──────────────────────────── */
.status-in-progress { background: rgba(34,81,255,0.1); color: var(--mmk-blue); }
.status-fieldwork { background: #FEF3C7; color: #92400E; }
.status-analysis { background: #D1FAE5; color: #065F46; }
.status-drafting { background: #F3E8FF; color: #6B21A8; }

/* ── Design System Footer Override ─────────────────────────── */
.mmk-footer-system {
  background: var(--mmk-navy);
  color: rgba(255,255,255,0.8);
}

/* ── Page background override for design system pages ─────── */
.mmk-page-bg {
  background: var(--mmk-bg);
}

/* ── Generous section spacing ─────────────────────────────── */
.mmk-section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .mmk-section {
    padding: 3rem 0;
  }
}

/* ── Two-column layout (publication / insight pages) ──────── */
.mmk-two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .mmk-two-col {
    grid-template-columns: 1fr;
  }
}

/* ── Sticky sidebar ───────────────────────────────────────── */
.mmk-sticky-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}

/* ── Article body typography (publication pages) ─────────── */
.mmk-article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--mmk-navy);
  margin-top: 3rem;
}

.mmk-article h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  color: var(--mmk-navy);
  margin-top: 2.5rem;
}

.mmk-article p {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.mmk-article ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.mmk-article blockquote {
  border-left: 3px solid var(--mmk-blue);
  font-style: italic;
  color: var(--mmk-text-secondary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

/* ── Numbered questions (insights page) ───────────────────── */
.mmk-question-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--mmk-blue);
  opacity: 0.2;
  line-height: 1;
}

/* ── Dashboard grid cards ─────────────────────────────────── */
.mmk-dashboard-card {
  background: var(--mmk-surface);
  border: 1px solid var(--mmk-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* ── Team grid (2-column) ─────────────────────────────────── */
.mmk-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .mmk-team-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Avatar circle (initials-based) ───────────────────────── */
.mmk-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  flex-shrink: 0;
}

/* ── Social icon links (muted gray → blue on hover) ───────── */
.mmk-social-link {
  color: var(--mmk-text-muted);
  transition: color 0.2s ease;
}
.mmk-social-link:hover {
  color: var(--mmk-blue);
}

/* ── CTA section (white bg, centered, navy heading) ───────── */
.mmk-cta-section {
  background: white;
  text-align: center;
  padding: 5rem 0;
}
.mmk-cta-section h2 {
  color: var(--mmk-navy);
}

/* ── Dark CTA section (navy bg, white text) ───────────────── */
.mmk-cta-dark {
  background: var(--mmk-navy);
  color: white;
  text-align: center;
  padding: 5rem 0;
}
.mmk-cta-dark h2 {
  color: white;
}
.mmk-cta-dark p {
  color: rgba(255,255,255,0.7);
}

/* ── Publication hero breadcrumbs ─────────────────────────── */
.mmk-breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}
.mmk-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.mmk-breadcrumb a:hover {
  color: white;
}

/* ── White pill badge (for dark hero) ─────────────────────── */
.mmk-pill-white {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: white;
  color: var(--mmk-navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

/* ── Tag on dark background ───────────────────────────────── */
.mmk-tag-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

/* ── Action buttons row (white bg, border, transparent) ───── */
.mmk-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mmk-action-btn-white {
  background: white;
  color: var(--mmk-navy);
}
.mmk-action-btn-white:hover {
  background: var(--mmk-accent-bg);
}

.mmk-action-btn-border {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.mmk-action-btn-border:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ── Citation box ──────────────────────────────────────────── */
.mmk-citation-box {
  background: var(--mmk-bg);
  border: 1px solid var(--mmk-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-style: italic;
}

/* ── Publication details table ──────────────────────────────── */
.mmk-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.mmk-details-table th,
.mmk-details-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mmk-border-light);
  text-align: left;
}
.mmk-details-table th {
  font-weight: 600;
  color: var(--mmk-text);
  width: 30%;
}
.mmk-details-table td {
  color: var(--mmk-text-secondary);
}

/* ── Dashboard sidebar ────────────────────────────────────── */
.mmk-dash-sidebar {
  width: 16rem;
  background: white;
  border-right: 1px solid var(--mmk-border);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
}

.mmk-dash-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mmk-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mmk-dash-sidebar-item:hover,
.mmk-dash-sidebar-item.active {
  background: var(--mmk-accent-bg);
  color: var(--mmk-blue);
}

/* ── Dashboard stat card ──────────────────────────────────── */
.mmk-stat-card {
  background: white;
  border: 1px solid var(--mmk-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.mmk-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--mmk-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mmk-blue);
}

.mmk-stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mmk-navy);
  margin-top: 0.75rem;
}

.mmk-stat-label {
  font-size: 0.875rem;
  color: var(--mmk-text-muted);
  margin-top: 0.25rem;
}

.mmk-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.mmk-stat-trend.up {
  background: #D1FAE5;
  color: #065F46;
}

.mmk-stat-trend.down {
  background: #FEE2E2;
  color: #991B1B;
}

/* ── Progress bar ─────────────────────────────────────────── */
.mmk-progress-bar {
  width: 100%;
  height: 0.5rem;
  background: var(--mmk-border-light);
  border-radius: 9999px;
  overflow: hidden;
}

.mmk-progress-bar-fill {
  height: 100%;
  background: var(--mmk-blue);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* ── Overlapping avatars ──────────────────────────────────── */
.mmk-avatar-group {
  display: flex;
  align-items: center;
}

.mmk-avatar-group img,
.mmk-avatar-group .mmk-avatar {
  margin-left: -0.5rem;
  border: 2px solid white;
}

.mmk-avatar-group img:first-child,
.mmk-avatar-group .mmk-avatar:first-child {
  margin-left: 0;
}

/* ── Table styling (dashboard) ────────────────────────────── */
.mmk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.mmk-table thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--mmk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.6875rem;
  border-bottom: 1px solid var(--mmk-border);
}

.mmk-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--mmk-border-light);
  color: var(--mmk-text-secondary);
}

.mmk-table tbody tr:hover {
  background: var(--mmk-bg);
}

/* ── Search input ─────────────────────────────────────────── */
.mmk-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--mmk-bg);
  border: 1px solid var(--mmk-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.mmk-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  color: var(--mmk-text);
  width: 100%;
}

.mmk-search input::placeholder {
  color: var(--mmk-text-muted);
}

/* ── Notification bell ──────────────────────────────────────── */
.mmk-notification {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--mmk-text-secondary);
  transition: background 0.2s ease;
}

.mmk-notification:hover {
  background: var(--mmk-bg);
}

.mmk-notification-dot {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid white;
}

/* ── Image caption ──────────────────────────────────────────── */
.mmk-caption {
  font-size: 0.75rem;
  color: var(--mmk-text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── End of Design System CSS ─────────────────────────────── */

/* ═══════════════════════════════════════════════════════════
   Team member cards — large McKinsey-style portraits
   ═══════════════════════════════════════════════════════════ */
.mmk-team-grid { gap: 1.75rem; }
.mmk-team-grid .mmk-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--mmk-surface);
  border: 1px solid var(--mmk-border);
}
.mmk-team-grid .mmk-card .mmk-avatar {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 0 !important;
  display: block;
  background: var(--mmk-sidebar-bg);
}
.mmk-team-grid .mmk-card .mmk-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.mmk-team-grid .mmk-card > h3 {
  margin: 1.5rem 1.6rem 0 !important;
}
.mmk-team-grid .mmk-card > p {
  margin-left: 1.6rem !important;
  margin-right: 1.6rem !important;
}
.mmk-team-grid .mmk-card > div {
  margin: 1rem 1.6rem 1.7rem !important;
}

/* ═══════════════════════════════════════════════════════════
   Publication article body — readable column + editorial side rule
   (pages using .mmk-hero + .mmk-article)
   ═══════════════════════════════════════════════════════════ */
.mmk-article {
  max-width: 760px;
  margin-left: 0;
  padding-left: clamp(1.25rem, 3vw, 2.4rem);
  border-left: 2px solid var(--mmk-border);
}
.mmk-article > h2:first-child,
.mmk-article > h3:first-child { margin-top: 0; }
.mmk-article h2 {
  position: relative;
  letter-spacing: -0.01em;
}
.mmk-article h2::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.25rem, 3vw, 2.4rem) - 2px);
  top: 0.15em;
  width: 2px;
  height: 1.1em;
  background: var(--mmk-blue);
}
.mmk-article p,
.mmk-article ul,
.mmk-article ol { color: var(--mmk-text); }
.mmk-article a { color: var(--mmk-blue); text-decoration: underline; text-underline-offset: 2px; }

/* Full-bleed editorial image band (publication articles) */
.mmk-article-band {
  margin: 0;
  width: 100%;
  background: var(--mmk-navy);
  overflow: hidden;
}
.mmk-article-band img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 460px);
  object-fit: cover;
  object-position: center 28%;
}

/* ═══════════════════════════════════════════════════════════
   Staff dashboard — premium uplift (McKinsey)
   ═══════════════════════════════════════════════════════════ */
.mmk-dash-sidebar-item { position: relative; }
.mmk-dash-sidebar-item.active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: var(--mmk-blue);
}
.mmk-stat-card, .mmk-dashboard-card { border-radius: 0 !important; }
.mmk-stat-card {
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mmk-stat-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--mmk-blue), rgba(34,81,255,0) 72%);
  opacity: 0; transition: opacity .2s ease;
}
.mmk-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 81, 255, 0.35);
  box-shadow: 0 14px 34px rgba(5, 28, 44, 0.09);
}
.mmk-stat-card:hover::after { opacity: 1; }
.mmk-table tbody tr { transition: background .15s ease; }
.mmk-table tbody tr:hover { background: var(--mmk-accent-bg); }
/* Cinematic hero background video (academy etc.) */
.cinematic-hero-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* ── Staff ops pages: stronger text contrast (readability) ── */
body[data-page] {
  --mmk-text-secondary: #36414f;
  --mmk-text-muted: #586271;
}
body[data-page] .mmk-stat-label,
body[data-page] small,
body[data-page] .empty-state { color: #586271 !important; }
/* Team hero with video media column */
.team-hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.team-hero-copy { min-width: 0; }
.team-hero-media { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; max-height: 480px; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 24px 70px rgba(5,28,44,0.35); }
.team-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .team-hero-split { grid-template-columns: 1fr; } .team-hero-media { aspect-ratio: 16 / 10; max-height: 300px; } }
/* ── "Trusted by" band — dark navy with ambient WebGL strands ── */
.trust-section { position: relative; overflow: hidden; background: var(--navy); }
.trust-section .container-main { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.trust-strands { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.trust-section .eyebrow { color: var(--accent-gold); }
.trust-section .heading-xl { color: #ffffff; }
.trust-section .proof-tag {
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.28) !important;
  background: rgba(255,255,255,0.06) !important;
}
@media (prefers-reduced-motion: reduce) { .trust-strands { display: none; } }
/* ═══════════════════════════════════════════════════════════
   Premium interaction refinements (palette-preserving)
   Global — applies on every page that loads mmk-unified.css.
   No new colours: uses existing tokens only. Motion-safe.
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  body { animation: mmk-page-fade .55s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes mmk-page-fade { from { opacity: 0; } to { opacity: 1; } }

/* Animated nav underline (desktop nav links, excludes the CTA button) */
.nav-links a:not(.nav-cta),
.mmk-nav a:not(.nav-cta):not(.mmk-nav-cta),
.site-nav a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after,
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 5px; height: 1.5px;
  background: var(--accent-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.16,1,.3,1); opacity: .9; pointer-events: none;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a[aria-current="page"]:not(.nav-cta)::after,
.site-nav a:not(.nav-cta):hover::after,
.site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }

/* Card hover-lift (transition only; subtle lift where not already set) */
.mmk-card, .publication-card, .mmk-offer-card, .insight-featured, .insight-card {
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.mmk-card:focus-within, .publication-card:focus-within, .mmk-offer-card:focus-within,
.insight-featured:focus-within, .insight-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* Image zoom-on-hover inside framed media (scoped) */
.editorial-frame, .work-image-frame, .dir-card-media, .mmk-offer-media,
.publication-card-media, .mmk-article-band, .hero-visual { overflow: hidden; }
.editorial-frame img, .dir-card-media img, .mmk-offer-media img,
.publication-card-media img, .insight-card img {
  transition: transform .6s cubic-bezier(.16,1,.3,1); will-change: transform;
}
.editorial-frame:hover img,
.dir-card:hover .dir-card-media img,
.mmk-offer-card:hover .mmk-offer-media img,
.publication-card:hover .publication-card-media img,
.insight-card:hover img { transform: scale(1.05); }

/* Button soft-hover transitions */
.btn, .mmk-btn, .button, .work-btn, .engagement-btn,
.mmk-btn-primary, .mmk-btn-secondary {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

/* Stronger keyboard focus (palette) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-gold); outline-offset: 3px;
}

/* Comprehensive reduced-motion safety net */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ── Premium static-site motion utilities ───────────────────
   Used by both legacy pages and newer premium pages. These are
   CSS-only defaults; JS only toggles visibility classes. */
.js-enabled [data-reveal],
.premium-motion-ready .reveal-up,
.premium-motion-ready .reveal-scale {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .72s cubic-bezier(.16,1,.3,1),
    transform .72s cubic-bezier(.16,1,.3,1);
}

.js-enabled [data-reveal].is-visible,
.premium-motion-ready .reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.premium-motion-ready .reveal-scale {
  transform: translateY(14px) scale(.985);
}

.premium-motion-ready .reveal-scale.revealed,
.premium-motion-ready .reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger > *:nth-child(1) { transition-delay: .04s; }
.stagger > *:nth-child(2) { transition-delay: .10s; }
.stagger > *:nth-child(3) { transition-delay: .16s; }
.stagger > *:nth-child(4) { transition-delay: .22s; }
.stagger > *:nth-child(5) { transition-delay: .28s; }
.stagger > *:nth-child(6) { transition-delay: .34s; }

/* Refined legacy overlay menu. Keeps old .open markup working and
   also supports newer .is-open pages. */
.nav-mobile-overlay {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity .28s cubic-bezier(.16,1,.3,1),
    transform .28s cubic-bezier(.16,1,.3,1),
    visibility 0s linear .28s;
}

.nav-mobile-overlay.open,
.nav-mobile-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-mobile-overlay a {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, color .2s ease;
}

.nav-mobile-overlay.open a,
.nav-mobile-overlay.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-overlay.open a:nth-child(1),
.nav-mobile-overlay.is-open a:nth-child(1) { transition-delay: .03s; }
.nav-mobile-overlay.open a:nth-child(2),
.nav-mobile-overlay.is-open a:nth-child(2) { transition-delay: .06s; }
.nav-mobile-overlay.open a:nth-child(3),
.nav-mobile-overlay.is-open a:nth-child(3) { transition-delay: .09s; }
.nav-mobile-overlay.open a:nth-child(4),
.nav-mobile-overlay.is-open a:nth-child(4) { transition-delay: .12s; }
.nav-mobile-overlay.open a:nth-child(5),
.nav-mobile-overlay.is-open a:nth-child(5) { transition-delay: .15s; }
.nav-mobile-overlay.open a:nth-child(6),
.nav-mobile-overlay.is-open a:nth-child(6) { transition-delay: .18s; }
.nav-mobile-overlay.open a:nth-child(7),
.nav-mobile-overlay.is-open a:nth-child(7) { transition-delay: .21s; }
.nav-mobile-overlay.open a:nth-child(8),
.nav-mobile-overlay.is-open a:nth-child(8) { transition-delay: .24s; }
.nav-mobile-overlay.open a:nth-child(9),
.nav-mobile-overlay.is-open a:nth-child(9) { transition-delay: .27s; }

.mmk-header.scrolled,
.mmk-header.is-scrolled,
.site-header.is-scrolled {
  box-shadow: 0 16px 42px rgba(5,28,44,.08);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover, .mmk-btn:hover, .button:hover, .work-btn:hover, .engagement-btn:hover,
  .mmk-btn-primary:hover, .mmk-btn-secondary:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal],
  .premium-motion-ready .reveal-up,
  .premium-motion-ready .reveal-scale,
  .nav-mobile-overlay,
  .nav-mobile-overlay a {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
