  /* ===========================================================
     MERCURY CONSULTING — premium B2B identity
     Palette: deep slate base, warm copper accent (Mercury planet)
     Typography: Bricolage Grotesque headings, Inter body
     Parent theme: Twenty Twenty-Five (block theme)
     =========================================================== */

  /* ---------- Twenty Twenty-Five parent-theme neutralization ----------
     2025 ships with opinionated theme.json defaults (heading colors,
     link underlines, body font, container widths). We override its
     :root variables and reset its block-group constraints so our design
     wins without needing !important on every rule. */
  :root, .wp-site-blocks, body, html {
    --wp--preset--color--base: #0b0f17;
    --wp--preset--color--contrast: #e8ecf3;
    --wp--preset--color--accent: #c97b4d;
    --wp--preset--font-family--system-font: 'Inter', system-ui, sans-serif;
    --wp--preset--font-family--body: 'Inter', system-ui, sans-serif;
    --wp--style--root--padding-left: 0;
    --wp--style--root--padding-right: 0;
    --wp--style--block-gap: 0;
  }
  .wp-site-blocks {
    padding-top: 0 !important;
  }
  /* 2025 wraps main content in a constrained container — undo it so our
     own .container handles widths. */
  .wp-site-blocks > main,
  .wp-site-blocks > .is-layout-constrained,
  body > .is-layout-constrained {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  /* 2025 adds default link underlines via theme.json — kill the underline
     on our nav/footer links specifically; the design uses hover-color, not
     underline. */
  body a {
    text-decoration: none;
  }
  /* 2025 sets a base font-family on body via inline style. Force ours. */
  body {
    font-family: 'Inter', system-ui, sans-serif;
  }

  :root {
    --bg: #0b0f17;
    --bg-elev: #11172170;
    --surface: #141b27;
    --surface-2: #1b2434;
    --line: #2a3447;
    --line-soft: #1d2535;
    --ink: #e8ecf3;
    --ink-dim: #a8b3c5;
    --ink-faint: #6b7689;
    --copper: #c97b4d;
    --copper-soft: #e09b71;
    --copper-deep: #8a4f2c;
    --gold: #d4a574;

    --serif: 'Bricolage Grotesque', system-ui, sans-serif;
    --sans: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;

    --max-w: 1400px;
    --pad-x: clamp(20px, 5vw, 72px);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  html {
    /* Stronger than overflow-x: hidden — `clip` cannot be scrolled programmatically
       OR via touch on iOS Safari, which is the most common mobile overflow bug. */
    overflow-x: clip;
  }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100vw;
  }

  ::selection { background: var(--copper); color: #fff; }

  /* atmospheric body backdrop — subtle grain + orbital glow */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 80% -10%, rgba(201,123,77,0.18), transparent 60%),
      radial-gradient(ellipse 60% 40% at 10% 110%, rgba(201,123,77,0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
  }

  main, header, footer { position: relative; z-index: 2; }

  /* ---------- LAYOUT PRIMITIVES ---------- */
  .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-soft);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--copper);
  }

  h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: var(--ink);
  }

  h1 { font-size: clamp(48px, 7.5vw, 96px); }
  h2 { font-size: clamp(36px, 5vw, 64px); }
  h3 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; }
  h4 { font-size: 18px; line-height: 1.3; }

  p { color: var(--ink-dim); font-size: 16px; }

  .lead {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: var(--ink-dim);
    font-weight: 400;
    max-width: 640px;
  }

  /* ---------- NAVIGATION ---------- */
  header.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(11, 15, 23, 0.7);
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--pad-x);
    max-width: 1400px;
    margin: 0 auto;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--copper-soft), var(--copper-deep) 70%);
    box-shadow: inset -3px -3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(201,123,77,0.3);
  }
  .logo-text {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  .logo-text em { font-style: italic; color: var(--copper-soft); }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.current {
    color: var(--copper-soft);
  }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--copper);
    color: var(--copper-soft);
    padding: 10px 22px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.25s;
  }
  .nav-cta:hover {
    background: var(--copper);
    color: #fff;
  }

  .hamburger { display: none; }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 100vh;
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(168,179,197,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(168,179,197,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent 80%);
    pointer-events: none;
  }

  /* orbital diagram in the hero — the "Mercury" device */
  .orbit-system {
    position: absolute;
    right: -10vw;
    top: 50%;
    transform: translateY(-50%);
    width: 60vw;
    aspect-ratio: 1;
    max-width: 800px;
    pointer-events: none;
    opacity: 0.85;
  }
  .orbit-system svg { width: 100%; height: 100%; }

  @keyframes spin { to { transform: rotate(360deg); } }
  .orbit-ring { transform-origin: center; animation: spin 60s linear infinite; }
  .orbit-ring.r2 { animation-duration: 90s; animation-direction: reverse; }
  .orbit-ring.r3 { animation-duration: 120s; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
  }

  .hero h1 {
    margin-bottom: 28px;
  }
  .hero h1 .accent {
    font-style: italic;
    color: var(--copper-soft);
    font-weight: 400;
  }

  .hero .lead {
    margin-bottom: 44px;
    font-size: clamp(18px, 1.8vw, 22px);
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--copper);
    color: #fff;
    padding: 16px 32px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
  }
  .btn:hover {
    background: var(--copper-soft);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(201,123,77,0.25);
  }
  .btn-ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
  }
  .btn-ghost:hover {
    background: var(--surface);
    border-color: var(--copper);
    box-shadow: none;
  }
  .btn-arrow {
    transition: transform 0.25s;
  }
  .btn:hover .btn-arrow { transform: translateX(4px); }

  /* ---------- TRUST STRIP ---------- */
  .trust {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 28px 0;
    background: rgba(20, 27, 39, 0.5);
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
  }
  .trust-cell {
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--ink-dim);
    text-transform: uppercase;
    position: relative;
  }
  .trust-cell:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: var(--line);
  }
  .trust-cell strong { color: var(--copper-soft); font-weight: 500; }

  /* ---------- SECTION HEADER ---------- */
  .section-head {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: end;
  }
  .section-head h2 { margin-bottom: 0; }
  .section-head .lead { padding-bottom: 8px; }

  /* ---------- WHAT WE DO (3 capability cards) ---------- */
  .capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
  }
  /* Home page now has 4 capability cards (Finance, Revenue, Tech, AI & Data). */
  .capabilities--four { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1080px) {
    .capabilities--four { grid-template-columns: repeat(2, 1fr); }
  }
  .capability {
    background: var(--bg);
    padding: 48px 40px;
    position: relative;
    transition: background 0.3s;
    cursor: default;
  }
  .capability:hover { background: var(--surface); }
  .capability .num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--copper);
    margin-bottom: 24px;
    display: block;
  }
  .capability h3 {
    margin-bottom: 16px;
    color: var(--ink);
  }
  .capability h3 .accent { font-style: italic; color: var(--copper-soft); font-weight: 400; }
  .capability p { font-size: 15px; line-height: 1.6; }
  .capability-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 28px;
    height: 28px;
    opacity: 0.4;
    transition: opacity 0.3s;
  }
  .capability:hover .capability-icon { opacity: 1; }

  /* ---------- HOW WE WORK (process steps) ---------- */
  .process {
    background: var(--surface);
    margin: 0 calc(-1 * var(--pad-x));
    padding: clamp(80px, 12vw, 140px) var(--pad-x);
  }
  .process-grid {
    display: grid;
    /* auto-fit + minmax = 4 cols on wide screens, 2 cols on tablets,
       1 col on mobile (the existing mobile rule overrides to 1fr). */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
  }
  .process-step {
    position: relative;
  }
  .process-step .step-num {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 400;
    color: var(--copper);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
  }
  .process-step h3 {
    margin-bottom: 14px;
    font-size: 26px;
  }
  .process-step p { font-size: 15px; line-height: 1.6; }

  /* ---------- WHO WE WORK WITH ---------- */
  .personas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .persona {
    border: 1px solid var(--line);
    padding: 40px 36px;
    background: var(--bg-elev);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .persona::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--copper);
    transition: height 0.4s ease;
  }
  .persona:hover { border-color: var(--copper); transform: translateY(-2px); }
  .persona:hover::before { height: 100%; }
  .persona .role {
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--copper-soft);
    margin-bottom: 20px;
    display: block;
  }
  .persona h4 {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 400;
  }
  .personas-foot {
    margin-top: 32px;
    text-align: center;
    font-style: italic;
    color: var(--ink-faint);
    font-size: 15px;
  }

  /* ---------- WHY MERCURY ---------- */
  .why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
  }
  .why-left h2 { margin-bottom: 32px; }
  .pillars { display: flex; flex-direction: column; gap: 4px; }
  .pillar {
    border-top: 1px solid var(--line);
    padding: 32px 0 32px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
  }
  .pillar:last-child { border-bottom: 1px solid var(--line); }
  .pillar-num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--copper);
    padding-top: 6px;
  }
  .pillar h3 { font-size: 22px; margin-bottom: 12px; }
  .pillar p { font-size: 15px; }

  /* ---------- IMPACT NUMBERS ---------- */
  .impact {
    background: var(--surface);
    margin: 0 calc(-1 * var(--pad-x));
    padding: 100px var(--pad-x);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
  }
  .stat .num {
    font-family: var(--serif);
    font-size: clamp(72px, 10vw, 120px);
    font-weight: 400;
    line-height: 1;
    color: var(--copper-soft);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
  }
  .stat p {
    max-width: 280px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
  }

  /* ---------- SCROLL REVEAL ANIMATIONS ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children for grids */
  .stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
  .stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
  .stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
  .stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
  .stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }
  .stagger.visible > *:nth-child(7) { transition-delay: 0.65s; }
  .stagger.visible > *:nth-child(8) { transition-delay: 0.75s; }
  .stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero text staggered intro on load */
  .hero-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.55s; }
  @keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Orbit drift on mouse move (subtle) */
  .orbit-system { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

  /* Number counter — smooth scale-in on visibility */
  .stat .num {
    display: inline-block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .impact.visible .stat .num { transform: scale(1); }

  /* Capability card hover lift (more pronounced) */
  .capability {
    transition: background 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .capability:hover {
    transform: translateY(-4px);
  }

  /* Underline animations on links */
  a.animated-link {
    position: relative;
    text-decoration: none;
  }
  a.animated-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  a.animated-link:hover::after { transform: scaleX(1); }

  /* Marquee shimmer on trust strip */
  @keyframes trustShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }

  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .reveal, .stagger > *, .hero-content > * {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
      transition: none !important;
    }
    .orbit-ring { animation: none !important; }
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    margin-top: 60px;
  }
  /* When there are 9 partners, lay out as 3 × 3 to avoid an orphaned card. */
  .partners-grid--nine { grid-template-columns: repeat(3, 1fr); }
  .partner {
    /* Warm off-white card so logos display in their native brand colors with
       maximum visibility. Cards are visually distinct from the page background. */
    background: #f4f0eb;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    min-height: 140px;
    position: relative;
  }
  .partner img {
    /* Constrain by width as the primary lever, with a generous height ceiling.
       This evens out the optical size of wordmark-only logos (Databricks,
       Boomi, Celigo, Odoo) and mark+wordmark logos (Salesforce, MuleSoft,
       OneStream) — without it, wordmark-only SVGs render much larger because
       their text fills the entire canvas while mark+wordmark SVGs only use
       part of it. */
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Native brand colors — no filter. Each logo stays itself. */
    opacity: 0.92;
    transition: opacity 0.25s;
  }
  /* A few logos read very small at the shared width — give them a touch more
     room so they don't disappear next to their wider neighbors. */
  .partner[title="Salesforce"] img,
  .partner[title="MuleSoft"]   img,
  .partner[title="NetSuite"]   img,
  .partner[title="OneStream"]  img {
    max-width: 200px;
    max-height: 72px;
  }
  .partner:hover {
    background: #ffffff;
  }
  .partner:hover img {
    opacity: 1;
  }
  /* Text fallback if an image fails to load */
  .partner-fallback {
    display: none;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink-dim);
    letter-spacing: -0.01em;
  }
  .partner img.failed { display: none; }
  .partner img.failed + .partner-fallback { display: block; }

  /* ---------- FINAL CTA ---------- */
  .final-cta {
    text-align: center;
    padding: clamp(100px, 14vw, 180px) 0;
    background:
      radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201,123,77,0.12), transparent 70%),
      var(--bg);
    position: relative;
  }
  .final-cta h2 { margin-bottom: 32px; max-width: 800px; margin-left: auto; margin-right: auto; }
  .final-cta h2 .accent { font-style: italic; color: var(--copper-soft); font-weight: 400; }
  .final-cta .lead {
    margin: 0 auto 48px;
    max-width: 620px;
  }

  /* ---------- FOOTER ---------- */
  footer {
    background: #060910;
    padding: 80px 0 32px;
    border-top: 1px solid var(--line-soft);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
  }
  .footer-brand .logo { margin-bottom: 20px; }
  .footer-brand p { font-size: 14px; max-width: 280px; }
  .footer-col h5 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--copper-soft);
    margin-bottom: 24px;
    font-weight: 500;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 12px; }
  .footer-col a, .footer-col p {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--ink); }
  .footer-bottom {
    border-top: 1px solid var(--line-soft);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-bottom p {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-faint);
    letter-spacing: 0.05em;
  }
  .socials { display: flex; gap: 20px; }
  .socials a {
    color: var(--ink-faint);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .socials a:hover { color: var(--copper-soft); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 960px) {
    /* Hide the desktop nav links inside header on mobile */
    .nav-links { display: none; }

    .hamburger {
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: 1px solid var(--line);
      border-radius: 4px;
      color: var(--ink);
      cursor: pointer;
      font-size: 28px;
      line-height: 1;
      /* 44x44 tap target — meets iOS/Android accessibility minimum */
      width: 44px;
      height: 44px;
      padding: 0;
      transition: border-color 0.2s, color 0.2s;
    }
    .hamburger:hover,
    .hamburger:active {
      border-color: var(--copper);
      color: var(--copper-soft);
    }
    .section-head { grid-template-columns: 1fr; gap: 32px; }
    .capabilities, .process-grid, .personas, .impact-grid, .partners-grid { grid-template-columns: 1fr !important; }
    .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .why { grid-template-columns: 1fr; gap: 60px; }
    .trust { padding: 22px 0; }
    /* Stack the four cells vertically on phones. The partners line carries 5
       brand names — forcing them into half-width grid cells with wide letter
       spacing makes them wrap to 3 lines and look cramped. Full-width rows
       fit each line on a single line and breathe properly. */
    .trust-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .trust-cell { font-size: 11px; letter-spacing: 0.1em; }
    /* No vertical-rule dividers in stacked mode — they were positioned for
       horizontal layout. Use a thin underline instead, on all but the last. */
    .trust-cell:not(:last-child)::after {
      content: '';
      right: auto; top: auto; transform: none;
      position: static;
      display: block;
      width: 28px;
      height: 1px;
      background: var(--line);
      margin: 10px auto 0;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .orbit-system {
      opacity: 0.25;
      /* Keep the orbital fully within the viewport on mobile — no negative right
         which used to push it off the right edge and cause horizontal overflow. */
      right: 0;
      width: 70vw;
      max-width: 380px;
    }
    /* Contact page: stack the calendar/form columns, then stack name fields */
    [data-section="form"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr !important;
      gap: 48px !important;
    }
    [data-section="form"] form > div[style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr !important;
    }
  }


  /* ---------- BOOKING WIDGET (Mercury custom Calendly-style) ---------- */
  .mb-widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px;
  }
  .mb-tz-note {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .mb-tz-toggle {
    color: var(--copper-soft);
    cursor: pointer;
    user-select: none;
  }
  .mb-tz-toggle:hover {
    color: var(--copper);
    text-decoration: underline;
  }

  /* horizontal scrolling row of days */
  .mb-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .mb-days::-webkit-scrollbar { height: 6px; }
  .mb-days::-webkit-scrollbar-track { background: transparent; }
  .mb-days::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

  .mb-day {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-dim);
    padding: 12px 14px;
    min-width: 70px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--sans);
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .mb-day:hover {
    border-color: var(--copper);
    color: var(--ink);
  }
  .mb-day.active {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
  }
  .mb-day-dow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
  }
  .mb-day-num {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
  }
  .mb-day-mon {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
  }

  .mb-times {
    min-height: 140px;
  }
  .mb-times-group {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
  }
  .mb-times-group.active { display: flex; }

  .mb-time {
    flex: 1 1 calc(33% - 8px);
    min-width: 90px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-dim);
    padding: 12px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    transition: all 0.15s ease;
  }
  .mb-time:hover {
    border-color: var(--copper);
    color: var(--copper-soft);
    background: rgba(201,123,77,0.08);
  }

  .mb-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-dim);
  }
  .mb-empty a { color: var(--copper-soft); }

  /* Step 2 — booking details form */
  .mb-selected-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(201,123,77,0.08);
    border: 1px solid var(--copper);
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 24px;
  }
  .mb-selected-slot .mb-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--copper-soft);
  }
  .mb-selected-slot .mb-slot-label {
    flex: 1;
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
  }
  .mb-change {
    background: transparent;
    border: none;
    color: var(--ink-dim);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .mb-change:hover { color: var(--copper-soft); }

  #mercuryBookingForm .mb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  #mercuryBookingForm .mb-field {
    margin-bottom: 14px;
  }
  #mercuryBookingForm .mb-field label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper-soft);
    margin-bottom: 8px;
  }
  #mercuryBookingForm input,
  #mercuryBookingForm textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 14px;
    border-radius: 2px;
  }
  #mercuryBookingForm input:focus,
  #mercuryBookingForm textarea:focus {
    outline: none;
    border-color: var(--copper);
  }
  #mercuryBookingForm textarea {
    resize: vertical;
  }
  .mb-submit {
    margin-top: 8px;
  }
  .mb-status {
    padding: 12px 14px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .mb-status.success {
    background: rgba(201,123,77,0.12);
    border: 1px solid var(--copper);
    color: var(--copper-soft);
  }
  .mb-status.error {
    background: rgba(220,80,80,0.12);
    border: 1px solid #c95a5a;
    color: #e88080;
  }

  /* Step 3 — success */
  .mb-success {
    text-align: center;
    padding: 30px 20px;
  }
  .mb-success svg { margin-bottom: 20px; }
  .mb-success h3 {
    font-size: 28px;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .mb-success p {
    color: var(--ink-dim);
    font-size: 16px;
    margin-bottom: 12px;
  }
  .mb-success p#mbConfirmLabel {
    color: var(--copper-soft);
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
  }
  .mb-success .mb-confirm-note {
    font-size: 14px;
    margin-top: 18px;
    color: var(--ink-faint);
  }

  @media (max-width: 700px) {
    .mb-widget { padding: 20px; }
    #mercuryBookingForm .mb-row { grid-template-columns: 1fr; }
    .mb-time { flex: 1 1 calc(50% - 8px); }
    .insights-topics { grid-template-columns: 1fr !important; }
  }

  /* ============= INSIGHTS / BLOG ============= */

  /* ---------- Archive: card grid ---------- */
  .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto 80px;
  }
  .insight-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
    min-height: 260px;
  }
  .insight-card:hover {
    border-color: var(--copper);
    transform: translateY(-3px);
    background: var(--bg-elev);
  }
  .insight-card-meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .insight-card-cat {
    color: var(--copper-soft);
  }
  .insight-card-sep {
    color: var(--ink-faint);
    opacity: 0.5;
  }
  .insight-card-title {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .insight-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-dim);
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .insight-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .insight-card-arrow {
    color: var(--copper-soft);
    font-size: 14px;
    transition: transform 0.25s;
  }
  .insight-card:hover .insight-card-arrow {
    transform: translateX(4px);
  }

  .insights-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 40px;
  }
  .insights-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink-dim);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
  }
  .insights-pagination .page-numbers:hover {
    border-color: var(--copper);
    color: var(--copper-soft);
  }
  .insights-pagination .page-numbers.current {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
  }

  /* ---------- Single article ---------- */
  .article-hero {
    padding: 160px 0 60px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }
  .article-hero .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(168,179,197,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(168,179,197,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent 80%);
    pointer-events: none;
  }
  .article-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
  }
  .article-breadcrumb {
    margin-bottom: 32px;
  }
  .article-breadcrumb a {
    color: var(--copper-soft);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .article-breadcrumb a:hover { color: var(--copper); }

  .article-hero-meta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .article-cat { color: var(--copper-soft); }
  .article-meta-sep { color: var(--ink-faint); opacity: 0.5; }

  .article-title {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 28px;
    font-weight: 500;
  }
  .article-deck {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: var(--ink-dim);
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 720px;
  }
  .article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
  }
  .article-author-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--copper);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
  }
  .article-author-mark.large {
    width: 60px;
    height: 60px;
    font-size: 15px;
  }
  .article-author-name {
    display: block;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
  }
  .article-author-name.large {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .article-author-role {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 2px;
  }

  /* Article body */
  .article-body-wrap {
    padding: 60px 0 80px;
  }
  .article-body-wrap .container { max-width: 820px; }
  .article-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-dim);
  }
  .article-body p {
    margin-bottom: 1.5em;
    color: var(--ink-dim);
  }
  .article-body h2 {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.15;
    color: var(--ink);
    margin: 2em 0 0.6em;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .article-body h3 {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    margin: 1.8em 0 0.5em;
    font-weight: 500;
    letter-spacing: -0.015em;
  }
  .article-body h4 {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--ink);
    margin: 1.6em 0 0.5em;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .article-body a {
    color: var(--copper-soft);
    text-decoration: underline;
    text-decoration-color: rgba(201,123,77,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
  }
  .article-body a:hover {
    text-decoration-color: var(--copper);
  }
  .article-body strong {
    color: var(--ink);
    font-weight: 600;
  }
  .article-body em { color: var(--ink); }
  .article-body ul,
  .article-body ol {
    margin: 1em 0 1.5em;
    padding-left: 1.5em;
  }
  .article-body li {
    margin-bottom: 0.6em;
    line-height: 1.65;
  }
  .article-body li::marker {
    color: var(--copper);
  }
  .article-body blockquote {
    border-left: 3px solid var(--copper);
    padding: 0 0 0 28px;
    margin: 2em 0;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.4;
    color: var(--ink);
    font-style: italic;
    font-weight: 400;
  }
  .article-body blockquote p:last-child { margin-bottom: 0; }
  .article-body code {
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--mono);
    font-size: 0.9em;
    color: var(--copper-soft);
  }
  .article-body pre {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 20px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 14px;
    line-height: 1.55;
  }
  .article-body pre code {
    background: transparent;
    padding: 0;
    color: var(--ink-dim);
  }
  .article-body hr {
    border: none;
    border-top: 1px solid var(--line-soft);
    margin: 3em 0;
  }
  /* Custom "callout" — wrap in a div.callout in WP editor */
  .article-body .callout {
    background: var(--surface);
    border-left: 3px solid var(--copper);
    padding: 24px 28px;
    margin: 2em 0;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-dim);
  }
  .article-body .callout strong { color: var(--copper-soft); }
  /* Article first paragraph: slightly larger, looks editorial */
  .article-body > p:first-of-type {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink);
  }

  .article-author-bio {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 64px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
  }
  .article-byline-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper-soft);
    display: block;
    margin-bottom: 8px;
  }
  .article-author-blurb {
    font-size: 14px;
    color: var(--ink-dim);
    line-height: 1.6;
    margin: 0;
  }

  .article-related {
    padding: 80px 0;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-elev);
  }

  @media (max-width: 960px) {
    .insights-grid { grid-template-columns: 1fr !important; }
    .article-hero { padding-top: 120px; }
    .article-title { font-size: clamp(28px, 7vw, 42px); }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 26px; }
    .article-body h3 { font-size: 20px; }
    .article-body blockquote { font-size: 19px; padding-left: 20px; }
    .article-author-bio { flex-direction: column; padding: 24px; }
  }

  /* ============= MOBILE OVERLAY MENU ============= */
  /* Hidden by default at all screen sizes. JS adds .is-open class to show.
     On desktop (>960px) it's hidden regardless. */
  .m-menu {
    position: fixed;
    inset: 0;
    /* Use dynamic viewport units so iOS Safari's address bar doesn't cut
       us off. dvh = "dynamic" viewport height; falls back gracefully. */
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    /* NO scroll — content sized to always fit viewport */
    overflow: hidden;
  }
  .m-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
  }

  /* Subtle grid texture matching site hero */
  .m-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(168,179,197,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(168,179,197,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 80%);
    pointer-events: none;
  }

  /* Soft copper glow that drifts in from behind the nav */
  .m-menu::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -30%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at center, rgba(201,123,77,0.10), transparent 65%);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
  }
  .m-menu.is-open::after {
    opacity: 1;
    transform: scale(1);
  }

  .m-menu-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 var(--pad-x);
    max-width: 560px;
    margin: 0 auto;
  }

  /* Top bar: logo + close */
  .m-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    flex-shrink: 0;
  }
  .m-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s, color 0.2s, transform 0.3s;
  }
  .m-menu-close:hover,
  .m-menu-close:active {
    border-color: var(--copper);
    color: var(--copper-soft);
    transform: rotate(90deg);
  }

  /* Main link list — fills remaining viewport height */
  .m-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 0 24px;
    flex: 1;
    min-height: 0; /* allows flex children to shrink properly */
    justify-content: space-between;
  }

  .m-menu-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 10px;
  }
  .m-menu-eyebrow-spaced { margin-top: 18px; }

  .m-menu-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    transition: padding-left 0.25s ease, color 0.2s;
    position: relative;
  }
  /* Subtle left edge marker that grows on hover */
  .m-menu-link::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    width: 10px;
    height: 1px;
    background: var(--copper);
    transition: transform 0.25s ease;
  }
  .m-menu-link:hover::before,
  .m-menu-link:active::before {
    transform: translateY(-50%) scaleX(1);
  }
  .m-menu-link:hover,
  .m-menu-link:active {
    color: var(--copper-soft);
    padding-left: 8px;
  }
  .m-menu-link-text {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  .m-menu-link-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 3px;
  }
  .m-menu-link.is-current .m-menu-link-text {
    font-style: italic;
    color: var(--copper-soft);
  }
  .m-menu-link.is-current .m-menu-link-meta {
    color: var(--copper);
  }

  /* Company links — smaller */
  .m-menu-link-small {
    padding: 8px 0;
  }
  .m-menu-link-small .m-menu-link-text {
    font-size: 17px;
    font-weight: 500;
  }

  /* CTA — primary action */
  .m-menu-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 16px 22px;
    background: var(--copper);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s;
  }
  .m-menu-cta:hover,
  .m-menu-cta:active {
    background: #d68a5d;
    transform: translateY(-1px);
  }
  .m-menu-cta-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s;
  }
  .m-menu-cta:hover .m-menu-cta-arrow {
    transform: translateX(4px);
  }

  /* ----- Staggered fade-in motion for each item ----- */
  /* Each menu item carries a --m-i index inline; we use it to delay the
     fade-in so they cascade visually after the menu opens. */
  .m-menu-eyebrow,
  .m-menu-link,
  .m-menu-cta {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .m-menu.is-open .m-menu-eyebrow,
  .m-menu.is-open .m-menu-link,
  .m-menu.is-open .m-menu-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.08s + var(--m-i, 0) * 0.05s);
  }

  /* Items in closed state should fade out instantly when closing */
  .m-menu:not(.is-open) .m-menu-eyebrow,
  .m-menu:not(.is-open) .m-menu-link,
  .m-menu:not(.is-open) .m-menu-cta {
    transition: opacity 0.15s ease, transform 0.15s ease;
    transition-delay: 0s;
  }

  /* Body scroll lock when menu open */
  body.m-menu-open {
    overflow: hidden;
  }

  /* Tighter spacing on shorter phones (iPhone SE etc.) */
  @media (max-height: 700px) {
    .m-menu-top { padding: 10px 0; }
    .m-menu-nav { padding: 16px 0; }
    .m-menu-eyebrow-spaced { margin-top: 12px; }
    .m-menu-link-text { font-size: 22px; }
    .m-menu-link-small .m-menu-link-text { font-size: 16px; }
    .m-menu-link { padding: 8px 0; }
    .m-menu-cta { padding: 14px 22px; font-size: 14px; margin-top: 14px; }
  }

  /* Hide overlay entirely on desktop */
  @media (min-width: 961px) {
    .m-menu { display: none !important; }
  }

