/* AIMarket.World — index.html V11 (owner's master T3 V11 of 04.11.2026).
   The homepage speaks the shared language of the site's newer pages (services-v3.css tokens, fonts and buttons,
   svc-pages.css, svc-gc.css, the V7 runtime) in the T3's palette: near-black graphite and ink, champagne gold for what
   you act on and what matters, a little lilac light. One WebGL world stands fixed behind the page (svc-scene-h11.js);
   the sections of the story (arrival, matter, cases, navigator, conversion) are transparent over it, the calm sections
   (services, the brand video, the process, the logos) are solid and cover it — the scene draws nothing while covered.
   Without WebGL or JavaScript the world is a still picture of the same scene and every text, case and link is HTML.
   Everything is scoped to <main id="am-svc" class="sx-page sx-page--h11">. */

/* ---------- palette ---------- */
#am-svc.sx-page--h11 {
  --sv-void: #090B10;            /* ink */
  --sv-night: #10141A;           /* graphite */
  --sv-graphite: #151a22;
  --sv-deep: #1c222c;
  --sv-brand: #8f78c6;
  --sv-violet: #B197D6;          /* lilac light */
  --sv-violet-hi: #d8cbee;
  --sv-gold: #E9BA71;            /* champagne gold */
  --sv-gold-hi: #F2D7A4;
  --sv-gold-ink: #7a5726;        /* gold for text on the paper band: 6.4:1 */
  --sv-text: #f3f0e9;
  --sv-fog: #b4b7c2;             /* secondary text: 10:1 on ink */
  --sv-paper: #f4f1ea;
  --sv-paper-2: #ebe6dc;
  --sv-ink: #14161c;
  --sv-ink-2: #2a2d36;
  --sv-ink-3: #4b4f5b;
  --sv-line: rgba(180, 183, 194, .14);
  --h11-edge: rgba(233, 186, 113, .28);
  --h11-glass: linear-gradient(180deg, rgba(18, 22, 29, .82) 0%, rgba(10, 12, 17, .78) 100%);
  --h11-node: radial-gradient(circle at 50% 50%, #fff6e4 0 18%, #F2D7A4 19% 40%, transparent 41%);
  position: relative; isolation: isolate; display: block; margin: 0;
  background: var(--sv-void); color: var(--sv-text);
}
#am-svc.sx-page--h11 [id] { scroll-margin-top: calc(var(--sv-hdr) + 16px); }
#am-svc.sx-page--h11 :focus-visible { outline: 2px solid var(--sv-gold-hi); outline-offset: 3px; }
#am-svc.sx-page--h11 .sv-btn--gold { color: #1a1309; background: linear-gradient(180deg, #f6dfb4 0%, #E9BA71 54%, #c99752 100%); }
#am-svc.sx-page--h11 .sv-link { color: var(--sv-gold-hi); }
#am-svc.sx-page--h11 .sv-link__lead { width: 17px; height: 17px; fill: currentColor; margin-right: 2px; }
#am-svc.sx-page--h11 .h11-h2 { font: 800 clamp(32px, 3.6vw, 52px)/1.04 var(--sv-display); letter-spacing: -.028em; text-wrap: balance; color: var(--sv-text); }

/* ---------- the world: fixed under the site's header; a still picture until the scene draws its first frame ---------- */
#am-svc .h11-world { position: fixed; z-index: 0; left: 0; right: 0; top: var(--sv-hdr); bottom: 0; overflow: hidden; pointer-events: none; background: var(--sv-void); contain: strict; }
#am-svc .h11-world__poster, #am-svc .h11-world__poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#am-svc .h11-world__poster img { object-fit: cover; object-position: 50% 50%; }
#am-svc .h11-world__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
#am-svc .h11-world.is-on .h11-world__canvas { opacity: 1; }
#am-svc .h11-world__veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 60% 40%, transparent 55%, rgba(9, 11, 16, .55) 100%); }
#am-svc.h11-live .h11-world.is-on .h11-world__poster { visibility: hidden; transition: visibility 0s 1s; }

