/* AdsOnScale Mobile & Launch Finalizer v1.5.0 */
:root{--aos-finalizer-pink:#ee1d7a;--aos-ink:#15162b}
html,body{max-width:100%;overflow-x:hidden}*,*::before,*::after{box-sizing:border-box}img,svg,video,iframe{max-width:100%;height:auto}

/* Compact header + hero. */
.topline{min-height:0!important;padding:4px 0!important}.topline .wrap{padding-block:0!important}
.header .nav,.header .wrap.nav{height:64px!important;min-height:64px!important;padding-block:0!important}
.header .brand-logo{display:block!important;width:auto!important;height:auto!important;max-height:36px!important;max-width:190px!important;object-fit:contain!important}
body.home .homehero{padding-top:42px!important;padding-bottom:40px!important}


/* Balanced vertical rhythm. The original theme uses 95px section padding; this keeps pages premium without the excessive empty bands reported on live pages. */
main>.section,.section{padding-top:68px!important;padding-bottom:68px!important}
main>.section+ .section{margin-top:0!important}
.hero:not(.homehero),.pagehero,.service-hero,.industry-hero,.market-hero{padding-top:56px!important;padding-bottom:56px!important}
.closing{padding-top:68px!important;padding-bottom:68px!important}

/* Seamless continuous left-moving feature strip. */
body.home .ticker.aos-feature-ticker{overflow:hidden!important;white-space:nowrap!important;padding:15px 0!important}
body.home .ticker .aos-ticker-track{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;width:max-content!important;max-width:none!important;will-change:transform;animation:aosTicker var(--aos-ticker-duration,26s) linear infinite!important}
body.home .ticker .aos-ticker-set{display:flex!important;align-items:center!important;gap:28px!important;flex:0 0 auto!important;white-space:nowrap!important;padding-right:28px!important}
body.home .ticker .aos-ticker-item{font-size:15px!important;letter-spacing:2.2px!important;color:#fff!important;line-height:1!important}
body.home .ticker .aos-ticker-star{font-size:22px!important;color:var(--aos-finalizer-pink)!important;line-height:1!important}
@keyframes aosTicker{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--aos-ticker-distance,-50%),0,0)}}
@media(prefers-reduced-motion:reduce){body.home .ticker .aos-ticker-track{animation-duration:60s!important}}

/* Homepage expertise cards: intentionally shorter, but still readable. */
body.home .expertise-grid{align-items:stretch!important;grid-auto-rows:auto!important;gap:14px!important}
body.home .expertise-card{padding:14px 17px!important;min-height:0!important;height:auto!important}
body.home .expertise-card .card-top{margin-bottom:6px!important}
body.home .expertise-card .glyph{width:31px!important;height:31px!important;font-size:22px!important}
body.home .expertise-card h3{font-size:19px!important;line-height:1.18!important;margin-bottom:4px!important}
body.home .expertise-card b{font-size:12px!important;line-height:1.3!important}
body.home .expertise-card p{font-size:12px!important;line-height:1.42!important;margin:4px 0 7px!important}
body.home .expertise-card .round-arrow{width:25px!important;height:25px!important;font-size:14px!important}