/* ============================================================
   May 2026 — card corner icons on AI & Data + Industries pages
   Mirrors the existing .capability-icon treatment (home page)
   and extends it to the challenge (.persona) cards.
   ============================================================ */
.persona-icon {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 28px;
  height: 28px;
  opacity: 0.4;
  transition: opacity 0.3s;
  pointer-events: none;
}
.persona { padding-right: 76px; }          /* keep heading clear of corner icon */
.persona:hover .persona-icon { opacity: 1; }
.capability .num { padding-right: 44px; }   /* keep label clear of corner icon */

/* ============================================================
   May 2026 — real photography
   - .has-photo : industry cards with a photo header + icon badge
   - .img-band  : full-width image band (AI & Data page)
   Images are served from the Pexels CDN (Pexels License: free for
   commercial use, no attribution required). For production, consider
   downloading + serving from the Media Library — see README.
   ============================================================ */
.capability.has-photo { padding: 0 0 36px; overflow: hidden; }
.has-photo .num { padding-right: 0; }
.has-photo .cap-photo {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--surface-2);
}
.has-photo .cap-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.has-photo:hover .cap-photo img { transform: scale(1.05); }
.has-photo .cap-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,23,0.12) 0%, rgba(11,15,23,0) 38%, rgba(11,15,23,0.55) 100%);
}
.has-photo .cap-photo--failed {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--copper-deep) 100%);
}
.cap-photo-icon {
  position: absolute;
  left: 22px; bottom: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,15,23,0.7);
  border: 1px solid rgba(224,155,113,0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cap-photo-icon svg { width: 22px; height: 22px; }
.has-photo .cap-body { padding: 28px 40px 0; }
.has-photo .cap-tag {
  font-style: italic;
  color: var(--copper-soft);
  font-weight: 400;
  margin: 6px 0 14px;
}

/* ---------- full-width image band ---------- */
.img-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  margin: 0 calc(-1 * var(--pad-x));
  padding: clamp(64px, 9vw, 128px) var(--pad-x);
  overflow: hidden;
  background: var(--surface-2);
}
.img-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,15,23,0.94) 0%, rgba(11,15,23,0.8) 48%, rgba(11,15,23,0.5) 100%);
}
.img-band--failed {
  background: linear-gradient(120deg, var(--bg) 0%, var(--copper-deep) 100%);
}
.img-band-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.img-band-content h2 { max-width: 680px; margin-bottom: 18px; }
.img-band-content .lead { max-width: 600px; }