/* every section of the story is transparent over the world; the calm ones cover it */
#am-svc .h11-hero, #am-svc .h11-matter, #am-svc .h11-cases, #am-svc .h11-nav, #am-svc .h11-final { position: relative; z-index: 1; background: transparent; }
#am-svc .h11-services, #am-svc .h11-reel, #am-svc .h11-process, #am-svc .h11-brands { position: relative; z-index: 2; }

/* ---------- 1 Arrival ---------- */
#am-svc .h11-hero { min-height: max(640px, 100svh); padding-top: var(--sv-hdr); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
#am-svc .h11-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 11, 16, .86) 0%, rgba(9, 11, 16, .62) 30%, rgba(9, 11, 16, .12) 56%, rgba(9, 11, 16, 0) 70%),
              linear-gradient(0deg, rgba(9, 11, 16, .7) 0%, rgba(9, 11, 16, 0) 22%); }
#am-svc .h11-hero > .sv-wrap { width: 100%; box-sizing: border-box; }
#am-svc .h11-hero__wrap { display: flex; align-items: center; }
#am-svc .h11-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; max-width: min(620px, 52vw); padding-block: 40px 24px; }
#am-svc .h11-what { max-width: 100%; }
#am-svc .h11-place { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 600 15px/1.3 var(--sv-display); letter-spacing: .01em; color: var(--sv-gold-hi); }
#am-svc .h11-place::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sv-gold); box-shadow: 0 0 12px rgba(233, 186, 113, .55); }
#am-svc .h11-title { margin: 0; font: 800 clamp(44px, 6vw, 96px)/.98 var(--sv-display); letter-spacing: -.038em; color: var(--sv-text); text-wrap: balance; }
#am-svc .h11-title__line { display: block; }
#am-svc .h11-title__line--gold { background: linear-gradient(180deg, #fff1d6 0%, #F2D7A4 30%, #E9BA71 62%, #b7843f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--sv-gold); padding-bottom: .06em; }
#am-svc .h11-lead { margin: 0; max-width: 31em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: #d6d7de; }
#am-svc .h11-actions { margin-top: 6px; }
#am-svc .h11-what ul { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px 0 0; padding: 0; list-style: none; }
#am-svc .h11-what a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px 0 18px; border-radius: 999px; color: var(--sv-fog); font: 600 14.5px/1.2 var(--sv-body); text-decoration: none; transition: color .25s, background .25s; }
#am-svc .h11-what a::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid var(--sv-gold); }
#am-svc .h11-what a:hover { color: var(--sv-gold-hi); background: rgba(233, 186, 113, .07); }
#am-svc .h11-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 0 26px; }
#am-svc .h11-scroll { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--sv-body); color: var(--sv-fog); }
#am-svc .h11-scroll__rail { position: relative; width: 2px; height: 40px; border-radius: 2px; background: rgba(180, 183, 194, .2); overflow: hidden; }
#am-svc .h11-scroll__rail i { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--sv-gold); animation: h11-rail 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes h11-rail { to { top: 110%; } }
#am-svc .h11-motion { min-height: 44px; border-color: rgba(180, 183, 194, .26); background: rgba(9, 11, 16, .7); color: var(--sv-text); }
#am-svc .h11-motion .sv-motion__ico { fill: var(--sv-gold); }

/* ---------- 2 Living Matter: the text holds while the camera comes close and passes through the A ---------- */
#am-svc .h11-matter { height: 190svh; }
#am-svc .h11-matter__wrap { position: sticky; top: calc(var(--sv-hdr) + 7vh); display: grid; gap: 34px; max-width: 1240px; }
#am-svc .h11-matter__copy { display: flex; flex-direction: column; gap: 16px; max-width: 520px; padding: 30px 32px; border-radius: 24px; background: linear-gradient(180deg, rgba(9, 11, 16, .74), rgba(9, 11, 16, .52)); border: 1px solid var(--sv-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
#am-svc .h11-matter__text { margin: 0; font-size: 17.5px; line-height: 1.6; color: #d6d7de; }
#am-svc .h11-matter__lines { display: grid; gap: 10px; max-width: 520px; margin: 0; padding: 0; list-style: none; }
#am-svc .h11-matter__line { position: relative; display: grid; gap: 4px; padding: 16px 20px 16px 52px; border-radius: 18px; background: rgba(9, 11, 16, .6); border: 1px solid var(--sv-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
#am-svc .h11-matter__line::before { content: ""; position: absolute; left: 20px; top: 21px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--sv-gold); box-shadow: 0 0 12px rgba(233, 186, 113, .5); }
#am-svc .h11-matter__line::after { content: ""; position: absolute; left: 26px; top: 37px; bottom: -11px; width: 2px; background: linear-gradient(180deg, rgba(233, 186, 113, .5), rgba(233, 186, 113, 0)); }
#am-svc .h11-matter__line:last-child::after { display: none; }
#am-svc .h11-matter__k { margin: 0; font: 700 17px/1.3 var(--sv-display); color: var(--sv-gold-hi); }
#am-svc .h11-matter__v { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--sv-fog); }

