/* svc-core.css — generated by tools/g9/build.mjs: services-v3.css (Services V6) without its first block, the placement of the
   services.html hero video (html body section.hero …, :root --sv-hdr). models.html keeps its own hero video exactly as it is,
   so it loads this file instead of services-v3.css. Do not edit: change services-v3.css and run the generator. */
/* services.html (services V6) — page-only styles. Rules are scoped to #am-svc (main.services-v3); the only rules
   outside it place the page's original video hero (section.hero) right under the site header without the white band
   under the video. The header, the site-wide footer and the rest of the site keep their own styles.
   Direction (owner's single T3 V6 of 02.11.2026): the original video first; then a purple AI core with the gold
   monogram that always faces the viewer; real projects (ANCO.AZ, Vega DMC, Leasing OS, FUNLAND); in AIMarket's own
   tokens — the header's violet (--brand #6d28d9), plum nights, the site's gold, a violet-tinted paper for the light
   chapters. Display face: Montserrat 600–800 (assets/fonts/ab2, OFL, the files of the About and Integrations pages);
   body: the site's system stack. One centred 1240 px container shared with the site footer.
   Rhythm: video (space) → purple core → paper (ANCO) → plum (projects) → paper (services) → plum (hardware) →
   paper (layers) → plum (process) → paper (brands) → gold-lit plum (contact). */
@font-face { font-family: 'SV Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('../fonts/ab2/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'SV Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('../fonts/ab2/montserrat-az-tr.woff2') format('woff2');
  unicode-range: U+011E-011F, U+0130, U+015E-015F, U+018F, U+0259; }
@font-face { font-family: 'SV Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url('../fonts/ab2/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

#am-svc {
  --sv-void: #0f0826;            /* plum night (the bottom of the video fades into it) */
  --sv-night: #170c38;           /* raised plum */
  --sv-graphite: #120a2b;        /* the projects' cinema */
  --sv-deep: #24125a;
  --sv-brand: #6d28d9;           /* the site's brand violet (tokens.css) */
  --sv-violet: #8b5cf6;
  --sv-violet-hi: #c4b5fd;
  --sv-gold: #fbbf24;            /* the site's gold (header button, footer) */
  --sv-gold-hi: #ffdc85;
  --sv-gold-ink: #8a5a12;        /* gold for text on paper: 6.1:1 */
  --sv-text: #f4f1ff;
  --sv-fog: #c3b9e6;             /* secondary text on plum: 9.6:1 */
  --sv-paper: #f6f4fb;           /* violet-tinted paper */
  --sv-paper-2: #ebe6f7;
  --sv-ink: #1b1235;             /* plum ink */
  --sv-ink-2: #3b3157;
  --sv-ink-3: #574d73;           /* 7.1:1 on paper */
  --sv-line: rgba(196, 181, 253, .18);
  --sv-rule: rgba(27, 18, 53, .12);
  --sv-gut: 32px;
  --sv-max: 1240px;
  --sv-display: 'SV Montserrat', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sv-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sv-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  display: block;
  background: var(--sv-void);
  color: var(--sv-text);
  font: 400 16px/1.6 var(--sv-body);
  overflow-x: clip;
}
#am-svc *, #am-svc *::before, #am-svc *::after { box-sizing: border-box; transition: none; } /* the site's mobile CSS animates everything */
#am-svc :where(h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, dl, dt, dd) { margin: 0; padding: 0; }
#am-svc :where(ul, ol) { list-style: none; }
#am-svc p { color: inherit; line-height: inherit; }   /* the site's mobile styles colour every <p> */
#am-svc :where(h1, h2, h3, h4) { letter-spacing: normal; color: inherit; font-weight: 700; }
#am-svc a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
#am-svc button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }
#am-svc img { max-width: 100%; }
#am-svc .sv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#am-svc .sv-wrap {
  position: relative;
  max-width: var(--sv-max);
  margin: 0 auto;
  padding-left: max(var(--sv-gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sv-gut), env(safe-area-inset-right, 0px));
}
#am-svc .sv-ico { width: 1em; height: 1em; flex: none; fill: currentColor; }
#am-svc :focus-visible { outline: 2px solid var(--sv-gold-hi); outline-offset: 3px; border-radius: 8px; }
/* anchors and headings stop below the site's fixed header (the script measures it into --sv-hdr) */
#am-svc [id], #am-svc .sv-h2 { scroll-margin-top: calc(var(--sv-hdr) + 20px); }

/* ---------- shared type and buttons ---------- */
#am-svc .sv-eyebrow { display: flex; align-items: center; gap: 14px; font: 700 15px/1.3 var(--sv-display); color: var(--sv-gold); }
#am-svc .sv-eyebrow__dash { flex: none; width: 34px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px rgba(251, 191, 36, .7); }
#am-svc .sv-eyebrow--ink { color: var(--sv-gold-ink); }
#am-svc .sv-eyebrow--ink .sv-eyebrow__dash { box-shadow: none; }
#am-svc .sv-h2 { font: 800 clamp(30px, 3.4vw, 46px)/1.1 var(--sv-display); letter-spacing: -.02em; text-wrap: balance; }
#am-svc .sv-gold {
  color: var(--sv-gold);
  background: linear-gradient(180deg, #ffe7a6 0%, #fbbf24 52%, #e39a0c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
#am-svc .sv-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 700 16px/1.2 var(--sv-display); white-space: nowrap;
  transition: transform .25s var(--sv-ease), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
#am-svc .sv-btn--sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
#am-svc .sv-btn--gold {
  color: #1c1236;
  background: linear-gradient(180deg, #ffd766 0%, #fbbf24 48%, #f2a60c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 14px 34px -12px rgba(251, 191, 36, .75), 0 0 0 1px rgba(255, 214, 120, .5);
}
#am-svc .sv-btn--line { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .03); }
#am-svc .sv-btn--ink { color: #fff; background: linear-gradient(180deg, #3a2470, #24145a); box-shadow: 0 14px 30px -16px rgba(36, 20, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
#am-svc .sv-btn__arrow, #am-svc .sv-btn__lead { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--sv-ease); }
#am-svc .sv-btn__lead { width: 18px; height: 18px; }
#am-svc .sv-link { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1.3 var(--sv-display); color: var(--sv-gold-hi); padding: 8px 0; }
#am-svc .sv-link--ink { color: var(--sv-gold-ink); }
#am-svc .sv-link__arrow { width: 14px; height: 14px; fill: currentColor; transition: transform .25s var(--sv-ease); }
@media (hover: hover) {
  #am-svc .sv-btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 20px 40px -12px rgba(251, 191, 36, .9), 0 0 0 1px rgba(255, 220, 140, .7); }
  #am-svc .sv-btn--line:hover { border-color: var(--sv-gold-hi); color: var(--sv-gold-hi); background: rgba(251, 191, 36, .06); }
  #am-svc .sv-btn--ink:hover { transform: translateY(-2px); background: linear-gradient(180deg, #46298a, #2c1868); }
  #am-svc .sv-btn:hover .sv-btn__arrow, #am-svc .sv-link:hover .sv-link__arrow { transform: translateX(4px); }
}
#am-svc .sv-motion {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, .32); background: rgba(23, 12, 56, .72);
  font: 600 13.5px/1 var(--sv-body); color: #fff;
}
#am-svc .sv-motion[hidden] { display: none; }
#am-svc .sv-motion__ico { width: 12px; height: 12px; fill: var(--sv-gold); }
#am-svc .sv-motion__ico--play { display: none; }
#am-svc .sv-motion[aria-pressed="true"] .sv-motion__ico--play { display: block; }
#am-svc .sv-motion[aria-pressed="true"] .sv-motion__ico--pause { display: none; }
#am-svc .sv-motion--ink { border-color: rgba(27, 18, 53, .18); background: #fff; color: var(--sv-ink); box-shadow: 0 8px 20px -14px rgba(27, 18, 53, .5); }
#am-svc .sv-motion--ink .sv-motion__ico { fill: var(--sv-gold-ink); }

