/* The home page (lab/home_rebuild.py): what its Studio documents cannot hold. The shared service page stylesheet is
   loaded before this one and styles the client logos, the questions and the shared type; this file adds the banner
   slides with their tabs, moving pictures and glass panels, the panel of the services, and the hover and whole-row
   links of the home page's own sections. */

/* The second part of a heading is the brand blue, upright. Buttons follow the service pages: blue for the main
   action, an outline for the second. */
#Form [data-qs-layout="homepage"] section[id^="hm_"] :is(h1, h2, h3) em { font-style: normal; color: #00aeef; }
#Form [data-qs-layout="homepage"] section[id^="hm_"] :is(h1, h2) { text-wrap: balance; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] :is([data-qs-role="bw-primary"], [data-qs-role="bw-secondary"]) { transition: background-color .25s, border-color .25s, color .25s; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] [data-qs-role="bw-primary"] { background-color: #00aeef !important; border-color: #00aeef !important; color: #06131d !important; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] [data-qs-role="bw-primary"]:is(:hover, :focus-visible) { background-color: #17212b !important; border-color: #17212b !important; color: #f6fafd !important; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] [data-qs-role="bw-secondary"] { background-color: transparent !important; border-color: #17212b !important; color: #17212b !important; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] [data-qs-role="bw-secondary"]:is(:hover, :focus-visible) { background-color: #17212b !important; color: #f6fafd !important; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] :is([data-qs-role="bw-primary"], [data-qs-role="bw-secondary"], [data-qs-role="hm-ghost"]) .qs-studio-arrow { transition: translate .25s; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_"] :is([data-qs-role="bw-primary"], [data-qs-role="bw-secondary"], [data-qs-role="hm-ghost"]):is(:hover, :focus-visible) .qs-studio-arrow { translate: 3px -3px; }

/* ------------------------------------------------------------------ banner slides
   Four slides, one service each; one shows at a time. Without the script the first stands alone; while the page is
   being edited every slide is shown, one under the other, so each can be changed. */
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] { position: relative; isolation: isolate; background-repeat: no-repeat !important; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] ~ section[id^="hm_slide_"]:not([data-hm-slide]) { display: none; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] { display: block; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="off"] { display: none; }
.qs-editor-host[data-qs-editor-state]:not([data-qs-editor-state="view"]) section[id^="hm_slide_"] { display: block !important; }
#Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-slide-txt"] > * { animation: hm-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
#Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-slide-txt"] > :nth-child(3) { animation-delay: .08s; }
#Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-slide-txt"] > :nth-child(4) { animation-delay: .16s; }
#Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-glass"] { animation: hm-arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hm-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes hm-arrive { from { opacity: 0; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-title"] { text-wrap: balance; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-ghost"] { background-color: rgba(255, 255, 255, .07) !important; border-color: rgba(255, 255, 255, .55) !important; color: #f5f6f7 !important; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-ghost"]:is(:hover, :focus-visible) { background-color: rgba(255, 255, 255, .18) !important; border-color: #f5f6f7 !important; }
#Form [data-qs-layout="homepage"] .qs-studio-page section[id^="hm_slide_"] [data-qs-role="bw-primary"]:is(:hover, :focus-visible) { background-color: #f6fafd !important; border-color: #f6fafd !important; color: #06131d !important; }
/* The words of a slide's tab stand over its headline as saved; for visitors the row of tabs shows them. */
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-tab-kind"] { color: rgba(245, 246, 247, .72) !important; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-live] [data-qs-role="hm-slide-tab"] { display: none !important; }

/* A slide with a moving picture. The document names a still; while the slide is shown the script lays the film of
   the same name over it (lab/home_films.py). On a wide screen the picture fills the right of the banner and fades
   into the slide's colour towards the words. Studio makes every node a positioning box; the slide's inner box is
   released from that, so the picture is placed against the slide. */
#Form [data-qs-layout="homepage"] #hm_slide_apps { background-image: radial-gradient(46vw 36vw at 0 100%, rgba(0, 174, 239, .16), transparent 60%) !important; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-in"] { position: static !important; transform: none !important; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-film"] { position: relative; margin: 0; overflow: hidden; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-film"] img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-film"] img.hm-film { opacity: 0; transition: opacity .8s; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-playing] [data-qs-role="hm-slide-film"] img.hm-film { opacity: 1; }
@media (min-width: 900px) {
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-film"] { position: absolute !important; z-index: -1; top: 0; right: 0; bottom: 0; width: 64%; height: auto !important; transform: none !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 44%); mask-image: linear-gradient(to right, transparent 0, #000 44%); }
}

/* The ecommerce slide: the designer's model is the section's background picture, on her red. */
#Form [data-qs-layout="homepage"] #hm_slide_store { background-image: var(--n-background-image), radial-gradient(110% 120% at 68% 30%, #b3171f 0%, #84121c 42%, #4f0c17 100%) !important; background-size: auto 95%, cover !important; background-position: 58% 100%, center !important; }

