/* Mobile WOW V12 — the phone homepage (owner's master T3 V12 of 05.11.2026).
   index.html loads this file with media="(max-width: 760px)": everything here is the phone, the desktop stays V11.
   One WebGL world stands fixed behind the phone page (svc-scene-m12.js): a glass and gold A over night water, the four
   real projects on a pedestal, the AI agents' core. The zones of the story (hero, projects, agents) are transparent over
   it; the calm blocks below are solid and the world rests. Without JavaScript every block is shown in order (the
   projects one under the other with their real screens, every step of the AI scene); .m12-js adds the sticky zones,
   .m12-gl hides the screens the world draws itself. Palette: graphite, glass, warm gold; lilac only as light. */

/* ---------- palette, type ---------- */
:root {
  --m12-ink: #080B12; --m12-ink-2: #0D1018; --m12-ink-3: #131722;
  --m12-gold: #F0C785; --m12-gold-hi: #FBE3B8; --m12-gold-deep: #D6A35B; --m12-champ: #F8E6C4;
  --m12-lilac: #A595D4; --m12-text: #F5F2EC; --m12-muted: #AAB0BD; --m12-dim: #7F8594;
  --m12-line: rgba(240, 199, 133, .17); --m12-hair: rgba(245, 242, 236, .09); --m12-glass: rgba(255, 255, 255, .045);
  --m12-display: 'SV Montserrat', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --m12-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --m12-ease: cubic-bezier(.2, .8, .2, 1);
  --m12-hdr: 68px;
  --m12-gut: max(20px, env(safe-area-inset-left, 0px));
}
html, body { background: var(--m12-ink) !important; }
html.m12-js { scroll-snap-type: y proximity; }
html.m12-js.m12-nosnap { scroll-snap-type: none; }