/* ---------- 2. the AI core (second scene, right under the video) ---------- */
#am-svc .sv-core {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 40px 0 44px;
  background:
    radial-gradient(48% 62% at 74% 46%, rgba(109, 40, 217, .55) 0%, rgba(76, 29, 149, .28) 45%, transparent 75%),
    radial-gradient(60% 50% at 10% 100%, rgba(139, 92, 246, .16), transparent 70%),
    linear-gradient(180deg, var(--sv-void) 0%, #1a0c40 30%, #1d0e47 62%, var(--sv-night) 100%);
}
#am-svc .sv-core__sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(255, 236, 190, .7), transparent 60%),
    radial-gradient(1px 1px at 63% 88%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 24%, rgba(196, 181, 253, .8), transparent 60%),
    radial-gradient(1px 1px at 94% 72%, rgba(255, 255, 255, .5), transparent 60%);
}
/* a slow violet wave of light where the video ends */
#am-svc .sv-core__wave {
  position: absolute; left: -10%; right: -10%; top: -60px; height: 160px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(167, 139, 250, .32), rgba(109, 40, 217, .12) 55%, transparent 72%);
  filter: blur(6px); opacity: .9;
}
#am-svc .sv-core__grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); align-items: center; gap: 36px; }
#am-svc .sv-core__copy { position: relative; z-index: 5; display: flex; flex-direction: column; gap: 22px; }
#am-svc .sv-title { font: 800 clamp(32px, 3.15vw, 48px)/1.06 var(--sv-display); letter-spacing: -.025em; text-wrap: balance; }
#am-svc .sv-title__line { display: block; }
#am-svc .sv-lead { max-width: 33em; font-size: 17px; line-height: 1.6; color: var(--sv-fog); }
#am-svc .sv-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

/* the stage: orbits and glass in the canvas (or the same core as a picture), the AI monogram as its own front layer,
   the seven directions around it. Order: lines < glass and orbits < AI < labels */