/* The panels. Every slide has a stage on its right: glass cards, each carrying a small screen of software (a drawing
   from lab/home_banner_art.py, or the words of an assistant). Sizes and places are counted in a unit, a hundredth of
   the height a banner leaves between its top and its tabs, so a composition keeps its shape at every width. As saved,
   and on a narrow screen, the stage is not used: the panels are a plain grid, and on a phone they are left out. */
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"] { --hm-u: calc((clamp(560px, 52vw, 920px) - clamp(164px, 14vw, 314px)) / 100); --hm-k: 1; }
#Form [data-qs-layout="homepage"] [data-qs-role="hm-card-draw"] { margin: 0; }
#Form [data-qs-layout="homepage"] [data-qs-role="hm-card-draw"] img { display: block; width: 100%; height: auto; }
#Form [data-qs-layout="homepage"] :is([data-qs-role="hm-card-a"], [data-qs-role="hm-card-b"], [data-qs-role="hm-card-c"], [data-qs-role="hm-card-d"], [data-qs-role="hm-card-e"]) { min-width: 0; border: 1px solid rgba(255, 255, 255, .34) !important; background: linear-gradient(125deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 50px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
#Form [data-qs-layout="homepage"] #hm_slide_store :is([data-qs-role="hm-card-a"], [data-qs-role="hm-card-b"], [data-qs-role="hm-card-c"], [data-qs-role="hm-card-d"], [data-qs-role="hm-card-e"]) { border-color: rgba(255, 255, 255, .6) !important; background: linear-gradient(125deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 44px rgba(20, 4, 8, .22); }
/* Over a light picture (the building, a website) the glass is dark, so the screens read. */
#Form [data-qs-layout="homepage"] :is(#hm_slide_apps, #hm_slide_web) :is([data-qs-role="hm-card-a"], [data-qs-role="hm-card-b"], [data-qs-role="hm-card-c"], [data-qs-role="hm-card-d"], [data-qs-role="hm-card-e"]) { border-color: rgba(255, 255, 255, .3) !important; background: linear-gradient(125deg, rgba(24, 31, 41, .9), rgba(11, 14, 19, .86)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 22px 60px rgba(0, 0, 0, .5); }
/* A panel of words: the assistant. */
#Form [data-qs-layout="homepage"] [data-qs-role="hm-card-d"] { display: flex; flex-direction: column; gap: calc(var(--hm-u) * 1.5); padding: calc(var(--hm-u) * 2.6); }
#Form [data-qs-layout="homepage"] [data-qs-role="hm-card-d"] [data-qs-role="hm-card-title"] { font-size: max(12px, calc(var(--hm-u) * 2.3)) !important; }
#Form [data-qs-layout="homepage"] :is([data-qs-role="hm-card-ask"], [data-qs-role="hm-card-answer"]) { padding: calc(var(--hm-u) * 1.3) calc(var(--hm-u) * 1.7); background-color: rgba(255, 255, 255, .12) !important; font-size: max(10.5px, calc(var(--hm-u) * 1.95)) !important; }
#Form [data-qs-layout="homepage"] [data-qs-role="hm-card-answer"] { background-color: rgba(0, 174, 239, .22) !important; box-shadow: inset 2px 0 0 #00c8f0; }
/* Two things stand on a stage without glass: the orbits of the AI slide and the phone of the websites slide. */
#Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-o"], #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-d"] { padding: 0; border: 0 !important; background: none !important; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
#Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-o"] { pointer-events: none; }
#Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-d"] { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); }
@media (min-width: 900px) {
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-glass"] { display: block !important; position: relative; justify-self: end; align-self: stretch; width: min(100%, calc(var(--hm-u) * 150)); scale: var(--hm-k); transform-origin: 100% 50%; }
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-glass"] > * { position: absolute !important; z-index: 1; margin: 0 !important; transform: perspective(1400px) rotateY(-9deg) !important; transform-origin: 100% 50%; }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-o"] { z-index: 0; transform: none !important; }
  /* The designer's panes: the whole stage is turned towards the model. */
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-glass"] { transform: perspective(1500px) rotateY(-14deg) rotateX(2deg) !important; transform-origin: 100% 50%; }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-glass"] > * { transform: none !important; }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-b"], #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-b"] { transform: perspective(1400px) rotateY(8deg) !important; transform-origin: 0 50%; }
  #Form [data-qs-layout="homepage"] #hm_slide_apps :is([data-qs-role="hm-card-a"], [data-qs-role="hm-card-b"]) { transform: perspective(1400px) rotateY(8deg) !important; transform-origin: 0 50%; }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-d"] { transform: perspective(1400px) rotateY(-14deg) rotateZ(3deg) !important; }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-a"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 0); width: calc(var(--hm-u) * 72); }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-b"] { right: calc(var(--hm-u) * 38); top: calc(var(--hm-u) * 34); width: calc(var(--hm-u) * 34); }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-c"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 34); width: calc(var(--hm-u) * 35); }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-d"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 62.5); width: calc(var(--hm-u) * 35); }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-e"] { right: calc(var(--hm-u) * 77); top: calc(var(--hm-u) * 86); width: calc(var(--hm-u) * 46); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-o"] { right: calc(var(--hm-u) * 6); top: calc(var(--hm-u) * -18); width: calc(var(--hm-u) * 128); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-a"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 0); width: calc(var(--hm-u) * 62); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-c"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 36); width: calc(var(--hm-u) * 44); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-b"] { right: calc(var(--hm-u) * 82); top: calc(var(--hm-u) * 50); width: calc(var(--hm-u) * 58); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-d"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * 75); width: calc(var(--hm-u) * 44); }
  #Form [data-qs-layout="homepage"] #hm_slide_apps [data-qs-role="hm-card-a"] { right: calc(var(--hm-u) * 86); top: calc(var(--hm-u) * 0); width: calc(var(--hm-u) * 42); }
  #Form [data-qs-layout="homepage"] #hm_slide_apps [data-qs-role="hm-card-b"] { right: calc(var(--hm-u) * 86); top: calc(var(--hm-u) * 80); width: calc(var(--hm-u) * 42); }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-a"] { right: calc(var(--hm-u) * 0); top: calc(var(--hm-u) * -3); width: calc(var(--hm-u) * 42); }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-d"] { right: calc(var(--hm-u) * 2); top: calc(var(--hm-u) * 29); width: calc(var(--hm-u) * 20); }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-c"] { right: calc(var(--hm-u) * 26); top: calc(var(--hm-u) * 73); width: calc(var(--hm-u) * 46); }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-b"] { right: calc(var(--hm-u) * 86); top: calc(var(--hm-u) * 69); width: calc(var(--hm-u) * 48); }
}
@media (min-width: 1800px) {
  /* A wide screen leaves room between the words and the stage: the whole composition is shown larger, from its right edge. */
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] { --hm-k: 1.15; }
}
@media (min-width: 2300px) {
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] { --hm-k: 1.25; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  /* Between a phone and a desk screen the stage is narrow: the panels that reach furthest left are left out. */
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-card-b"], #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-card-b"], #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-card-e"] { display: none !important; }
}
/* While a slide is shown its panels drift, each at its own pace, and the assistant's question and answer are said again and again. */
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-a"] { animation: hm-drift 7.5s ease-in-out infinite; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-b"] { animation: hm-drift 8.5s ease-in-out -3s infinite; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-c"] { animation: hm-drift 6.5s ease-in-out -1.5s infinite; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-d"] { animation: hm-drift 9s ease-in-out -4s infinite; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-e"] { animation: hm-drift 7s ease-in-out -2.5s infinite; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-ask"] { animation: hm-say 8s ease-out 1s infinite both; }
#Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role="hm-card-answer"] { animation: hm-say 8s ease-out 2.4s infinite both; }
@keyframes hm-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 clamp(-12px, -.7vw, -6px); } }
@keyframes hm-say { 0% { opacity: 0; translate: 0 10px; } 7% { opacity: 1; translate: 0 0; } 80% { opacity: 1; translate: 0 0; } 90%, 100% { opacity: 0; translate: 0 0; } }