/* ---------- 3 Project Portals: a sticky stage; the scroll and the tabs choose the case, the world flies to its portal ---------- */
#am-svc .h11-cases { padding-top: 14vh; }
#am-svc .h11-cases__track { position: relative; height: calc(var(--n, 4) * 85svh + 20svh); }
#am-svc .h11-cases__stage { position: sticky; top: var(--sv-hdr); height: calc(100svh - var(--sv-hdr)); min-height: 560px; display: flex; flex-direction: column; overflow: hidden; }
#am-svc .h11-cases__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9, 11, 16, .82) 0%, rgba(9, 11, 16, .5) 30%, rgba(9, 11, 16, 0) 48%); }
#am-svc .h11-cases__wrap { width: 100%; margin-block: auto; padding-block: 14px; display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); grid-template-areas: "tabs ." "panels ."; gap: 14px; align-content: center; }
#am-svc .h11-cases__head { position: relative; display: flex; flex-direction: column; gap: 10px; padding-bottom: 8vh; }
#am-svc .h11-cases__head > * { max-width: 560px; }
#am-svc .h11-cases__head::before { content: ""; position: absolute; inset: -8vh -100vw 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9, 11, 16, .8) 0%, rgba(9, 11, 16, .4) 34%, rgba(9, 11, 16, 0) 52%); }
#am-svc .h11-cases__intro { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--sv-fog); max-width: 34em; }
#am-svc .h11-tabs { grid-area: tabs; display: flex; flex-wrap: wrap; gap: 8px; }
#am-svc .h11-tab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid rgba(180, 183, 194, .24); background: rgba(9, 11, 16, .62); color: var(--sv-fog); font: 700 14px/1 var(--sv-display); cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
#am-svc .h11-tab__n { font: 600 11.5px/1 var(--sv-body); font-variant-numeric: tabular-nums; color: rgba(180, 183, 194, .7); }
#am-svc .h11-tab[aria-selected="true"] { border-color: var(--sv-gold); color: var(--sv-gold-hi); background: rgba(233, 186, 113, .1); box-shadow: 0 0 0 1px rgba(233, 186, 113, .25), 0 10px 26px -14px rgba(233, 186, 113, .6); }
#am-svc .h11-tab[aria-selected="true"] .h11-tab__n { color: var(--sv-gold); }
@media (hover: hover) { #am-svc .h11-tab:hover { border-color: var(--sv-gold-hi); color: var(--sv-text); } }
#am-svc .h11-cases__panels { grid-area: panels; display: grid; }
#am-svc .h11-case { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; border-radius: 22px; background: var(--h11-glass); border: 1px solid var(--sv-line); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#am-svc .h11-case[hidden] { display: none; }
#am-svc .h11-case__count { margin: 0; font: 600 12.5px/1 var(--sv-body); font-variant-numeric: tabular-nums; color: var(--sv-fog); }
#am-svc .h11-case__count b { color: var(--sv-gold); font-weight: 700; }
#am-svc .h11-case__name { margin: 0; font: 800 clamp(26px, 2.4vw, 34px)/1.05 var(--sv-display); letter-spacing: -.02em; color: var(--sv-text); }
#am-svc .h11-case__kind { margin: 0; font: 600 15px/1.35 var(--sv-display); color: var(--sv-gold-hi); }
#am-svc .h11-case__text { margin: 0; font-size: 15px; line-height: 1.55; color: #d0d2d9; }
#am-svc .h11-case__facts { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
#am-svc .h11-case__facts li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.45; color: var(--sv-fog); }
#am-svc .h11-case__facts li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--sv-gold); }
#am-svc .h11-case__note { margin: 0; font-size: 13px; color: rgba(180, 183, 194, .8); }
#am-svc .h11-case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 6px; }
#am-svc .h11-case__shot { margin: 8px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--h11-edge); background: #0c0f15; }
#am-svc .h11-case__shot img { display: block; width: 100%; height: auto; }
#am-svc.h11-gl .h11-case__shot { display: none; }
/* no world (no WebGL, reduced data): the real screen of the chosen case stands where its portal would be */
@media (min-width: 761px) {
  #am-svc.sv-js:not(.h11-gl) .h11-cases__panels { grid-column: 1 / -1; }
  #am-svc.sv-js:not(.h11-gl) .h11-case { display: grid; grid-template-columns: minmax(0, 422px) minmax(0, 1fr); column-gap: 56px; row-gap: 10px; align-content: start; }
  #am-svc.sv-js:not(.h11-gl) .h11-case > * { grid-column: 1; }
  #am-svc.sv-js:not(.h11-gl) .h11-case > .h11-case__shot { grid-column: 2; grid-row: 1 / span 12; align-self: center; margin: 0; }
  #am-svc.sv-js:not(.h11-gl) .h11-case { padding: 20px 24px; }
  #am-svc.sv-js:not(.h11-gl) .h11-case__facts li:nth-child(n + 4) { display: none; }
}
@media (max-width: 760px) {
  #am-svc.sv-js:not(.h11-gl) .h11-cases__track { height: auto; }
  #am-svc.sv-js:not(.h11-gl) .h11-cases__stage { position: static; height: auto; padding-bottom: 20px; }
  #am-svc.sv-js:not(.h11-gl) .h11-case__shot { order: -1; margin: 0 0 6px; }
}
/* without JavaScript: every case is a block of the page, one after the other */
#am-svc:not(.sv-js) .h11-cases { padding-block: 80px; }
#am-svc:not(.sv-js) .h11-cases__track { height: auto; }
#am-svc:not(.sv-js) .h11-cases__stage { position: static; height: auto; min-height: 0; }
#am-svc:not(.sv-js) .h11-cases__panels { gap: 16px; }
#am-svc:not(.sv-js) .h11-case { grid-area: auto; }
#am-svc:not(.sv-js) .h11-tabs { display: none; }

/* ---------- 4 Intelligent Navigation ---------- */
#am-svc .h11-nav { height: 150svh; }
#am-svc .h11-nav__wrap { position: sticky; top: calc(var(--sv-hdr) + 6vh); display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); grid-template-areas: "head ." "opts ." "ans ."; gap: 18px; }
#am-svc .h11-nav__wrap::before { content: ""; position: absolute; inset: -6vh -100vw -40vh; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9, 11, 16, .82) 0%, rgba(9, 11, 16, .45) 28%, rgba(9, 11, 16, 0) 44%); }
#am-svc .h11-nav__head { grid-area: head; display: flex; flex-direction: column; gap: 10px; }
#am-svc .h11-nav__lead { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--sv-fog); }
#am-svc .h11-opts { grid-area: opts; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
#am-svc .h11-opt { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(180, 183, 194, .22); background: rgba(9, 11, 16, .66); color: var(--sv-text); font: 700 15.5px/1.25 var(--sv-display); text-align: left; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
#am-svc .h11-opt__ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; fill: var(--sv-gold); border: 1.5px solid rgba(233, 186, 113, .45); }
#am-svc .h11-opt[aria-pressed="true"] { border-color: var(--sv-gold); background: rgba(233, 186, 113, .1); color: var(--sv-gold-hi); }
@media (hover: hover) { #am-svc .h11-opt:hover { border-color: var(--sv-gold-hi); } }
#am-svc .h11-answers { grid-area: ans; display: grid; }
#am-svc .h11-answer { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 20px; background: var(--h11-glass); border: 1px solid var(--sv-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#am-svc .h11-answer[hidden] { display: none; }
#am-svc .h11-answer__t { margin: 0; font: 800 20px/1.2 var(--sv-display); color: var(--sv-gold-hi); }
#am-svc .h11-answer__text { margin: 0; font-size: 15.5px; line-height: 1.55; color: #d0d2d9; }
#am-svc .h11-answer__ex { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sv-fog); }
#am-svc .h11-answer__exk { color: var(--sv-gold); font-weight: 700; }
#am-svc .h11-answer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; }
#am-svc.sv-js .h11-answers.is-empty { min-height: 0; }
#am-svc:not(.sv-js) .h11-nav { height: auto; padding-block: 80px; }
#am-svc:not(.sv-js) .h11-nav__wrap { position: static; }
#am-svc:not(.sv-js) .h11-answers { gap: 12px; }
#am-svc:not(.sv-js) .h11-answer { grid-area: auto; }

/* ---------- the service lines (calm): a bento of six ---------- */
#am-svc .h11-services { padding: 120px 0 112px; background: linear-gradient(180deg, var(--sv-void) 0%, var(--sv-night) 40%, var(--sv-night) 100%); border-top: 1px solid var(--sv-line); }
#am-svc .h11-services__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow ." "title all"; align-items: end; gap: 12px 24px; margin-bottom: 40px; }
#am-svc .h11-services__head .sv-eyebrow { grid-area: eyebrow; }
#am-svc .h11-services__head .h11-h2 { grid-area: title; max-width: 18em; }
#am-svc .h11-services__all { grid-area: all; }
#am-svc .h11-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; margin: 0; padding: 0; list-style: none; }
#am-svc .h11-svc--big { grid-column: span 2; grid-row: span 2; }
#am-svc .h11-svc--wide { grid-column: span 2; }
#am-svc .h11-svc__link { position: relative; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; color: var(--sv-text); text-decoration: none; overflow: hidden;
  background: linear-gradient(180deg, #171c25 0%, #12161d 100%); border: 1px solid var(--sv-line); transition: border-color .3s, transform .3s var(--sv-ease); }
#am-svc .h11-svc__link::after { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 80%; pointer-events: none; background: radial-gradient(closest-side, rgba(233, 186, 113, .12), transparent); opacity: .6; transition: opacity .3s; }
#am-svc .h11-svc--big .h11-svc__link { padding: 34px; background: radial-gradient(90% 80% at 85% 100%, rgba(233, 186, 113, .14), transparent 60%), radial-gradient(70% 60% at 10% 0%, rgba(177, 151, 214, .1), transparent 60%), linear-gradient(180deg, #181d27 0%, #11151c 100%); }
#am-svc .h11-svc__ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(233, 186, 113, .45); }
#am-svc .h11-svc__ico .sv-ico { width: 22px; height: 22px; fill: var(--sv-gold); }
#am-svc .h11-svc__title { margin: 0; font: 800 20px/1.2 var(--sv-display); letter-spacing: -.01em; }
#am-svc .h11-svc--big .h11-svc__title { font-size: clamp(26px, 2.4vw, 34px); max-width: 12em; }
#am-svc .h11-svc__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sv-fog); }
#am-svc .h11-svc--big .h11-svc__text { font-size: 16.5px; max-width: 30em; }
#am-svc .h11-svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--sv-display); color: var(--sv-gold-hi); }
#am-svc .h11-svc__more .sv-link__arrow { width: 14px; height: 14px; fill: currentColor; transition: transform .3s; }
@media (hover: hover) {
  #am-svc .h11-svc__link:hover { border-color: var(--h11-edge); transform: translateY(-3px); }
  #am-svc .h11-svc__link:hover::after { opacity: 1; }
  #am-svc .h11-svc__link:hover .sv-link__arrow { transform: translateX(4px); }
}

/* ---------- the brand video (calm): the original video of the old homepage, unchanged ---------- */
#am-svc .h11-reel { padding: 104px 0; background: var(--sv-void); }
#am-svc .h11-reel__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
#am-svc .h11-reel__copy { display: flex; flex-direction: column; gap: 14px; }
#am-svc .h11-reel__text { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--sv-fog); max-width: 28em; }
#am-svc .h11-reel__frame { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--sv-line); background: #000; box-shadow: 0 40px 80px -50px rgba(177, 151, 214, .45); }
#am-svc .h11-reel__frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* ---------- the process (calm) and the logos (the paper band of the shared component) ---------- */
#am-svc .h11-process { background: linear-gradient(180deg, var(--sv-night) 0%, var(--sv-void) 100%); }
#am-svc .h11-process__lead { margin: 6px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--sv-fog); max-width: 40em; }
#am-svc .h11-brands { background: linear-gradient(180deg, #fbfaf6 0%, var(--sv-paper) 100%); }

/* ---------- 5 Conversion: the world comes back, warm, behind the contacts ---------- */
#am-svc .h11-final { min-height: max(620px, 92svh); display: flex; align-items: center; padding: 96px 0; background: transparent !important; }
#am-svc .h11-final::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9, 11, 16, .86) 0%, rgba(9, 11, 16, .55) 36%, rgba(9, 11, 16, .05) 64%), linear-gradient(0deg, rgba(9, 11, 16, .85) 0%, transparent 30%); }
#am-svc .h11-final .sv-final__row { width: 100%; grid-template-columns: minmax(0, 520px); justify-content: start; gap: 26px; }
#am-svc .h11-final .sv-final__actions { padding: 22px; border-radius: 22px; background: var(--h11-glass); border: 1px solid var(--sv-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- the world is not running (no WebGL, an error, reduced data): the picture stays ---------- */
#am-svc .h11-world.is-fallback .h11-world__poster { visibility: visible; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  #am-svc .h11-hero__copy { max-width: min(620px, 70vw); }
  #am-svc .h11-cases__wrap, #am-svc .h11-nav__wrap { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
  #am-svc .h11-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #am-svc .h11-svc--big { grid-row: span 1; }
  #am-svc .h11-reel__wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #am-svc .h11-final .sv-final__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- phones: their own composition — the world above, the words below ---------- */
@media (max-width: 760px) {
  #am-svc.sx-page--h11 .h11-h2 { font-size: clamp(28px, 8vw, 36px); }
  #am-svc .h11-hero { min-height: max(600px, 100svh); }
  #am-svc .h11-hero::before { background: linear-gradient(0deg, rgba(9, 11, 16, .96) 0%, rgba(9, 11, 16, .86) 34%, rgba(9, 11, 16, .3) 58%, rgba(9, 11, 16, 0) 72%); }
  #am-svc .h11-hero__wrap { align-items: flex-end; }
  #am-svc .h11-hero__copy { width: 100%; max-width: none; gap: 16px; padding-block: 0 12px; }
  #am-svc .h11-place { font-size: 14px; }
  #am-svc .h11-title { font-size: clamp(34px, 9.6vw, 46px); }
  #am-svc .h11-lead { font-size: 15.5px; line-height: 1.5; }
  #am-svc .h11-actions { width: 100%; }
  #am-svc .h11-actions .sv-btn { flex: 1 1 100%; justify-content: center; }
  #am-svc .h11-what a { font-size: 13.5px; padding: 0 10px 0 16px; }
  #am-svc .h11-hero__copy { padding-bottom: 100px; }
  #am-svc .h11-hero__foot { position: absolute; top: calc(var(--sv-hdr) + 10px); left: 0; right: 0; padding-block: 0; justify-content: flex-end; pointer-events: none; }
  #am-svc .h11-hero__foot > * { pointer-events: auto; }
  #am-svc .h11-motion { min-height: 40px; padding: 0 12px; font-size: 12.5px; }
  #am-svc .h11-scroll { display: none; }
  #am-svc .h11-what ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -6px; padding-inline: 6px; }
  #am-svc .h11-what ul::-webkit-scrollbar { display: none; }
  #am-svc .h11-what li { flex: none; }
  #am-svc .h11-matter { height: 170svh; }
  #am-svc .h11-matter__wrap { top: auto; bottom: 0; position: sticky; padding-bottom: 100px; }
  #am-svc .h11-matter { display: flex; align-items: flex-end; }
  #am-svc .h11-matter__copy { padding: 22px; border-radius: 20px; background: rgba(9, 11, 16, .82); }
  #am-svc .h11-matter__text { font-size: 15.5px; }
  #am-svc .h11-matter__lines { display: none; }
  #am-svc .h11-cases { padding-top: 10vh; }
  #am-svc .h11-cases__track { height: calc(var(--n, 4) * 80svh + 20svh); }
  #am-svc .h11-cases__head { padding-bottom: 6vh; }
  #am-svc .h11-cases__head::before { inset: -10vh -100vw 0; background: linear-gradient(0deg, rgba(9, 11, 16, .92) 0%, rgba(9, 11, 16, .6) 100%); }
  #am-svc .h11-cases__stage { min-height: 0; }
  #am-svc .h11-cases__wrap { margin-block: auto 0; }
  #am-svc .h11-cases__stage::before { background: linear-gradient(0deg, rgba(9, 11, 16, .97) 0%, rgba(9, 11, 16, .9) 46%, rgba(9, 11, 16, 0) 64%); }
  #am-svc .h11-cases__wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tabs" "panels"; gap: 10px; padding-bottom: 100px; }
  #am-svc .h11-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  #am-svc .h11-tabs::-webkit-scrollbar { display: none; }
  #am-svc .h11-tab { flex: none; font-size: 13px; padding: 0 12px 0 10px; }
  #am-svc .h11-case { padding: 18px; gap: 8px; border-radius: 18px; }
  #am-svc .h11-case__count { display: none; }
  #am-svc .h11-case__name { font-size: 24px; }
  #am-svc .h11-case__text { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #am-svc .h11-case__facts li:nth-child(n + 3) { display: none; }
  #am-svc .h11-case__note { display: none; }
  #am-svc:not(.sv-js) .h11-case__text { display: block; }
  #am-svc:not(.sv-js) .h11-case__facts li { display: block; }
  #am-svc .h11-nav { height: 140svh; }
  #am-svc .h11-nav__wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "opts" "ans"; gap: 12px; top: auto; bottom: 0; padding-bottom: 100px; }
  #am-svc .h11-nav { display: flex; align-items: flex-end; }
  #am-svc .h11-nav__wrap::before { inset: -40vh -100vw -6vh; background: linear-gradient(0deg, rgba(9, 11, 16, .97) 0%, rgba(9, 11, 16, .88) 55%, rgba(9, 11, 16, 0) 80%); }
  #am-svc .h11-nav__lead { font-size: 15px; }
  #am-svc .h11-opt { min-height: 54px; padding: 10px 12px; font-size: 14px; gap: 10px; }
  #am-svc .h11-opt__ico { width: 30px; height: 30px; padding: 7px; }
  #am-svc .h11-answer { padding: 18px; }
  #am-svc .h11-services { padding: 84px 0 80px; }
  #am-svc .h11-services__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "all"; margin-bottom: 28px; }
  #am-svc .h11-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  #am-svc .h11-svc--big, #am-svc .h11-svc--wide { grid-column: auto; }
  #am-svc .h11-svc__link, #am-svc .h11-svc--big .h11-svc__link { padding: 22px; }
  #am-svc .h11-reel { padding: 76px 0; }
  #am-svc .h11-final { min-height: 0; padding: 80px 0 110px; }
  #am-svc .h11-final::before { background: linear-gradient(0deg, rgba(9, 11, 16, .92) 0%, rgba(9, 11, 16, .74) 60%, rgba(9, 11, 16, .3) 100%); }
}

/* ---------- reduced motion: no drifting rail, no transitions ---------- */
@media (prefers-reduced-motion: reduce) {
  #am-svc .h11-scroll__rail i { animation: none; top: 30%; }
  #am-svc .h11-world__canvas { transition: none; }
  #am-svc .h11-svc__link, #am-svc .h11-tab, #am-svc .h11-opt { transition: none; }
}