#am-svc .sv-core__scene { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#am-svc .sv-stage { position: relative; width: 100%; aspect-ratio: 1.1 / 1; }
@media (min-width: 1101px) { #am-svc .sv-stage { aspect-ratio: auto; height: clamp(480px, calc(100vh - var(--sv-hdr) - 150px), 620px); } }
#am-svc .sv-stage__links { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#am-svc .sv-stage__links line { stroke: rgba(196, 181, 253, .2); stroke-width: 1; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; transition: stroke .4s, opacity .4s; }
#am-svc .sv-stage__links line.is-hot { stroke: rgba(255, 214, 120, .9); stroke-width: 1.6; stroke-dasharray: 7 7; animation: sv-dash 1.1s linear infinite; }
@keyframes sv-dash { to { stroke-dashoffset: -28; } }
#am-svc .sv-stage__core { position: absolute; inset: 0; z-index: 1; }
#am-svc .sv-stage__halo { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(251, 191, 36, .2), rgba(139, 92, 246, .22) 55%, transparent 78%); filter: blur(10px); }
#am-svc .sv-stage__poster, #am-svc .sv-stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#am-svc .sv-stage__poster { object-fit: contain; transition: opacity .8s ease; }
#am-svc .sv-stage__gl { opacity: 0; transition: opacity .9s ease; }
#am-svc .sv-stage.is-gl .sv-stage__gl { opacity: 1; }
#am-svc .sv-stage.is-gl .sv-stage__poster { opacity: 0; }
/* the AI monogram: always flat and facing the viewer, on a calm plum plate; a slow light runs over the gold */
#am-svc .sv-stage__mark { position: absolute; left: var(--mx, 50%); top: var(--my, 50%); z-index: 3; width: var(--mw, 30%); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: none; }
#am-svc .sv-stage__plate { position: absolute; inset: 16%; border-radius: 28%; background: radial-gradient(closest-side, rgba(38, 14, 88, .86), rgba(38, 14, 88, .55) 62%, rgba(38, 14, 88, 0) 100%); }
#am-svc .sv-stage__mark img { position: relative; width: 66%; height: auto; filter: drop-shadow(0 2px 3px rgba(40, 14, 0, .7)) drop-shadow(0 0 18px rgba(251, 191, 36, .32)); }
#am-svc .sv-stage__shine {
  position: absolute; inset: 0;
  -webkit-mask: url('../img/services-v3/am-monogram.webp') center / 66% auto no-repeat; mask: url('../img/services-v3/am-monogram.webp') center / 66% auto no-repeat;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 250, 228, .9) 50%, transparent 58%) 140% 0 / 280% 100% no-repeat;
  mix-blend-mode: screen; opacity: .85;
}
#am-svc .sv-core.is-on .sv-stage__shine { animation: sv-shine 7.5s ease-in-out infinite; }
@keyframes sv-shine { 0%, 55% { background-position: 140% 0; } 85%, 100% { background-position: -40% 0; } }
#am-svc .sv-orbit { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
#am-svc .sv-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: auto; }
#am-svc .sv-core.is-on .sv-node { animation: sv-float 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.07s); }
@keyframes sv-float { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 3px; } }
#am-svc .sv-node--all { display: none; }
#am-svc .sv-node__link {
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: 212px;
  padding: 8px 14px 8px 8px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(56, 32, 118, .84), rgba(24, 12, 56, .88));
  border: 1px solid rgba(196, 181, 253, .28);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .3s, background-color .3s, transform .3s var(--sv-ease);
}
#am-svc .sv-node__tile {
  position: relative; display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(160deg, #3a2580, #1a0f48);
  border: 1px solid rgba(255, 255, 255, .14);
}
#am-svc .sv-node__icon { width: 18px; height: 18px; fill: var(--sv-violet-hi); }
#am-svc .sv-tone--gold .sv-node__icon { fill: var(--sv-gold-hi); }
#am-svc .sv-node__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#am-svc .sv-node__name { font: 700 14px/1.22 var(--sv-display); color: #fff; text-wrap: balance; }
#am-svc .sv-node__sub { font-size: 12px; line-height: 1.3; color: var(--sv-fog); }
#am-svc .sv-node.is-hot .sv-node__link, #am-svc .sv-node__link:focus-visible {
  border-color: rgba(255, 220, 133, .85);
  box-shadow: 0 0 0 1px rgba(255, 220, 133, .35), 0 0 34px -4px rgba(251, 191, 36, .5), 0 18px 40px -18px rgba(0, 0, 0, .8);
}
#am-svc .sv-tone--violet.is-hot .sv-node__link { border-color: rgba(196, 181, 253, .95); box-shadow: 0 0 0 1px rgba(196, 181, 253, .35), 0 0 34px -4px rgba(139, 92, 246, .7), 0 18px 40px -18px rgba(0, 0, 0, .8); }
@media (hover: hover) { #am-svc .sv-node__link:hover { transform: translateY(-2px); } }
#am-svc .sv-stage__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding-top: 6px; }
#am-svc .sv-stage__hint { font-size: 13.5px; color: rgba(195, 185, 230, .82); text-align: center; }

/* ---------- 3. ANCO.AZ (paper) ---------- */
#am-svc .sv-anco {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 104px 0 92px; color: var(--sv-ink);
  background:
    radial-gradient(50% 40% at 85% 8%, rgba(139, 92, 246, .14), transparent 70%),
    radial-gradient(40% 40% at 0% 60%, rgba(251, 191, 36, .1), transparent 70%),
    linear-gradient(180deg, #faf8ff 0%, var(--sv-paper) 100%);
}
#am-svc .sv-anco__head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: end; margin-bottom: 48px; }
#am-svc .sv-anco__intro { display: flex; flex-direction: column; gap: 16px; }
#am-svc .sv-anco__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font: 800 24px/1.1 var(--sv-display); letter-spacing: -.01em; color: var(--sv-ink); }
#am-svc .sv-anco__kind { font: 600 14px/1.3 var(--sv-body); letter-spacing: 0; color: var(--sv-ink-3); padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sv-rule); }
#am-svc .sv-anco__title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; max-width: 11.5em; }
#am-svc .sv-anco__aside { display: flex; flex-direction: column; gap: 20px; }
#am-svc .sv-anco__lead { font-size: 17px; line-height: 1.65; color: var(--sv-ink-2); }
#am-svc .sv-anco__stock { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 14px; border-radius: 14px; background: #fff7df; border: 1px solid rgba(217, 140, 10, .4); font: 700 14px/1.3 var(--sv-display); color: var(--sv-gold-ink); }
#am-svc .sv-anco__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* the demo: the steps on the left, the real screens on the right (a browser window and a phone) */
#am-svc .sv-anco__demo { position: relative; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center; }
#am-svc .sv-anco__rail { position: relative; display: grid; gap: 6px; counter-reset: s; }
#am-svc .sv-anco__stepbtn { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; width: 100%; padding: 14px 16px 16px 12px; border: 1px solid transparent; border-radius: 18px; background: transparent; text-align: left; transition: background-color .35s, border-color .35s, box-shadow .35s; }
#am-svc .sv-anco__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(27, 18, 53, .18); font: 800 15px/1 var(--sv-display); color: var(--sv-ink-3); background: #fff; transition: background-color .35s, color .35s, border-color .35s; }
#am-svc .sv-anco__steptext { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; min-width: 0; }
#am-svc .sv-anco__steptitle { font: 800 17px/1.25 var(--sv-display); color: var(--sv-ink-2); }
#am-svc .sv-anco__stepdesc { font-size: 14.5px; line-height: 1.55; color: var(--sv-ink-3); }
#am-svc.sv-js .sv-anco__stepbtn:not([aria-pressed="true"]) .sv-anco__stepdesc { display: none; }
#am-svc.sv-js .sv-anco__stepbtn[aria-pressed="true"] .sv-anco__stepdesc { animation: sv-fade .5s ease both; }
@keyframes sv-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
#am-svc .sv-anco__bar { position: absolute; left: 66px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
#am-svc .sv-anco__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sv-gold), var(--sv-violet)); }
#am-svc .sv-anco__stepbtn[aria-pressed="true"] { background: #fff; border-color: rgba(27, 18, 53, .08); box-shadow: 0 22px 44px -30px rgba(49, 34, 120, .55); }
#am-svc .sv-anco__stepbtn[aria-pressed="true"] .sv-anco__num { background: linear-gradient(180deg, #ffd766, #f2a60c); border-color: transparent; color: #1c1236; }
#am-svc .sv-anco__stepbtn[aria-pressed="true"] .sv-anco__steptitle { color: var(--sv-ink); }
#am-svc .sv-anco__stepbtn[aria-pressed="true"] .sv-anco__bar { background: rgba(27, 18, 53, .08); }
@media (hover: hover) { #am-svc .sv-anco__stepbtn:hover { background: rgba(255, 255, 255, .7); } }

/* resting layout (no script): the screens side by side, swipeable */
#am-svc .sv-anco__stage { position: relative; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 16px; }
#am-svc .sv-anco__stage::-webkit-scrollbar { display: none; }
#am-svc .sv-anco__shot { position: relative; flex: 0 0 100%; scroll-snap-align: center; min-width: 0; padding-bottom: 7%; }
#am-svc .sv-anco__zoom { position: relative; display: block; width: 88%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; text-align: left; }
#am-svc .sv-browser { display: block; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid rgba(27, 18, 53, .1); box-shadow: 0 50px 90px -40px rgba(49, 34, 120, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
#am-svc .sv-browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f3f1f8; border-bottom: 1px solid rgba(27, 18, 53, .07); }
#am-svc .sv-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e1dcef; }
#am-svc .sv-browser__bar i:nth-child(1) { background: #ff8a8a; } #am-svc .sv-browser__bar i:nth-child(2) { background: #ffd36b; } #am-svc .sv-browser__bar i:nth-child(3) { background: #7ddca0; }
#am-svc .sv-browser__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; font: 600 12px/1.3 var(--sv-body); color: var(--sv-ink-3); }
#am-svc .sv-browser img { display: block; width: 100%; height: auto; }
#am-svc .sv-anco__phones { position: absolute; right: 0; bottom: 0; width: 25%; display: block; }
#am-svc .sv-phone { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #111; border: 5px solid #17122b; box-shadow: 0 40px 70px -30px rgba(27, 18, 53, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset; }
#am-svc .sv-phone img { display: block; width: 100%; height: auto; }
#am-svc .sv-phone--fan { position: absolute; bottom: 0; width: 100%; }
#am-svc .sv-phone--fan:nth-child(1) { position: relative; }
#am-svc .sv-phone--fan:nth-child(2) { right: 62%; transform: rotate(-7deg) translateY(4%); z-index: -1; opacity: .96; }
#am-svc .sv-phone--fan:nth-child(3) { right: 124%; transform: rotate(-12deg) translateY(10%); z-index: -2; opacity: .9; }
#am-svc .sv-anco__scan { display: none; }

/* the player (script): one step at a time, the screens change in depth; the gold line scans while the AI looks */
#am-svc.sv-js .sv-anco__stage { display: block; overflow: visible; padding: 0; aspect-ratio: 16 / 11.2; }
#am-svc.sv-js .sv-anco__shot { position: absolute; inset: 0; padding: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
#am-svc.sv-js .sv-anco__shot.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
#am-svc.sv-js .sv-anco__zoom { position: absolute; left: 0; top: 0; transform: translate3d(calc((1 - var(--in, 1)) * 26px), 0, 0) scale(calc(.97 + var(--in, 1) * .03)); transition: transform .9s var(--sv-ease); }
#am-svc.sv-js .sv-anco__shot:not(.is-on) .sv-anco__zoom { --in: 0; }
#am-svc.sv-js .sv-anco__phones { transform: translate3d(0, calc((1 - var(--in, 1)) * 40px), 0); transition: transform 1s var(--sv-ease) .08s; }
#am-svc.sv-js .sv-anco__shot:not(.is-on) .sv-anco__phones { --in: 0; }
#am-svc.sv-js .sv-anco__scan { position: absolute; left: 0; top: 34px; z-index: 3; display: block; width: 88%; height: calc(88% * .625 * 16 / 11.2 * 11.2 / 16); pointer-events: none; opacity: 0; }
#am-svc.sv-js .sv-anco__scan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffe9a8 20%, #fbbf24 50%, #ffe9a8 80%, transparent); box-shadow: 0 0 22px 6px rgba(251, 191, 36, .45); }
#am-svc.sv-js [data-active="ai"] .sv-anco__scan { opacity: 1; }
#am-svc.sv-js [data-active="ai"] .sv-anco__scan::before { animation: sv-scan-y 2.4s ease-in-out infinite; }
@keyframes sv-scan-y { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(var(--scan-h, 380px)); opacity: 0; } }
#am-svc .sv-anco__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

#am-svc .sv-anco__caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 52px; }
#am-svc .sv-anco__cap { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-areas: "icon body" "icon status"; column-gap: 14px; row-gap: 8px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(27, 18, 53, .07); box-shadow: 0 14px 30px -26px rgba(49, 34, 120, .5); }
#am-svc .sv-anco__capicon { grid-area: icon; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(160deg, #3a2580, #1a0f48); color: var(--sv-gold-hi); }
#am-svc .sv-anco__capicon .sv-ico { width: 18px; height: 18px; }
#am-svc .sv-anco__capbody { grid-area: body; display: flex; flex-direction: column; gap: 4px; }
#am-svc .sv-anco__captitle { font: 800 16px/1.25 var(--sv-display); color: var(--sv-ink); }
#am-svc .sv-anco__captext { font-size: 14px; line-height: 1.5; color: var(--sv-ink-3); }
#am-svc .sv-anco__status { grid-area: status; justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: #e4f5ec; font: 700 12.5px/1.2 var(--sv-body); color: #0d6b41; }
#am-svc .sv-anco__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#am-svc .sv-anco__status.is-dev { background: #fff3d6; color: #84540a; }
#am-svc .sv-anco__cap.is-dev { background: #fffdf7; border-style: dashed; border-color: rgba(132, 84, 10, .35); }
#am-svc .sv-anco__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 24px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--sv-rule); }
#am-svc .sv-anco__brandslabel { font: 700 13px/1.3 var(--sv-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sv-ink-3); }
#am-svc .sv-anco__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; }
#am-svc .sv-anco__logos img { display: block; height: 24px; width: auto; }
#am-svc .sv-anco__logos li:last-child img { height: 30px; }
#am-svc .sv-anco__source { grid-column: 1 / -1; font-size: 13px; color: var(--sv-ink-3); }

/* ---------- 4. real projects ---------- */
#am-svc .sv-cases {
  position: relative;
  isolation: isolate;
  padding: 104px 0 96px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(139, 92, 246, .2), transparent 70%),
    linear-gradient(180deg, #160b36 0%, var(--sv-graphite) 18%, var(--sv-graphite) 100%);
}
#am-svc .sv-cases__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "eyebrow eyebrow" "title intro"; align-items: end; column-gap: 48px; row-gap: 14px; margin-bottom: 40px; }
#am-svc .sv-cases__head .sv-eyebrow { grid-area: eyebrow; }
#am-svc .sv-cases__head .sv-h2 { grid-area: title; }
#am-svc .sv-cases__intro { grid-area: intro; color: var(--sv-fog); font-size: 15.5px; }
#am-svc .sv-show__tabs { display: flex; gap: 10px; margin-bottom: 28px; }
#am-svc .sv-tab {
  position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 14px 18px 12px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
  font: 700 17px/1.2 var(--sv-display); color: rgba(244, 241, 255, .66); text-align: left;
  transition: color .3s, border-color .3s, background-color .3s;
}
#am-svc .sv-tab__bar { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#am-svc .sv-tab__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); background: linear-gradient(90deg, var(--sv-gold), var(--sv-gold-hi)); border-radius: inherit; }
#am-svc .sv-tab.sv-tone--violet .sv-tab__bar i { background: linear-gradient(90deg, var(--sv-violet), var(--sv-violet-hi)); }
#am-svc .sv-tab.sv-tone--magenta .sv-tab__bar i { background: linear-gradient(90deg, #ec4899, #60a5fa); }
#am-svc .sv-tab[aria-current="true"] { color: #fff; border-color: rgba(255, 220, 133, .4); background: rgba(251, 191, 36, .06); }
#am-svc .sv-tab.sv-tone--violet[aria-current="true"] { border-color: rgba(196, 181, 253, .45); background: rgba(139, 92, 246, .08); }
#am-svc .sv-tab.sv-tone--magenta[aria-current="true"] { border-color: rgba(244, 114, 182, .45); background: rgba(236, 72, 153, .07); }
@media (hover: hover) { #am-svc .sv-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .26); } }

/* one project: the text and its screens (resting layout: one after another; the script turns it into a cinema on
   wide screens) */
#am-svc .sv-show__body { display: flex; flex-direction: column; gap: 96px; }
#am-svc .sv-case { position: relative; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: center; }
#am-svc .sv-case__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
#am-svc .sv-case__index { font: 700 13px/1 var(--sv-display); letter-spacing: .12em; color: var(--sv-gold); }
#am-svc .sv-case__index span { color: rgba(195, 185, 230, .55); }
#am-svc .sv-case__industry { font: 600 13px/1.3 var(--sv-body); letter-spacing: .06em; text-transform: uppercase; color: var(--sv-fog); }
#am-svc .sv-case__name { font: 800 clamp(30px, 3vw, 42px)/1.05 var(--sv-display); letter-spacing: -.02em; color: #fff; }
#am-svc .sv-case__client { font-weight: 600; color: rgba(195, 185, 230, .72); font-size: .58em; letter-spacing: 0; white-space: nowrap; }
#am-svc .sv-case__kind { font-size: 16.5px; color: #e8e3fb; }
#am-svc .sv-case__task { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
#am-svc .sv-case__task dt, #am-svc .sv-case__built-title { font: 700 12.5px/1.3 var(--sv-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sv-gold-hi); }
#am-svc .sv-case__task dd { font-size: 15px; color: var(--sv-fog); }
#am-svc .sv-case__built { display: grid; gap: 8px; }
#am-svc .sv-case__built li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #e2dcf7; }
#am-svc .sv-case__tick { width: 14px; height: 14px; margin-top: 5px; flex: none; fill: var(--sv-gold); }
#am-svc .sv-tone--violet .sv-case__tick { fill: var(--sv-violet-hi); }
#am-svc .sv-tone--magenta .sv-case__tick { fill: #f9a8d4; }
#am-svc .sv-case__fact { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); font: 700 14px/1.3 var(--sv-display); color: var(--sv-gold-hi); }
#am-svc .sv-case__fact .sv-ico { width: 16px; height: 16px; }
#am-svc .sv-case__note { font-size: 13.5px; color: rgba(195, 185, 230, .78); }
#am-svc .sv-case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 8px; }

#am-svc .sv-case__stage { position: relative; min-width: 0; }
#am-svc .sv-case__glow { position: absolute; inset: -10% -6%; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 191, 36, .2), rgba(251, 191, 36, 0) 75%); filter: blur(10px); }
#am-svc .sv-tone--violet .sv-case__glow { background: radial-gradient(closest-side, rgba(139, 92, 246, .3), rgba(139, 92, 246, 0) 75%); }
#am-svc .sv-tone--magenta .sv-case__glow { background: radial-gradient(closest-side, rgba(236, 72, 153, .22), rgba(59, 130, 246, .12) 50%, transparent 76%); }
#am-svc .sv-case__screens {
  --sv-shot: 100%;
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px 2px 10px;
}
#am-svc .sv-case__screens::-webkit-scrollbar { display: none; }
#am-svc .sv-screen { flex: 0 0 var(--sv-shot); scroll-snap-align: center; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#am-svc .sv-screen--portrait { flex-basis: calc(var(--sv-shot) * .42); }
#am-svc .sv-screen__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; border-radius: 16px; }