/* The AI slide: no photograph. The stylesheet draws a dark sphere with a lit rim and a slow turning light behind it;
   the orbits and the panels stand around and over it. Its place is counted from the same unit as the stage. */
#Form [data-qs-layout="homepage"] #hm_slide_ai { --hm-orb: calc(var(--hm-u) * 76 * var(--hm-k)); --hm-orb-x: calc(100% - 4vw - var(--hm-u) * 70 * var(--hm-k)); --hm-orb-y: calc(clamp(40px, 4vw, 90px) + var(--hm-u) * (50 - 4 * var(--hm-k)));
  background-image: radial-gradient(46vw 36vw at 0 100%, rgba(0, 174, 239, .13), transparent 60%) !important; }
#Form [data-qs-layout="homepage"] #hm_slide_ai::after { content: ""; position: absolute; z-index: -2; left: var(--hm-orb-x); top: var(--hm-orb-y); width: calc(var(--hm-orb) * 1.22); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, #00aeef, #8fe9ff 16%, #1f6bff 36%, #7a3cff 56%, #00d0f0 78%, #00aeef); filter: blur(clamp(28px, 3.2vw, 76px)); opacity: .78; }
#Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-slide-in"]::after { content: ""; position: absolute; z-index: -1; left: var(--hm-orb-x); top: var(--hm-orb-y); width: var(--hm-orb); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 36% 28%, #1d2a38 0, #0e1218 44%, #08090c 100%);
  box-shadow: 0 0 0 1.5px rgba(143, 233, 255, .8), 0 0 70px 6px rgba(0, 174, 239, .42), inset 0 0 90px rgba(0, 174, 239, .38), inset 0 0 18px rgba(143, 233, 255, .5); }
#Form [data-qs-layout="homepage"] #hm_slide_ai[data-hm-slide="on"]::after { animation: hm-turn 26s linear infinite; }
#Form [data-qs-layout="homepage"] #hm_slide_ai[data-hm-slide="on"] [data-qs-role="hm-slide-in"]::after { animation: hm-glow 7s ease-in-out infinite; }
@keyframes hm-turn { to { rotate: 360deg; } }
@keyframes hm-glow { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }

/* The websites slide: one client website on a screen turned in space. While the slide is shown the screen drifts and
   its page travels down and back. */
