/* header + nav + mega menus + mobile drawer */

  /* ───────────────────────────────────────────────────────
     WooCommerce override — its `.woocommerce-page img {
     height: auto }` (in woocommerce-layout.css) cascades over
     every img on shop / cart / checkout / product / account
     pages, including our header logo + mega-menu logos.
     These overrides at (0,0,2,0) specificity beat WC's (0,0,1,1).
     ─────────────────────────────────────────────────────── */
  .woocommerce-page .logo img { height: 36px; }
  .woocommerce-page .mega-feature-logo { height: 26px; }
  .woocommerce-page .mega-case-tile-logo { height: 64px; }
  .woocommerce-page .mega-case-spotlight-logo { height: 30px; }
  .woocommerce-page .mega-blog-tile-media img,
  .woocommerce-page .mega-review-feature-photo img,
  .woocommerce-page .mega-review-tile-photo img,
  .woocommerce-page .mega-review-spotlight-photo img,
  .woocommerce-page .mega-about-founder-photo img { height: 100%; }

  /* ── HEADER ─────────────────────────────────────────── */
  body > header {
    border-top: 3px solid var(--red);
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg, #FAFAFA);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #E0E0E0;
    box-sizing: border-box;
    margin: 0;
  }

  body > header > * { flex-shrink: 0; }

  header nav { flex-shrink: 1; min-width: 0; justify-content: flex-end; }

  .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
  }

  .logo img {
    height: 36px;
    width: auto;
    display: block;
  }

  header nav { display: flex; align-items: center; gap: 32px; }

  header nav a {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s;
  }

  header nav a:hover { color: var(--red); }

  /* ── MEGA MENU ───────────────────────────────────────── */
  .nav-item { display: inline-flex; align-items: center; }

  .nav-item > a .caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 8px;
    transform: translateY(-1px);
    transition: transform 0.2s;
  }

  .nav-item:hover > a .caret,
  .nav-item:focus-within > a .caret { transform: translateY(-1px) rotate(180deg); }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 3px solid var(--red);
    padding: 48px 48px 52px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 1;
  }

  .nav-item:hover > .mega-menu,
  .nav-item:focus-within > .mega-menu,
  .mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 320px;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .mega-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--white);
    transition: color 0.18s, transform 0.18s;
  }

  .mega-item:hover { color: var(--red); transform: translateX(2px); }

  .mega-item-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .mega-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.005em;
  }

  .mega-grid--products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 320px;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .mega-cat-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
  }

  .mega-product {
    display: block;
    padding: 11px 0;
    text-decoration: none;
    color: var(--white);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.005em;
    transition: color 0.18s, transform 0.18s;
  }

  .mega-product:hover { color: var(--red); transform: translateX(2px); }

  .mega-view-all {
    grid-column: 1 / 4;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    display: inline-block;
  }

  .mega-view-all:hover { color: var(--red); opacity: 0.85; transform: translateX(2px); }

  .mega-feature-product-name {
    grid-column: 1 / -1;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 6px;
  }

  .mega-feature-bullets {
    grid-column: 1 / -1;
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .mega-feature-bullets li {
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(255,255,255,0.78);
    padding-left: 16px;
    position: relative;
  }

  .mega-feature-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
  }

  .mega-grid--about {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .mega-about-feature {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 24px;
    align-content: start;
  }

  .mega-about-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
  }

  .mega-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .mega-about-stat {
    padding: 18px 20px 18px 0;
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .mega-about-stat:last-child { border-right: none; padding-right: 0; }
  .mega-about-stat:not(:first-child) { padding-left: 20px; }

  .mega-about-stat-num {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--white);
    margin-bottom: 8px;
    display: block;
  }

  .mega-about-stat-label {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
    letter-spacing: 0;
  }

  .mega-about-founder {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255,44,85,0.08) 0%, transparent 70%);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.18s, transform 0.18s;
  }

  .mega-about-founder:hover {
    border-color: rgba(255,44,85,0.45);
    transform: translateY(-1px);
  }

  .mega-about-founder-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
  }

  .mega-about-founder-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    display: block;
    margin-bottom: 4px;
  }

  .mega-about-founder-quote {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--white);
  }

  .mega-about-founder-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    white-space: nowrap;
  }

  .mega-feature-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mega-feature {
    position: relative;
    background: linear-gradient(155deg, #1a1a1a 0%, #0A0A0A 60%, #1a0a10 100%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 6px 16px;
    text-decoration: none;
    color: var(--white);
    overflow: hidden;
    transition: border-color 0.18s, transform 0.18s;
  }

  .mega-feature::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,44,85,0.16) 0%, transparent 70%);
    pointer-events: none;
  }

  .mega-feature:hover { border-color: rgba(255,44,85,0.4); }

  .mega-feature-label {
    grid-column: 1 / 2;
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 800;
    position: relative;
    z-index: 1;
  }

  /* Anchored under .mega-feature so the (0,0,2,0) specificity beats
     WooCommerce's `.woocommerce img { height: auto }` (0,0,1,1). */
  .mega-feature .mega-feature-logo,
  img.mega-feature-logo {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 26px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    object-position: right center;
    display: block;
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: end;
    padding: 4px 8px;
    background: #fff;
    border-radius: 4px;
  }

  .mega-feature-logo-svg {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 36px;
    width: auto;
    max-width: 120px;
    align-self: center;
    justify-self: end;
    position: relative;
    z-index: 1;
    display: block;
    padding: 4px 8px;
    background: #fff;
    border-radius: 4px;
    box-sizing: content-box;
  }

  .mega-feature-stat {
    grid-column: 1 / -1;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-top: 8px;
    position: relative;
    z-index: 1;
  }

  .mega-feature-stat-label {
    grid-column: 1 / -1;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
  }

  .mega-feature-cta {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-top: 10px;
    position: relative;
    z-index: 1;
  }

  .mega-feature:hover { transform: translateY(-2px); }

  /* ── MEGA MENU · BLOG ────────────────────────────────── */
  .mega-grid--blog {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    max-width: 1280px;
    margin: 0 auto;
  }

  .mega-blog-posts { display: flex; flex-direction: column; }
  .mega-blog-posts .mega-cat-label { margin-bottom: 18px; }

  .mega-blog-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .mega-blog-tile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.22s;
  }

  .mega-blog-tile:hover { transform: translateY(-3px); }

  .mega-blog-tile-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
  }

  .mega-blog-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .mega-blog-tile:hover .mega-blog-tile-media img { transform: scale(1.05); }

  .mega-blog-tile-media--placeholder {
    background: linear-gradient(155deg, #1a1a1a 0%, #0a0a0a 100%);
  }
  .mega-blog-tile-media--light {
    background: linear-gradient(155deg, #1a1a1a 0%, #2a2a2a 100%);
  }

  .mega-blog-tile-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--white);
    transition: color 0.18s;
  }

  .mega-blog-tile:hover .mega-blog-tile-title { color: var(--red); }

  .mega-blog-sidebar {
    display: flex;
    flex-direction: column;
    align-content: start;
    padding-top: 32px;
  }

  .mega-blog-cat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    text-decoration: none;
    color: var(--white);
    transition: color 0.18s, transform 0.18s;
  }

  .mega-blog-cat:hover { color: var(--red); transform: translateX(2px); }

  .mega-blog-cat-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    transition: background 0.18s;
  }

  .mega-blog-cat:hover .mega-blog-cat-icon {
    background: rgba(255,44,85,0.12);
  }

  .mega-blog-cat-icon svg { width: 22px; height: 22px; }
  .mega-blog-cat-icon img { width: 28px; height: 28px; object-fit: contain; }

  .mega-blog-cat-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.005em;
  }

  .mega-blog-view-all {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 14px;
    letter-spacing: 0.02em;
    display: inline-block;
    transition: opacity 0.18s, transform 0.18s;
  }

  .mega-blog-view-all:hover { opacity: 0.85; transform: translateX(2px); }

  /* ── MEGA MENU · CASES ───────────────────────────────── */
  .mega-grid--cases {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .mega-cases-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
  }

  .mega-case-tile {
    display: block;
    padding: 22px 22px 20px;
    background: linear-gradient(155deg, #141414 0%, #0A0A0A 70%);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.18s, transform 0.18s, background 0.18s;
    position: relative;
    overflow: hidden;
  }

  .mega-case-tile::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,44,85,0) 0%, transparent 70%);
    pointer-events: none;
    transition: background 0.25s;
  }

  .mega-case-tile:hover {
    border-color: rgba(255,44,85,0.45);
    transform: translateY(-2px);
  }

  .mega-case-tile:hover::after {
    background: radial-gradient(circle, rgba(255,44,85,0.16) 0%, transparent 70%);
  }

  .mega-case-tile-logo {
    height: 64px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin-bottom: 18px;
    display: block;
    position: relative;
    z-index: 1;
    padding: 12px 18px;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .mega-case-tile-stat {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--red);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
  }

  .mega-case-tile-label {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    line-height: 1.35;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  .mega-case-tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    font-weight: 700;
    position: relative;
    z-index: 1;
  }

  /* ── Category dots (only visual differentiator) ───── */
  .mega-case-tile-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .mega-case-tile-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    flex-shrink: 0;
  }

  /* Live palette from liondigital.com.au/case-studies/, mapped per raw slug. */
  .mega-case-tile-tag[data-svc="seo"]::before            { background: #00f0ff; }
  .mega-case-tile-tag[data-svc="sem"]::before            { background: #ffc000; }
  .mega-case-tile-tag[data-svc="email"]::before          { background: #ff8e3e; }
  .mega-case-tile-tag[data-svc="social"]::before         { background: #a100ff; }
  .mega-case-tile-tag[data-svc="dev"]::before            { background: #0800b2; }
  .mega-case-tile-tag[data-svc="seo-migration"]::before  { background: #25f4ee; }
  .mega-case-tile-tag[data-svc="blended-search"]::before { background: #8fec3d; }
  .mega-case-tile-tag[data-svc="cro"]::before            { background: #ff2c55; }

  .mega-case-spotlight {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.78) 55%, rgba(10,10,10,0.95) 100%),
      url('https://liondigital.com.au/wp-content/uploads/2024/05/Simply-for-strings.jpg') center/cover;
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--white);
    padding: 24px;
    overflow: hidden;
    transition: border-color 0.18s, transform 0.18s;
    min-height: 360px;
  }

  .mega-case-spotlight:hover {
    border-color: rgba(255,44,85,0.45);
    transform: translateY(-2px);
  }

  .mega-case-spotlight-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mega-case-spotlight-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    animation: founder-pulse 2s ease-in-out infinite;
  }

  .mega-case-spotlight-logo {
    margin-top: auto;
    height: 30px;
    width: auto;
    max-width: 150px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    padding: 4px 10px;
    background: #fff;
    border-radius: 4px;
    object-fit: contain;
    align-self: flex-start;
  }

  .mega-case-spotlight-stat {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: var(--white);
    position: relative;
    z-index: 1;
  }

  .mega-case-spotlight-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    margin: 10px 0 18px;
    position: relative;
    z-index: 1;
  }

  .mega-case-spotlight-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    position: relative;
    z-index: 1;
  }

  .mega-cases-footer {
    grid-column: 1 / -1;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .mega-cases-footer .mega-view-all {
    grid-column: auto;
    margin: 0;
    padding: 0;
    border-top: none;
  }

  .mega-cases-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
  }

  .mega-cases-filters-label {
    color: rgba(255,255,255,0.4);
    margin-right: 4px;
  }

  .mega-cases-filters a,
  .mega-cases-filters button {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    font: inherit;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
  }

  .mega-cases-filters a:hover,
  .mega-cases-filters button:hover {
    color: var(--white);
    border-color: rgba(255,44,85,0.5);
    background: rgba(255,44,85,0.08);
  }

  .mega-cases-filters button.is-active {
    color: var(--white);
    border-color: var(--red);
    background: var(--red);
  }

  .mega-case-tile.is-filtered-out {
    display: none;
  }

  .mega-cases-empty {
    flex-basis: 100%;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-align: center;
  }

  .mega-cases-empty a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ── TOP CLIENTS (section 07) ────────────────────────── */
  .top-clients-stack {
    display: grid;
    gap: 24px;
  }

  .top-clients-hero {
    position: relative;
    display: block;
    aspect-ratio: 21 / 9;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    isolation: isolate;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.4s ease;
  }

  .top-clients-hero:hover { transform: translateY(-4px); }

  .top-clients-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 100% 0%, rgba(255,44,85,0.22) 0%, transparent 45%),
      linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.78) 38%, rgba(10,10,10,0.4) 70%, rgba(10,10,10,0.6) 100%);
    z-index: 1;
  }

  .top-clients-hero-grid {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 48px 56px 44px;
    display: grid;
    grid-template-columns: minmax(380px, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 16px 40px;
    align-items: end;
  }

  .top-clients-hero-eyebrow {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    gap: 14px;
    align-self: start;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
  }

  .top-clients-hero-number {
    font-size: 11px;
    color: var(--red);
    font-weight: 800;
  }

  .top-clients-hero-eyebrow .rule {
    flex: 0 0 40px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    display: inline-block;
  }

  .top-clients-hero-brand {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-top: 26px;
    font-size: clamp(2.4rem, 4.6vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: var(--white);
  }

  .top-clients-hero-meta {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: start;
    text-align: right;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .top-clients-hero-meta-tag {
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 5px 10px;
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }

  .top-clients-hero-stat {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    display: flex;
    align-items: baseline;
    gap: 22px;
  }

  .top-clients-hero-stat-num {
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.05em;
    line-height: 0.85;
  }

  .top-clients-hero-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
    max-width: 240px;
  }

  .top-clients-hero-footer {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    display: flex;
    align-items: center;
    gap: 28px;
    align-self: end;
  }

  .top-clients-hero-tags {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .top-clients-hero-tags span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
    margin-right: 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
  /* Per-category dot colours (matches case-tags palette). */
  .top-clients-hero-tags span[data-svc="seo"]::before,
  .top-clients-hero-tags span[data-svc="content"]::before,
  .top-clients-hero-tags span[data-svc="authority"]::before      { background: #00f0ff; }
  .top-clients-hero-tags span[data-svc="sem"]::before,
  .top-clients-hero-tags span[data-svc="paid"]::before,
  .top-clients-hero-tags span[data-svc="paid-search"]::before,
  .top-clients-hero-tags span[data-svc="paid-media"]::before     { background: #ffc000; }
  .top-clients-hero-tags span[data-svc="email"]::before          { background: #ff8e3e; }
  .top-clients-hero-tags span[data-svc="klaviyo"]::before        { background: #ff8b00; }
  .top-clients-hero-tags span[data-svc="social"]::before         { background: #a100ff; }
  .top-clients-hero-tags span[data-svc="dev"]::before            { background: #0800b2; }
  .top-clients-hero-tags span[data-svc="seo-migration"]::before  { background: #25f4ee; }
  .top-clients-hero-tags span[data-svc="blended-search"]::before { background: #8fec3d; }
  .top-clients-hero-tags span[data-svc="cro"]::before            { background: #ff2c55; }
  .top-clients-hero-tags span[data-svc="migration"]::before      { background: #25f4ee; }
  .top-clients-hero-tags span[data-svc="domain-migration"]::before { background: #25f4ee; }

  .top-clients-hero-cta {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.18s;
  }

  .top-clients-hero:hover .top-clients-hero-cta { gap: 14px; }

  /* Trio of supporting tiles */
  .top-clients-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .top-client-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.4s ease;
  }

  .top-client-tile:hover { transform: translateY(-4px); }

  .top-client-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.93) 100%);
    z-index: 1;
  }

  .top-client-tile-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .top-client-tile-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 0.22em;
  }

  .top-client-tile-brand {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
  }

  .top-client-tile-emblem {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    z-index: 3;
  }

  .top-client-tile-emblem img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
  }

  .top-client-tile-body {
    margin-top: auto;
  }

  .top-client-tile-stat-num {
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.05em;
    line-height: 0.9;
  }

  .top-client-tile-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    line-height: 1.3;
    margin-top: 4px;
  }

  .top-client-tile-quote {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.16);
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.78);
    line-height: 1.45;
  }

  .top-client-tile-quote-author {
    display: block;
    margin-top: 8px;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-style: normal;
    color: rgba(255,255,255,0.55);
    font-weight: 700;
  }

  .top-client-tile-tags {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .top-client-tile-tags span::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
    margin-right: 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
  /* Per-category dot colours (matches case-tags palette). */
  .top-client-tile-tags span[data-svc="seo"]::before,
  .top-client-tile-tags span[data-svc="content"]::before,
  .top-client-tile-tags span[data-svc="authority"]::before      { background: #00f0ff; }
  .top-client-tile-tags span[data-svc="sem"]::before,
  .top-client-tile-tags span[data-svc="paid"]::before,
  .top-client-tile-tags span[data-svc="paid-search"]::before,
  .top-client-tile-tags span[data-svc="paid-media"]::before     { background: #ffc000; }
  .top-client-tile-tags span[data-svc="email"]::before          { background: #ff8e3e; }
  .top-client-tile-tags span[data-svc="klaviyo"]::before        { background: #ff8b00; }
  .top-client-tile-tags span[data-svc="social"]::before         { background: #a100ff; }
  .top-client-tile-tags span[data-svc="dev"]::before            { background: #0800b2; }
  .top-client-tile-tags span[data-svc="seo-migration"]::before  { background: #25f4ee; }
  .top-client-tile-tags span[data-svc="blended-search"]::before { background: #8fec3d; }
  .top-client-tile-tags span[data-svc="cro"]::before            { background: #ff2c55; }
  .top-client-tile-tags span[data-svc="domain-migration"]::before { background: #25f4ee; }

  @media (max-width: 900px) {
    .top-clients-hero { aspect-ratio: auto; }
    .top-clients-hero-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto auto;
      padding: 32px 28px;
      gap: 20px;
    }
    /* Each item gets its own row at mobile sizes; the desktop layout overlaps
       brand on top of eyebrow with margin-top:26px, which collapses badly when
       the columns flatten to 1fr. Explicit row assignment fixes the stack. */
    .top-clients-hero-eyebrow { grid-row: 1 / 2; }
    .top-clients-hero-brand   { grid-row: 2 / 3; margin-top: 0; }
    .top-clients-hero-meta    { grid-row: 3 / 4; grid-column: 1 / 2; align-items: flex-start; text-align: left; }
    .top-clients-hero-stat    { grid-row: 4 / 5; }
    .top-clients-hero-footer  { grid-row: 5 / 6; grid-column: 1 / 2; flex-wrap: wrap; gap: 16px; }
    .top-clients-trio { grid-template-columns: 1fr; }
  }

/* hamburger + mobile drawer + light variant */
  /* Hamburger → X animation */
  .hamburger {
    display: none;
    position: relative;
    width: 28px;
    height: 22px;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
  }

  .hamburger span {
    position: absolute;
    left: 3px;
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: transform 0.25s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.15s, top 0.25s, background 0.2s;
  }

  .hamburger span:nth-child(1) { top: 4px; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { top: 16px; }

  .hamburger.is-open span { background: var(--white); }
  .hamburger.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

  /* Mobile drawer menu */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .mobile-menu-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 440px);
    background:
      radial-gradient(circle at 100% 0%, rgba(255,44,85,0.12) 0%, transparent 40%),
      radial-gradient(circle at 0% 100%, rgba(255,44,85,0.06) 0%, transparent 50%),
      var(--black);
    color: var(--white);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.5, 0, 0.2, 1), box-shadow 0.32s;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-menu.is-open { pointer-events: auto; }
  .mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
  .mobile-menu.is-open .mobile-menu-drawer {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }

  .mobile-menu-header {
    padding: 22px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-menu-quick-cta {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    padding: 12px 14px 13px;
    background: linear-gradient(135deg, var(--red) 0%, #d4163c 100%);
    color: var(--white);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(255,44,85,0.3);
  }

  .mobile-menu-quick-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,44,85,0.4); }

  .mobile-menu-quick-cta::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    pointer-events: none;
  }

  .mobile-menu-quick-eyebrow {
    grid-column: 1 / 2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    line-height: 1;
  }

  .mobile-menu-quick-title {
    grid-column: 1 / 2;
    margin-top: 4px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
    line-height: 1;
  }

  .mobile-menu-quick-arrow {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    transition: transform 0.2s;
    position: relative;
    z-index: 1;
  }

  .mobile-menu-quick-cta:hover .mobile-menu-quick-arrow { transform: translateX(4px); }

  .mobile-menu-close-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
  }

  .mobile-menu-close-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
  }

  .mobile-menu-close-btn svg { width: 18px; height: 18px; }

  .mobile-menu-nav {
    padding: 4px 0 16px;
    flex: 1;
  }

  .mobile-menu-link,
  .mobile-menu-trigger {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    padding: 18px 24px;
    color: var(--white);
    text-decoration: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: color 0.18s, background 0.18s, padding-left 0.18s;
    position: relative;
  }

  .mobile-menu-link::before,
  .mobile-menu-trigger::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }

  .mobile-menu-link:hover::before,
  .mobile-menu-trigger:hover::before,
  .mobile-menu-trigger[aria-expanded="true"]::before {
    transform: scaleY(1);
  }

  .mobile-menu-link:hover,
  .mobile-menu-trigger:hover { background: rgba(255,255,255,0.02); }

  .mobile-menu-number { display: none; }

  .mobile-menu-trigger:hover .mobile-menu-number,
  .mobile-menu-link:hover .mobile-menu-number,
  .mobile-menu-trigger[aria-expanded="true"] .mobile-menu-number {
    color: var(--red);
  }

  .mobile-menu-title-wrap {
    display: block;
    min-width: 0;
  }

  .mobile-menu-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: var(--white);
  }

  .mobile-menu-desc {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255,255,255,0.5);
    line-height: 1.35;
  }

  .mobile-menu-caret {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.35);
    transition: transform 0.25s, color 0.18s;
    flex-shrink: 0;
  }

  .mobile-menu-trigger[aria-expanded="true"] .mobile-menu-caret {
    transform: rotate(45deg);
    color: var(--red);
  }

  .mobile-menu-submenu {
    max-height: 0;
    overflow: hidden;
    background: #050505;
    transition: max-height 0.3s ease;
  }

  .mobile-menu-trigger[aria-expanded="true"] + .mobile-menu-submenu {
    max-height: 2400px;
  }

  .mobile-menu-submenu a {
    display: block;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.18s, padding-left 0.18s;
  }

  .mobile-menu-submenu a:hover {
    color: var(--red);
    padding-left: 28px;
  }

  .mobile-menu-submenu-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
  }

  .mobile-menu-submenu-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,44,85,0.45) 0%, rgba(255,44,85,0) 100%);
  }

  .mobile-menu-footer {
    padding: 22px 24px 26px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,44,85,0.04) 100%);
  }

  .mobile-menu-footer .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 20px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.18s, transform 0.18s;
    position: relative;
    overflow: hidden;
  }
  .mobile-menu-footer .mobile-menu-cta > span { white-space: nowrap; }

  .mobile-menu-cta-stat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.7);
  }

  .mobile-menu-footer .mobile-menu-cta:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-1px);
  }

  .mobile-menu-footer .mobile-menu-cta:hover .mobile-menu-cta-stat {
    color: rgba(0,0,0,0.55);
  }

  .mobile-menu-contact {
    display: grid;
    gap: 6px;
    padding-top: 4px;
  }

  .mobile-menu-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.02em;
  }

  .mobile-menu-contact-row svg {
    width: 12px;
    height: 12px;
    color: var(--red);
    flex-shrink: 0;
  }

  .mobile-menu-contact-row a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-menu-contact-row a:hover { color: var(--red); }

  .mobile-menu-anthropic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    margin-top: 4px;
  }

  .mobile-menu-anthropic::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    animation: founder-pulse 2s ease-in-out infinite;
  }

  /* About Us — items with icons */
  #mm-about .mm-about-link {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 12px 24px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  #mm-about .mm-about-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.18s;
  }
  #mm-about .mm-about-link:hover .mm-about-icon { opacity: 1; }

  /* Services + Blog submenus — icon + label rows (shared) */
  #mm-services > a,
  #mm-blog > a:has(> .mm-service-icon) {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  #mm-services .mm-service-icon,
  #mm-blog .mm-service-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
  }
  #mm-services > a:hover .mm-service-icon,
  #mm-blog > a:hover .mm-service-icon { opacity: 1; }

  #mm-about .mm-about-link span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
  }

  /* Featured case-study / product rows inside accordions — card style */
  .mobile-menu-submenu .mm-feature {
    display: block;
    padding: 22px 56px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.025);
    border-left: 3px solid var(--red);
    position: relative;
    transition: background 0.22s, padding-left 0.22s, transform 0.22s, box-shadow 0.22s;
    overflow: hidden;
  }

  .mobile-menu-submenu .mm-feature::after {
    content: "→";
    position: absolute;
    bottom: 22px;
    right: 22px;
    color: var(--red);
    font-size: 22px;
    font-weight: 700;
    opacity: 0.6;
    transition: right 0.22s, opacity 0.22s, transform 0.22s;
    line-height: 1;
  }

  .mobile-menu-submenu .mm-feature:hover {
    background: rgba(255,255,255,0.06);
    padding-left: 28px;
    transform: translateY(-1px);
  }

  .mobile-menu-submenu .mm-feature:hover::after {
    right: 18px;
    opacity: 1;
  }

  /* Hot/featured product (Instant AI) — extra emphasis */
  .mm-feature--hot {
    background:
      radial-gradient(circle at 100% 0%, rgba(255,44,85,0.28) 0%, transparent 45%),
      linear-gradient(135deg, rgba(255,44,85,0.18) 0%, rgba(255,44,85,0.04) 70%) !important;
    border-left: 3px solid var(--red) !important;
    position: relative;
  }

  .mm-feature-badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--red);
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
  }

  .mm-feature-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
  }

  .mm-feature-brand::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
  }

  .mm-feature-stat {
    display: block;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--red);
    line-height: 0.95;
  }

  /* Blog post titles use this class but need a sentence-friendly size */
  #mm-blog .mm-feature-stat {
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .mm-feature-stat span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
  }

  .mm-feature--spotlight {
    background: linear-gradient(135deg, rgba(255,44,85,0.12) 0%, rgba(255,44,85,0.02) 100%);
    border-left: 3px solid var(--red);
  }

  /* Case filter pill row */
  .mm-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 24px 14px 40px;
  }

  .mm-filter {
    padding: 5px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  }

  .mm-filter:hover {
    color: var(--white) !important;
    border-color: var(--red);
    background: rgba(255,44,85,0.08);
  }

  .mm-filter.is-active {
    color: var(--white) !important;
    background: var(--red);
    border-color: var(--red);
  }

  /* About: stats triplet — single column on mobile */
  .mm-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 24px 16px 24px;
  }

  .mm-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0 0 10px;
  }

  .mm-stat:last-child  { border-bottom: none; padding-bottom: 0; }

  .mm-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .mm-stat-label {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
  }

  /* About: founder card */
  .mobile-menu-submenu .mm-founder {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 16px 24px 18px;
    background: linear-gradient(135deg, rgba(255,44,85,0.08) 0%, transparent 80%);
    border-top: 1px solid rgba(255,255,255,0.06);
    align-items: center;
  }

  .mm-founder-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2C55 0%, #7a0a20 100%);
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mm-founder-body { display: block; }

  .mm-founder-name {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
  }

  .mm-founder-quote {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--white);
    margin-bottom: 6px;
  }

  .mm-founder-cta {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
  }

  /* Shared "View All" link inside submenu */
  .mobile-menu-submenu .mm-view-all {
    color: var(--red) !important;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11.5px;
    padding-top: 14px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  body.menu-locked { overflow: hidden; }

  /* ── MOBILE MENU · LIGHT VARIANT ─────────────────────── */
  .mobile-menu-drawer {
    background:
      radial-gradient(circle at 100% 0%, rgba(255,44,85,0.07) 0%, transparent 45%),
      radial-gradient(circle at 0% 100%, rgba(255,44,85,0.04) 0%, transparent 50%),
      var(--white);
    color: var(--black);
  }

  .mobile-menu.is-open .mobile-menu-drawer {
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  }

  .mobile-menu-header {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .mobile-menu-close-btn {
    border: 1px solid rgba(0,0,0,0.14);
    color: rgba(0,0,0,0.65);
  }
  .mobile-menu-close-btn:hover {
    color: var(--black);
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.35);
  }

  .mobile-menu-link,
  .mobile-menu-trigger {
    color: var(--black);
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .mobile-menu-link:hover,
  .mobile-menu-trigger:hover { background: rgba(0,0,0,0.025); }

  .mobile-menu-number { color: rgba(0,0,0,0.35); }
  .mobile-menu-title { color: var(--black); }
  .mobile-menu-caret { color: rgba(0,0,0,0.35); }

  .mobile-menu-submenu { background: #F5F5F5; }

  .mobile-menu-submenu a {
    color: rgba(0,0,0,0.78);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }


  /* Feature blocks */
  .mobile-menu-submenu .mm-feature {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .mobile-menu-submenu .mm-feature:hover {
    background: linear-gradient(90deg, rgba(255,44,85,0.05) 0%, rgba(255,255,255,1) 70%);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  }

  .mm-feature-brand { color: rgba(0,0,0,0.55); }
  .mm-feature-stat { color: var(--red); }
  .mm-feature-stat span { color: rgba(0,0,0,0.75); }

  .mm-feature--spotlight {
    background: linear-gradient(135deg, rgba(255,44,85,0.10) 0%, rgba(255,44,85,0.02) 100%) !important;
  }

  .mm-feature--hot {
    background:
      radial-gradient(circle at 100% 0%, rgba(255,44,85,0.22) 0%, transparent 50%),
      linear-gradient(135deg, rgba(255,44,85,0.12) 0%, rgba(255,44,85,0.02) 80%) !important;
  }

  /* About stats triplet (single column on mobile) */
  .mm-stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
  .mm-stat:last-child { border-bottom: none; }
  .mm-stat-num { color: var(--black); }
  .mm-stat-label { color: rgba(0,0,0,0.55); }

  /* Founder card */
  .mobile-menu-submenu .mm-founder {
    background: linear-gradient(135deg, rgba(255,44,85,0.08) 0%, transparent 80%);
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .mm-founder-name { color: rgba(0,0,0,0.6); }
  .mm-founder-quote { color: var(--black); }

  /* About icons — keep native colours on light bg */
  #mm-about .mm-about-link {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  #mm-about .mm-about-link span { color: var(--black); }

  /* Filter pills (if still present) */
  .mm-filter {
    color: rgba(0,0,0,0.65) !important;
    border-color: rgba(0,0,0,0.14) !important;
  }
  .mm-filter:hover {
    color: var(--black) !important;
    background: rgba(255,44,85,0.06);
  }
  .mm-filter.is-active {
    color: var(--white) !important;
    background: var(--red);
    border-color: var(--red) !important;
  }

  /* Footer */
  .mobile-menu-footer {
    border-top: 1px solid rgba(0,0,0,0.08);
    background: linear-gradient(180deg, transparent 0%, rgba(255,44,85,0.03) 100%);
  }

  .mobile-menu-contact-row { color: rgba(0,0,0,0.6); }
  .mobile-menu-contact-row a { color: var(--black); }

  .mobile-menu-anthropic {
    color: rgba(0,0,0,0.45);
    border-top: 1px dashed rgba(0,0,0,0.1);
  }

  /* ── HEADER · RESPONSIVE ─────────────────────────────── */
  @media (max-width: 768px) {
    body > header { padding: 0 20px; }
    header nav { display: none; }
    .hamburger { display: flex; }
  }


/* ──────────────────────────────────────────────────────────────────
   REVIEWS MEGA-MENU (.mega-grid--reviews)
   Layout mirrors the Case Studies mega menu:
     · Left  : 2 large feature cards (photo + stars + 1-line quote)
     · Centre: 6 small tiles (photo + name + company + short quote)
     · Right : 1 spotlight (large pull-quote)
     · Footer: "View All Reviews" CTA full-width below
   ────────────────────────────────────────────────────────────────── */
  .mega-grid--reviews {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(220px, 280px);
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
  }
  /* Override the global `header nav a { text-transform: uppercase }`
     so review names, companies and quotes read in normal case. The
     eyebrow + CTA labels stay uppercase via overrides below. */
  .mega-review-feature,
  .mega-review-tile,
  .mega-review-spotlight,
  .mega-review-feature *,
  .mega-review-tile *,
  .mega-review-spotlight * {
    text-transform: none;
    letter-spacing: normal;
  }
  .mega-review-spotlight-eyebrow,
  .mega-review-spotlight-cta {
    text-transform: uppercase;
    letter-spacing: 0.22em; /* eyebrow */
  }
  .mega-review-spotlight-cta {
    letter-spacing: 0.16em;
  }

  /* ── Left column: feature cards (stacked) ──────────────────── */
  .mega-reviews-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .mega-review-feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.18s, border-color 0.18s, background 0.18s;
  }
  .mega-review-feature:hover {
    transform: translateY(-2px);
    background: rgba(255,44,85,0.08);
    border-color: rgba(255,44,85,0.45);
  }
  .mega-review-feature-stars,
  .mega-review-tile-stars,
  .mega-review-spotlight-stars {
    display: inline-flex;
    gap: 2px;
    color: #F5A623;
    margin-bottom: 10px;
  }
  .mega-review-feature-stars svg,
  .mega-review-tile-stars svg,
  .mega-review-spotlight-stars svg { width: 13px; height: 13px; }
  .mega-review-feature-head { display: flex; align-items: center; gap: 12px; }
  .mega-review-feature-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
  }
  .mega-review-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
    box-sizing: border-box;
  }
  .mega-review-feature-meta { display: flex; flex-direction: column; min-width: 0; }
  .mega-review-feature-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.005em;
    line-height: 1.2;
  }
  .mega-review-feature-role {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1.35;
    margin-top: 2px;
  }
  .mega-review-feature-quote {
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin: 0;
  }

  /* ── Centre column: 6 small tiles in a 3×2 grid ───────────── */
  .mega-reviews-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    align-content: start;
  }
  .mega-review-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.18s, border-color 0.18s, background 0.18s;
  }
  .mega-review-tile:hover {
    transform: translateY(-2px);
    background: rgba(255,44,85,0.08);
    border-color: rgba(255,44,85,0.45);
  }
  .mega-review-tile-head { display: flex; align-items: center; gap: 10px; }
  .mega-review-tile-photo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
  }
  .mega-review-tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 3px;
    box-sizing: border-box;
  }
  .mega-review-tile-meta { display: flex; flex-direction: column; min-width: 0; }
  .mega-review-tile-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.005em;
  }
  .mega-review-tile-company {
    font-size: 10.5px;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
    margin-top: 1px;
  }
  .mega-review-tile-quote {
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255,255,255,0.7);
    margin: 0;
  }

  /* ── Right column: spotlight pull-quote ───────────────────── */
  .mega-review-spotlight {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 22px;
    background: linear-gradient(155deg, rgba(255,44,85,0.18) 0%, rgba(255,44,85,0.04) 100%);
    color: var(--white);
    border: 1px solid rgba(255,44,85,0.45);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.18s, border-color 0.18s, background 0.18s;
    position: relative;
    overflow: hidden;
  }
  .mega-review-spotlight:hover {
    transform: translateY(-2px);
    background: linear-gradient(155deg, rgba(255,44,85,0.28) 0%, rgba(255,44,85,0.08) 100%);
    border-color: var(--red);
  }
  .mega-review-spotlight-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red, #FF2C55);
  }
  .mega-review-spotlight-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    align-self: flex-start;
  }
  .mega-review-spotlight-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
    box-sizing: border-box;
  }
  .mega-review-spotlight-mark {
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 0.6;
    color: var(--red, #FF2C55);
    opacity: 0.7;
  }
  .mega-review-spotlight-quote {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--white);
    margin: 0;
  }
  .mega-review-spotlight-attribution {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .mega-review-spotlight-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.005em;
  }
  .mega-review-spotlight-company {
    font-size: 10.5px;
    color: rgba(255,255,255,0.66);
  }
  .mega-review-spotlight-cta {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red, #FF2C55);
    margin-top: 4px;
  }

  /* ── Footer: View All CTA spanning all 3 cols ─────────────── */
  .mega-reviews-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 12px;
  }

  /* ── Responsive: collapse to single column on narrower viewports ── */
  @media (max-width: 1100px) {
    .mega-grid--reviews {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .mega-reviews-tiles { grid-template-columns: 1fr 1fr; }
    .mega-review-spotlight { padding: 20px; }
  }
  @media (max-width: 760px) {
    .mega-reviews-tiles { grid-template-columns: 1fr; }
  }