#am-svc .sv-screen__frame {
  display: block; overflow: hidden; border-radius: 14px;
  background: #0d0d1e;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1);
}
#am-svc .sv-screen__frame img { display: block; width: 100%; height: auto; }
#am-svc .sv-screen__zoom { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(8, 8, 24, .72); border: 1px solid rgba(255, 255, 255, .22); color: #fff; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s var(--sv-ease); }
#am-svc .sv-screen__zoom .sv-ico { width: 15px; height: 15px; }
#am-svc .sv-screen__btn:focus-visible .sv-screen__zoom { opacity: 1; transform: none; }
@media (hover: hover) { #am-svc .sv-screen__btn:hover .sv-screen__zoom { opacity: 1; transform: none; } }
#am-svc .sv-screen__cap { font: 600 13px/1.3 var(--sv-body); color: rgba(195, 185, 230, .82); padding-left: 2px; }
#am-svc .sv-case__pager { display: flex; justify-content: center; gap: 8px; padding-top: 10px; }
#am-svc .sv-case__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background-color .3s, width .3s; }
#am-svc .sv-case__dot.is-on { width: 22px; border-radius: 4px; background: var(--sv-gold); }
#am-svc .sv-theme { display: none; }

/* the cinema (script, wide screens, motion allowed): the section becomes a tall track; a sticky stage under the site
   header shows one project at a time, its screens arranged in depth and changing as the track scrolls */
#am-svc .sv-show.is-cinema { height: calc(var(--sv-chapters, 3) * 125vh); }
#am-svc .sv-show.is-cinema .sv-show__sticky {
  position: sticky; top: var(--sv-top, var(--sv-hdr));
  height: calc(100vh - var(--sv-top, var(--sv-hdr)));
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
#am-svc .sv-show.is-cinema .sv-show__tabs, #am-svc .sv-show.is-cinema .sv-show__body { width: 100%; }
#am-svc .sv-show.is-cinema .sv-show__tabs { margin-bottom: clamp(14px, 2.4vh, 26px); }
#am-svc .sv-show.is-cinema .sv-show__body { position: relative; display: block; flex: 0 1 auto; height: min(600px, calc(100vh - var(--sv-top, var(--sv-hdr)) - 120px)); }
#am-svc .sv-show.is-cinema .sv-case {
  position: absolute; inset: 0 var(--sv-gut);
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
#am-svc .sv-show.is-cinema .sv-case.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
#am-svc .sv-show.is-cinema .sv-case__text { gap: 10px; }
#am-svc .sv-show.is-cinema .sv-case__index { display: none; }
#am-svc .sv-show.is-cinema .sv-case__name { font-size: clamp(30px, 2.6vw, 38px); }
#am-svc .sv-show.is-cinema .sv-case__kind { font-size: 15px; line-height: 1.45; }
#am-svc .sv-show.is-cinema .sv-case__task { padding: 10px 14px; }
#am-svc .sv-show.is-cinema .sv-case__task dd { font-size: 14px; line-height: 1.5; }
#am-svc .sv-show.is-cinema .sv-case__built { gap: 5px; }
#am-svc .sv-show.is-cinema .sv-case__built li { font-size: 14px; line-height: 1.45; }
#am-svc .sv-show.is-cinema .sv-case__tick { margin-top: 4px; }
#am-svc .sv-show.is-cinema .sv-case__links { padding-top: 4px; }
#am-svc .sv-show.is-cinema .sv-case__fact { padding: 7px 12px; font-size: 13px; }
#am-svc .sv-show.is-cinema .sv-case__stage { height: 100%; perspective: 1600px; perspective-origin: 30% 40%; }
#am-svc .sv-show.is-cinema .sv-case__screens { position: absolute; inset: 0; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
#am-svc .sv-show.is-cinema .sv-screen {
  position: absolute; left: 0; top: 50%; width: 88%;
  transform-origin: 50% 50%;
  transform: translate3d(var(--tx, 0), calc(-50% + var(--ty, 0px)), var(--tz, 0)) rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)) scale(var(--sc, 1));
  opacity: var(--op, 1);
  z-index: var(--zi, 1);
  transition: transform .9s var(--sv-ease), opacity .7s ease;
  will-change: transform, opacity;
}
#am-svc .sv-show.is-cinema .sv-screen--portrait { width: 27%; left: auto; right: 0; align-items: stretch; }
#am-svc .sv-show.is-cinema .sv-screen--portrait .sv-screen__btn { width: 100%; }
#am-svc .sv-show.is-cinema .sv-screen__cap { opacity: var(--capo, 0); transition: opacity .5s; }
#am-svc .sv-show.is-cinema .sv-case__pager { position: absolute; left: 0; right: 0; bottom: -6px; }
#am-svc .sv-show.is-cinema .sv-screen__frame { box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 60px -20px var(--sv-shine, rgba(251, 191, 36, .25)), inset 0 1px 0 rgba(255, 255, 255, .12); }
#am-svc .sv-show.is-cinema .sv-tone--violet .sv-screen__frame { --sv-shine: rgba(139, 92, 246, .35); }
#am-svc .sv-show.is-cinema .sv-tone--magenta .sv-screen__frame { --sv-shine: rgba(236, 72, 153, .3); }
/* Vega: the dark and the light theme of the same product */
#am-svc .sv-show.is-cinema .sv-theme { position: absolute; left: 4%; top: 4%; z-index: 20; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(8, 8, 24, .78); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#am-svc .sv-theme__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 700 13px/1 var(--sv-display); color: rgba(244, 241, 255, .7); }
#am-svc .sv-theme__btn .sv-ico { width: 13px; height: 13px; }
#am-svc .sv-theme__btn[aria-pressed="true"] { background: linear-gradient(180deg, #ffd766, #f2a60c); color: #1c1236; }
#am-svc .sv-show.is-cinema [data-case="vega"] .sv-screen[data-i="1"] .sv-screen__frame { clip-path: inset(0 0 0 calc(var(--wipe, 1) * 100%) round 14px); }
#am-svc .sv-show.is-cinema [data-case="vega"] .sv-screen[data-i="1"] .sv-screen__btn::after {
  content: ""; position: absolute; top: -4%; bottom: -4%; left: calc(var(--wipe, 1) * 100%); width: 3px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, #fff3c4 20%, #fbbf24 50%, #fff3c4 80%, transparent);
  box-shadow: 0 0 24px 6px rgba(251, 191, 36, .55);
  opacity: calc(min(var(--wipe, 1), 1 - var(--wipe, 1)) * 8);
  pointer-events: none;
}