#Form [data-qs-layout="homepage"] #hm_slide_web { background-image: radial-gradient(52vw 42vw at 78% 38%, rgba(0, 174, 239, .2), transparent 62%), radial-gradient(46vw 36vw at 0 100%, rgba(0, 174, 239, .12), transparent 60%), linear-gradient(120deg, #1d2024, #0d0f12) !important; }
#Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-web-screen"] { max-width: none !important; margin: 0; background: #fff; border: 1px solid rgba(255, 255, 255, .34) !important; border-radius: clamp(6px, .6vw, 12px) !important;
  box-shadow: -40px 50px 110px rgba(0, 0, 0, .6); transform: perspective(1900px) rotateY(-23deg) rotateX(8deg) rotateZ(3deg) !important; transform-origin: 55% 50%; }
#Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-web-screen"] img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: inherit; }
#Form [data-qs-layout="homepage"] #hm_slide_web[data-hm-slide="on"] [data-qs-role="hm-web-screen"] { animation: hm-drift 9s ease-in-out infinite; }
#Form [data-qs-layout="homepage"] #hm_slide_web[data-hm-slide="on"] [data-qs-role="hm-web-screen"] img { animation: hm-travel 13s ease-in-out 1s infinite alternate both; }
@media (min-width: 900px) {
  /* The screen is as large as the height of the banner allows and takes no room of its own, so it does not make its
     slide taller than the others. */
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-web-show"] { display: flex; align-items: center; height: 0; align-self: center; }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-web-screen"] { flex: 0 0 auto; width: min(104%, calc((clamp(560px, 52vw, 920px) - clamp(164px, 14vw, 314px)) * 1.7)) !important; }
}
@keyframes hm-travel { 0%, 10% { object-position: 50% 0; } 90%, 100% { object-position: 50% 100%; } }

/* The tabs, added by the script: one per slide, standing directly over the foot of the banner. A tab is an icon, a
   few words and the name of the service; the current one is lit and a line under it fills while the slide waits.
   There is no bar behind them: the foot of the banner only grows darker towards its edge, so the words read on any
   slide. The slides stop while the pointer or the keyboard is on them. */
