/* Presentation variants are independent of content, route and motion profiles.
   All grids preserve the source order. No hidden commercial text. */
body.ad-theme{--story-card:var(--v2-paper);--story-border:var(--color-border);--story-gap:14px;--story-active:var(--color-accent)}
body.ad-theme #how-it-works .process-experience{display:grid;gap:18px}
body.ad-theme .process-story{border:1px solid var(--story-border);border-radius:var(--showcase-radius);background:radial-gradient(ellipse at 50% 20%,var(--color-accent-soft),transparent 72%),var(--v2-paper);overflow:hidden;display:grid;place-items:center;min-height:110px;padding:4px 24px;color:var(--color-accent)}
body.ad-theme .process-story svg{display:block;width:min(100%,800px);height:auto;max-height:165px;overflow:visible}
.process-story .process-track{stroke:var(--color-border);stroke-width:2;stroke-dasharray:5 6}
.process-story .process-track-fill{stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.process-story .process-halo{fill:currentColor;opacity:.05;transition:opacity .25s}
.process-story .process-disc{fill:var(--v2-paper);stroke:var(--color-border);stroke-width:1.2}
.process-story .process-glyph{stroke:currentColor;opacity:.8}
.process-story[data-active-step="0"] [data-step-node="0"] .process-disc,.process-story[data-active-step="1"] [data-step-node="1"] .process-disc,.process-story[data-active-step="2"] [data-step-node="2"] .process-disc,.process-story[data-active-step="3"] [data-step-node="3"] .process-disc{fill:var(--color-accent-soft);stroke:currentColor;stroke-width:2}
.process-story[data-active-step="0"] [data-step-node="0"] .process-halo,.process-story[data-active-step="1"] [data-step-node="1"] .process-halo,.process-story[data-active-step="2"] [data-step-node="2"] .process-halo,.process-story[data-active-step="3"] [data-step-node="3"] .process-halo{opacity:.15}
body.ad-theme #how-it-works .timeline>li[data-story-active]{border-color:var(--color-accent);background:color-mix(in srgb,var(--color-accent-soft) 28%,var(--v2-paper))}
body.ad-theme #how-it-works .timeline>li{transition:background .25s,border-color .25s}
@media(min-width:1000px){
 /* 01 engineering — classic editorial, alternating visual emphasis. */
 html[data-design=app-development] body.ad-theme #lab .ad-split{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
 /* 02 cloud — full-width modular grid, stacked cards with tall visual regions. */
 html[data-design=cloud-software] body.ad-theme #catalog .showcase-group .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-design=cloud-software] body.ad-theme #catalog .showcase-group .grid>li{grid-column:auto}
 html[data-design=cloud-software] body.ad-theme #catalog .showcase-group .grid>li .pattern-wrap>svg{max-height:145px}
 html[data-design=cloud-software] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-design=cloud-software] body.ad-theme #commitments .commitment-bento>li{grid-column:auto;padding:26px}
 /* 03 creative agency — wide, asymmetric editorial rhythm. */
 html[data-design=ai-agency] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(10,minmax(0,1fr))}
 html[data-design=ai-agency] body.ad-theme #commitments .commitment-bento>li{grid-column:span 3}
 html[data-design=ai-agency] body.ad-theme #commitments .commitment-bento>li:nth-child(3n+1){grid-column:span 4;background:var(--color-accent-soft)}
 html[data-design=ai-agency] body.ad-theme #engagement .engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 /* 04 AI solutions — editorial service index with a tall illustration sidebar. */
 html[data-design=ai-solutions] body.ad-theme #how-it-works .process-experience{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch}
 html[data-design=ai-solutions] body.ad-theme #how-it-works .timeline--h{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=ai-solutions] body.ad-theme #commitments .ad-bento-intro{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 /* 05 security — framed evidence rows; no fake security metrics. */
 html[data-design=cyber-security] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=cyber-security] body.ad-theme #commitments .commitment-bento>li{grid-column:auto;display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 14px;padding:20px}
 html[data-design=cyber-security] body.ad-theme #commitments .v2-feature>.icon{grid-row:1/span 2;align-self:start}
 html[data-design=cyber-security] body.ad-theme #commitments .v2-feature h3{margin:0}
 html[data-design=cyber-security] body.ad-theme #commitments .v2-feature::after{display:none}
 /* 06 smart — dashboard-like capability panels, not fabricated dashboard data. */
 html[data-design=smart-solutions] body.ad-theme #engagement>.container{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}
 html[data-design=smart-solutions] body.ad-theme #engagement .engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=smart-solutions] body.ad-theme #engagement .btn-row{grid-column:1/-1}
 /* 07 data — comparison grid, precise geometry and thin graph-like borders. */
 html[data-design=data-visualization] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--color-border);border:1px solid var(--color-border)}
 html[data-design=data-visualization] body.ad-theme #commitments .commitment-bento>li{grid-column:auto;border:0;border-radius:0;padding:26px;background:var(--v2-paper)}
 html[data-design=data-visualization] body.ad-theme #commitments .v2-feature::after{display:none}
 /* 08 automation — process console, four connected stages and model tiles. */
 html[data-design=automation-saas] body.ad-theme #how-it-works .process-experience{padding:20px;border:1px solid var(--color-border);background:var(--color-surface);border-radius:var(--showcase-radius)}
 html[data-design=automation-saas] body.ad-theme #engagement .engagement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-design=automation-saas] body.ad-theme #engagement .engagement-grid .chip{min-height:130px;flex-direction:column;align-items:flex-start;position:relative}
 html[data-design=automation-saas] body.ad-theme #engagement .engagement-grid .chip>.icon:last-child{position:absolute;right:16px;top:16px}
 /* 09 hosting — technical index, horizontal capability rows. */
 html[data-design=web-hosting] body.ad-theme #catalog .showcase-group .grid{grid-template-columns:minmax(0,1fr);gap:0}
 html[data-design=web-hosting] body.ad-theme #catalog .showcase-group .grid>li{grid-column:auto;display:grid;grid-template-columns:85px minmax(0,1fr);gap:5px 14px;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;box-shadow:none;padding:14px 6px}
 html[data-design=web-hosting] body.ad-theme #catalog .div-card .pattern-wrap{grid-row:1/span 3;margin:0;min-height:70px;align-self:center}
 html[data-design=web-hosting] body.ad-theme #catalog .div-card .division-symbol{left:50%;transform:translate(-50%,-50%);width:40px;height:40px}
 html[data-design=web-hosting] body.ad-theme #catalog .div-card .arrow{display:none}
 /* 10 payment — compact model choice cards and an offset process stage. */
 html[data-design=payment-solution] body.ad-theme #how-it-works .process-experience{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
 html[data-design=payment-solution] body.ad-theme #how-it-works .timeline--h{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-design=payment-solution] body.ad-theme #engagement .engagement-grid .chip{border-radius:999px;min-height:68px}
 /* 11 neural — bento + vertically distributed research visual. */
 html[data-design=neural-networks] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(9,minmax(0,1fr))}
 html[data-design=neural-networks] body.ad-theme #commitments .commitment-bento>li{grid-column:span 3;padding:24px}
 html[data-design=neural-networks] body.ad-theme #commitments .commitment-bento>li:nth-child(3n+2){background:var(--color-accent-soft)}
 html[data-design=neural-networks] body.ad-theme #lab .ad-split{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 /* 12 marketing — long editorial bands rather than boxed product cards. */
 html[data-design=ai-marketing-agency] body.ad-theme #commitments .commitment-bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 html[data-design=ai-marketing-agency] body.ad-theme #commitments .commitment-bento>li{grid-column:auto;border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent;padding:24px 18px}
 html[data-design=ai-marketing-agency] body.ad-theme #commitments .v2-feature>.icon{background:transparent;padding:0}
 html[data-design=ai-marketing-agency] body.ad-theme #engagement .engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 html[data-design=ai-marketing-agency] body.ad-theme #engagement .engagement-grid .chip{border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent}
}
/* Typography hierarchy and theme-specific inner-page reading surfaces. */
body.ad-theme main .with-rail .content-section>h2{position:relative}
body.ad-theme main .with-rail .content-section>h2::before{content:"";display:block;width:30px;height:3px;background:var(--color-accent);border-radius:3px;margin-bottom:12px}
html:is([data-design=web-hosting],[data-design=ai-marketing-agency]) body.ad-theme main .with-rail .content-section :is(.check-list,.file-list)>li{border:0;border-bottom:1px solid var(--color-border);border-radius:0;background:transparent}
html:is([data-design=cloud-software],[data-design=automation-saas],[data-design=neural-networks]) body.ad-theme main .with-rail .content-section :is(.check-list,.file-list){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:639px){body.ad-theme .process-story{padding:4px 8px;min-height:76px}body.ad-theme .process-story svg{max-height:100px}html:is([data-design=cloud-software],[data-design=automation-saas],[data-design=neural-networks]) body.ad-theme main .with-rail .content-section :is(.check-list,.file-list){grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.process-story *,body.ad-theme #how-it-works .timeline>li{transition:none!important}}