/* ---------- 5. the eight service lines (paper) ---------- */
#am-svc .sv-services { position: relative; padding: 104px 0 96px; background: var(--sv-paper); color: var(--sv-ink); }
#am-svc .sv-services::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, rgba(139, 92, 246, .08), transparent); pointer-events: none; }
#am-svc .sv-services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); grid-template-areas: "eyebrow eyebrow" "title lead"; column-gap: 48px; row-gap: 14px; align-items: end; margin-bottom: 52px; }
#am-svc .sv-services__head .sv-eyebrow { grid-area: eyebrow; }
#am-svc .sv-services__title { grid-area: title; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.03em; max-width: 12em; }
#am-svc .sv-services__lead { grid-area: lead; font-size: 16px; color: var(--sv-ink-3); }
#am-svc .sv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--sv-rule); }
/* one line: the title is the link and covers the whole card; the project link sits above it */
#am-svc .sv-svc {
  position: relative; display: grid;
  grid-template-columns: 76px 44px minmax(0, 1fr);
  grid-template-areas: "num icon title" "num . text" "num . feats" "num . foot";
  column-gap: 16px; row-gap: 8px;
  padding: 28px 18px 26px 0;
  border-bottom: 1px solid var(--sv-rule);
  isolation: isolate;
}
#am-svc .sv-svc::before { content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -30px rgba(76, 58, 160, .45); opacity: 0; transform: scale(.98); transition: opacity .3s, transform .4s var(--sv-ease); }
#am-svc .sv-svc::after { content: ""; position: absolute; left: 0; right: 18px; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--sv-gold), var(--sv-violet)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--sv-ease); }
#am-svc .sv-svc__num {
  grid-area: num; align-self: start;
  font: 800 52px/.9 var(--sv-display); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(27, 18, 53, .28);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