#Form [data-qs-layout="homepage"] .hm-tabs { --hm-tabs: clamp(84px, 6.6vw, 140px); position: relative; z-index: 4; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: clamp(10px, 2vw, 48px); height: var(--hm-tabs); margin: calc(-1 * var(--hm-tabs)) 0 0; padding: 0 4vw; }
#Form [data-qs-layout="homepage"] .hm-tabs::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 260%; pointer-events: none; background: linear-gradient(to top, rgba(8, 10, 13, .8) 0, rgba(8, 10, 13, .46) 36%, rgba(8, 10, 13, .14) 70%, rgba(8, 10, 13, 0) 100%); }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab { position: relative; display: flex; align-items: center; gap: clamp(10px, 1.1vw, 26px); min-width: 0; margin: 0; padding: 0 0 clamp(6px, .6vw, 14px); border: 0; border-radius: 0; background: transparent; color: rgba(245, 246, 247, .6); text-align: left; cursor: pointer; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); transition: color .25s; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: #00aeef; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab:is(:hover, :focus-visible), #Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[aria-current="true"] { color: #f5f6f7; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab:focus-visible { outline: 2px solid #00aeef; outline-offset: -2px; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[aria-current="true"]::after { width: 100%; }
#Form [data-qs-layout="homepage"] .hm-tabs[data-hm-running] .hm-tab[aria-current="true"]::after { animation: hm-fill var(--hm-pause, 8s) linear both; }
@keyframes hm-fill { from { width: 0; } to { width: 100%; } }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-icon { flex: 0 0 auto; width: clamp(34px, 3.3vw, 70px); aspect-ratio: 1; background: currentColor; -webkit-mask: var(--hm-icon) center / contain no-repeat; mask: var(--hm-icon) center / contain no-repeat; transition: background-color .25s; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[aria-current="true"] .hm-tab-icon { background: #00aeef; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[data-hm-tab="ai"] { --hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='12' width='24' height='24' rx='4'/%3E%3Cpath d='M18 12V6M24 12V6M30 12V6M18 42v-6M24 42v-6M30 42v-6M12 18H6M12 24H6M12 30H6M42 18h-6M42 24h-6M42 30h-6'/%3E%3Cpath d='M24 17.5l1.9 4.6 4.6 1.9-4.6 1.9-1.9 4.6-1.9-4.6-4.6-1.9 4.6-1.9z'/%3E%3C/svg%3E"); }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[data-hm-tab="apps"] { --hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='38' height='32' rx='3'/%3E%3Cpath d='M5 16h38M16 16v24M9.5 22h3M9.5 27h3M9.5 32h3M21 23h17M21 29h11'/%3E%3Crect x='21' y='33.5' width='9' height='3.2' rx='1.2'/%3E%3C/svg%3E"); }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[data-hm-tab="store"] { --hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17h30l-2.4 25H11.4z'/%3E%3Cpath d='M17 22v-8a7 7 0 0 1 14 0v8'/%3E%3Cpath d='M20 31l3 3 6-6.5'/%3E%3C/svg%3E"); }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab[data-hm-tab="web"] { --hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='7' width='38' height='27' rx='3'/%3E%3Cpath d='M17 42h14M24 34v8M5 14h38M10 20h12M10 25h8'/%3E%3Crect x='27' y='19' width='11' height='10' rx='1.5'/%3E%3C/svg%3E"); }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab:not([data-hm-tab="ai"], [data-hm-tab="apps"], [data-hm-tab="store"], [data-hm-tab="web"]) .hm-tab-icon { display: none; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-words { display: flex; flex-direction: column; gap: clamp(1px, .2vw, 4px); min-width: 0; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-kind { font: 400 clamp(11px, .7vw, 14px)/1.25 Inter, system-ui, sans-serif; opacity: .82; }
#Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-name { font: 700 clamp(14px, 1.4vw, 30px)/1.12 "QS Title", Outfit, system-ui, sans-serif; letter-spacing: -.01em; }

@media (max-width: 1279px) {
  #Form [data-qs-layout="homepage"] #hm_slide_store { background-position: 62% 100%, center !important; }
}
@media (max-width: 899px) {
  /* On a phone the words come first and the picture stands under them; the glass panels are left out. */
  #Form [data-qs-layout="homepage"] #hm_slide_store { background-size: auto 62vw, cover !important; background-position: 50% 100%, center !important; }
  #Form [data-qs-layout="homepage"] #hm_slide_store [data-qs-role="hm-slide-in"] { padding-bottom: calc(62vw + 20px) !important; }
  #Form [data-qs-layout="homepage"] [data-qs-role="hm-glass"] { display: none !important; }
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"] [data-qs-role="hm-slide-film"] { width: calc(100% + 12vw) !important; max-width: none !important; margin-left: -6vw !important; align-self: end; }
  /* The tabs: the icon over the name. Under a picture that would hide them the slide keeps a dark foot for them. */
  #Form [data-qs-layout="homepage"] .hm-tabs { --hm-tabs: 78px; padding: 0 6vw; column-gap: 8px; }
  #Form [data-qs-layout="homepage"] .hm-tabs .hm-tab { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 5px; padding-bottom: 9px; }
  #Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-icon { width: 22px; }
  #Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-kind { display: none; }
  #Form [data-qs-layout="homepage"] .hm-tabs .hm-tab-name { font-size: 11.5px; }
  #Form [data-qs-layout="homepage"] :is(#hm_slide_apps, #hm_slide_web) [data-qs-role="hm-slide-in"] { padding-bottom: 84px !important; }
  #Form [data-qs-layout="homepage"] #hm_slide_ai { --hm-orb: 44vw; --hm-orb-x: 50%; --hm-orb-y: calc(100% - 26vw - 84px); }
  #Form [data-qs-layout="homepage"] #hm_slide_ai [data-qs-role="hm-slide-in"] { padding-bottom: calc(56vw + 84px) !important; }
  #Form [data-qs-layout="homepage"] #hm_slide_web [data-qs-role="hm-web-screen"] { width: 100% !important; transform: perspective(1200px) rotateY(-14deg) rotateX(6deg) rotateZ(2deg) !important; box-shadow: -18px 24px 50px rgba(0, 0, 0, .55); }
}
@media (prefers-reduced-motion: reduce) {
  #Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-slide-txt"] > *, #Form [data-qs-layout="homepage"] section[data-hm-slide="on"] [data-qs-role="hm-glass"] { animation: none; }
  #Form [data-qs-layout="homepage"] section[id^="hm_slide_"][data-hm-slide="on"] [data-qs-role^="hm-card-"] { animation: none; }
  #Form [data-qs-layout="homepage"] #hm_slide_ai[data-hm-slide="on"]::after, #Form [data-qs-layout="homepage"] #hm_slide_ai[data-hm-slide="on"] [data-qs-role="hm-slide-in"]::after { animation: none; }
  #Form [data-qs-layout="homepage"] #hm_slide_web[data-hm-slide="on"] [data-qs-role="hm-web-screen"], #Form [data-qs-layout="homepage"] #hm_slide_web[data-hm-slide="on"] [data-qs-role="hm-web-screen"] img { animation: none; }
}

/* ------------------------------------------------------------------ introduction */
#Form [data-qs-layout="homepage"] #hm_intro [data-qs-role="bw-fact"]:last-child { box-shadow: none; margin-right: 0; }
#Form [data-qs-layout="homepage"] #hm_intro [data-qs-role="bw-lead"] a { color: #0079a6 !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .2s; }
#Form [data-qs-layout="homepage"] #hm_intro [data-qs-role="bw-lead"] a:is(:hover, :focus-visible) { color: #17212b !important; }

/* ------------------------------------------------------------------ services (dark): a list that drives a panel
   As saved, each service row is its drawing and name with its panel under it: the benefit, a sentence, a paragraph,
   what the service covers and a link. That is what the editor works on, and what a browser without the script shows. */
#Form [data-qs-layout="homepage"] #hm_services { position: relative; isolation: isolate; }
#Form [data-qs-layout="homepage"] #hm_services::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50vw 38vw at 0 100%, rgba(0, 174, 239, .13), transparent 62%), radial-gradient(40vw 30vw at 100% 30%, rgba(0, 174, 239, .08), transparent 60%); }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service"]:last-child { box-shadow: 0 -1px 0 rgba(255, 255, 255, .16), 0 1px 0 rgba(255, 255, 255, .16); }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-main"] { position: relative; align-content: center; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-main"]::after { content: "\2192"; position: absolute; right: clamp(4px, .6vw, 14px); top: 50%; translate: 0 -50%; color: #f5f6f7; font: 400 clamp(20px, 1.6vw, 32px)/1 Outfit, system-ui, sans-serif; transition: translate .35s cubic-bezier(.2, .7, .2, 1), color .25s; pointer-events: none; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-art"] { margin: 0; transform-origin: left center; transition: opacity .3s, scale .45s cubic-bezier(.2, .7, .2, 1); }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-art"] img { display: block; width: 100%; height: 100%; object-fit: contain; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-link"] { background: transparent !important; border: 0 !important; color: #f5f6f7 !important; text-decoration: none; text-align: left; position: static; transform: none !important; filter: none !important; transition: color .25s; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-link"] .qs-studio-arrow { display: none; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-main"]:is(:hover, :focus-within) [data-qs-role="hm-service-link"] { color: #00aeef !important; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-service-main"]:is(:hover, :focus-within)::after { translate: 6px -50%; color: #00aeef; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-link"] { z-index: 2; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-link"]::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
/* The panel's words: links inside the paragraph, a tick before each thing the service covers, the link to the page. */
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-text"] a { color: #6fd3ff !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .2s; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-text"] a:is(:hover, :focus-visible) { color: #f5f6f7 !important; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-item"] { padding-left: 1.6em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%2300aeef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 .2em / 1.05em 1.05em; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-link"] { background: transparent !important; border: 0 !important; padding: 0 !important; color: #00aeef !important; text-decoration: none; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-link"]:is(:hover, :focus-visible) { color: #f5f6f7 !important; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-link"] .qs-studio-arrow { transition: translate .25s; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-case-link"]:is(:hover, :focus-visible) .qs-studio-arrow { translate: 3px -3px; }
#Form [data-qs-layout="homepage"] .qs-studio-page #hm_services [data-qs-role="bw-primary"]:is(:hover, :focus-visible) { background-color: #f6fafd !important; border-color: #f6fafd !important; color: #06131d !important; }

/* For visitors (the script marks the section) one service is on at a time: the one the pointer or the keyboard is on.
   Nothing changes by itself. The row that is on is marked by a blue line and its drawing comes forward. */
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-main"] { background: linear-gradient(#00aeef, #00aeef) no-repeat left top / 0 2px; transition: background-size .35s cubic-bezier(.2, .7, .2, 1); }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-main"] { background-size: 100% 2px; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-art"] { opacity: .6; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-art"], #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-main"]:is(:hover, :focus-within) [data-qs-role="hm-service-art"] { opacity: 1; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-art"] { scale: 1.14; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-link"] { color: #00aeef !important; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-main"]::after { translate: 6px -50%; color: #00aeef; }
/* A panel that is not on is put away at once, so two panels are never seen together; the words of the one that is on
   arrive quickly. */
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-case"] > * { animation: hm-stage-in .32s cubic-bezier(.2, .7, .2, 1) both; }
#Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-case"] > :nth-child(n+3) { animation-delay: .05s; }
@keyframes hm-stage-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (min-width: 1024px) {
  /* Beside the list. The list becomes a grid of two columns and its rows dissolve into it: the names stand in the
     first column, one under the other, and every panel takes the whole of the second. Only the panel that is on is
     visible, but all of them are measured, so the column is as tall as the longest panel and no taller, and the names
     share that height. The frame of the panel is drawn once, behind them all. */
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-list"] { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr) !important; column-gap: clamp(28px, 3.4vw, 84px); }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-list"]::after { content: ""; grid-column: 2; grid-row: 1 / span var(--hm-rows, 7); z-index: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), inset 0 2px 0 #00aeef, 0 40px 110px rgba(0, 0, 0, .45);
    background: radial-gradient(70% 55% at 100% 0, rgba(0, 174, 239, .16), transparent 70%), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% clamp(28px, 2.6vw, 56px),
      linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / clamp(28px, 2.6vw, 56px) 100%, #15181c; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"] { display: contents !important; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-main"] { grid-column: 1; box-shadow: 0 -1px 0 rgba(255, 255, 255, .16); }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"]:last-child [data-qs-role="hm-service-main"] { box-shadow: 0 -1px 0 rgba(255, 255, 255, .16), 0 1px 0 rgba(255, 255, 255, .16); }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-case"] { grid-column: 2; grid-row: 1 / span var(--hm-rows, 7); z-index: 1; visibility: hidden; justify-content: space-between; margin: 0 !important; padding: clamp(24px, 2.5vw, 60px) clamp(24px, 2.8vw, 68px) !important; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-case"] { visibility: visible; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-case-text"] { max-width: 46em; }
}
@media (max-width: 1023px) {
  /* Under its row: the panel of the service that is on is open, the others are closed. */
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-case"] { display: none !important; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-case"] { display: flex !important; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-main"] { scroll-margin-top: 96px; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"]:not([data-hm-on]) [data-qs-role="hm-service-main"]::after { content: "+"; }
}
@media (prefers-reduced-motion: reduce) {
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-case"] > * { animation: none; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service"][data-hm-on] [data-qs-role="hm-service-art"] { scale: none; }
  #Form [data-qs-layout="homepage"] #hm_services[data-hm-live] [data-qs-role="hm-service-main"] { transition: none; }
}