/* ---------- insights cards: featured-image header ---------- */
.insight-card { overflow: hidden; }
.insight-card-photo {
  margin: -32px -32px 24px;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.insight-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.insight-card:hover .insight-card-photo img { transform: scale(1.05); }
.insight-card-photo--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--copper-deep) 100%);
}
.insight-card-photo--empty span {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--copper-soft); opacity: 0.85;
}

/* ============================================================================
   CUSTOM CURSOR — copper arrow on interactive elements
   ----------------------------------------------------------------------------
   - Inline SVG data URL (no external file, no extra request)
   - Hotspot at the arrow tip (0, 0 — top-left of the SVG)
   - Fixed 24px size (under the 32px browser cap, works in Safari)
   - Falls back to `pointer` if the browser rejects the SVG cursor
   - Disabled at touch (no cursor on tap) and for users who prefer reduced motion
   ============================================================================ */
a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
.aiq-btn,            /* used on the AnalytIQ side, no harm having a parity rule */
.capability,
.persona,
.partner,
.insight-card,
label[for],
summary,
select {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M2 2 L2 18 L7 13 L11 22 L14 21 L10 12 L17 12 Z' fill='%23c97b4d' stroke='white' stroke-width='1.2' stroke-linejoin='round'/></svg>") 2 2, pointer;
}

/* On touch devices the cursor is invisible anyway, but skip the rule so
   browsers don't waste cycles parsing the data URL. */
@media (pointer: coarse) {
  a, button, [role="button"], input[type="submit"], input[type="button"],
  .capability, .persona, .partner, .insight-card, label[for], summary, select {
    cursor: pointer;
  }
}