#am-svc .sv-svc__icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(160deg, #3a2580, #1a0f48); color: var(--sv-gold-hi); align-self: center; }
#am-svc .sv-svc__icon .sv-ico { width: 20px; height: 20px; }
#am-svc .sv-svc__title { grid-area: title; align-self: center; font: 800 21px/1.2 var(--sv-display); letter-spacing: -.01em; color: var(--sv-ink); }
#am-svc .sv-svc__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
#am-svc .sv-svc__link:focus-visible { outline: none; }
#am-svc .sv-svc__link:focus-visible::after { outline: 2px solid var(--sv-gold-ink); outline-offset: 4px; }
#am-svc .sv-svc__text { grid-area: text; font-size: 15px; line-height: 1.6; color: var(--sv-ink-3); }
#am-svc .sv-svc__feats { grid-area: feats; display: flex; flex-wrap: wrap; gap: 6px 6px; padding-top: 4px; }
#am-svc .sv-svc__feats li { padding: 5px 11px; border-radius: 999px; background: var(--sv-paper-2); font: 600 12.5px/1.3 var(--sv-body); color: var(--sv-ink-2); }
#am-svc .sv-svc__foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 4px; }
#am-svc .sv-svc__more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.3 var(--sv-display); color: var(--sv-gold-ink); }
#am-svc .sv-svc__arrow { width: 13px; height: 13px; fill: currentColor; transition: transform .25s var(--sv-ease); }
#am-svc .sv-svc__proof { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(109, 40, 217, .25); background: rgba(109, 40, 217, .06); font: 600 13px/1.2 var(--sv-body); color: var(--sv-ink-2); transition: background-color .25s, border-color .25s; }
#am-svc .sv-svc__proof b { font-family: var(--sv-display); font-weight: 800; color: #4c1d95; }
@media (hover: hover) {
  #am-svc .sv-svc:hover::before { opacity: 1; transform: none; }
  #am-svc .sv-svc:hover::after { transform: scaleX(1); }
  #am-svc .sv-svc:hover .sv-svc__num { color: var(--sv-ink); -webkit-text-stroke-color: transparent; }
  #am-svc .sv-svc:hover .sv-svc__arrow { transform: translateX(4px); }
  #am-svc .sv-svc__proof:hover { background: rgba(109, 40, 217, .12); border-color: rgba(109, 40, 217, .45); }
}
#am-svc .sv-svc:focus-within .sv-svc__num, #am-svc .sv-svc:target .sv-svc__num { color: var(--sv-gold-ink); -webkit-text-stroke-color: transparent; }
#am-svc .sv-svc:target::before { opacity: 1; transform: none; }
#am-svc .sv-growth { display: grid; grid-template-columns: 44px auto minmax(0, 1fr) 20px; align-items: center; gap: 16px; margin-top: 36px; padding: 18px 22px; border-radius: 18px; border: 1px dashed rgba(27, 18, 53, .22); color: var(--sv-ink); transition: border-color .3s, background-color .3s; }
#am-svc .sv-growth__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: #db2777; box-shadow: 0 8px 20px -12px rgba(27, 18, 53, .4); }
#am-svc .sv-growth__icon .sv-ico { width: 20px; height: 20px; }
#am-svc .sv-growth__title { font: 800 18px/1.2 var(--sv-display); }
#am-svc .sv-growth__text { font-size: 15px; color: var(--sv-ink-3); }
#am-svc .sv-growth__arrow { width: 16px; height: 16px; fill: var(--sv-gold-ink); transition: transform .25s var(--sv-ease); }
@media (hover: hover) { #am-svc .sv-growth:hover { border-color: var(--sv-gold-ink); background: #fff; } #am-svc .sv-growth:hover .sv-growth__arrow { transform: translateX(4px); } }

/* ---------- 6. software + hardware (plum) ---------- */
#am-svc .sv-eng { position: relative; isolation: isolate; padding: 104px 0; background: radial-gradient(80% 60% at 50% 50%, #26145c 0%, var(--sv-night) 50%, var(--sv-void) 100%); overflow: hidden; }
#am-svc .sv-eng__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 360px) minmax(0, 1fr); grid-template-areas: "copy device flow"; gap: 44px; align-items: center; }
#am-svc .sv-eng__copy { grid-area: copy; display: flex; flex-direction: column; gap: 18px; }
#am-svc .sv-eng__lead { font-size: 16.5px; color: var(--sv-fog); }
#am-svc .sv-device { grid-area: device; display: flex; flex-direction: column; gap: 12px; }
#am-svc .sv-device__frame { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1), 0 0 80px -30px rgba(251, 191, 36, .5); aspect-ratio: 3 / 4; background: #111; }
#am-svc .sv-device__frame img { width: 100%; height: 100%; object-fit: cover; }
#am-svc .sv-device__spot { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(8, 8, 24, .78); border: 1px solid rgba(255, 220, 133, .5); font: 700 12.5px/1 var(--sv-display); color: var(--sv-gold-hi); white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#am-svc .sv-device__spot i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--sv-gold); box-shadow: 0 0 0 4px rgba(251, 191, 36, .25); }
#am-svc .sv-device__spot--display { left: 50%; top: 36%; }
#am-svc .sv-device__spot--tap { left: 16%; top: 70%; }
#am-svc .sv-device__scan { position: absolute; left: 30%; right: 32%; top: 32%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 236, 170, .95), transparent); box-shadow: 0 0 16px 4px rgba(251, 191, 36, .45); opacity: 0; }
#am-svc .sv-eng.is-on .sv-device__scan { animation: sv-scan 4.8s ease-in-out infinite; }
@keyframes sv-scan { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 55% { opacity: 1; transform: translateY(150px); } 70%, 100% { opacity: 0; transform: translateY(150px); } }
#am-svc .sv-eng.is-on .sv-device__spot i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(251, 191, 36, .8); animation: sv-ping 2.4s ease-out infinite; }
@keyframes sv-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
#am-svc .sv-device__cap { font-size: 13px; color: rgba(195, 185, 230, .82); text-align: center; }
#am-svc .sv-flow { grid-area: flow; position: relative; display: grid; gap: 4px; }
#am-svc .sv-flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, rgba(251, 191, 36, .5), rgba(139, 92, 246, .5)); border-radius: 2px; }
#am-svc .sv-flow::after { content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 46px; border-radius: 8px; background: linear-gradient(180deg, transparent, #fff1c2 50%, transparent); box-shadow: 0 0 18px 4px rgba(251, 191, 36, .6); opacity: 0; }
#am-svc .sv-eng.is-on .sv-flow::after { animation: sv-pulse 5.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes sv-pulse { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 88% { opacity: 1; transform: translateY(var(--flow-h, 380px)); } 100% { opacity: 0; transform: translateY(var(--flow-h, 380px)); } }
#am-svc .sv-flow__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "icon title" "icon text"; column-gap: 16px; padding: 9px 0; }
#am-svc .sv-flow__icon { grid-area: icon; position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, #3a2580, #150c3c); border: 1px solid rgba(255, 220, 133, .45); color: var(--sv-gold-hi); box-shadow: 0 0 0 5px var(--sv-night); }
#am-svc .sv-flow__icon .sv-ico { width: 18px; height: 18px; }
#am-svc .sv-flow__step:nth-child(n+4) .sv-flow__icon { border-color: rgba(196, 181, 253, .5); color: var(--sv-violet-hi); }
#am-svc .sv-flow__title { grid-area: title; font: 700 16px/1.3 var(--sv-display); color: #fff; padding-top: 2px; }
#am-svc .sv-flow__text { grid-area: text; font-size: 14px; line-height: 1.5; color: var(--sv-fog); }

/* ---------- 7. technology layers (paper) ---------- */
#am-svc .sv-caps { position: relative; padding: 104px 0; background: linear-gradient(180deg, #fbfaff 0%, var(--sv-paper) 100%); color: var(--sv-ink); overflow: hidden; }
#am-svc .sv-caps__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
#am-svc .sv-caps__copy { display: flex; flex-direction: column; gap: 16px; }
#am-svc .sv-caps__lead { font-size: 16px; color: var(--sv-ink-3); max-width: 34em; }
#am-svc .sv-caps__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
#am-svc .sv-cap__link { display: grid; grid-template-columns: 40px minmax(0, 1fr) 14px; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(27, 18, 53, .08); box-shadow: 0 10px 24px -20px rgba(27, 18, 53, .5); transition: border-color .3s, box-shadow .3s, transform .3s var(--sv-ease); }
#am-svc .sv-cap__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(160deg, #3a2580, #1a0f48); color: var(--sv-gold-hi); }
#am-svc .sv-cap__icon .sv-ico { width: 18px; height: 18px; }
#am-svc .sv-cap__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#am-svc .sv-cap__title { font: 700 15px/1.3 var(--sv-display); color: var(--sv-ink); }
#am-svc .sv-cap__text { font-size: 13.5px; line-height: 1.45; color: var(--sv-ink-3); }
#am-svc .sv-cap__arrow { width: 13px; height: 13px; fill: var(--sv-gold-ink); transition: transform .25s var(--sv-ease); }
#am-svc .sv-cap.is-hot .sv-cap__link, #am-svc .sv-cap__link:focus-visible { border-color: rgba(138, 90, 18, .5); box-shadow: 0 18px 34px -22px rgba(76, 58, 160, .55); transform: translateY(-2px); }
#am-svc .sv-cap.is-hot .sv-cap__arrow { transform: translateX(3px); }

/* the stack: six glass plates in an isometric view; the script spreads them while the section scrolls and lifts
   the one whose line is pointed at */
#am-svc .sv-stack { position: relative; height: 520px; perspective: 1800px; }
#am-svc .sv-plate {
  --gap: calc(64px + var(--spread, 0) * 26px);
  position: absolute; left: 50%; top: 50%; width: 290px; height: 170px;
  margin: -85px 0 0 -145px;
  z-index: calc(10 - var(--i));
  transform: rotateX(58deg) rotateZ(-40deg) translateZ(calc((2.5 - var(--i)) * var(--gap) + var(--lift, 0px)));
  transition: transform .7s var(--sv-ease);
}
#am-svc .sv-plate__face {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 0 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(237, 233, 254, .9));
  border: 1px solid rgba(139, 92, 246, .32);
  box-shadow: 0 26px 40px -26px rgba(49, 34, 120, .6), inset 0 1px 0 #fff;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