/* The technology logos under the list. Each logo file is 160 pixels tall with its mark at its own share of that height
   (home_technology_logos.py), so the marks look alike in weight when all are shown at one height. */
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-tech-logo"] { display: flex; align-items: center; margin: 0; opacity: .92; }
#Form [data-qs-layout="homepage"] #hm_services [data-qs-role="hm-tech-logo"] img { display: block; width: auto; height: 100%; max-width: none; }

/* ------------------------------------------------------------------ featured case studies: banner rows
   Each row is in the client's deep colour. One half shows the client's site, on a computer and on a phone, turned in
   space over a photograph; the other half holds the words. The halves change sides from row to row. The whole row
   is the link. For visitors the script keeps the first three in view and adds a button that shows the rest. */
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"] { position: relative; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"] h3 em { font-weight: 400 !important; color: rgba(245, 246, 247, .84) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-show"] { position: relative; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-photo"] { position: absolute !important; inset: 0; z-index: 0; margin: 0; transform: none !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-photo"] img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-photo"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 18, .18), rgba(13, 15, 18, .42)); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:is(:hover, :focus-within) [data-qs-role="hm-case-photo"] img { scale: 1.05; }
/* The two screens are turned together; while the pointer is on the row they turn a little towards the visitor. */
#Form [data-qs-layout="homepage"] #hm_cases :is([data-qs-role="hm-case-screen"], [data-qs-role="hm-case-phone"]) { position: absolute !important; margin: 0; overflow: hidden; background: #17212b; transform-origin: 50% 50%;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), box-shadow .9s; }
#Form [data-qs-layout="homepage"] #hm_cases :is([data-qs-role="hm-case-screen"], [data-qs-role="hm-case-phone"]) img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-screen"] { z-index: 1; left: 11%; top: 50%; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 255, 255, .3) !important; border-radius: clamp(5px, .5vw, 10px) !important;
  box-shadow: -30px 40px 80px rgba(0, 0, 0, .5); transform: translateY(-50%) perspective(1600px) rotateY(22deg) rotateX(7deg) rotateZ(-3deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-phone"] { z-index: 2; right: 9%; bottom: -9%; border: clamp(3px, .3vw, 6px) solid #17212b !important; border-radius: clamp(12px, 1.1vw, 24px) !important;
  box-shadow: -20px 30px 60px rgba(0, 0, 0, .55); transform: perspective(1600px) rotateY(22deg) rotateX(7deg) rotateZ(-3deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:is(:hover, :focus-within) [data-qs-role="hm-case-screen"] { transform: translateY(-50%) perspective(1600px) rotateY(13deg) rotateX(4deg) rotateZ(-2deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:is(:hover, :focus-within) [data-qs-role="hm-case-phone"] { transform: perspective(1600px) rotateY(13deg) rotateX(4deg) rotateZ(-2deg) translateY(-3%) !important; }
/* Every second row: the words on the left, the screens on the right and turned the other way. */
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-show"] { order: 2; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-photo"]::after { background: linear-gradient(270deg, rgba(13, 15, 18, .18), rgba(13, 15, 18, .42)); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-screen"] { left: auto; right: 11%; box-shadow: 30px 40px 80px rgba(0, 0, 0, .5); transform: translateY(-50%) perspective(1600px) rotateY(-22deg) rotateX(7deg) rotateZ(3deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-phone"] { right: auto; left: 9%; box-shadow: 20px 30px 60px rgba(0, 0, 0, .55); transform: perspective(1600px) rotateY(-22deg) rotateX(7deg) rotateZ(3deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even):is(:hover, :focus-within) [data-qs-role="hm-case-screen"] { transform: translateY(-50%) perspective(1600px) rotateY(-13deg) rotateX(4deg) rotateZ(2deg) !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even):is(:hover, :focus-within) [data-qs-role="hm-case-phone"] { transform: perspective(1600px) rotateY(-13deg) rotateX(4deg) rotateZ(2deg) translateY(-3%) !important; }
@media (min-width: 900px) {
  #Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) { grid-template-columns: minmax(0, .54fr) minmax(0, .46fr) !important; }
}
/* The words. The logo is the client's own, in white, and stands on the row's colour without a plate. */
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-logo"] { display: flex; align-items: center; margin: 0; background: none !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-logo"] img { display: block; width: auto; height: 100%; max-width: clamp(150px, 13vw, 300px); object-fit: contain; object-position: left center; }
/* What the client has now: three short statements under a hairline, each with one sentence. No ticks. */
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-fact"] { min-width: 0; padding-right: clamp(6px, .6vw, 14px); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-gain-t"] { color: rgba(245, 246, 247, .86) !important; }
/* The photograph fades into the row's colour on the side of the words, so the picture and the colour are one. */
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-photo"] { -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 100%); mask-image: linear-gradient(to right, #000 52%, transparent 100%); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-photo"] { -webkit-mask-image: linear-gradient(to left, #000 52%, transparent 100%); mask-image: linear-gradient(to left, #000 52%, transparent 100%); }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-more"] { background: transparent !important; border: 0 !important; padding: 0 !important; color: #f5f6f7 !important; text-decoration: none; position: static; transform: none !important; filter: none !important; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-more"] .qs-studio-arrow { color: #f5f6f7; transition: translate .25s; }
#Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:is(:hover, :focus-within) [data-qs-role="hm-case-more"] .qs-studio-arrow { translate: 3px -3px; }
/* The whole row is the link. Studio makes every node a positioning box; the words' box is released from that, so the
   link reaches over the whole row and not only over its own half. */
#Form [data-qs-layout="homepage"] #hm_cases[data-hm-live] [data-qs-role="hm-case-txt"] { position: static !important; transform: none !important; }
#Form [data-qs-layout="homepage"] #hm_cases[data-hm-live] [data-qs-role="hm-case-more"] { z-index: 3; }
#Form [data-qs-layout="homepage"] #hm_cases[data-hm-live] [data-qs-role="hm-case-more"]::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
/* The rows after the third wait behind a button. */
#Form [data-qs-layout="homepage"] #hm_cases[data-hm-live]:not([data-hm-all]) [data-qs-role="hm-case"]:nth-child(n+4) { display: none !important; }
#Form [data-qs-layout="homepage"] #hm_cases .hm-cases-more { display: flex; justify-content: center; margin: clamp(18px, 1.8vw, 40px) 0 0; }
#Form [data-qs-layout="homepage"] #hm_cases .hm-cases-more button { display: inline-flex; align-items: center; gap: .6em; padding: 14px 22px; border: 1px solid #17212b; border-radius: 0; background: transparent; color: #17212b; font: 600 15px/1.2 Inter, system-ui, sans-serif; cursor: pointer; transition: background-color .25s, color .25s; }
#Form [data-qs-layout="homepage"] #hm_cases .hm-cases-more button:is(:hover, :focus-visible) { background: #17212b; color: #f6fafd; }
@media (max-width: 899px) {
  #Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-show"] { order: 0; }
  #Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"] [data-qs-role="hm-case-photo"], #Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case"]:nth-child(even) [data-qs-role="hm-case-photo"] { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
}
@media (prefers-reduced-motion: reduce) {
  #Form [data-qs-layout="homepage"] #hm_cases :is([data-qs-role="hm-case-screen"], [data-qs-role="hm-case-phone"]), #Form [data-qs-layout="homepage"] #hm_cases [data-qs-role="hm-case-photo"] img { transition: none; }
}

/* ------------------------------------------------------------------ industries */
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"] { position: relative; overflow: hidden; transition: background-color .3s; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"]::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: #00aeef; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"]:is(:hover, :focus-within) { background-color: #f1f9fd !important; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"]:is(:hover, :focus-within)::after { transform: scaleX(1); }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry-art"] { flex-shrink: 0; margin: 0; transition: scale .35s cubic-bezier(.2, .7, .2, 1); }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry-art"] img { display: block; width: 100%; height: 100%; object-fit: contain; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"]:is(:hover, :focus-within) [data-qs-role="hm-industry-art"] { scale: 1.1; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry-link"] { flex: 1 1 0; min-width: 0; display: flex !important; align-self: center !important; align-items: center; justify-content: space-between; background: transparent !important; border: 0 !important; text-decoration: none; gap: .6em; text-align: left; position: static; transform: none !important; filter: none !important; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry-link"] .qs-studio-arrow { color: #00aeef; }
#Form [data-qs-layout="homepage"] #hm_industries [data-qs-role="hm-industry"]:is(:hover, :focus-within) [data-qs-role="hm-industry-link"] { color: #0079a6 !important; }
#Form [data-qs-layout="homepage"] #hm_industries[data-hm-live] [data-qs-role="hm-industry-link"] { z-index: 2; }
#Form [data-qs-layout="homepage"] #hm_industries[data-hm-live] [data-qs-role="hm-industry-link"]::after { content: ""; position: absolute; inset: 0; cursor: pointer; }

/* ------------------------------------------------------------------ what clients say */
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice"] { position: relative; box-shadow: 0 0 0 1px #d9e0e6, inset 0 2px 0 #00aeef; }
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice-quote"] { margin: 0; padding: 0; border: 0; quotes: "\201C" "\201D"; }
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice-quote"]::after { content: none; }
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice-logo"] { display: flex; align-items: center; margin: 0; }
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice-logo"] img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
#Form [data-qs-layout="homepage"] #hm_voices [data-qs-role="hm-voice-by"] { margin-top: auto; }

/* ------------------------------------------------------------------ the row of projects and the closing */
#Form [data-qs-layout="homepage"] .qs-projects.qs-projects-related { --qs-projects-space: clamp(44px, 3.8vw, 84px); --qs-projects-heading-size: clamp(34px, 3.9vw, 84px); }
@media (max-width: 831px) {
  #Form [data-qs-layout="homepage"] .qs-projects.qs-projects-related { --qs-projects-space: 44px; }
}