/* Homepage market buttons are text-only. */
body.home .market-images{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.home .market-images>a{min-height:74px!important;display:flex!important;align-items:center!important;border:1px solid #dedbe3!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
body.home .market-images>a img{display:none!important}
body.home .market-images>a span{position:static!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:18px!important;background:transparent!important;color:#17172e!important;font-weight:600!important}

/* Primary industries / markets. */
.aos-priority-industries,.aos-priority-markets{max-width:1260px;width:calc(100% - 80px);margin:0 auto 64px;padding:clamp(24px,4vw,46px);border:1px solid #ece8ee;border-radius:24px;background:#fff}
.aos-priority-industries h2,.aos-priority-markets h2{font-size:clamp(30px,4vw,54px);line-height:1.05;margin:.35em 0 .65em}
.aos-priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.aos-priority-grid article{padding:22px;border:1px solid #e8e5ed;border-radius:18px;background:#faf9fc}.aos-priority-grid b{font-size:22px}.aos-priority-grid p,.aos-priority-note{font-size:14px;line-height:1.6}.aos-priority-note{margin-bottom:0}
.aos-market-chips{display:flex;flex-wrap:wrap;gap:10px}.aos-market-chips span{padding:11px 15px;border-radius:999px;background:#f6f2f6;border:1px solid #e5dbe2;font-size:13px;font-weight:600}

/* Journal archive + single. */
.aos-insights-archive>h1{margin-bottom:38px!important}
.journal-grid>a>img,.journal-grid .wp-post-image,.journal-grid .aos-archive-featured{display:block!important;width:100%!important;height:205px!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:12px!important;margin:0 0 14px!important;background:#f3f2f5!important}
body.blog .journal-grid>a h2,body.archive .journal-grid>a h2,.journal-grid>a h2{font-size:30px!important;line-height:1.16!important;letter-spacing:-.035em!important;margin:10px 0 12px!important;overflow-wrap:anywhere!important}
body.blog .journal-grid>a p,body.archive .journal-grid>a p,.journal-grid>a p{font-size:14px!important;line-height:1.6!important}
.aos-single-featured{display:block!important;width:100%!important;max-height:500px!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:14px!important;margin:0 0 24px!important}

/* Contact details and robust form states. */
.aos-contact-phone{display:inline-block!important;margin-top:5px!important;color:inherit!important;text-decoration:none!important;font-weight:500!important}.aos-popup-trigger{margin-top:12px!important}.aos-contact-consent{display:flex!important;align-items:flex-start!important;gap:8px!important}.aos-contact-consent input{width:auto!important;margin-top:4px!important}.aos-form-notice{margin:0 0 14px;padding:12px 14px;border-radius:8px;background:#eefaf0;color:#196a2f;font-size:13px}

/* Consultation modal. */
.aos-consultation-modal{width:min(940px,calc(100% - 28px));max-height:92dvh;border:0;border-radius:22px;padding:0;box-shadow:0 24px 80px rgba(20,20,45,.3);overflow:visible}.aos-consultation-modal::backdrop{background:rgba(11,12,31,.62);backdrop-filter:blur(4px)}.aos-modal-shell{position:relative;padding:34px;background:#fff;color:#17172e;overflow:auto;max-height:92dvh;border-radius:22px}.aos-modal-close{position:sticky!important;float:right;right:0;top:0;border:0!important;background:#f4f2f6!important;color:#15162b!important;width:42px!important;height:42px!important;border-radius:50%!important;font-size:29px!important;line-height:1!important;cursor:pointer!important;pointer-events:auto!important;z-index:50!important;display:grid!important;place-items:center!important;padding:0!important}.aos-modal-shell h2{font-size:clamp(30px,4vw,46px);line-height:1.05;margin:8px 0 10px}.aos-modal-shell>p{font-size:14px;color:#666}.aos-enquiry-types{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.aos-enquiry-types label{position:relative}.aos-enquiry-types input{position:absolute;opacity:0;pointer-events:none}.aos-enquiry-types span{display:grid;gap:4px;border:1px solid #ddd8e0;border-radius:14px;padding:17px;cursor:pointer;background:#faf9fc}.aos-enquiry-types input:checked+span{border-color:var(--aos-finalizer-pink);box-shadow:0 0 0 2px rgba(238,29,122,.1);background:#fff4f9}.aos-enquiry-types small{font-size:11px;color:#666}.aos-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.aos-modal-grid .wide{grid-column:1/-1}.aos-modal-grid label{display:grid;gap:7px;font-size:12px;font-weight:600}.aos-modal-grid input,.aos-modal-grid select,.aos-modal-grid textarea{width:100%;border:1px solid #d9d4de;border-radius:10px;padding:12px 13px;font:inherit;background:#fff;color:#17172e}.aos-modal-grid select{min-height:47px}.aos-modal-grid textarea{resize:vertical;min-height:112px}.aos-type-panel[hidden]{display:none!important}.aos-type-panel{margin-top:15px}.aos-modal-intro{max-width:700px}.aos-modal-status.is-success{color:#176b37!important}.aos-modal-status.is-error{color:#a32136!important}.aos-send:disabled{opacity:.62;cursor:wait}.aos-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;margin:16px 0}.aos-consent input{margin-top:2px}.aos-send{width:100%;text-align:center}.aos-modal-status{min-height:20px;font-size:12px!important;margin:10px 0 0!important}.aos-honeypot{position:absolute!important;left:-9999px!important}

/* Campaign OS OFF is also enforced visually as a client-side fallback. */
body.aos-campaign-os-off a[href*="/platform/"],body.aos-campaign-os-off a[href*="/portal/"],body.aos-campaign-os-off a[href*="/campaign-os/"]{display:none!important}
.aos-os-login{min-height:70vh;display:grid;place-items:center;padding:50px 18px;background:linear-gradient(135deg,#f8f7fb,#fff1f7)}.aos-os-login-card{width:min(520px,100%);background:#fff;border:1px solid #e9e4ec;border-radius:24px;padding:clamp(25px,5vw,44px);box-shadow:0 18px 55px rgba(24,25,46,.08)}.aos-os-login-card h1{font-size:clamp(38px,7vw,62px);line-height:1;margin:.25em 0}.aos-os-form{display:grid;gap:16px;margin-top:24px}.aos-os-form label{display:grid;gap:7px;font-size:12px;font-weight:600}.aos-os-form input[type=text],.aos-os-form input[type=password]{width:100%;min-height:50px;border:1px solid #d7d2dd;border-radius:10px;padding:12px;font:inherit}.aos-os-form .aos-os-remember{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px}.aos-os-form .button{width:100%;text-align:center}

/* Mobile-first cleanup across theme and platform. */
@media(max-width:900px){
  html{font-size:16px}.wrap,.shell{width:min(100% - 32px,1240px)!important;margin-inline:auto!important}.topline .wrap{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;text-align:center;font-size:10px}
  .header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.header .nav,.header .wrap.nav{height:58px!important;min-height:58px!important;padding-block:5px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}.brand{min-width:0!important}.brand-logo{max-width:165px!important;max-height:38px!important}.header .button.small{display:none!important}.menu{display:grid!important;place-items:center;width:44px!important;height:44px!important;border-radius:12px!important}.nav nav,.primary-nav{display:none!important;position:absolute!important;left:16px!important;right:16px!important;top:calc(100% + 6px)!important;background:#fff!important;border:1px solid #ece9ef!important;border-radius:16px!important;padding:12px!important;box-shadow:0 18px 45px rgba(15,15,35,.12)!important;z-index:1000!important}.nav nav.open,.primary-nav.open{display:flex!important;flex-direction:column!important;gap:2px!important}.nav nav a,.primary-nav a{display:flex!important;min-height:44px!important;align-items:center!important;padding:10px 12px!important;border-radius:9px!important;font-size:14px!important}
  main{min-width:0!important}.section{padding-block:48px!important}h1{font-size:clamp(36px,10vw,56px)!important;line-height:1.04!important;overflow-wrap:anywhere}h2{font-size:clamp(28px,7.8vw,42px)!important;line-height:1.08!important;overflow-wrap:anywhere}h3{font-size:clamp(21px,6vw,30px)!important;line-height:1.18!important}p,li{font-size:15px;line-height:1.65}.button,.btn{min-height:46px!important;white-space:normal!important;text-align:center!important}
  .expertise-grid,.journal-grid,.market-grid,.industry-grid,.case-grid,.footgrid,.content-grid,.post-layout,.store-grid,.shop-grid,.shop-detail,.tool-layout,.tool-fields,.growth-fields,.growth-grid,.growth-timeline,.coupon-grid,.aos-priority-grid,body.home .market-images{grid-template-columns:1fr!important}.journal-grid,.expertise-grid{gap:18px!important}.journal-grid>a{display:block!important;min-width:0!important}.journal-grid>a h2{font-size:24px!important}.journal-grid>a p{font-size:14px!important}
  [class*="hero"]{min-height:auto!important;height:auto!important}.homehero{padding-top:32px!important;padding-bottom:36px!important}.herogrid,.hero-inner,.platform-feature,.contact-grid,.split,.two-col,.process,.tool-layout,.ai-grid{grid-template-columns:1fr!important;gap:30px!important}.heroart{max-width:620px!important;width:100%!important;margin-inline:auto!important}.expertise-card,.directory-card{min-height:0!important;height:auto!important}.home .ticker{width:100vw!important;margin-left:calc(50% - 50vw)!important}
  .aos-priority-industries,.aos-priority-markets{width:calc(100% - 32px)!important}.footgrid{gap:28px!important}.copyright{display:grid!important;gap:12px!important;text-align:center!important}.closing h2 br{display:none}
  #moc-portal .os{grid-template-columns:1fr!important;min-height:0!important;width:100%!important}#moc-portal .os-side{padding:15px!important;position:static!important}#moc-portal .os-side nav{display:flex!important;overflow-x:auto!important;gap:6px!important;padding-bottom:5px}#moc-portal .os-side nav button{flex:0 0 auto!important;min-width:92px!important;font-size:11px!important;padding:10px 12px!important}#moc-portal .os-main{padding:20px 14px!important}#moc-portal .os-header{gap:12px!important;flex-wrap:wrap!important}#moc-portal .os-cards,#moc-portal .os-stats,#moc-portal .os-ai,#moc-portal .os-field-grid{grid-template-columns:1fr!important}#moc-portal .os-table-wrap{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:560px){
  .wrap,.shell{width:min(100% - 24px,1240px)!important}.topline{display:none!important}.header .nav,.header .wrap.nav{height:56px!important;min-height:56px!important}.brand-logo{max-width:145px!important;max-height:34px!important}.nav nav,.primary-nav{left:12px!important;right:12px!important}.section{padding-block:38px!important}h1{font-size:clamp(33px,11vw,47px)!important}h2{font-size:clamp(26px,8.5vw,37px)!important}
  .journal-grid>a h2{font-size:21px!important;line-height:1.22!important}.journal-grid>a>img,.journal-grid .wp-post-image,.journal-grid .aos-archive-featured{height:auto!important;aspect-ratio:16/9!important}.aos-priority-industries,.aos-priority-markets{width:calc(100% - 24px)!important;margin-bottom:40px!important;padding:22px!important;border-radius:18px!important}.aos-enquiry-types,.aos-modal-grid{grid-template-columns:1fr!important}.aos-modal-grid .wide{grid-column:auto}.aos-consultation-modal{width:calc(100% - 16px)!important;max-height:94dvh!important}.aos-modal-shell{padding:18px!important;max-height:94dvh!important;border-radius:16px!important}.aos-modal-close{width:40px!important;height:40px!important}.aos-modal-shell h2{font-size:31px!important;padding-right:20px!important}
  body.home .ticker .aos-ticker-item{font-size:12px!important;letter-spacing:1.5px!important}body.home .ticker .aos-ticker-set{gap:20px!important;padding-right:20px!important}
}