#am-svc .sv-plate__icon { width: 24px; height: 24px; fill: #4c1d95; flex: none; }
#am-svc .sv-plate__label { font: 800 16px/1.2 var(--sv-display); color: #2e1065; }
#am-svc .sv-plate.is-hot { --lift: 30px; }
#am-svc .sv-plate.is-hot .sv-plate__face { background: linear-gradient(135deg, #fff8df, #ffe08f); border-color: rgba(217, 140, 10, .7); box-shadow: 0 34px 50px -26px rgba(180, 110, 10, .6), inset 0 1px 0 #fff; }
#am-svc .sv-plate.is-hot .sv-plate__icon { fill: #8a5a12; }

/* ---------- 8. how we work (plum) ---------- */
#am-svc .sv-process { position: relative; padding: 100px 0 108px; background: linear-gradient(180deg, var(--sv-night), var(--sv-void)); overflow: hidden; }
#am-svc .sv-process__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
#am-svc .sv-process__track { position: relative; }
#am-svc .sv-process__line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#am-svc .sv-process__base { fill: none; stroke: rgba(196, 181, 253, .22); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
#am-svc .sv-process__lit { fill: none; stroke: var(--sv-gold); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .8)); }
#am-svc .sv-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
#am-svc .sv-step { position: relative; display: flex; flex-direction: column; gap: 10px; }
#am-svc .sv-step__node { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a2c9a, #1a0e48 70%); border: 1px solid rgba(196, 181, 253, .35); color: var(--sv-violet-hi); box-shadow: 0 0 0 8px var(--sv-night); transition: border-color .5s, color .5s, box-shadow .5s; }
#am-svc .sv-step__node .sv-ico { width: 22px; height: 22px; }
#am-svc .sv-step.is-lit .sv-step__node { border-color: rgba(255, 220, 133, .9); color: var(--sv-gold-hi); box-shadow: 0 0 0 8px var(--sv-night), 0 0 30px 2px rgba(251, 191, 36, .45); }
#am-svc .sv-step__num { font: 800 14px/1 var(--sv-display); letter-spacing: .1em; color: var(--sv-gold); padding-top: 8px; }
#am-svc .sv-step__title { font: 800 21px/1.2 var(--sv-display); color: #fff; }
#am-svc .sv-step__text { font-size: 14.5px; line-height: 1.55; color: var(--sv-fog); }

/* ---------- 9. brands: all twenty logos (paper) ---------- */
#am-svc .sv-brands { position: relative; padding: 96px 0; color: var(--sv-ink); background: radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, .1), transparent 70%), linear-gradient(180deg, #f3f0fa 0%, #fbfaff 100%); }
#am-svc .sv-brands__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "eyebrow eyebrow" "title note"; column-gap: 48px; row-gap: 14px; align-items: end; margin-bottom: 40px; }
#am-svc .sv-brands__head .sv-eyebrow { grid-area: eyebrow; }
#am-svc .sv-brands__title { grid-area: title; max-width: 13em; }
#am-svc .sv-brands__note { grid-area: note; font-size: 15px; line-height: 1.6; color: var(--sv-ink-3); }
#am-svc .sv-brands__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
#am-svc .sv-brand {
  position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px 22px;
  border-radius: 18px; background: #fff; border: 1px solid rgba(27, 18, 53, .07);
  box-shadow: 0 14px 30px -24px rgba(49, 34, 120, .45);
  transition: transform .35s var(--sv-ease), box-shadow .35s, border-color .35s;
}
#am-svc .sv-brand__box { display: block; width: 100%; aspect-ratio: 2.4; }
#am-svc .sv-brand img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; transform: scale(var(--z, 1)) translate(var(--tx, 0), var(--ty, 0)); }
/* a glint walks across the wall, one card after another */
#am-svc .sv-brand::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(251, 191, 36, .16) 48%, rgba(139, 92, 246, .1) 54%, transparent 66%); opacity: 0; }
#am-svc .sv-brands.is-on .sv-brand::after { animation: sv-glint 10s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes sv-glint { 0%, 86%, 100% { opacity: 0; transform: translateX(-30%); } 92% { opacity: 1; } 97% { opacity: 0; transform: translateX(30%); } }
@media (hover: hover) { #am-svc .sv-brand:hover { transform: translateY(-3px); border-color: rgba(109, 40, 217, .25); box-shadow: 0 22px 40px -24px rgba(49, 34, 120, .55); } }

/* ---------- 10. contact (gold-lit plum) ---------- */
#am-svc .sv-final { position: relative; isolation: isolate; padding: 96px 0; background: radial-gradient(90% 120% at 85% 50%, #3a1f78 0%, #1a0d40 45%, var(--sv-void) 85%); overflow: hidden; }
#am-svc .sv-final__light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 92% 50%, rgba(251, 191, 36, .28), transparent 70%),
    conic-gradient(from 200deg at 100% 60%, transparent 0deg, rgba(251, 191, 36, .14) 20deg, transparent 40deg, rgba(139, 92, 246, .16) 70deg, transparent 100deg);
}
#am-svc .sv-final__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; align-items: center; }
#am-svc .sv-final__copy { display: flex; flex-direction: column; gap: 16px; }
#am-svc .sv-final__text { font-size: 17px; color: var(--sv-fog); max-width: 32em; }
#am-svc .sv-final__actions { display: grid; gap: 12px; }
#am-svc .sv-final__actions .sv-btn { justify-content: flex-start; padding: 0 24px; }
#am-svc .sv-final__page { justify-self: start; }

/* ---------- the enlarged screen ---------- */
#am-svc .sv-lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 4, 20, .94); color: #fff; }
#am-svc .sv-lightbox::backdrop { background: rgba(8, 4, 20, .6); }
#am-svc .sv-lightbox[open] { display: grid; place-items: center; }
#am-svc .sv-lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(94vw, 1500px); max-height: 92vh; padding: 56px 0 24px; overflow: auto; }
#am-svc .sv-lightbox__img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 40px 100px -30px #000; }
#am-svc .sv-lightbox__fig.is-portrait { width: min(94vw, 620px); }
#am-svc .sv-lightbox__cap { font-size: 14.5px; color: var(--sv-fog); text-align: center; }
#am-svc .sv-lightbox__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(23, 12, 56, .82); color: #fff; }
#am-svc .sv-lightbox__btn .sv-ico { width: 18px; height: 18px; }
#am-svc .sv-lightbox__close { right: max(16px, env(safe-area-inset-right, 0px)); top: max(16px, env(safe-area-inset-top, 0px)); }
#am-svc .sv-lightbox__prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -24px; }
#am-svc .sv-lightbox__next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -24px; }

/* ---------- reveal while scrolling (the script adds .sv-pre only to what is below the screen at load) ---------- */
#am-svc .sv-pre { opacity: 0; transform: translateY(34px); }
#am-svc .sv-pre.sv-pre--fade { transform: none; }   /* anchor targets (the services): only a fade, so anchors land exactly */
#am-svc .sv-pre.sv-in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.1s var(--sv-ease); transition-delay: var(--d, 0s); }


