/* A shared frame keeps each service equally prominent. */
.service-list{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr}
.service-list>.service-row{min-width:0}
.service-copy{grid-column:1/span 2;display:grid;grid-template-columns:70px minmax(0,1fr);column-gap:36px;align-items:start;align-self:center;min-width:0}
.service-copy>.service-index{padding-top:0}
.service-copy>.service-body{min-width:0}
@media(max-width:1100px) and (min-width:761px){.service-copy{grid-template-columns:52px minmax(0,1fr);column-gap:22px}}
.service-process{container-name:service-scene web-process}
.service-process-seo{container-name:service-scene seo-journey}
.service-process-ads{container-name:service-scene ads-paths}
:is(#ml-web-process,#ml-seo-journey,#ml-ads-paths){--scene-height:440px;--scene-controls:56px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--scene-height) var(--scene-controls);gap:26px;padding-top:8px;overflow:visible}
#ml-web-process .ml-stage,#ml-seo-journey .sj-stage,#ml-ads-paths .ml-campaign-stage{height:var(--scene-height);min-height:0;margin:0;box-sizing:border-box}
#ml-web-process .ml-bottom,#ml-seo-journey .sj-controls,#ml-ads-paths .ml-campaign-controls{height:var(--scene-controls);margin:0;padding-top:18px;box-sizing:border-box;align-items:center}
#ml-web-process .ml-play,#ml-seo-journey .sj-play,#ml-ads-paths .ml-campaign-play{min-height:36px;line-height:1.5}
#ml-seo-journey .sj-stage{grid-template-rows:34px 1fr;padding-top:34px;padding-bottom:78px}
#ml-seo-journey .sj-feedback-label{bottom:13px}
#ml-seo-journey .sj-note-separator{display:none}
#ml-ads-paths .ml-campaign-stage{grid-template-rows:234px 110px 24px;row-gap:36px}
#ml-ads-paths .ml-campaign-channel-heading{margin-bottom:16px}
#ml-ads-paths .ml-campaign-google .ml-campaign-advert{padding:16px}
#ml-ads-paths .ml-campaign-social .ml-campaign-advert{padding:14px}
#ml-ads-paths .ml-campaign-search-title{font-size:25px;margin-top:2px}
#ml-ads-paths .ml-campaign-page-body{padding-inline:20px}

/* Web: a drawn structure becomes a coloured, working interface. */
#ml-web-process .ml-panel{background:linear-gradient(145deg,#2c203b,#1a1722);border-color:#69507f;transition:transform .8s cubic-bezier(.2,.7,.2,1),border-color .6s,background .7s}
#ml-web-process .ml-panel.is-active{border-color:var(--brand-violet)}
#ml-web-process .ml-wire-content{background:#21162e;border-color:var(--brand-violet)}
#ml-web-process .ml-wire-header{border-color:#79618f}
#ml-web-process .ml-wire-header b,#ml-web-process .ml-wire-copy i{background:var(--brand-violet);transform-origin:left}
#ml-web-process .ml-wire-copy b{border-color:var(--brand-lime);background:#d9fa7218}
#ml-web-process .ml-wire-box{border-color:var(--brand-violet);background:linear-gradient(145deg,#b38aff33,#8b53bd12)}
#ml-web-process .ml-identity{background:linear-gradient(135deg,var(--brand-violet),var(--brand-deep));border-color:var(--brand-violet);color:#23142f}
#ml-web-process .ml-identity .ml-panel-label,#ml-web-process .ml-identity .ml-panel-label span,#ml-web-process .ml-type span{color:#352044}
#ml-web-process .ml-swatches i{border:1px solid #36204666}
#ml-web-process .ml-swatches i:first-child{background:var(--brand-deep)}
#ml-web-process .ml-swatches i:nth-child(3){background:var(--brand-pink)}
#ml-web-process .ml-browser{border-color:var(--brand-outline);background:linear-gradient(120deg,#24172f,#17141d)}
#ml-web-process .ml-browser-top{background:#33213f;border-color:#64467d;color:#d9c5eb}
#ml-web-process .ml-browser-top>i:first-child{background:var(--brand-lime)}
#ml-web-process .ml-browser-top>i:nth-child(2){background:var(--brand-violet)}
#ml-web-process .ml-browser-top>i:nth-child(3){background:var(--brand-pink)}
#ml-web-process .ml-stage:not([data-step='0']) .ml-modules i:first-child{background:linear-gradient(135deg,var(--brand-deep),var(--brand-violet));border-color:var(--brand-violet)}
#ml-web-process .ml-stage:not([data-step='0']) .ml-modules i:nth-child(2){background:linear-gradient(135deg,var(--brand-lime),#b8d86d);border-color:var(--brand-lime)}
#ml-web-process .ml-stage:not([data-step='0']) .ml-modules i:nth-child(3){background:linear-gradient(135deg,var(--brand-pink),#b88adb);border-color:var(--brand-pink)}
#ml-web-process .ml-modules i{transform-origin:center;transition:background .7s,border-color .7s,transform .8s}
#ml-web-process .ml-code{background:linear-gradient(120deg,#30213f,#1d1826);border-color:var(--brand-outline)}
#ml-web-process .ml-code-line{transform-origin:left}
#ml-web-process .ml-mobile{background:#30253b;border-color:var(--brand-outline)}
#ml-web-process .ml-mobile-block{background:linear-gradient(120deg,var(--brand-deep),var(--brand-violet))}
#ml-web-process .ml-mobile.is-active{border-color:var(--brand-lime);background:#303b24}
#ml-web-process .ml-stage[data-step='3'] .ml-browser{border-color:var(--brand-lime)}
#ml-web-process.is-playing .ml-stage[data-step='0'] :is(.ml-wire-header,.ml-wire-copy i,.ml-wire-copy b){animation:scene-draw 1.35s cubic-bezier(.2,.7,.2,1) both}
#ml-web-process.is-playing .ml-stage[data-step='0'] .ml-wire-copy i:nth-child(2){animation-delay:.18s}
#ml-web-process.is-playing .ml-stage[data-step='0'] .ml-wire-copy b{animation-delay:.34s}
#ml-web-process.is-playing .ml-stage[data-step='1'] .ml-modules i{animation:scene-settle 1.15s cubic-bezier(.2,.7,.2,1) both}
#ml-web-process.is-playing .ml-stage[data-step='1'] .ml-modules i:nth-child(2){animation-delay:.15s}
#ml-web-process.is-playing .ml-stage[data-step='1'] .ml-modules i:nth-child(3){animation-delay:.3s}
#ml-web-process.is-playing .ml-stage[data-step='2'] .ml-code-line{animation:scene-draw 1s ease both}
#ml-web-process.is-playing .ml-stage[data-step='2'] .ml-code-line:nth-child(2){animation-delay:.2s}
#ml-web-process.is-playing .ml-stage[data-step='2'] .ml-code-line:nth-child(3){animation-delay:.4s}
#ml-web-process.is-playing .ml-stage[data-step='3'] .ml-browser-check{animation:scene-confirm 1.2s ease both}

/* SEO: the query travels, the engine responds, and the answer appears. */
#ml-seo-journey .sj-query{background:linear-gradient(120deg,#312042,#21172f);border-color:#80579f;color:#eadcf8;transition:border-color .7s,background .7s,color .7s}
#ml-seo-journey .sj-query svg{color:var(--brand-violet)}
#ml-seo-journey[data-phase='0'] .sj-query{background:var(--brand-violet);border-color:var(--brand-violet);color:#281338}
#ml-seo-journey[data-phase='0'] .sj-query svg{color:#432058}
#ml-seo-journey .sj-focus{background:radial-gradient(circle at 34% 27%,#573070,#271932 70%);border-color:var(--brand-violet)}
#ml-seo-journey .sj-focus:before{border-top-color:var(--brand-violet);border-bottom-color:var(--brand-violet)}
#ml-seo-journey .sj-focus:after{border-left-color:#764990;border-right-color:#764990}
#ml-seo-journey[data-phase='1'] .sj-focus{background:radial-gradient(circle at 34% 27%,var(--brand-deep),#45225f 70%);border-color:var(--brand-lime)}
#ml-seo-journey[data-phase='1'] .sj-focus:before{border-top-color:var(--brand-lime);border-bottom-color:var(--brand-lime)}
#ml-seo-journey[data-phase='1'] .sj-focus-bars i{background:var(--brand-lime)}
#ml-seo-journey .sj-result{background:linear-gradient(145deg,#362443,#1e1827);border-color:#836099}
#ml-seo-journey .sj-site-mark{background:var(--brand-deep);color:var(--brand-text)}
#ml-seo-journey .sj-answer-title{color:#ded0ea}
#ml-seo-journey .sj-answer-title span{color:var(--brand-violet)}
#ml-seo-journey .sj-snippet{color:var(--brand-muted)}
#ml-seo-journey[data-phase='2'] .sj-result{background:linear-gradient(145deg,#393d27,#251d30 75%);border-color:var(--brand-lime)}
#ml-seo-journey[data-phase='2'] .sj-site-mark{background:var(--brand-lime);color:#2a301e}
#ml-seo-journey .sj-wires .sj-signal{stroke:var(--brand-lime);stroke-width:3;stroke-dasharray:4 var(--sj-path-length,1000);stroke-dashoffset:var(--sj-path-length,1000);opacity:0}
#ml-seo-journey.is-playing[data-phase='0'] .sj-signal{opacity:1;animation:sj-transit 1.9s ease-in-out .25s both}
#ml-seo-journey.is-playing[data-phase='0'] .sj-signal:nth-of-type(8){animation-delay:.4s}
#ml-seo-journey.is-playing[data-phase='0'] .sj-signal:nth-of-type(9){animation-delay:.55s}
#ml-seo-journey.is-playing[data-phase='1'] .sj-focus:before{animation:scene-orbit 3.8s cubic-bezier(.3,0,.2,1) both}
#ml-seo-journey.is-playing[data-phase='1'] .sj-focus-bars i{animation:scene-bars 1.5s ease-in-out 2}
#ml-seo-journey.is-playing[data-phase='1'] .sj-focus-bars i:nth-child(2n){animation-delay:.2s}
#ml-seo-journey.is-playing[data-phase='2'] :is(.sj-answer-title,.sj-snippet,.sj-result-links){animation:scene-reveal 1s ease both}
#ml-seo-journey.is-playing[data-phase='2'] .sj-snippet{animation-delay:.15s}
#ml-seo-journey.is-playing[data-phase='2'] .sj-result-links{animation-delay:.3s}

/* Campaigns: two expressive messages converge on one action. */
#ml-ads-paths .ml-campaign-advert{border-color:#8b63a4;background:linear-gradient(140deg,#30203e,#1c1824)}
#ml-ads-paths .ml-campaign-search{border-color:#81579f;color:#e0c7f4}
#ml-ads-paths .ml-campaign-search svg{color:var(--brand-lime)}
#ml-ads-paths .ml-campaign-sponsored{color:#c3a4d8}
#ml-ads-paths .ml-campaign-search-title{color:var(--brand-text)}
#ml-ads-paths .ml-campaign-search-cta,#ml-ads-paths .ml-campaign-social-footer{color:var(--brand-lime)}
#ml-ads-paths .ml-campaign-creative{background:linear-gradient(130deg,var(--brand-violet),var(--brand-deep) 58%,var(--brand-pink));background-size:160% 160%;transition:background-position 1.6s}
#ml-ads-paths .ml-campaign-profile-name{color:var(--brand-text)}
#ml-ads-paths .ml-campaign-avatar{background:var(--brand-deep);color:var(--brand-text);border-color:#b995d4}
#ml-ads-paths[data-phase='0'] .ml-campaign-advert{background:linear-gradient(140deg,#422754,#23182f);border-color:var(--brand-violet)}
#ml-ads-paths[data-phase='0'] .ml-campaign-creative{background-position:100% 100%}
#ml-ads-paths .ml-campaign-landing{background:linear-gradient(120deg,#30213e,#1e1826);border-color:var(--brand-outline)}
#ml-ads-paths .ml-campaign-page-top{background:#483053;border-color:#72527f;color:#dec5ec}
#ml-ads-paths .ml-campaign-page-dots i:first-child{background:var(--brand-lime)}
#ml-ads-paths .ml-campaign-cta{background:var(--brand-deep);border-color:var(--brand-outline);color:var(--brand-text)}
#ml-ads-paths[data-phase='1'] .ml-campaign-landing{background:linear-gradient(120deg,#492b60,#281b34);border-color:var(--brand-violet)}
#ml-ads-paths[data-phase='2'] .ml-campaign-landing{background:linear-gradient(120deg,#343823,#241b30);border-color:var(--brand-lime)}
#ml-ads-paths[data-phase='2'] .ml-campaign-cta{background:var(--brand-lime);color:#22271a;border-color:var(--brand-lime)}
#ml-ads-paths .ml-campaign-routes .ml-campaign-signal{stroke:var(--brand-violet);stroke-width:3;stroke-dasharray:4 var(--ml-campaign-length,1000);stroke-dashoffset:var(--ml-campaign-length,1000);opacity:0}
#ml-ads-paths.is-playing[data-phase='1'] .ml-campaign-signal{opacity:1;animation:campaign-transit 1.6s ease-in-out .3s both}
#ml-ads-paths.is-playing[data-phase='0'] .ml-campaign-search-title{animation:scene-reveal 1.1s ease both}
#ml-ads-paths.is-playing[data-phase='0'] .ml-campaign-creative p{animation:scene-settle 1.4s cubic-bezier(.2,.7,.2,1) both}
#ml-ads-paths.is-playing[data-phase='1'] .ml-campaign-page-title{animation:scene-reveal 1s ease .4s both}
#ml-ads-paths.is-playing[data-phase='2'] .ml-campaign-contact>svg{animation:scene-confirm 1.2s ease .5s both}
#ml-ads-paths.is-playing[data-phase='2'] .ml-campaign-contact-copy{animation:scene-reveal 1s ease .6s both}

@container service-scene (max-width:640px){
 #ml-ads-paths .ml-campaign-stage{grid-template-rows:234px 110px 24px}
}
@container service-scene (max-width:550px){
 :is(#ml-web-process,#ml-seo-journey,#ml-ads-paths){--scene-height:447px}
 #ml-ads-paths .ml-campaign-stage{grid-template-rows:241px 110px 24px}
}
@container service-scene (max-width:520px){
 #ml-seo-journey .sj-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:16px 64px 115px minmax(0,1fr);gap:18px;padding:8px 12px 34px}
 #ml-seo-journey .sj-question-label{margin:0;line-height:16px}
 #ml-seo-journey .sj-questions{margin:0;align-self:stretch}
 #ml-seo-journey .sj-queries{height:100%;max-width:330px;gap:8px}
 #ml-seo-journey .sj-query{min-height:0;padding:6px 5px;font-size:11px;line-height:1.35;gap:5px}
 #ml-seo-journey .sj-engine{margin:0;align-self:center}
 #ml-seo-journey .sj-focus{width:80px;height:80px}
 #ml-seo-journey .sj-focus-word{font-size:26px}
 #ml-seo-journey .sj-focus-bars{margin-top:8px}
 #ml-seo-journey .sj-engine-notes{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin:10px 0 0;font-size:11px;line-height:1.5;white-space:nowrap}
 #ml-seo-journey .sj-engine-notes br{display:none}
 #ml-seo-journey .sj-note-separator{display:inline}
 #ml-seo-journey .sj-answer{width:330px;max-width:calc(100% - 12px);align-self:center}
 #ml-seo-journey .sj-result{display:grid;grid-template-columns:1.05fr 1fr;gap:8px 14px;padding:12px 14px}
 #ml-seo-journey .sj-site{grid-column:1/-1;margin:0}
 #ml-seo-journey .sj-site-path{font-size:10px;margin:0}
 #ml-seo-journey .sj-answer-title{font-size:21px;line-height:1.15;letter-spacing:-.65px;margin:0;align-self:center}
 #ml-seo-journey .sj-snippet{font-size:11px;line-height:1.5;margin:0;align-self:center}
 #ml-seo-journey .sj-result-links{grid-column:1/-1;padding-top:7px;font-size:11px;gap:10px}
 #ml-seo-journey .sj-feedback-label{bottom:4px;font-size:10px;padding-inline:8px}
}
@container service-scene (max-width:450px){
 #ml-ads-paths .ml-campaign-google .ml-campaign-advert,#ml-ads-paths .ml-campaign-social .ml-campaign-advert{padding:10px}
 #ml-ads-paths .ml-campaign-search-title{font-size:21px}
 #ml-ads-paths .ml-campaign-page-body{padding-inline:12px}
}
@container service-scene (max-width:390px){
 :is(#ml-web-process,#ml-seo-journey,#ml-ads-paths){--scene-height:485px;--scene-controls:110px}
 #ml-web-process .ml-mobile{bottom:0}
 #ml-web-process .ml-bottom,#ml-seo-journey .sj-controls,#ml-ads-paths .ml-campaign-controls{display:grid;grid-template-columns:1fr;gap:8px;align-content:start;align-items:center;padding-top:12px}
 #ml-web-process .ml-steps,#ml-seo-journey .sj-steps,#ml-ads-paths .ml-campaign-steps{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;width:100%;min-width:0}
 #ml-web-process .ml-step,#ml-seo-journey .sj-step,#ml-ads-paths .ml-campaign-step{font-size:12px;min-height:38px;padding-inline:6px;justify-content:center}
 #ml-web-process .ml-step span,#ml-seo-journey .sj-step span,#ml-ads-paths .ml-campaign-step span{display:none}
 #ml-web-process .ml-play,#ml-seo-journey .sj-play,#ml-ads-paths .ml-campaign-play{justify-self:end;min-height:38px;font-size:12px}
 #ml-ads-paths .ml-campaign-stage{grid-template-rows:255px 120px 24px;row-gap:43px}
 #ml-ads-paths .ml-campaign-contact-copy{font-size:13px}
 #ml-seo-journey .sj-stage{grid-template-rows:16px 64px 139px minmax(0,1fr)}
 #ml-seo-journey .sj-focus{width:92px;height:92px}
}
@container service-scene (max-width:330px){
 #ml-seo-journey .sj-result{padding:12px;gap:8px 10px}
 #ml-seo-journey .sj-answer-title{font-size:19px}
 #ml-seo-journey .sj-site-path{font-size:10px}
 #ml-ads-paths .ml-campaign-search-title{font-size:18px}
 #ml-web-process .ml-step,#ml-seo-journey .sj-step,#ml-ads-paths .ml-campaign-step{padding-inline:4px}
}
@media(max-width:760px){.service-list>.service-row{grid-template-rows:1fr auto}.service-copy{grid-column:1;grid-template-columns:minmax(0,1fr);gap:14px;align-self:start}.service-list .service-body{align-self:start}.service-list .service-process{align-self:end}}
@media(pointer:coarse){
 :is(#ml-web-process,#ml-seo-journey,#ml-ads-paths){--scene-controls:64px}
 .service-process :is(.ml-step,.ml-play,.sj-step,.sj-play,.ml-campaign-step,.ml-campaign-play){min-height:44px!important}
 @container service-scene (max-width:390px){:is(#ml-web-process,#ml-seo-journey,#ml-ads-paths){--scene-controls:110px}}
}
@keyframes scene-draw{from{transform:scaleX(.25);opacity:.3}to{transform:scaleX(1);opacity:1}}
@keyframes scene-settle{from{transform:translateY(8px) scale(.94);opacity:.65}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes scene-reveal{from{transform:translateY(6px);opacity:.25}to{transform:translateY(0);opacity:1}}
@keyframes scene-confirm{0%{transform:scale(.8);opacity:.4}45%{transform:scale(1.15);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes scene-orbit{from{transform:rotate(0)}to{transform:rotate(180deg)}}
@keyframes scene-bars{0%,100%{transform:scaleY(.55)}50%{transform:scaleY(1)}}
@keyframes sj-transit{from{stroke-dashoffset:var(--sj-path-length)}to{stroke-dashoffset:0}}
@keyframes campaign-transit{from{stroke-dashoffset:var(--ml-campaign-length)}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.service-process *,.service-process *:before,.service-process *:after{animation:none!important;transition:none!important}}