/* ---------- the site's header on this page: dark glass over the scene, no white seam (scoped: only this file) ---------- */
html body header.header {
  background: linear-gradient(180deg, rgba(8, 11, 18, .86) 0%, rgba(8, 11, 18, .58) 100%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(240, 199, 133, .1) !important; box-shadow: none !important;
}
html body header.header .nav { height: 70px !important; padding: 0 16px 0 20px !important; }
html body header.header .logo { margin-left: -8px !important; padding: 5px 8px !important; border-radius: 14px !important; background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(240, 199, 133, .24) !important; box-shadow: none !important; }
html body header.header .logo img { height: 36px !important; max-height: none !important; width: auto !important; filter: none !important; }
html body header.header .mobile-lang-switcher { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .1) !important; box-shadow: none !important; }
html body header.header .mobile-lang-btn { background: transparent !important; box-shadow: none !important; transform: none !important; }
html body header.header .mobile-lang-btn span { color: rgba(245, 242, 236, .8) !important; }
html body header.header .mobile-lang-btn.active { background: linear-gradient(180deg, #F8DDA9 0%, #E7B86E 100%) !important; box-shadow: 0 4px 14px -5px rgba(240, 199, 133, .6) !important; }
html body header.header .mobile-lang-btn.active span { color: #1A1206 !important; }
html body header.header .nav-toggle { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(240, 199, 133, .38) !important; box-shadow: none !important; }
html body header.header .nav-toggle span:not(.menu-text) { background: var(--m12-text) !important; }
html body header.header .nav-toggle:focus-visible, html body header.header .mobile-lang-btn:focus-visible { outline: 2px solid var(--m12-gold-hi) !important; outline-offset: 2px; }

/* the site's menu on this page: graphite glass and warm gold (the owner's choice of 07.11.2026); the markup, the links,
   the groups and the motion are the site's (mobile-modern.js), only the colours change; this page is marked as current */
html body .mobile-drawer { background: rgba(5, 7, 11, .5) !important; }
html body .mobile-drawer .drawer-inner {
  background: radial-gradient(120% 55% at 0% 0%, rgba(240, 199, 133, .09), rgba(240, 199, 133, 0) 62%),
    radial-gradient(90% 45% at 100% 100%, rgba(165, 149, 212, .08), rgba(165, 149, 212, 0) 66%),
    linear-gradient(180deg, var(--m12-ink-3) 0%, #0B0E15 55%, var(--m12-ink) 100%) !important;
  border-right: 1px solid var(--m12-line) !important; box-shadow: 18px 0 48px -18px rgba(0, 0, 0, .9) !important;
}
html body .mobile-drawer .drawer-head { border-bottom: 1px solid var(--m12-line) !important; }
html body .mobile-drawer .drawer-title { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--m12-text) !important; }
html body .mobile-drawer .drawer-close { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(240, 199, 133, .38) !important; color: var(--m12-text) !important; box-shadow: none !important; }
html body .mobile-drawer .drawer-nav a { background: rgba(255, 255, 255, .035) !important; border: 1px solid var(--m12-hair) !important; color: var(--m12-text) !important; box-shadow: none !important; }
html body .mobile-drawer .drawer-nav a::before { background: linear-gradient(90deg, rgba(240, 199, 133, 0), rgba(240, 199, 133, .1), rgba(240, 199, 133, 0)) !important; }
html body .mobile-drawer .drawer-nav a:hover, html body .mobile-drawer .drawer-nav a:active { background: rgba(240, 199, 133, .06) !important; border-color: rgba(240, 199, 133, .34) !important; }
html body .mobile-drawer .drawer-nav a[aria-current="page"] { color: var(--m12-gold-hi) !important; border-color: rgba(240, 199, 133, .42) !important; background: linear-gradient(90deg, rgba(240, 199, 133, .13), rgba(240, 199, 133, .03)) !important; box-shadow: none !important; }
html body .mobile-drawer .am-dgroup__toggle { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(240, 199, 133, .3) !important; color: var(--m12-gold-hi) !important; }
html body .mobile-drawer .am-dgroup.is-open .am-dgroup__toggle { background: linear-gradient(180deg, #F8DDA9 0%, #E7B86E 100%) !important; border-color: rgba(251, 227, 184, .9) !important; color: #1A1206 !important; }
html body .mobile-drawer .am-dsub { background: rgba(5, 7, 11, .55) !important; border: 1px solid rgba(240, 199, 133, .14) !important; }
html body .mobile-drawer .am-dsub .am-dsub__link { color: var(--m12-text) !important; }
html body .mobile-drawer .am-dsub .am-dsub__link i { background: rgba(240, 199, 133, .1) !important; color: var(--m12-gold) !important; }
html body .mobile-drawer .am-dsub .am-dsub__link:active, html body .mobile-drawer .am-dsub .am-dsub__link:focus-visible { background: rgba(240, 199, 133, .08) !important; }
html body .mobile-drawer .drawer-contacts { border-top: 1px solid var(--m12-line) !important; }
html body .mobile-drawer .drawer-cta { background: linear-gradient(180deg, #FAE1B2 0%, #F0C785 52%, #DDA95F 100%) !important; color: #1A1206 !important; box-shadow: 0 16px 34px -16px rgba(240, 199, 133, .75), 0 0 0 1px rgba(255, 236, 200, .35) inset, 0 1px 0 rgba(255, 255, 255, .55) inset !important; }
html body .mobile-drawer .drawer-close:focus-visible, html body .mobile-drawer .drawer-nav a:focus-visible, html body .mobile-drawer .am-dgroup__toggle:focus-visible, html body .mobile-drawer .drawer-cta:focus-visible { outline: 2px solid var(--m12-gold-hi) !important; outline-offset: 2px; }
html body .mobile-drawer .am-dsub .am-dsub__link:focus-visible { outline: 2px solid var(--m12-gold-hi) !important; outline-offset: -2px; }

/* the site's scroll bar and «up» button in this page's gold */
html body .scroll-progress { background: linear-gradient(90deg, #FBE3B8, #E2AE62) !important; box-shadow: 0 0 10px rgba(240, 199, 133, .45) !important; }
html body .back-to-top-mobile { background: rgba(8, 11, 18, .72) !important; border: 1px solid rgba(240, 199, 133, .45) !important; color: var(--m12-gold) !important; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9) !important; }
html body .back-to-top-mobile i { color: var(--m12-gold) !important; }
/* the site's floating contacts in this page's palette (dark glass, gold icons); the links stay the site's */
html body .contact-dock { background: rgba(10, 13, 20, .82) !important; border: 1px solid rgba(240, 199, 133, .26) !important; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .95) !important; -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; }
html body .contact-dock a { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(240, 199, 133, .22) !important; box-shadow: none !important; }
html body .contact-dock a i, html body .contact-dock a svg { color: var(--m12-gold) !important; fill: var(--m12-gold) !important; }
html body .contact-dock::before, html body .contact-dock::after { display: none !important; }
/* the floating contacts and the «up» button wait while the story is on screen (the menu and the last block have the contacts) */
html.m12-dock-off .back-to-top-mobile { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
html.m12-dock-off .contact-dock { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .35s, visibility 0s linear .35s !important; }

/* ---------- the V11 blocks the phone does not show (the desktop keeps them) ---------- */
#am-svc .h11-world, #am-svc .h11-hero, #am-svc .h11-matter, #am-svc .h11-cases, #am-svc .h11-nav, #am-svc .h11-reel, #am-svc .h11-final { display: none !important; }

/* ---------- shared pieces ---------- */
#am-svc .m12-wrap { padding-inline: var(--m12-gut); }
#am-svc .m12-h2 { margin: 0; font: 800 clamp(28px, 8.4vw, 36px)/1.06 var(--m12-display); letter-spacing: -.02em; color: var(--m12-text); text-wrap: balance; }
#am-svc .m12-label { margin: 0; font: 700 11.5px/1 var(--m12-display); letter-spacing: .16em; text-transform: uppercase; color: var(--m12-gold); }
#am-svc .m12-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 14.5px/1.2 var(--m12-display); color: var(--m12-gold-hi); text-decoration: none; }
#am-svc .m12-link__arrow { width: 14px; height: 14px; fill: currentColor; flex: none; }
#am-svc [id^="m12-"] { scroll-margin-top: 0; }
#am-svc .m12-only :focus-visible { outline: 2px solid var(--m12-gold-hi); outline-offset: 3px; border-radius: 6px; }

/* the gold button (the hero, the contacts) */
#am-svc .m12-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px 0 28px; border-radius: 999px;
  font: 700 16px/1 var(--m12-display); letter-spacing: .01em; color: #1A1206; text-decoration: none;
  background: linear-gradient(180deg, #FAE1B2 0%, #F0C785 52%, #DDA95F 100%);
  box-shadow: 0 16px 34px -16px rgba(240, 199, 133, .75), 0 0 0 1px rgba(255, 236, 200, .35) inset, 0 1px 0 rgba(255, 255, 255, .55) inset;
  -webkit-tap-highlight-color: transparent; transition: transform .25s var(--m12-ease), box-shadow .25s;
}
#am-svc .m12-cta:active { transform: scale(.97); }
#am-svc .m12-cta__arrow, #am-svc .m12-cta__lead { width: 17px; height: 17px; fill: currentColor; flex: none; }
#am-svc .m12-cta--wide { width: 100%; }

/* ---------- the world (fixed behind the phone page) ---------- */
#am-svc .m12-world { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--m12-ink); transition: opacity .6s; }
/* the still picture of the same scene (rendered by it, tools/m12/posters.py); preloaded in <head> for phones only */
#am-svc .m12-world__poster { position: absolute; inset: 0; background: var(--m12-ink) url("../img/m12/world-780.webp") 50% 0 / cover no-repeat; }
@media (min-resolution: 2.5dppx) { #am-svc .m12-world__poster { background-image: url("../img/m12/world-1170.webp"); } }
#am-svc .m12-world canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .9s var(--m12-ease); }
#am-svc .m12-world.is-on canvas { opacity: 1; }
#am-svc .m12-world__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 11, 18, .0) 0%, rgba(8, 11, 18, 0) 55%, rgba(8, 11, 18, .55) 100%); opacity: 0; transition: opacity .5s; }
#am-svc .m12-world.is-calm { opacity: 0; }
#am-svc .m12-world.is-dim .m12-world__veil { opacity: 1; background: rgba(8, 11, 18, .78); }
#am-svc section.m12-only { position: relative; z-index: 1; }

/* ---------- 1 · the hero: the scene, one H1, one button ---------- */
#am-svc .m12-hero { min-height: max(560px, 100vh); min-height: max(560px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--m12-hdr) + 12px) var(--m12-gut) max(26px, calc(env(safe-area-inset-bottom, 0px) + 18px)); }
#am-svc .m12-hero::before { content: ""; position: absolute; inset: auto 0 0; height: 44%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(8, 11, 18, .9) 0%, rgba(8, 11, 18, .62) 42%, rgba(8, 11, 18, 0) 100%); }
#am-svc .m12-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: min(7svh, 64px); }
#am-svc .m12-title { margin: 0; font: 800 clamp(33px, 10.2vw, 46px)/1.02 var(--m12-display); letter-spacing: -.022em; color: var(--m12-text); text-shadow: 0 2px 24px rgba(8, 11, 18, .55); }
#am-svc .m12-title__line { display: block; }
#am-svc .m12-title__line--gold { background: linear-gradient(100deg, #FCE7C2 0%, #F0C785 46%, #D6A35B 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--m12-gold); text-shadow: none; }
#am-svc .m12-motion {
  position: absolute; right: var(--m12-gut); bottom: calc(max(26px, calc(env(safe-area-inset-bottom, 0px) + 18px)) + min(7svh, 64px) + 5px);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(240, 199, 133, .3); background: rgba(8, 11, 18, .52); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--m12-gold);
}
#am-svc .m12-motion[hidden] { display: none; }
#am-svc .m12-motion__ico { width: 13px; height: 13px; fill: currentColor; }
#am-svc .m12-motion__ico--play, #am-svc .m12-motion[aria-pressed="true"] .m12-motion__ico--pause { display: none; }
#am-svc .m12-motion[aria-pressed="true"] .m12-motion__ico--play { display: block; }
#am-svc .m12-motion[aria-pressed="true"] { border-color: var(--m12-gold); background: rgba(240, 199, 133, .14); }
#am-svc .m12-down { position: absolute; left: 50%; bottom: max(10px, env(safe-area-inset-bottom, 0px)); width: 22px; height: 22px; margin-left: -11px; color: rgba(240, 199, 133, .7); pointer-events: none; }
#am-svc .m12-down__ico { width: 100%; height: 100%; fill: currentColor; animation: m12-bob 2.4s var(--m12-ease) infinite; }
@keyframes m12-bob { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }

/* ---------- 2 · the projects: one at a time on the pedestal of the world ---------- */
#am-svc .m12-projects { padding: 40px 0 10px; }
#am-svc .m12-stage { padding-inline: var(--m12-gut); }
#am-svc .m12-stage__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
#am-svc .m12-dashes { display: flex; gap: 6px; margin: 0; }
#am-svc .m12-dash { flex: 1 1 0; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; -webkit-tap-highlight-color: transparent; }
#am-svc .m12-dash__bar { display: block; height: 3px; border-radius: 2px; background: rgba(245, 242, 236, .16); transition: background .4s, box-shadow .4s; }
#am-svc .m12-dash[aria-selected="true"] .m12-dash__bar { background: linear-gradient(90deg, #FBE3B8, #E2AE62); box-shadow: 0 0 12px rgba(240, 199, 133, .55); }
#am-svc .m12-projs { display: grid; gap: 54px; }
#am-svc .m12-proj { display: grid; grid-template-areas: "n" "name" "line" "shot" "open"; align-content: start; justify-items: start; }
#am-svc .m12-proj__n { grid-area: n; margin: 0 0 8px; font: 600 12.5px/1 var(--m12-display); letter-spacing: .12em; color: var(--m12-dim); }
#am-svc .m12-proj__n b { color: var(--m12-gold); font-weight: 700; }
#am-svc .m12-proj__name { grid-area: name; margin: 0; font: 800 clamp(30px, 9vw, 38px)/1.04 var(--m12-display); letter-spacing: -.02em; color: var(--m12-text); }
#am-svc .m12-proj__line { grid-area: line; margin: 10px 0 0; max-width: 24em; font: 500 15.5px/1.45 var(--m12-body); color: var(--m12-muted); }
#am-svc .m12-proj__shot { grid-area: shot; margin: 22px auto 0; justify-self: center; }
#am-svc .m12-proj__open {
  grid-area: open; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 20px; padding: 0 20px; border-radius: 999px;
  font: 700 14.5px/1 var(--m12-display); color: var(--m12-gold-hi); text-decoration: none;
  border: 1px solid rgba(240, 199, 133, .42); background: rgba(8, 11, 18, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
#am-svc .m12-proj__arrow { width: 14px; height: 14px; fill: currentColor; }
#am-svc .m12-swipe { display: none; }
/* the real screens in a body (shown when the world does not draw them: no WebGL, reduced motion, no JavaScript) */
#am-svc .m12-device { position: relative; padding: 7px; border-radius: 20px; background: linear-gradient(160deg, #1d212c, #0c0f15); box-shadow: 0 0 0 1px rgba(240, 199, 133, .32), 0 28px 60px -26px rgba(0, 0, 0, .9), 0 0 50px -18px rgba(240, 199, 133, .28); }
#am-svc .m12-device img { display: block; width: 100%; height: auto; border-radius: 14px; }
#am-svc .m12-device--phone { width: min(46vw, 210px); padding: 8px; border-radius: 30px; }
#am-svc .m12-device--phone img { border-radius: 23px; }
#am-svc .m12-device--tab, #am-svc .m12-device--pos { width: min(88vw, 520px); }

/* with JavaScript: a sticky stage, the scroll (or a swipe, or a dash) changes the project */
.m12-js #am-svc .m12-projects { padding: 0; }
.m12-js #am-svc .m12-track { position: relative; height: calc(100vh + (var(--n) - 1) * 72vh); height: calc(100svh + (var(--n) - 1) * 72svh); }
.m12-js #am-svc .m12-snap { position: absolute; left: 0; width: 1px; height: 1px; top: calc(var(--i) * 72vh); top: calc(var(--i) * 72svh); scroll-snap-align: start; pointer-events: none; }
.m12-js #am-svc .m12-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(var(--m12-hdr) + 14px) var(--m12-gut) max(16px, env(safe-area-inset-bottom, 0px)); overflow: hidden; touch-action: pan-y; }
.m12-js #am-svc .m12-stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 11, 18, .78) 0%, rgba(8, 11, 18, .5) 46%, rgba(8, 11, 18, 0) 100%); }
.m12-js #am-svc .m12-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(8, 11, 18, .78) 0%, rgba(8, 11, 18, 0) 100%); }
.m12-js #am-svc .m12-stage__head { margin-bottom: 4px; gap: 4px; }
.m12-js #am-svc .m12-projs { display: grid; gap: 0; min-height: 0; }
.m12-js #am-svc .m12-proj { grid-area: 1 / 1; grid-template-rows: auto auto auto minmax(0, 1fr) auto; height: 100%; min-height: 0;
  opacity: 0; visibility: hidden; transform: translate3d(0, 14px, 0); transition: opacity .45s var(--m12-ease), transform .55s var(--m12-ease), visibility 0s linear .45s; }
.m12-js #am-svc .m12-proj.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--m12-ease) .08s, transform .65s var(--m12-ease) .08s, visibility 0s; }
.m12-js #am-svc .m12-proj__shot { align-self: center; margin: 12px auto; max-height: 100%; }
.m12-js #am-svc .m12-device--phone { width: auto; height: min(100%, 56vh); aspect-ratio: 376 / 736; }
.m12-js #am-svc .m12-device--phone img { height: 100%; width: 100%; object-fit: cover; }
.m12-js #am-svc .m12-proj__open { margin-top: 0; justify-self: start; }
.m12-js #am-svc .m12-swipe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font: 600 12px/1 var(--m12-display); letter-spacing: .04em; color: var(--m12-dim); transition: opacity .4s; }
.m12-js #am-svc .m12-swipe__ico { width: 14px; height: 14px; fill: currentColor; opacity: .8; }
.m12-js #am-svc .m12-projects.is-seen .m12-swipe { opacity: 0; }
/* the world draws the real screens on its devices: the copies in the page keep their place, unseen */
.m12-gl #am-svc .m12-proj__shot { visibility: hidden; }

/* ---------- 3 · the AI agents: one message on its way, step by step ---------- */
#am-svc .m12-agents { padding: 70px 0 30px; }
#am-svc .m12-astage { padding-inline: var(--m12-gut); }
#am-svc .m12-agents__head { display: flex; flex-direction: column; gap: 12px; }
#am-svc .m12-agents__lead { margin: 0; max-width: 26em; font: 500 15.5px/1.45 var(--m12-body); color: var(--m12-muted); }
#am-svc .m12-channels { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
#am-svc .m12-channel { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px 0 11px; border-radius: 999px; border: 1px solid var(--m12-hair); background: rgba(255, 255, 255, .04); font: 600 13px/1 var(--m12-display); color: var(--m12-text); }
#am-svc .m12-channel__ico { width: 15px; height: 15px; fill: var(--m12-champ); }
#am-svc .m12-flow { position: relative; display: grid; gap: 4px; margin: 26px 0 0; padding: 16px 16px 12px; list-style: none; border-radius: 22px; border: 1px solid var(--m12-line);
  background: linear-gradient(180deg, rgba(19, 23, 34, .86) 0%, rgba(10, 13, 20, .9) 100%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
#am-svc .m12-flow::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--m12-gold) 0 var(--m12-line-p, 100%), rgba(245, 242, 236, .12) var(--m12-line-p, 100%) 100%); }
#am-svc .m12-flow__step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 7px 0; transition: opacity .45s var(--m12-ease), transform .45s var(--m12-ease); }
#am-svc .m12-flow__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #121621; border: 1px solid rgba(240, 199, 133, .4); transition: background .4s, border-color .4s, box-shadow .4s; }
#am-svc .m12-flow__ico { width: 15px; height: 15px; fill: var(--m12-gold); }
#am-svc .m12-flow__body { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; min-width: 0; }
#am-svc .m12-flow__tag { font: 700 11px/1.2 var(--m12-display); letter-spacing: .12em; text-transform: uppercase; color: var(--m12-gold); }
#am-svc .m12-flow__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#am-svc .m12-flow__via { font: 600 11.5px/1.2 var(--m12-display); letter-spacing: .04em; color: var(--m12-dim); }
#am-svc .m12-flow__text { font: 500 14.5px/1.4 var(--m12-body); color: var(--m12-text); }
#am-svc .m12-flow__text--msg { display: inline-block; align-self: flex-start; margin-top: 2px; padding: 9px 13px; border-radius: 4px 16px 16px 16px; background: rgba(245, 242, 236, .08); border: 1px solid var(--m12-hair); font-size: 14.5px; }
#am-svc .m12-flow__step--done .m12-flow__dot { background: linear-gradient(180deg, #F8DDA9, #DDA95F); border-color: transparent; box-shadow: 0 0 0 5px rgba(240, 199, 133, .14), 0 0 26px rgba(240, 199, 133, .5); }
#am-svc .m12-flow__step--done .m12-flow__ico { fill: #1A1206; }
#am-svc .m12-flow__step--done .m12-flow__text { font: 800 17px/1.25 var(--m12-display); color: var(--m12-gold-hi); }
#am-svc .m12-agents__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: 10px; }
#am-svc .m12-demo { margin: 0; font: 500 12px/1.4 var(--m12-body); color: var(--m12-dim); }
/* with JavaScript: the scroll carries the message from step to step — the message stays, one status follows it */
#am-svc .m12-flowbar { display: none; }
.m12-js #am-svc .m12-agents { padding: 0; }
.m12-js #am-svc .m12-atrack { position: relative; height: calc(100vh + 150vh); height: calc(100svh + 150svh); }
.m12-js #am-svc .m12-astage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; padding: calc(var(--m12-hdr) + 16px) var(--m12-gut) max(12px, env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.m12-js #am-svc .m12-astage::before { content: ""; position: absolute; inset: 0 0 auto; height: 36%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 11, 18, .82) 0%, rgba(8, 11, 18, 0) 100%); }
.m12-js #am-svc .m12-agents__head { gap: 10px; }
.m12-js #am-svc .m12-channels { gap: 6px; }
.m12-js #am-svc .m12-channel { min-height: 30px; padding: 0 10px 0 9px; font-size: 12px; gap: 6px; }
.m12-js #am-svc .m12-channel__ico { width: 13px; height: 13px; }
.m12-js #am-svc .m12-flowbar { grid-row: 3; position: relative; display: flex; justify-content: space-between; align-items: center; height: 14px; margin: 0 6px 10px; }
.m12-js #am-svc .m12-flowbar::before { content: ""; position: absolute; left: 4px; right: 4px; top: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--m12-gold) 0 var(--m12-line-p, 0%), rgba(245, 242, 236, .14) var(--m12-line-p, 0%) 100%); }
.m12-js #am-svc .m12-flowbar i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #1a1f2b; border: 1.5px solid rgba(240, 199, 133, .45); transition: background .4s, box-shadow .4s; }
.m12-js #am-svc .m12-flowbar i.is-on { background: var(--m12-gold); border-color: var(--m12-gold); box-shadow: 0 0 10px rgba(240, 199, 133, .7); }
.m12-js #am-svc .m12-flow { grid-row: 4; margin-top: 0; padding: 14px 16px; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.m12-js #am-svc .m12-flow::before { display: none; }
.m12-js #am-svc .m12-flow__step { grid-column: 1; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 0; }
.m12-js #am-svc .m12-flow__dot { width: 30px; height: 30px; }
.m12-js #am-svc .m12-flow__ico { width: 13px; height: 13px; }
.m12-js #am-svc .m12-flow__step[data-m12-step="0"] { grid-row: 1; }
.m12-js #am-svc .m12-flow__step:not([data-m12-step="0"]) { grid-row: 2; opacity: 0; visibility: hidden; transform: translate3d(0, 8px, 0); padding-top: 12px; border-top: 1px solid var(--m12-hair);
  transition: opacity .4s var(--m12-ease), transform .45s var(--m12-ease), visibility 0s linear .4s; }
.m12-js #am-svc .m12-flow__step.is-now:not([data-m12-step="0"]) { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--m12-ease), transform .5s var(--m12-ease), visibility 0s; }
.m12-js #am-svc .m12-flow.at-0 .m12-flow__step[data-m12-step="1"] { opacity: .3; visibility: visible; transform: none; }
.m12-js #am-svc .m12-flow__step.is-now .m12-flow__dot { border-color: var(--m12-gold); box-shadow: 0 0 0 4px rgba(240, 199, 133, .12), 0 0 18px rgba(240, 199, 133, .35); }
.m12-js #am-svc .m12-flow__step--done.is-now .m12-flow__dot { box-shadow: 0 0 0 5px rgba(240, 199, 133, .16), 0 0 26px rgba(240, 199, 133, .55); }
.m12-js #am-svc .m12-agents__foot { grid-row: 5; margin-top: 6px; }

/* ---------- 4 · the other projects: calm, compact ---------- */
#am-svc .m12-more { padding: 76px 0 34px; background: linear-gradient(180deg, rgba(8, 11, 18, 0) 0%, var(--m12-ink) 90px); }
#am-svc .m12-cards { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
#am-svc .m12-card { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 18px;
  border: 1px solid var(--m12-line); background: linear-gradient(180deg, rgba(22, 26, 37, .9), rgba(13, 16, 24, .9)); color: var(--m12-text); text-decoration: none; -webkit-tap-highlight-color: transparent; }
#am-svc a.m12-card:active { border-color: rgba(240, 199, 133, .6); }
#am-svc .m12-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(240, 199, 133, .32); background: rgba(240, 199, 133, .06); }
#am-svc .m12-card__svg { width: 20px; height: 20px; fill: var(--m12-gold); }
#am-svc .m12-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#am-svc .m12-card__name { font: 800 16px/1.2 var(--m12-display); color: var(--m12-text); }
#am-svc .m12-card__kind { font: 500 13.5px/1.35 var(--m12-body); color: var(--m12-muted); }
#am-svc .m12-card__go { width: 14px; height: 14px; fill: var(--m12-gold); opacity: .85; }
#am-svc .m12-card__tag { font: 600 11px/1.2 var(--m12-display); letter-spacing: .06em; color: var(--m12-dim); text-align: right; max-width: 6.5em; }

/* ---------- the brand film: a still frame that plays on a tap ---------- */
#am-svc .m12-film { padding: 46px 0 30px; background: var(--m12-ink); }
#am-svc .m12-film__text { margin: 10px 0 0; font: 500 15px/1.5 var(--m12-body); color: var(--m12-muted); }
#am-svc .m12-film__frame { position: relative; margin: 20px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #05070b; box-shadow: 0 0 0 1px var(--m12-line), 0 30px 60px -30px rgba(0, 0, 0, .9); }
#am-svc .m12-film__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
#am-svc .m12-film__play { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(240, 199, 133, .55); background: rgba(8, 11, 18, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 14.5px/1 var(--m12-display); color: var(--m12-gold-hi); }
#am-svc .m12-film__ico { width: 22px; height: 22px; fill: currentColor; }
#am-svc .m12-film.is-playing .m12-film__play { display: none; }

/* ---------- what we do (the texts of the V11 hero and matter for search and for reading) ---------- */
#am-svc .m12-intro { padding: 44px 0 10px; background: var(--m12-ink); }
#am-svc .m12-intro__lead { margin: 16px 0 0; font: 600 17px/1.5 var(--m12-body); color: var(--m12-text); }
#am-svc .m12-intro__text { margin: 12px 0 0; font: 500 15px/1.55 var(--m12-body); color: var(--m12-muted); }

/* ---------- the V11 services, process and logos, compact on the phone ---------- */
#am-svc .h11-services { padding: 40px 0 46px !important; background: var(--m12-ink) !important; border-top: 0 !important; }
#am-svc .h11-services__head { margin-bottom: 18px !important; gap: 10px !important; }
#am-svc .h11-services .h11-h2 { font-size: clamp(24px, 7vw, 30px) !important; }
#am-svc .h11-bento { gap: 0 !important; border-top: 1px solid var(--m12-hair); }
#am-svc .h11-services .h11-svc__link, #am-svc .h11-services .h11-svc--big .h11-svc__link {
  display: grid !important; grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "ico title" "ico text" "ico more"; column-gap: 14px; row-gap: 6px;
  padding: 18px 0 !important; border: 0 !important; border-bottom: 1px solid var(--m12-hair) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
#am-svc .h11-services .h11-svc__link::after { display: none; }
#am-svc .h11-services .h11-svc__ico { grid-area: ico; width: 42px; height: 42px; }
#am-svc .h11-services .h11-svc__ico .sv-ico { width: 18px; height: 18px; }
#am-svc .h11-services .h11-svc__title, #am-svc .h11-services .h11-svc--big .h11-svc__title { grid-area: title; font-size: 17px !important; }
#am-svc .h11-services .h11-svc__text, #am-svc .h11-services .h11-svc--big .h11-svc__text { grid-area: text; font-size: 14px !important; line-height: 1.5; }
#am-svc .h11-services .h11-svc__more { grid-area: more; font-size: 13px; margin-top: 2px; }
#am-svc .h11-process { padding-block: 44px 40px !important; background: var(--m12-ink-2) !important; }
#am-svc .h11-process .sv-step__text { font-size: 14px; }
#am-svc .h11-brands { padding-block: 44px 46px !important; background: var(--m12-ink) !important; color: var(--m12-text); }
#am-svc .h11-brands .sv-brands__title { color: var(--m12-text) !important; font-size: clamp(24px, 7vw, 30px) !important; }
#am-svc .h11-brands .sv-brands__note { color: var(--m12-muted) !important; font-size: 14px; }
#am-svc .h11-brands .sv-eyebrow { color: var(--m12-gold) !important; }
#am-svc .h11-brands .sv-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; }
#am-svc .h11-brands .sv-brand__box { border-radius: 12px !important; box-shadow: 0 0 0 1px rgba(240, 199, 133, .14); }

/* ---------- 5 · the contacts of the phone ---------- */
#am-svc .m12-final { position: relative; overflow: hidden; padding: 78px 0 64px; background: var(--m12-ink); text-align: center; }
#am-svc .m12-final__art { position: absolute; inset: 0; z-index: -1; }
#am-svc .m12-final__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: .9; }
#am-svc .m12-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--m12-ink) 0%, rgba(8, 11, 18, .55) 30%, rgba(8, 11, 18, .45) 62%, rgba(8, 11, 18, .85) 100%); }
#am-svc .m12-final__copy { display: flex; flex-direction: column; align-items: center; gap: 16px; }
#am-svc .m12-final__mark { width: 74px; height: 62px; }
#am-svc .m12-final__mark svg { width: 100%; height: 100%; fill: var(--m12-gold); filter: drop-shadow(0 0 18px rgba(240, 199, 133, .5)); }
#am-svc .m12-final__title { margin: 0; max-width: 12em; font: 800 clamp(30px, 9vw, 40px)/1.06 var(--m12-display); letter-spacing: -.02em; color: var(--m12-text); text-wrap: balance; }
#am-svc .m12-final__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font: 600 13.5px/1.3 var(--m12-display); color: var(--m12-champ); }
#am-svc .m12-final__chips li { display: inline-flex; align-items: center; gap: 16px; }
#am-svc .m12-final__chips li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--m12-gold); margin-left: -10px; }
#am-svc .m12-final__text { margin: 0; max-width: 24em; font: 500 15px/1.5 var(--m12-body); color: var(--m12-muted); }
#am-svc .m12-final .m12-cta { margin-top: 6px; }
#am-svc .m12-final__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#am-svc .m12-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--m12-hair); background: rgba(255, 255, 255, .04); font: 600 13.5px/1 var(--m12-display); color: var(--m12-text); text-decoration: none; }
#am-svc .m12-chip__ico { width: 14px; height: 14px; fill: var(--m12-gold); }

/* ---------- small and short screens ---------- */
@media (max-width: 340px) {
  #am-svc .m12-title { font-size: 31px; }
  #am-svc .m12-cta { padding: 0 22px; font-size: 15px; }
  #am-svc .h11-brands .sv-brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-height: 700px) {
  /* a short screen: the channels are in the world, their names stay for screen readers */
  .m12-js #am-svc .m12-channels { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .m12-js #am-svc .m12-agents__lead { font-size: 14px; line-height: 1.4; }
}
@media (max-height: 680px) {
  #am-svc .m12-hero__copy { gap: 16px; padding-bottom: 30px; }
  #am-svc .m12-motion { bottom: calc(max(26px, calc(env(safe-area-inset-bottom, 0px) + 18px)) + 35px); }
  .m12-js #am-svc .m12-stage { padding-top: calc(var(--m12-hdr) + 8px); }
  #am-svc .m12-proj__name { font-size: 28px; }
  #am-svc .m12-proj__line { font-size: 14.5px; }
  .m12-js #am-svc .m12-astage { padding-top: calc(var(--m12-hdr) + 8px); }
  #am-svc .m12-agents__lead { font-size: 14px; }
  #am-svc .m12-flow__step { padding: 4px 0; }
}

/* ---------- reduced motion: the still picture, no transitions ---------- */
@media (prefers-reduced-motion: reduce) {
  html.m12-js { scroll-snap-type: none; }
  #am-svc .m12-down__ico { animation: none; }
  .m12-js #am-svc .m12-proj, .m12-js #am-svc .m12-proj.is-on, #am-svc .m12-flow__step, #am-svc .m12-world canvas { transition: none !important; }
}