/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  #am-svc { --sv-gut: 28px; }
  /* the words and the buttons first, the core under them */
  #am-svc .sv-core__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #am-svc .sv-title, #am-svc .sv-lead { max-width: 700px; }
  #am-svc .sv-core__scene { width: 100%; max-width: 760px; margin: 0 auto; }
  #am-svc .sv-anco__head { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  #am-svc .sv-anco__demo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #am-svc .sv-anco__rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; order: 2; }
  #am-svc .sv-anco__stepbtn { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 12px; }
  #am-svc .sv-anco__stepdesc { display: none; }
  #am-svc .sv-anco__bar { left: 12px; right: 12px; }
  #am-svc .sv-anco__side { display: contents; }
  #am-svc .sv-anco__side > .sv-motion { order: 3; justify-self: center; }
  #am-svc .sv-anco__caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #am-svc .sv-case { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #am-svc .sv-case__text { max-width: 640px; }
  #am-svc .sv-eng__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); grid-template-areas: "copy device" "flow device"; }
  #am-svc .sv-caps__grid { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sv-stack { height: 420px; order: -1; }
  #am-svc .sv-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 0; }
  #am-svc .sv-step { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-areas: "node num" "node title" "node text"; column-gap: 20px; row-gap: 4px; }
  #am-svc .sv-step__node { grid-area: node; }
  #am-svc .sv-step__num { grid-area: num; padding-top: 2px; }
  #am-svc .sv-step__title { grid-area: title; }
  #am-svc .sv-step__text { grid-area: text; }
  #am-svc .sv-brands__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "note"; }
  #am-svc .sv-brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #am-svc .sv-final__row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  #am-svc { --sv-gut: 18px; font-size: 15.5px; }
  #am-svc .sv-core { padding: 36px 0 56px; }
  #am-svc .sv-title { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.07; }
  #am-svc .sv-lead { font-size: 16px; }
  #am-svc .sv-actions { flex-direction: column; align-items: stretch; }
  #am-svc .sv-actions .sv-btn { width: 100%; }
  /* the core on its own, the seven directions as a grid of chips under it (the active one lights up) */
  #am-svc .sv-stage { aspect-ratio: auto; max-height: none; display: flex; flex-direction: column; gap: 14px; }
  #am-svc .sv-stage__links { display: none; }
  #am-svc .sv-stage__core { position: relative; inset: auto; aspect-ratio: 1.22 / 1; margin: 0 -8px; }
  #am-svc .sv-orbit { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; pointer-events: auto; }
  #am-svc .sv-node, #am-svc .sv-core.is-on .sv-node { position: static; transform: none; animation: none; translate: none; }
  #am-svc .sv-node--all { display: block; }
  #am-svc .sv-node__link { width: 100%; max-width: none; height: 100%; min-height: 54px; gap: 9px; padding: 6px 10px 6px 6px; border-radius: 14px; }
  #am-svc .sv-node__tile { width: 34px; height: 34px; border-radius: 10px; }
  #am-svc .sv-node__icon { width: 16px; height: 16px; }
  #am-svc .sv-node__name { font-size: 13px; }
  #am-svc .sv-node__sub { display: none; }
  #am-svc .sv-stage__hint { display: none; }
  #am-svc .sv-h2 { font-size: clamp(27px, 7.4vw, 34px); }
  #am-svc .sv-anco, #am-svc .sv-cases, #am-svc .sv-services, #am-svc .sv-eng, #am-svc .sv-caps, #am-svc .sv-brands { padding: 72px 0; }
  #am-svc .sv-process { padding: 68px 0 76px; }
  #am-svc .sv-anco__title { font-size: clamp(30px, 8.6vw, 40px); }
  #am-svc .sv-anco__lead { font-size: 16px; }
  #am-svc .sv-anco__actions { flex-direction: column; align-items: stretch; }
  #am-svc .sv-anco__actions .sv-btn { width: 100%; }
  /* phones: the phone screens are the picture; the steps a row of chips that scrolls */
  #am-svc .sv-anco__rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 6px; scroll-padding: 0 18px; }
  #am-svc .sv-anco__rail::-webkit-scrollbar { display: none; }
  #am-svc .sv-anco__step { flex: none; }
  #am-svc .sv-anco__stepbtn { display: flex; align-items: center; gap: 10px; width: auto; padding: 6px 14px 6px 6px; border-radius: 999px; border-color: rgba(27, 18, 53, .1); background: #fff; }
  #am-svc .sv-anco__num { width: 32px; height: 32px; font-size: 13px; }
  #am-svc .sv-anco__steptext { padding: 0; }
  #am-svc .sv-anco__steptitle { font-size: 14px; white-space: nowrap; }
  #am-svc .sv-anco__bar { left: 14px; right: 14px; bottom: 3px; }
  #am-svc .sv-anco__shot { padding-bottom: 0; }
  #am-svc .sv-anco__zoom { display: none; }
  #am-svc .sv-anco__phones { position: relative; right: auto; bottom: auto; width: 62%; margin: 0 auto; }
  #am-svc .sv-anco__shot[data-step="app"] .sv-anco__phones { width: 46%; transform: translateX(26%); }
  #am-svc.sv-js .sv-anco__stage { aspect-ratio: auto; height: min(132vw, 560px); }
  #am-svc.sv-js .sv-anco__phones { position: absolute; left: 0; right: 0; top: 0; }
  #am-svc.sv-js .sv-anco__shot[data-step="app"] .sv-anco__phones { left: 0; right: 0; }
  #am-svc.sv-js .sv-anco__scan { display: none; }

  #am-svc .sv-anco__caps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  #am-svc .sv-anco__foot { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sv-anco__logos { gap: 14px 26px; }
  #am-svc .sv-anco__logos img { height: 20px; }
  #am-svc .sv-anco__logos li:last-child img { height: 26px; }
  #am-svc .sv-cases__head, #am-svc .sv-services__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "intro"; margin-bottom: 28px; }
  #am-svc .sv-services__head { grid-template-areas: "eyebrow" "title" "lead"; }
  #am-svc .sv-show__tabs { display: none; }
  #am-svc .sv-show__body { gap: 64px; }
  #am-svc .sv-case__screens { --sv-shot: 88%; margin: 0 -18px; padding: 6px 18px 10px; scroll-padding: 0 18px; }
  #am-svc .sv-case__links { flex-direction: column; align-items: stretch; }
  #am-svc .sv-case__links .sv-btn { width: 100%; white-space: normal; text-align: center; }
  #am-svc .sv-list { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sv-svc { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "icon title" "num text" "num feats" "num foot"; padding: 22px 0; column-gap: 14px; }
  #am-svc .sv-svc__num { font-size: 22px; -webkit-text-stroke-width: 1px; padding-top: 4px; }
  #am-svc .sv-svc__icon { width: 40px; height: 40px; }
  #am-svc .sv-svc__title { font-size: 18.5px; }
  #am-svc .sv-svc::before { inset: 0 -10px; }
  #am-svc .sv-growth { grid-template-columns: 44px minmax(0, 1fr) 16px; grid-template-areas: "icon title arrow" "icon text arrow"; row-gap: 2px; }
  #am-svc .sv-growth__icon { grid-area: icon; } #am-svc .sv-growth__title { grid-area: title; } #am-svc .sv-growth__text { grid-area: text; } #am-svc .sv-growth__arrow { grid-area: arrow; }
  #am-svc .sv-eng__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "device" "flow"; gap: 36px; }
  #am-svc .sv-device { max-width: 330px; margin: 0 auto; width: 100%; }
  #am-svc .sv-caps__list { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sv-stack { height: 300px; }
  #am-svc .sv-plate { width: 210px; height: 124px; margin: -62px 0 0 -105px; --gap: calc(44px + var(--spread, 0) * 12px); }
  #am-svc .sv-plate__face { padding: 0 16px; border-radius: 16px; gap: 10px; }
  #am-svc .sv-plate__icon { width: 18px; height: 18px; }
  #am-svc .sv-plate__label { font-size: 12.5px; }
  #am-svc .sv-brands__head { margin-bottom: 28px; }
  #am-svc .sv-brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #am-svc .sv-brand { height: auto; padding: 14px 16px; border-radius: 16px; }
  #am-svc .sv-final { padding: 72px 0; }
  #am-svc .sv-final__actions .sv-btn { width: 100%; }
}
@media (max-width: 380px) {
  #am-svc .sv-title { font-size: 28px; }
  #am-svc .sv-node__link { padding: 6px 7px 6px 5px; gap: 7px; }
  #am-svc .sv-node__tile { width: 30px; height: 30px; border-radius: 9px; }
  #am-svc .sv-node__name { font-size: 12px; overflow-wrap: anywhere; }
}

/* ---------- reduced motion: no loops, no parallax; everything stays readable and usable ---------- */
@media (prefers-reduced-motion: reduce) {
  #am-svc .sv-pre { opacity: 1; transform: none; }
  #am-svc .sv-eng .sv-device__scan, #am-svc .sv-eng .sv-flow::after, #am-svc .sv-device__spot i::after,
  #am-svc .sv-stage__shine, #am-svc .sv-node, #am-svc .sv-stage__links line, #am-svc .sv-brand::after, #am-svc .sv-anco__scan::before { animation: none !important; }
  #am-svc .sv-plate, #am-svc .sv-screen, #am-svc .sv-anco__zoom, #am-svc .sv-anco__phones, #am-svc .sv-anco__shot { transition: none !important; }
}
