/* Mobile-first stability and navigation polish. Loaded last on the homepage. */
.proof{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.proof .proofGhost{display:none!important}
.proof>div{position:relative;padding:30px 28px 28px 72px!important;min-height:132px;display:flex;flex-direction:column;justify-content:center}
.proof>div>i{position:absolute;left:24px;top:50%;translate:0 -50%;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#4934a8,#7c66e0);color:#fff;font-style:normal;font-size:1.05rem;box-shadow:0 9px 24px rgba(73,52,168,.22)}
.proof strong{font-size:clamp(2rem,3vw,3.25rem)!important;line-height:.95!important}
.proof span{margin-top:9px;font-size:.9rem!important;line-height:1.35!important;font-weight:750;color:#4d554e!important}
.contactPromise{width:min(100%,540px)!important;padding:18px!important;gap:19px!important}
.contactPromise>span{min-width:64px!important;height:64px!important;font-size:2.35rem!important}
.contactPromise b{font-size:1.02rem!important;line-height:1.25!important}
.contactPromise small{font-size:.78rem!important;line-height:1.55!important;max-width:390px}
.whyGrid article{min-height:245px!important;padding:18px!important}
.whyGrid article h3{font-size:1.12rem!important;line-height:1.16!important;margin:13px 0 8px!important}
.whyGrid article p{font-size:.83rem!important;line-height:1.55!important;color:#d8d3df!important}
.whyGrid article ul{margin:10px 0!important;gap:6px!important}
.whyGrid article li{font-size:.76rem!important;line-height:1.45!important;color:#f1edf6!important}
.whyGrid article>b{font-size:.72rem!important;line-height:1.4!important;padding-top:8px!important;color:#b7a6ff!important}

@media (max-width: 900px) {
  *, *::before, *::after { box-sizing: border-box !important; }
  html, body, #root, .site { width: 100%; max-width: 100%; overflow-x: clip; }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, video, iframe, svg { max-width: 100%; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button, a { touch-action: manipulation; }
  .site > .nav {
    top: 10px !important; width: calc(100% - 20px) !important; height: 60px !important;
    min-height: 60px !important; padding: 0 12px !important; gap: 10px !important;
    border-radius: 18px !important; overflow: visible !important;
  }
  .site > .nav.navCompact { top: 6px !important; height: 54px !important; min-height: 54px !important; }
  .site > .nav .logo { position: relative; z-index: 3; font-size: 1.45rem !important; }
  .site > .nav .menu {
    display: grid !important; place-items: center; order: 4; flex: 0 0 40px;
    width: 40px; height: 40px; margin: 0 0 0 auto !important; padding: 0;
    border: 1px solid rgba(73,52,168,.28) !important; border-radius: 12px;
    background: rgba(255,255,255,.76) !important; color: #4934a8 !important;
    font: 700 1.35rem/1 system-ui; cursor: pointer; z-index: 4;
  }
  .site > .nav .links {
    display: flex !important; position: absolute !important; top: calc(100% + 9px) !important;
    left: 0 !important; right: 0 !important; width: auto !important; height: auto !important;
    max-height: min(70vh, 560px); overflow-y: auto; flex-direction: column !important;
    align-items: stretch !important; gap: 3px !important; margin: 0 !important; padding: 12px !important;
    border: 1px solid rgba(255,255,255,.58) !important; border-radius: 18px !important;
    background: rgba(247,245,255,.96) !important; box-shadow: 0 22px 60px rgba(20,12,50,.24) !important;
    backdrop-filter: blur(24px) saturate(1.25) !important;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px) scale(.985); transform-origin: top;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .site > .nav .links.open {
    display: flex !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    transform: translateY(0) scale(1) !important; z-index: 9999 !important;
    min-height: 330px; background: rgba(247,245,255,.985) !important; color: #17131f !important;
  }
  .site > .nav:has(.links.open), .site > .nav.navHidden:has(.links.open) { transform: none !important; opacity: 1 !important; visibility: visible !important; }
  .site > .nav .links.open > a, .site > .nav .links.open .featuredMenu,
  .site > .nav .links.open .featuredMenu > button { opacity: 1 !important; visibility: visible !important; transform: none !important; color: #17131f !important; }
  body:has(.site > .nav .links.open) { overflow: hidden !important; }
  .site > .nav .links > a,
  .site > .nav .featuredMenu a {
    min-height: 42px; display: flex !important; align-items: center; padding: 9px 12px !important;
    border-radius: 11px; color: #17131f !important; font-size: .9rem !important;
  }
  .site > .nav .featuredMenu { width: 100%; }
  .site > .nav .featuredMenu > div { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3px; }

  .hero { min-height: 760px !important; height: min(900px, 100svh) !important; display: block !important; }
  .heroVisual { position: absolute !important; inset: 0; min-height: 0 !important; height: 100% !important; }
  .heroCopy {
    min-height: 100%; width: 100% !important; max-width: 100% !important; padding: 116px 22px 38px !important;
    display: flex; flex-direction: column; justify-content: center;
  }
  .heroCopy > * { width: 100%; max-width: 100%; }
  .hero .kicker { min-height: 2.6em; margin-bottom: 14px !important; }
  .hero h1 {
    min-height: 3.05em; margin-bottom: 18px !important; font-size: clamp(2.75rem, 13.5vw, 4rem) !important;
    line-height: .98 !important; text-wrap: balance;
  }
  .hero h1 > span { display: inline-block; }
  .hero h1 .heroGradient:last-child { display: block; }
  .heroCopy > p { min-height: 5.4em; margin: 0; font-size: .96rem !important; line-height: 1.55 !important; }
  .hero .actions { margin: 22px 0 18px !important; gap: 9px !important; }
  .hero .actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .heroControls { max-width: 100%; overflow-x: auto; scrollbar-width: none; }

  .clientFlow { padding: 38px 0 34px !important; }
  .clientFlow > p { margin-bottom: 24px !important; padding: 0 20px; line-height: 1.45; }
  .logoMarquee { min-height: 86px; touch-action: pan-y; }
  .logoMarquee > div { align-items: center; animation-duration: 42s !important; will-change: transform; }
  .clientLogo { width: 142px !important; height: 76px !important; flex: 0 0 142px !important; padding: 10px 18px !important; }
  .clientLogo img { display: block; width: 100% !important; height: 100% !important; object-fit: contain !important; }
  .logoMarquee:active > div, .logoMarquee:focus-within > div { animation-play-state: paused !important; }

  main > section, .section, .darkSection, .portfolio, .voices, .contact, footer { overflow: clip; }
  .section, .darkSection, .portfolio, .voices, .contact { padding-top: 64px !important; padding-bottom: 64px !important; }
  .section, .darkSection, .portfolio, .voices, .contact, .campaign, .legacyTeam, .whyMeo {
    padding-left: 20px !important; padding-right: 20px !important;
  }
  .section h2, .darkSection h2, .portfolio h2, .contact h2, .voices h2, .campaign h2,
  .split h2, .package h2, .legacyTeam h2, .whyMeo h2 {
    max-width: 100%; font-size: clamp(2rem, 10vw, 3.15rem) !important; line-height: 1.02 !important;
    letter-spacing: -.045em !important; text-wrap: balance; overflow-wrap: normal;
  }
  .section h3, .darkSection h3, .portfolio h3, .contact h3, .voices h3,
  .package h3, .legacyTeam h3, .whyMeo h3 { line-height: 1.15 !important; text-wrap: balance; }
  p, li, label, small { line-height: 1.55; }
  .eyebrow, .kicker { line-height: 1.4 !important; letter-spacing: .12em !important; }
  .sectionHead { margin-bottom: 32px !important; gap: 14px !important; }
  .sectionHead > *, .split > *, .contact > *, .package > * { min-width: 0; max-width: 100%; }
  .sectionHead .pill, .center, .textLink { min-height: 44px; display: inline-flex; align-items: center; }
  .serviceRow { padding: 22px 4px !important; gap: 14px !important; }
  .serviceColumn { width: 100% !important; max-width: 100% !important; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
  .serviceColumn { gap: 8px !important; }
  .serviceColumn .serviceRow { width: min(84vw, 340px) !important; min-width: min(84vw, 340px) !important; min-height: 290px !important; padding: 12px !important; scroll-snap-align: start; }
  .serviceColumn .serviceRow:hover { padding: 12px !important; }
  .serviceColumn .serviceRow p { font-size: .84rem !important; line-height: 1.5 !important; margin: 3px 4px 8px !important; color: #514b5b !important; }
  .serviceColumn .serviceRow h3 { font-size: 1.24rem !important; line-height: 1.15 !important; margin: 5px 4px 7px !important; }
  .serviceColumnHead { align-items: center !important; gap: 12px !important; }
  .serviceColumnHead small { text-align: right; }
  .proof { grid-template-columns: 1fr !important; }
  .proof .proofGhost { display: none !important; }
  .proof > div { min-height: 108px !important; padding: 20px 18px 20px 68px !important; }
  .proof > div > i { left: 18px !important; width: 36px !important; height: 36px !important; }
  .proof strong { font-size: 2.25rem !important; }
  .proof span { font-size: .93rem !important; line-height: 1.4 !important; }
  .contactPromise { padding: 16px !important; gap: 15px !important; }
  .contactPromise b { font-size: 1rem !important; }
  .contactPromise small { font-size: .78rem !important; line-height: 1.5 !important; }
  .whyGrid article p { font-size: .86rem !important; line-height: 1.55 !important; }
  .whyGrid article li { font-size: .8rem !important; line-height: 1.45 !important; }
  .whyGrid article > b { font-size: .76rem !important; line-height: 1.4 !important; }
  .industryGrid a { min-height: 320px !important; }
  .industryGrid, .caseGrid, .teamCards, .whyGrid, .processGrid, .painGrid { width: 100%; max-width: 100%; }
  .industryGrid > *, .caseGrid > *, .teamCards > *, .whyGrid > *, .processGrid > *, .painGrid > * { min-width: 0; }
  .caseArt { height: 260px !important; }
  .package { margin: 28px 14px !important; padding: 30px 22px !important; }
  .contact { gap: 30px !important; }
  .contact form, .contact form > div { width: 100%; max-width: 100%; }
  .contact input, .contact textarea, .contact select, .contact button { min-width: 0; width: 100%; font-size: 16px !important; }
  .contact textarea { min-height: 112px !important; }
  .contactOrbitStage { width: min(88vw, 380px) !important; height: min(88vw, 380px) !important; margin-inline: auto !important; transform: none !important; }
  .contactOrbitTrack { width: 100% !important; height: 100% !important; }
  .contactOrbitNode i { transform: scale(.86); }
  .contactOrbitLabel { max-width: 100%; white-space: normal !important; text-align: center; line-height: 1.6 !important; }
  .discUniverse { padding-left: 18px !important; padding-right: 18px !important; }
  .discCopy { text-align: center; }
  .discCopy p { margin-inline: auto; }
  .disc { max-width: 100% !important; }
  .orbitNodes { inset: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; }
  .faq article, .faq button { max-width: 100%; }
  .faq button { gap: 16px; min-height: 56px; font-size: 1rem !important; line-height: 1.35 !important; }
  .megaFooter, footer { gap: 28px !important; }
  .footerColumns { grid-template-columns: 1fr 1fr !important; gap: 24px 16px !important; }
  .footerBottom { gap: 20px !important; align-items: flex-start !important; }
  .sideCta { display: none !important; }
  .floatTools { right: 12px !important; bottom: 76px !important; gap: 8px !important; }
  .floatTools > a, .floatTools > button { width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; }
  .meoChat { right: 10px !important; bottom: 132px !important; width: min(360px, calc(100vw - 20px)) !important; max-height: min(620px, calc(100svh - 160px)) !important; }
  .auditPopup, .auditModal, [class*="auditPopup"] { width: min(370px, calc(100vw - 24px)) !important; max-height: calc(100svh - 24px) !important; overflow-y: auto !important; }
}

@media (min-width: 901px) {
  .serviceColumn { gap: 9px !important; }
  .serviceColumn .serviceRow p { font-size: .82rem !important; line-height: 1.5 !important; color: #514b5b !important; }
  .serviceColumn .serviceRow h3 { font-size: 1.18rem !important; line-height: 1.15 !important; }
}

@media (max-width: 560px) {
  .site > .nav .featuredMenu > div { grid-template-columns: 1fr; }
  .hero { min-height: 720px !important; }
  .hero h1 { min-height: 3.08em; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions a { width: 100%; }
  .proof, .painGrid, .processGrid, .blogGrid, .contact form > div { grid-template-columns: 1fr !important; }
  .proof div { border-right: 0 !important; }
  .discUniverse { min-height: auto !important; }
  .disc { width: min(94vw, 430px) !important; }
  footer, .footerColumns { grid-template-columns: 1fr !important; }
  .clientLogo { width: 128px !important; flex-basis: 128px !important; }
  .serviceColumn { gap: 7px !important; }
  .serviceColumn .serviceRow p { font-size: .82rem !important; line-height: 1.48 !important; }
  .contactOrbitNode i { transform: scale(.76); }
}

@media (prefers-reduced-motion: reduce) {
  .logoMarquee > div { animation-play-state: paused !important; }
}
