.mega-all { display: none; }   /* the "All ..." link is only for the mobile menu */
.abt-cities { display: none; }
/* ---------- mobile and tablet (max 1180px, every iPad in both orientations): a real phone layout instead of the scaled 1440 canvas. Sections are plain stacked blocks, nothing is pinned, text is sized for reading. ---------- */
.nav-burger { display: none; }
@media (max-width: 1180px) {
  :root { --mg: 20px; }   /* the side gutter: 20px on phones, wider on tablets (below) */
  html, body { overflow-x: clip; }
  body { font-size: 16px; }
  #app { width: auto; zoom: 1 !important; }

  /* ---- nav ---- */
  .nav { height: 56px; background: var(--dark-grey); z-index: 50; align-items: center; } .nav::after, .nav::before { display: none; }
  .nav-brand { flex: 1; padding: 0 var(--mg); border-width: 1px 0 1px 0; height: 56px; }
  .nav-burger { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 var(--mg); border: 0; background: var(--dark-grey); color: var(--white); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
  .nav-burger i { position: relative; width: 16px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .3s; }
  .nav.nav-open .nav-burger i { height: 0; border-bottom: 0; transform: rotate(45deg); } .nav.nav-open .nav-burger i::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -1.5px; border-top: 1.5px solid currentColor; transform: rotate(-90deg); }
  .nav-links { display: none; }
  .nav.nav-open .nav-links { display: flex; position: fixed; top: 56px; left: 0; right: 0; bottom: 0; height: auto; flex-direction: column; align-items: stretch; background: var(--white); overflow-y: auto; z-index: 49; padding-bottom: 24px; }
  html.nav-lock { overflow: hidden; }
  .nav-item { width: 100%; height: 68px; padding: 0 var(--mg); justify-content: space-between; border-width: 0 0 1px 0; font-size: 20px; }
  .nav-item img { transform: rotate(90deg); width: 18px; height: 18px; transition: transform .3s; }
  .nav-dd-btn img { display: block; }
  .nav-brand { padding: 0 0 0 4px; } .nav-brand img { width: 110px; height: 48px; }
  .nav-links { padding-right: 0; }
  .nav-dd { display: block; width: 100%; }
  .nav-item { background: var(--white); color: var(--dark-grey); } .nav-item:hover { background: var(--page); }
  .nav-dd-btn { background: var(--white) !important; color: var(--dark-grey) !important; }
  .nav-dd-btn img { filter: none !important; }
  .nav-dd.open .nav-dd-btn { background: var(--page) !important; } .nav-dd.open .nav-dd-btn img { transform: rotate(-90deg); }
  .mega { display: none; position: static; grid-template-columns: 1fr; clip-path: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; background: var(--dark-grey); }
  .nav-dd:hover .mega, .nav-dd:focus-within .mega { display: none; }
  .nav-dd.open .mega { display: block; }
  .mega-col { border-right: 0; border-bottom: 0; background: var(--dark-grey); }
  .mega-h { height: 44px; padding: 0 var(--mg); font-size: 11px; border-bottom: 1px solid var(--medium-grey); border-top: 1px solid var(--medium-grey); background: #2a2a2a; }
  .mega-a, .mega-all { display: flex; align-items: center; height: 56px; padding: 0 var(--mg); font-size: 17px; border-bottom: 1px solid var(--medium-grey); color: var(--white); }
  .mega-all { background: #2a2a2a; font-weight: 500; }
  .mega-col:first-child .mega-a:last-child, .mega-3 .mega-a:last-child { border-bottom: 1px solid var(--medium-grey) !important; }
  .nav-cta { display: flex; flex-direction: column; gap: 12px; width: auto; margin: 24px var(--mg) 0; }
  .nav-btn { background: var(--dark-grey); color: var(--white); } .nav-btn:hover { background: var(--medium-grey); } .nav-btn img:not(.nav-av) { filter: invert(1); }
  .nav-btn { flex: none; width: 100%; box-sizing: border-box; height: 60px; justify-content: center; border-radius: 100px; border-width: 0; font-size: 17px; padding: 0 var(--mg); }

  /* ---- footer ---- */
  .foot, .sub .foot, .pg-legal .foot { position: relative !important; top: auto !important; margin-top: 0 !important; height: auto !important; box-shadow: none !important; overflow: visible; }
  .foot-in { position: static; padding: 40px var(--mg) 0; }
  .foot-logo { position: static; display: block; width: 110px; height: auto; }
  .foot-tag { position: static; margin-top: 28px; font-size: 38px; line-height: 44px; white-space: normal; }
  .foot-grid { position: static; margin: 36px calc(-1 * var(--mg)) 0; }
  .foot-row { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .foot-c { flex: none; height: 60px; padding: 0 16px; justify-content: flex-start; font-size: 16px; border-bottom: 1px solid var(--medium-grey); }
  .foot-c:nth-child(2n) { border-right: 0; } .foot-e { display: none; }
  .foot-band { position: relative; left: auto; right: auto; bottom: auto; height: 160px; margin: 0 calc(-1 * var(--mg)); }
  .foot-legal { position: static; height: auto; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0 32px; }
  .foot-lk { gap: 28px; }

  /* ---- shared sub-page sections: no pinning, stacked ---- */
  .sv-sec { position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important; transform: none !important; overflow: visible; z-index: auto !important; }
  .sv-sec::after { display: none !important; }
  .sub main { overflow-x: clip; }
  .sv-eye { font-size: 12px; line-height: 18px; }
  .sv-h2 { font-size: 40px; line-height: 46px; }
  .sv-btns { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; width: 100%; }
  .sub .pill { height: 56px; font-size: 17px; justify-content: center; }
  .sub .pill img.sv-av { width: 40px; height: 40px; }
  .sv-call { justify-content: center; }
  .sv-hero { display: flex; flex-direction: column; }
  .sv-hero-l { width: auto; padding: 36px var(--mg) 32px; }
  .sv-crumb { font-size: 12px; line-height: 18px; }
  .sv-title { width: auto; margin-top: 20px; font-size: 46px; line-height: 54px; }
  .sv-intro { width: auto; margin-top: 24px; font-size: 19px; line-height: 28px; }
  .sv-bul { width: auto; padding-top: 28px; } .sv-bul li { height: auto; min-height: 56px; padding: 14px 0; align-items: flex-start; font-size: 17px; line-height: 24px; } .sv-bul svg { margin-top: 4px; }
  .sv-strip { position: relative; right: auto; left: auto; top: auto; bottom: auto; width: 100%; height: 120px; display: block; order: 2; }
  .sv-strip .sv-code { display: none; } .sv-strip .sv-sea { width: 100%; height: 100%; } .sv-sea img { width: 100%; }
  .sv-value { padding: 56px 0 0; text-align: left; }
  .sv-value .sv-eye, .sv-value .sv-h2 { padding: 0 var(--mg); } .sv-value .sv-h2 { width: auto; margin: 20px 0 0; }
  .sv-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .sv-v { min-height: 0; padding: 28px var(--mg) 32px; border-right: 0; }
  .sv-vt { min-height: 0; max-width: none; font-size: 24px; line-height: 30px; } .sv-vp { margin-top: 12px; max-width: none; font-size: 16px; line-height: 25px; }
  .sv-method { display: block; }
  .sv-method-l { height: auto; padding: 56px var(--mg) 40px; overflow: visible; } .sv-method-l .sv-h2 { width: auto; margin-top: 20px; }
  .sv-mtxt { max-width: none; margin-top: 28px; padding-left: 0; } .sv-mtxt p { font-size: 17px; line-height: 27px; }
  .sv-method-r { height: auto; overflow: visible; padding: 40px var(--mg) 56px; }
  .sv-chips { gap: 10px; margin-top: 20px; } .sv-chips li { height: 42px; font-size: 15px; }
  .sv-g + .sv-g { margin-top: 36px; }
  .sv-cta { display: block; }
  .sv-cta-t { position: static; transform: none; width: auto; padding: 56px var(--mg) 56px; }
  .sv-cta-h, .iv-cta-h { width: auto !important; font-size: 40px; line-height: 46px; }
  .sv-cta-p { margin-top: 20px; font-size: 19px; line-height: 28px; max-width: none; }
  .sv-btns-c { margin-top: 32px; }
  .sv-strip-l { position: relative; height: 96px; }

  /* ================= HOME ================= */
  /* hero */
  .header { position: relative; top: auto; height: auto; transform: none !important; overflow: hidden; padding: 28px var(--mg) 40px; display: flex; flex-direction: column; background: var(--dark-grey); }
  .header::after { display: none; }
  .h-title { position: static; order: 1; margin-top: 20px; font-size: 44px; line-height: 48px; text-align: left; } .h-title .mk-i { white-space: normal; }
  .h-stage { position: relative; left: auto; top: auto; order: 2; width: auto; height: 230px; margin: 12px calc(-1 * var(--mg)) 0; }
  .h-body { position: static; order: 3; width: auto; gap: 28px; margin-top: 8px; }
  .h-lead { font-size: 18px; line-height: 28px; }
  .h-btns { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; } .h-btns .pill { height: 60px; justify-content: center; }
  .h-act { align-items: stretch; gap: 18px; } .h-match { align-self: flex-start; }
  .h-stats { position: static; order: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 36px; white-space: normal; }
  .h-stats span { margin-top: 10px; font-size: 14px; line-height: 20px; }
  .h-worked { position: static; order: 5; margin-top: 36px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .h-logos { width: 100%; max-width: 575px; height: auto; }

  /* services */
  .s2 { height: auto !important; box-shadow: none; overflow: visible; }
  .s2-pad { display: none; }
  .s2-stage { position: relative; top: auto; height: auto !important; overflow: visible; transform: none !important; }
  .s2-stage::after { display: none; }
  .s2-fit { position: static; width: auto; height: auto !important; margin: 0; transform: none !important; }
  .s2-in { position: static; height: auto !important; padding: 56px 0 0; }
  .s2-eyebrow-wrap { position: static; opacity: 1 !important; text-align: left; padding: 0 var(--mg); }
  .s2-eyebrow { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .6); }
  .s2-titlebox { position: static; transform: none !important; opacity: 1 !important; padding: 20px var(--mg) 0; }
  .s2-title { display: block; }
  .s2-w, .s2-w1, .s2-w2, .s2-w3, .s2-w4 { position: static; display: block; font-size: 56px; line-height: 60px; text-align: left; }
  .s2-flow { display: none; }
  .s2-desc { position: static; width: auto; margin: 32px 0 0; padding: 0 var(--mg); opacity: 1 !important; transform: none !important; font-size: 20px; line-height: 30px; }
  .s2-desc p + p { margin-top: 22px; }
  .s2-bg { display: none; }
  .s2-row { position: static; width: auto; display: block; padding: 0; gap: 0; transform: none !important; }
  .s2-row-1 { margin-top: 40px; }
  .s2-slot { transform: none !important; opacity: 1 !important; padding: 0; }
  .s2-slot + .s2-slot, .s2-row-2 { margin-top: 0; }
  .s2-row .card { height: auto; box-shadow: none !important; }
  .card-head { height: auto; padding: 28px var(--mg) 24px; }
  .card-title { gap: 16px; flex-wrap: wrap; white-space: normal; } .card-name { font-size: 34px; line-height: 36px; } .card-desc { font-size: 16px; line-height: 22px; }
  .card-list li { flex: none; } .item { height: 60px; padding: 0 var(--mg); font-size: 18px; }
  .card-head { border-top: 1px solid var(--medium-grey); }

  /* two ways to build with us */
  .s3 { height: auto !important; margin-top: 0 !important; box-shadow: none; overflow: visible; background: var(--page); }
  .s3-pad { display: none; }
  .s3-stage { position: relative; top: auto; height: auto !important; overflow: visible; transform: none !important; background: var(--page); }
  .s3-stage::before, .s3-stage::after { display: none; }
  .s3-fit { position: static; width: auto; height: auto !important; margin: 0; transform: none !important; }
  .s3-in { position: static; height: auto !important; padding: 56px var(--mg) 8px; }
  .s3-title { position: static; width: auto; font-size: 46px; line-height: 52px; text-align: left; white-space: normal; opacity: 1 !important; transform: none !important; }
  .s3-title .s3-w { display: inline-block; } .s3-title .mk { padding: .1em 0; margin: -.1em 0; }
  .s3-own, .s3-bs { position: static; display: block; opacity: 1 !important; transform: none !important; height: auto !important; }
  .s3-ui, .s3-gl, .s3-dots, .s3-node { display: none !important; }
  .s3-ct { position: static; width: auto; height: auto; margin: 36px 0 0; padding: 32px 24px 28px; background: var(--white); border: 1px solid #dcdce0; }
  .s3-ch { position: static; width: auto; font-size: 40px; line-height: 44px; text-align: left; opacity: 1 !important; transform: none !important; white-space: normal; }
  .s3-cp { position: static; width: auto; margin-top: 18px; font-size: 18px; line-height: 27px; text-align: left; opacity: 1 !important; transform: none !important; }
  .s3-bw { position: static; width: auto; flex-direction: column; gap: 10px; margin-top: 26px; opacity: 1 !important; transform: none !important; pointer-events: auto; }
  .s3-ct .s3-bw .s3-btn, .s3-btn { position: static; height: 56px; justify-content: center; }
  .s3-in { padding-bottom: 56px; }

  /* our approach */
  .s4 { padding-bottom: 40px !important; height: auto !important; margin-top: 0 !important; box-shadow: none; overflow: visible; background: var(--white); }
  .s4-stage { position: relative; top: auto; height: auto !important; overflow: visible; background: var(--white) !important; }
  .s4-fit { position: static; width: auto; height: auto !important; margin: 0; transform: none !important; }
  .s4-in { position: static; display: block; height: auto !important; padding: 56px var(--mg) 24px; gap: 0; }
  .s4-title { position: static; width: auto; transform: none; font-size: 46px; line-height: 52px; color: var(--dark-grey) !important; text-align: left; display: block; white-space: normal; }
  .s4-title .s3-w { display: inline-block; }
  .s4-card { position: static !important; width: auto !important; height: auto !important; margin-top: 16px; padding: 28px 24px; transform: none !important; opacity: 1 !important; filter: none !important; overflow: hidden; }
  .s4-h { position: static !important; font-size: 30px; line-height: 36px; white-space: normal; }
  .s4-copy { position: static !important; width: auto !important; margin-top: 14px; font-size: 17px; line-height: 26px; }
  .s4-shot { position: static !important; width: 100% !important; height: auto !important; margin-top: 24px; }
  .s4-tools { position: static !important; width: auto !important; height: 72px !important; margin-top: 24px; }
  .s4-tools img { width: 56px; height: 56px; }

  /* lifecycle */
  .s6 { height: auto !important; margin-top: 0 !important; background: var(--white); }
  .s6-pad { display: none; }
  .s6-stage { position: relative; top: auto; height: auto !important; overflow: visible; transform: none !important; background: var(--white); }
  .s6-stage::after { display: none; }
  .s6-fit { position: static; width: auto; height: auto !important; margin: 0; transform: none !important; }
  .s6-in { position: static; height: auto !important; display: flex; flex-direction: column; }
  .s6-left { order: -1; }
  .s7[data-k="0"] { order: 0; } .s7[data-k="1"] { order: 1; } .s7[data-k="2"] { order: 2; } .s7[data-k="3"] { order: 3; } .s7[data-k="4"] { order: 4; } .s7[data-k="5"] { order: 5; } .s7[data-k="6"] { order: 6; } .s7[data-k="7"] { order: 7; }
  .s6-panel, .s6-code, .s6-circle, .s6-btn { display: none !important; }
  .s6-left { position: static; opacity: 1 !important; transform: none !important; padding: 56px var(--mg) 40px; }
  .s6-h { position: static; width: auto; font-size: 38px; line-height: 44px; } .s6-line { display: inline; padding: 0; margin: 0; } .s6-line::after { content: " "; } .s6-line .mk-i { display: inline; transform: none !important; }
  .s6-copy { position: static; width: auto; margin-top: 24px; font-size: 20px; line-height: 30px; opacity: 1 !important; transform: none !important; }
  .s7 { position: static !important; height: auto !important; top: auto !important; visibility: visible !important; transform: none !important; opacity: 1 !important; padding: 36px var(--mg) 8px; background: var(--dark-grey); border-top: 1px solid var(--medium-grey); }
  .s7-x { display: block; }
  .s7 > * { opacity: 1 !important; transform: none !important; }
  .s7-eyebrow, .s7-h, .s7-copy { position: static; left: auto !important; width: auto !important; white-space: normal; }
  .s7-eyebrow { font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .55); }
  .s7-h { margin-top: 14px; font-size: 34px; line-height: 40px; }
  .s7-copy { margin-top: 16px; font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, .85); }
  .s7-row { position: static; width: auto; height: auto; margin: 24px calc(-1 * var(--mg)) 0; display: block; overflow: visible; }
  .s7-item { display: flex; align-items: center; justify-content: flex-start; height: 56px; padding: 0 var(--mg); background: transparent; border-right: 0; border-top: 1px solid var(--medium-grey); color: var(--white); font-size: 17px; flex: none; text-align: left; opacity: 1 !important; transform: none !important; }
  .s7-item:last-child { border-bottom: 1px solid var(--medium-grey); }
  .s7-strip { display: none; }

  /* industries */
  .ind-wrap { height: auto !important; margin-top: 0 !important; }
  .ind { position: relative; top: auto; height: auto !important; box-shadow: none; overflow: visible; }
  .ind-in { position: static; padding: 56px 0 0; width: auto; }
  .ind-h, .ind-copy { padding: 0 var(--mg); }
  .ind-h { position: static; width: auto; font-size: 46px; line-height: 52px; white-space: normal; }
  .ind-copy { position: static; width: auto; margin-top: 24px; font-size: 18px; line-height: 28px; }
  .ind-list { position: static; width: 100%; margin: 32px 0 0; }
  .ind-row, .ind-a { width: 100%; box-sizing: border-box; }
  .ind-row { height: auto; } .ind-a { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 12px; height: auto; min-height: 72px; padding: 14px var(--mg); } .ind-n { position: static; width: auto; } .ind-l { position: static; width: auto; font-size: 20px; line-height: 26px; white-space: normal; } .ind-arr { position: static; width: 20px; height: 20px; opacity: 1; transform: none; }
  .ind-follow, .ind-pic, .ind-card { display: none !important; }

  /* about (home) */
  .abt { height: auto !important; margin-top: 0 !important; box-shadow: none; overflow: visible; }
  .abt-pad, .abt-dark { display: none !important; }
  .abt-stage { position: relative; top: auto; height: auto !important; overflow: visible; transform: none !important; background: var(--white); }
  .abt-in { position: static; height: auto !important; }
  .abt-top { position: static; opacity: 1 !important; transform: none !important; padding: 56px var(--mg) 8px; visibility: visible !important; }
  .abt-h { position: static; font-size: 44px; line-height: 50px; white-space: normal; }
  .abt-copy { position: static; width: auto; margin-top: 24px; font-size: 18px; line-height: 28px; }
  .abt-team { position: static; flex-direction: column; align-items: stretch; gap: 0; margin-top: 28px; }
  .abt-p { padding: 18px 0; border-top: 1px solid var(--grey); gap: 18px; }
  .abt-ph { width: 72px; height: 88px; } .abt-pi { gap: 10px; white-space: normal; } .abt-n { font-size: 26px; line-height: 28px; } .abt-r { flex-wrap: wrap; gap: 6px 18px; }
  .abt-gz { position: relative; inset: auto; height: 340px; overflow: hidden; transform: none !important; margin-top: 24px; }
  .abt-globe { left: 50%; top: 0; margin-left: -584px; transform: scale(.32); transform-origin: 50% 0; opacity: 1; }
  .abt-b { display: none; }
  .abt-cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--mg) 56px; }
  .abt-cities li { padding: 8px 12px; background: var(--dark-grey); color: var(--white); font-size: 11px; line-height: 12px; text-transform: uppercase; }

  /* banner over the footer (home, services, approach, ... overview pages) */
  .brief { position: static; background: var(--dark-grey); pointer-events: auto; }
  .brief-strip { position: static; transform: none !important; opacity: 1 !important; display: block; height: 110px; }
  .brief-code { display: none; } .brief-sea { width: 100%; height: 100%; } .brief-sea img { width: 100%; right: auto; left: 0; }
  .brief-txt { position: static; width: auto; transform: none; padding: 56px var(--mg) 64px; }
  .brief-h { margin: 0 0 36px; font-size: 40px; line-height: 46px; opacity: 1 !important; transform: none !important; color: var(--white); }
  .brief-btn { width: 100%; justify-content: center; opacity: 1 !important; transform: none !important; height: 60px; font-size: 17px; }
  .sbn, .fq + .sbn { position: relative; margin-top: 0; height: auto; z-index: auto; box-shadow: none; }
  .sbn-stage { position: relative; top: auto; height: auto; overflow: visible; transform: none !important; }
  .sbn-stage::after { display: none; }

  /* ================= SUB-PAGE TYPES ================= */
  /* industry pages */
  .ih { display: block; }
  .ih-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; padding: 20px var(--mg) 0; scrollbar-width: none; }
  .ih-tabs::-webkit-scrollbar { display: none; }
  .ih-lab { flex: none; } .ih-tab { flex: none; white-space: nowrap; }
  .ih-main { display: block; padding: 40px var(--mg) 8px; }
  .ih-title, .ih-title.ih-long { font-size: 52px; line-height: 58px; }
  .ih-side { gap: 24px; margin-top: 28px; }
  .ih-lead { font-size: 18px; line-height: 28px; }
  .ih-btns { flex-direction: column; } .ih .pill { height: 56px; justify-content: center; }
  .ih-worked { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px var(--mg) 32px; }
  .ih-worked ul { gap: 6px 0; } .ih-worked li { font-size: 22px; line-height: 26px; padding: 0 16px; }
  .ih-band { height: 110px; min-height: 0; }
  .iv-work { padding: 56px var(--mg) 8px; display: block; }
  .iv-work .sv-h2 { font-size: 38px; line-height: 44px; }
  .iv-tab { margin: 28px calc(-1 * var(--mg)) 0; }
  .iv-r { display: block; padding: 22px var(--mg); }
  .iv-r.iv-hd { display: none; }
  .iv-c { font-size: 26px; line-height: 30px; display: block; } .iv-w { margin-top: 8px; display: block; font-size: 16px; line-height: 24px; } .iv-who { margin-top: 10px; display: block; }
  .iv-know { display: block; padding: 56px var(--mg); }
  .iv-kcols { grid-template-columns: 1fr; gap: 40px; margin-top: 28px; }
  .iv-tt { font-size: 30px; line-height: 34px; }
  .iv-pa li { grid-template-columns: 1fr; gap: 12px; }
  .iv-gp { font-size: 24px; line-height: 28px; } .iv-ap { font-size: 17px; line-height: 26px; }
  .iv-build { display: block; }
  .iv-bl { display: block; padding: 56px var(--mg) 40px; }
  .iv-bh { font-size: 46px; line-height: 54px; } .iv-first { margin: 24px 0 14px; }
  .iv-ms { margin-top: 28px; } .iv-ms li { grid-template-columns: 70px 1fr; gap: 14px; padding: 20px 0; } .iv-mt { font-size: 18px; line-height: 27px; }
  .iv-links { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
  .iv-br { display: block; padding: 40px var(--mg) 56px; border-left: 0; }
  .iv-bt { font-size: 26px; line-height: 30px; }

  /* solution pages */
  .sl-hero { display: flex; flex-direction: column; }
  .sl-hero .sv-hero-l { width: auto; flex: none; padding: 36px var(--mg) 32px; }
  .sl-hero .sv-title { width: auto; font-size: 42px; line-height: 50px; }
  .sl-hero .sv-intro { width: auto; }
  .sl-panel { height: 340px; padding: 0 70px 0 0; }
  .sl-ring { transform: scale(.55); margin-right: 0; }
  .sl-stripe { width: 70px; }
  .sl-get, .sl-how, .sl-fit { display: block; padding: 56px var(--mg); }
  .sl-gs { grid-template-columns: 1fr; margin: 32px calc(-1 * var(--mg)) 0; }
  .sl-gs li { min-height: 0; padding: 28px var(--mg); border-right: 0; border-bottom: 1px solid var(--grey); }
  .sl-gs h3 { margin-top: 28px; font-size: 32px; line-height: 38px; } .sl-gs p { max-width: none; font-size: 17px; line-height: 26px; }
  .sl-st { grid-template-columns: 1fr; margin-top: 32px; }
  .sl-st li, .sl-st li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--medium-grey); min-height: 0; }
  .sl-st h3 { margin-top: 20px; font-size: 44px; line-height: 52px; }
  .sl-st .sl-lead { max-width: none; font-size: 19px; line-height: 28px; } .sl-st .sl-long { max-width: none; }
  .sl-r { grid-template-columns: 36px 1fr 24px; gap: 14px; padding: 24px var(--mg); }
  .sl-r:hover { padding-left: var(--mg); }
  .sl-rs { margin: 28px calc(-1 * var(--mg)) 0; } .sl-rt { font-size: 30px; line-height: 34px; } .sl-rg { display: none; }

  /* approach page: hero cards + explainers */
  .ah { position: relative !important; top: auto !important; display: block; height: auto !important; transform: none !important; }
  .ah::after { display: none; }
  .ah-l { padding: 36px var(--mg) 32px; display: block; }
  .ah-title { width: auto; font-size: 46px; line-height: 54px; } .ah-lead { width: auto; margin-top: 24px; font-size: 18px; line-height: 27px; } .ah-bul { width: auto; } .ah-bul li { height: auto; padding: 12px 0; align-items: flex-start; font-size: 16px; line-height: 23px; }
  .ah-btns { flex-direction: column; align-items: stretch; margin-top: 28px; } .ah-btns .pill { height: 56px; justify-content: center; }
  .ah-r { height: auto; padding: 24px var(--mg) 32px; display: flex; flex-direction: column; gap: 16px; }
  .ah-card { position: static; width: auto; }
  .ah-card .card-name { font-size: 30px; line-height: 34px; white-space: normal; }
  .s3-ex { position: static; transform: none !important; margin: 16px 0 0; padding: 36px 24px; background: var(--dark-grey); }
  .s3-ex .s3-fit, .s3-ex .s3-in { position: static; height: auto !important; padding: 0; transform: none; }
  .s3-exl, .s3-exr { position: static; width: auto; }
  .s3-exh { font-size: 36px; line-height: 44px; margin-top: 18px; } .s3-exp { margin-top: 20px; font-size: 17px; line-height: 27px; } .s3-ext { margin-top: 20px; } .s3-exb { margin-top: 28px; width: 100%; justify-content: center; }
  .s3-exr { margin-top: 28px; } .s3-exr li { padding: 24px 0; } .s3-exr h4 { font-size: 28px; line-height: 34px; } .s3-exr p { max-width: none; font-size: 16px; line-height: 25px; }

  /* industries wall */
  .iw-wrap { height: auto; } .iw { position: relative; top: auto; height: auto; transform: none !important; display: block; overflow: visible; }
  .iw::after { display: none; }
  .iw-bar { display: block; padding: 40px var(--mg) 28px; }
  .iw-h { font-size: 52px; line-height: 58px; white-space: normal; } .iw-p { margin-top: 20px; font-size: 18px; line-height: 27px; max-width: none; }
  .iw-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .iw-t { min-height: 0; }
  .iw-n { left: 16px; top: 16px; } .iw-a { opacity: 1; transform: none; right: 14px; top: 14px; width: 20px; height: 20px; }
  .iw-b { left: 16px; right: 16px; bottom: 18px; gap: 12px; } .iw-nm { font-size: 24px; line-height: 28px; }
  .iw-cl { flex: none; max-height: none; overflow: visible; opacity: 1; font-size: 11px; line-height: 16px; }   /* the box is trimmed to the capitals (.t), so overflow stays visible or accents like the Ö in Börse are cut */

  /* about page */
  .ab-hero { display: block; }
  .ab-hl { width: auto; flex: none; padding: 36px var(--mg) 24px; display: block; }
  .ab-title { margin-top: 24px; font-size: 54px; line-height: 60px; white-space: normal; }
  .ab-sub { width: auto; margin-top: 24px; font-size: 18px; line-height: 27px; }
  .ab-hl .sv-btns { margin-top: 28px; }
  .ab-facts { margin-top: 32px; padding-top: 22px; flex-wrap: wrap; gap: 20px 32px; }
  .ab-gw { height: auto; overflow: visible; }
  .ab-gw .abp-stage { position: static; width: auto; height: auto; margin: 0; transform: none !important; overflow: visible; background: transparent; }
  .ab-gw .abt-gz { position: static; height: 0; overflow: hidden; margin: 0; }
  .ab-gw .abt-globe { display: none; }
  .ab-gw .abt-stage, .ab-gw .abp-stage { padding: 0; }
  .ab-gw .abt-cities { padding: 24px var(--mg) 40px; }
  .ab-why { display: block; }
  .ab-wl { padding: 56px var(--mg) 0; } .ab-wh { font-size: 42px; line-height: 50px; margin-top: 20px; }
  .ab-wr { height: auto; overflow: visible; padding: 0 var(--mg) 56px; display: block; }
  .ab-wt { margin: 0; padding: 28px 0 0; max-width: none; }
  .ab-wlead { font-size: 22px !important; line-height: 33px !important; }
  .ab-wcols { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; padding-top: 24px; } .ab-wcols p { font-size: 16px !important; line-height: 26px !important; }
  .ab-wt .ab-wq { font-size: 30px; line-height: 38px; margin-top: 32px; }
  .ab-fo { display: block; padding: 56px var(--mg); }
  .ab-fs { grid-template-columns: 1fr; max-height: none; margin-top: 28px; gap: 16px; }
  .ab-f { grid-template-columns: 1fr; min-height: 0; }
  .ab-fph { height: 380px; min-height: 0; } .ab-fph img { object-position: 50% 12%; }
  .ab-fb { padding: 28px 24px 28px; } .ab-fn { font-size: 38px; line-height: 44px; } .ab-fp { font-size: 16px; line-height: 25px; margin-top: 18px; }
  .ab-co { display: block; }
  .ab-co .ab-cl { padding: 56px var(--mg) 32px; display: block; }
  .ab-co .ab-ch { font-size: 40px; line-height: 48px; } .ab-co .ab-cp { max-width: none; font-size: 17px; line-height: 27px; margin-top: 22px; }
  .ab-cv { height: auto; gap: 28px; padding: 48px var(--mg) 56px; }
  .ab-grid { width: 100%; font-size: 12px; line-height: 16px; }
  .ab-grid th, .ab-grid td { height: 52px; padding: 0 8px; }
  .ab-grid thead th, .ab-grid thead td { font-size: 11px; }
  .ab-grid tbody th { width: 44%; }
  .ab-gn { width: 26px; }
  .ab-grid tbody td::before { left: 8px; }
  .ab-key { flex-wrap: wrap; justify-content: center; }
  .ab-co { padding-bottom: 0; }
  .ab-va { display: block; padding: 56px 0 0; }
  .ab-eye { padding-left: var(--mg); }
  .ab-vs li { grid-template-columns: 1fr; gap: 12px; padding: 28px var(--mg); }
  .ab-vs h3 { font-size: 34px; line-height: 40px; } .ab-vs p { font-size: 17px; line-height: 26px; }
  .ab-ow { display: block; padding: 56px var(--mg); }
  .ab-os { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .ab-o { min-height: 340px; padding: 24px 24px 32px; } .ab-o h3 { font-size: 56px; line-height: 62px; } .ab-o p { margin-top: 22px; font-size: 17px; line-height: 26px; }
  .ab-he .sv-cta-t { position: static; transform: none; width: auto; padding: 56px var(--mg); } .ab-he .ab-hh { width: auto; font-size: 32px; line-height: 40px; }

  /* legal pages */
  .lg-hero { padding: 56px var(--mg) 36px; }
  .lg-title { font-size: 54px; line-height: 60px; } .lg-intro { font-size: 19px; line-height: 28px; margin-top: 22px; }
  .lg-wrap { display: block; }
  .lg-toc { position: static; padding: 24px var(--mg) 0; display: block; columns: 1; }
  .lg-toc a { display: block; }
  .lg-main { padding: 24px var(--mg) 56px; }
  .lg-s { padding: 32px 0; } .lg-h { font-size: 32px; line-height: 40px; }
  .lg-b p, .lg-b li { font-size: 17px; line-height: 28px; }
  .lg-b table, .lg-b thead, .lg-b tbody, .lg-b tr, .lg-b th, .lg-b td { display: block; }
  .lg-b thead { display: none; } .lg-b tr { padding: 14px 0; border-bottom: 1px solid var(--grey); } .lg-b td { border: 0; padding: 4px 0; }

  /* approach hero cards sit above their graphic */
  .ah-r { position: relative; min-height: 0; }
  .ah-bg { z-index: 0; } .ah-card { position: relative !important; z-index: 1; width: auto; left: auto !important; right: auto !important; top: auto !important; }

  /* ================= OVERLAYS ================= */
  /* "Are we a match?" */
  .mt-top { height: 56px; }
  .mt-count { font-size: 11px; }
  .mt-x { padding: 0 18px; }
  .mt-body { display: flex; flex-direction: column; overflow: hidden; }
  .mt-body .mt-s { flex: 1; min-height: 0; overflow-y: auto; }
  .mt-sea { display: block !important; flex: none; width: 100%; height: 64px; }
  .mt-sea img { left: 0; right: auto; width: 100%; height: 100%; object-fit: cover; }
  .mt-term { display: none; }
  .mt[data-st="0"] .mt-term { display: block; flex: none; width: auto; height: 168px; border-left: 0; border-top: 1px solid var(--medium-grey); padding: 14px var(--mg) 0; }
  .mt[data-st="0"] .mt-term pre { font-size: 11px; line-height: 15.5px; }
  .mt-s { padding: 0 var(--mg); overflow: visible; }
  .mt-pane { padding: 32px 0 40px; margin: 0; }
  .mt-q { margin-top: 18px; font-size: 40px; line-height: 46px; }
  .mt-pane.dense .mt-q, .mt-pane.mt-bq .mt-q { font-size: 34px; line-height: 40px; margin-top: 14px; }
  .mt-sub { margin-top: 16px; font-size: 17px; line-height: 25px; }
  .mt-o { margin-top: 28px; gap: 8px; }
  .mt-opt { min-height: 64px; padding: 12px 16px; font-size: 17px; line-height: 24px; }
  .mt-pane.dense .mt-opt { min-height: 56px; font-size: 16px; }
  .mt-key { display: none; }
  .mt-re { margin-top: 18px; font-size: 15px; }
  .mt-nav { margin-top: 24px; }
  .mt-btn { height: 56px; padding: 0 24px; font-size: 16px; }
  .mt-title { font-size: 54px; line-height: 60px; }
  .mt-go { margin-top: 32px; align-items: stretch; } .mt-go .mt-btn { justify-content: center; } .mt-small { text-align: center; }
  .mt-mad, .mt-pane.mt-bq .mt-mad { margin-top: 24px; font-size: 16px; line-height: 40px; }
  .mt-mad input { font-size: 16px; }
  .mt-pane.mt-bq .mt-mad input { max-width: 100%; }
  .mt-two, .mt-pane.mt-bq .mt-two2 { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .mt-load b { font-size: 36px; line-height: 42px; }
  .mt-res { padding: 28px 0 40px; max-width: none; }
  .mt-res .mt-resh { font-size: 42px; line-height: 48px; }
  .mt-res .mt-lead { font-size: 18px; line-height: 27px; }
  .mt-r2 { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .mt-card { padding: 24px 22px 28px; } .mt-card b { font-size: 28px; line-height: 34px; margin-top: 22px; }
  .mt-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .mt-bf { padding: 18px var(--mg); font-size: 16px; line-height: 25px; }
  .mt-ra { flex-direction: column; align-items: stretch; gap: 14px; }
  .mt-cta { justify-content: center; height: 64px; font-size: 17px; } .mt-ghost { justify-content: center; }
  .mt-ra .mt-back { text-align: center; margin: 4px 0 0; }

  /* "Contact / Send a brief" */
  .bf { display: block; overflow-y: auto; }
  .bf-l { padding: 28px var(--mg) 32px; min-height: 0; display: block; }
  .bf-logo { width: 100px; height: auto; }
  .bf-lm { margin-top: 36px; }
  .bf-title { font-size: 40px; line-height: 46px; margin-top: 18px; }
  .bf-mail { margin-top: 18px; font-size: 17px; }
  .bf-reply { margin-top: 18px; font-size: 16px; }
  .bf-steps { display: none; }
  .bf-r { padding: 32px var(--mg) 56px; overflow: visible; }
  .bf-x { position: fixed; width: 80px; height: 56px; }
  .bf-strip { display: none; }
  .bf-form { gap: 28px; }
  .bf-row { grid-template-columns: 1fr; gap: 28px; }
  .bf-chips span { height: 48px; padding: 0 18px; font-size: 16px; }
  .bf-btn { width: 100%; }
  .bf-go { flex-direction: column; align-items: stretch; gap: 14px; } .bf-note { text-align: center; }
  .bf-okh { font-size: 40px; line-height: 46px; } .bf-okp { font-size: 18px; line-height: 27px; } .bf-okb { flex-direction: column; width: 100%; } .bf-ok { margin-top: 24px; }
  .mt-res { overflow-x: clip; } .mt-res > * { max-width: 100%; } .mt-lead, .mt-bf, .mt-card p { overflow-wrap: anywhere; }
  .mt-s.mt-resv { overflow-x: hidden; padding: 0 var(--mg) !important; }
  .mt-rey { font-size: 12px; line-height: 18px; }
  .mt-res .mt-resh { margin-top: 18px; }
  .mt-res .mt-lead { margin-top: 22px; }
  .mt-r2 { gap: 44px; margin-top: 36px; }
  .mt-card { padding: 28px 24px 32px; } .mt-card p { margin-top: 18px; }
  .mt-told small { margin-bottom: 6px; }
  .mt-row { padding: 22px 0; gap: 10px; }
  .mt-bf { margin-top: 32px; padding: 22px 22px; }
  .mt-ra { margin-top: 36px; gap: 16px; }
  .bf-x { display: none; } .bf.open .bf-x { display: flex; top: 0; right: 0; }

  /* titles are trimmed to their letters, so give the text under them a little more air */
  .sv-intro, .ih-side, .ab-sub, .ah-lead, .lg-intro { margin-top: 32px !important; }
  .ih-side { margin-top: 36px !important; }
  .sv-cta-p, .iw-p, .ind-copy, .abt-copy, .s6-copy, .abt-copy { margin-top: 28px !important; }
  .sv-title, .ih-title, .ab-title, .ah-title, .lg-title, .iw-h, .h-title { margin-bottom: 0; }

  /* ====== round 2 ====== */
  /* services: the white-wave video strip between the copy and the cards */
  .s2-bg { display: block !important; position: relative; left: auto; top: auto; width: auto; height: 80px; margin: 36px 0 0; overflow: hidden; background: #000; }
  .s2-bg video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; translate: none; }
  .s2-bg::after { display: none; }
  .s2-row-1 { margin-top: 0; }

  /* approach cards stack over each other as you scroll */
  .s4-card { position: sticky !important; top: 72px; margin-top: 20px; box-shadow: 0 -18px 40px rgba(0, 0, 0, .12) !important; }
  .s4-card:nth-of-type(1) { z-index: 1; } .s4-card:nth-of-type(2) { z-index: 2; top: 84px; } .s4-card:nth-of-type(3) { z-index: 3; top: 96px; } .s4-card:nth-of-type(4) { z-index: 4; top: 108px; }
  .s4 { overflow: visible !important; } .s4-stage, .s4-fit, .s4-in { overflow: visible !important; }
  .s4-tools { overflow: hidden; } .s4-tool-more, .s4-tools .s4-set > * { width: 56px !important; height: 56px !important; flex: none; } .s4-tool-more img { width: 12px !important; height: 20px !important; }
  .s4-set > * { margin-right: 24px; }

  /* lifecycle: the ring is pinned under the heading and turns from Signal to Grow while the stages scroll past */
  .s6-left { padding-bottom: 28px; }
  .s6-left::after { content: ""; display: block; height: 88px; margin: 32px calc(-1 * var(--mg)) -28px; background: url(assets/subpages/g04.jpg) center / cover; }
  .s6-circle { display: block !important; position: sticky; top: 56px; left: auto; z-index: 5; order: -1; width: 692px; height: 460px; zoom: .5635; overflow: hidden; background: var(--dark-grey); transform: none !important; margin: 0; }
  .s6-circle > * { margin-top: -190px; }
  .js .s6-dot, .js .s6-lab { opacity: 1 !important; scale: 1 !important; translate: none !important; }
  .js .s6-ring circle { stroke-dashoffset: 0 !important; }
  .s6-lab, .s6-dot { animation: none !important; }
  .s6-left { order: -2; }
  .s7 { border-top: 0; }

  /* About globe: it fits the width and its place badges still appear */
  .abt-gz { height: 340px !important; overflow: hidden; }
  .abt-globe { display: block !important; position: relative; left: auto !important; top: auto !important; margin: 0 auto !important; zoom: .3; transform: none; }
  .abt-b { display: block !important; font-size: 34px; line-height: 34px; padding: 34px; }
  .abt-cities { display: none !important; }
  .ab-gw { height: auto; overflow: hidden; }
  .ab-gw .abp-stage { position: static; width: auto; height: auto; margin: 0; transform: none !important; overflow: visible; }
  .ab-gw .abt-gz { position: relative; inset: auto; height: 340px; overflow: hidden; margin: 0; transform: none !important; }

  /* industries wall: one per row, more air */
  .iw-grid { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .iw-p { margin-top: 32px; } .iw-bar { padding-bottom: 36px; } .iw-b { gap: 18px; }
  .ind-copy { margin-top: 32px !important; }

  /* industry "what we know": more air */
  .iv-know { padding: 64px var(--mg); } .iv-kcols { gap: 56px; margin-top: 36px; }
  .iv-tr li, .iv-pa li { padding: 32px 0; }
  .iv-tn, .iv-lb { margin-bottom: 14px; }
  .iv-tt { margin-bottom: 4px; } .iv-tp { margin-top: 20px; line-height: 26px; }
  .iv-pa li { gap: 28px; } .iv-gp { margin: 0 0 4px; line-height: 32px; } .iv-ap { margin-top: 0; line-height: 28px; }
  .iv-kh { margin-bottom: 8px; }

  /* approach page: hero cards stay; below them the sequence is Own your software, why, Build & sell, why */
  .pg-approach .s3-title { display: none; }
  .pg-approach .s3-stage { display: flex; flex-direction: column; background: var(--page); }
  .pg-approach .s3-fit, .pg-approach .s3-in { display: contents; }
  .pg-approach .s3-own { order: 1; } .pg-approach .s3-ex1 { order: 2; } .pg-approach .s3-bs { order: 3; } .pg-approach .s3-ex2 { order: 4; }
  .pg-approach .s3-own, .pg-approach .s3-bs { padding: 0 var(--mg); }
  .pg-approach .s3-own .s3-ct, .pg-approach .s3-bs .s3-ct { margin: 0; padding: 56px 0 44px; background: transparent; border: 0; }
  .pg-approach .s3-ch { font-size: 44px; line-height: 50px; } .pg-approach .s3-cp { margin-top: 22px; }
  .pg-approach .s3-ex { margin: 0; }
}
@media (max-width: 1180px) { .s7-copy { margin-top: 24px !important; } .s7-h { margin-top: 18px !important; } .s7 { padding-top: 40px; } 
  /* round 3 */
  .card-list { flex: none; }
  .s4-card:not(.s4-card-dark) .s4-h { color: var(--dark-grey) !important; opacity: 1 !important; }
  .s4-card:not(.s4-card-dark) .s4-copy { color: var(--dark-grey) !important; opacity: 1 !important; }
  .s6-circle { zoom: .44; height: 460px; margin: 0 auto; width: 692px; }
  .s6-circle > * { margin-top: -190px; }
  .s6-circle { position: sticky; }
  .s7 { position: relative; z-index: 1; padding-top: 44px; }
  /* approach hero: only the 88px graphic pattern, no cards */
  .ah-card { display: none !important; }
  .ah-r { height: 88px !important; padding: 0 !important; display: block; }
  .ah-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .card-list .item { height: 60px; }
  .s6-circle { box-shadow: 0 0 0 100vmax var(--dark-grey); clip-path: inset(0 -100vmax); }
}
/* ring side labels overhang the ring: scale down further so they stay on screen */
@media (max-width: 400px) { .sl-ring { transform: scale(.5); } }
@media (max-width: 365px) { .sl-ring { transform: scale(.41); } }

/* ===== pricing and FAQ on a phone ===== */
@media (max-width: 1180px) {
  .nx { display: block; min-height: 0; box-shadow: none; overflow: visible; z-index: auto; }
  .nx-in { width: auto; padding: 56px var(--mg); }
  .nx-title { font-size: 46px; line-height: 50px; } .nx-title .mk-i { white-space: normal; }
  .nx-faq .nx-title { font-size: 46px; line-height: 50px; }
  .nx-lead { font-size: 18px; line-height: 28px; }
  .nx-tbl { overflow-x: auto; margin-top: 32px; } .nx-tbl table { min-width: 760px; }
  .nx-cta { flex-direction: column; align-items: stretch; } .nx-cta .pill { height: 60px; justify-content: center; } .nx-cta .nx-fn { margin: 4px 0 0; }
  .nx-faq-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nx-faq-r summary { font-size: 24px; line-height: 28px; } .nx-faq-r details p { padding-right: 0; }
  .nx-wrap { height: auto; } .nx-wrap > .nx-faq { position: relative; top: auto; height: auto; }
  .nx-pr-hd { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .nx-pricing .nx-title { font-size: 46px; line-height: 50px; white-space: normal; }
  .nx-pr-grid { gap: 16px; }
  .nx-pl { padding: 24px; border: 1px solid var(--grey); } .nx-pl-feat { border-color: var(--dark-grey); }
  .nx-pl-ft { flex-direction: column; align-items: stretch; } .nx-pl-ft .nx-pl-price b { font-size: 44px; line-height: 46px; } .nx-pl-ft .nx-pl-btn { align-self: flex-start; }
  .nx-pl-ul li { height: auto; min-height: 32px; padding: 6px 0; align-items: flex-start; } .nx-pl-ul svg { margin-top: 2px; } .nx-pl-hd { align-items: flex-start; gap: 12px; }
}
@media (max-width: 1180px) {
  .nx-pricing { height: auto; } .nx-pricing .nx-in { height: auto; padding: 56px var(--mg); } .nx-pricing .nx-pr-hd { display: block; } .nx-pricing .nx-lead { margin-top: 16px; } .nx-pricing .nx-title { font-size: 44px; line-height: 48px; white-space: normal; } .nx-pricing .nx-title .mk-i { white-space: normal; } .nx-pricing .nx-pr-grid { grid-template-columns: minmax(0, 1fr); } .nx-pricing .nx-pl-ft { flex-direction: column; align-items: stretch; } .nx-pricing .nx-pl-hd { gap: 10px; }
  .nx-pricing .nx-pr-grid { margin-top: 32px; gap: 16px; } .nx-pricing .nx-pl { padding: 28px 22px; }
  .nx-pricing .nx-pl-ul li { max-height: none; padding: 7px 0; flex: none; } .nx-pricing .nx-pl-n { font-size: 36px; line-height: 38px; }
  .nx-pricing .nx-pl-ft .nx-pl-price b { font-size: 46px; line-height: 48px; } .nx-pricing .nx-fn { text-align: left; }
}
@media (max-width: 1180px) {
  .nx-pricing { height: auto; min-height: 0; } .nx-pricing .pm { zoom: 1; width: auto; height: auto; padding: 56px var(--mg) 40px; }
  .pm-hd { display: block; } .pm-hd .nx-title { font-size: 44px; line-height: 48px; white-space: normal; } .pm-hd .nx-title .mk-i { white-space: normal; } .pm-hr { margin-top: 16px; }
  .pm-grid { display: block; margin-top: 32px; } .pm-c { margin-bottom: 16px; padding: 24px 22px; border-radius: 22px; }
  .pm-top { flex-wrap: wrap; gap: 12px; } .pm-n { margin-top: 22px; font-size: 38px; line-height: 40px; }
  .pm-ul { flex: none; gap: 12px; padding: 14px 0; } .pm-ft { flex-direction: column; align-items: stretch; gap: 14px; } .pm-btn { justify-content: space-between; }
  .pm-fn { text-align: left; }
}

/* ===== round 4: polish from the phone/tablet review (375 to 1180) ===== */
@media (max-width: 1180px) {
  /* headings: no single word left on its own line */
  h1, h2, h3, .brief-h, .sv-cta-h, .s4-h, .ab-vs h3 { text-wrap: balance; }

  /* services overview hero: "Think it. / Shape it. ..." descenders touched the next line */
  .s2-w + .s2-w { margin-top: 16px; }   /* the lines are trimmed to the capitals (.t), so line-height adds no room for the descenders */

  /* the lifecycle ring (home + solutions): sits at the top of its section instead of following the stage lists (they slid under it), with labels you can read */
  .s6-circle { position: relative !important; top: auto !important; overflow: visible; }   /* the dark surround (box-shadow + clip-path, above) stays: the labels reach past the ring's box */
  .s6-circle .s6-lab { font-size: 26px; line-height: 32px; color: rgba(255, 255, 255, .72); } .s6-circle .s6-lab.s6-first { color: var(--white); }

  /* the code under "Services": 6.7px was unreadable; readable size, long lines simply run off the edge (it is decoration) */
  html.is-m .sv2-code, .sv2-static .sv2-code { --cfs: 11px; --clh: 16px; overflow: hidden; padding: 28px 0 28px 20px; }
  /* the first screen of Services: the code fills the screen and the card sits on top of it, centred (it hung below the code) */
  html.is-m .sv2-code { height: calc(100svh - 56px); }
  html.is-m .sv2-flip { position: absolute; left: 0; right: 0; top: 0; height: calc(100svh - 56px); width: auto; margin: 0; padding: 0 var(--mg); display: flex; align-items: center; justify-content: center; pointer-events: none; }
  html.is-m .sv2-flip-in { width: 88%; max-width: 400px; pointer-events: auto; }   /* narrower than the screen so the tilted corners stay on it */

  /* the cooperative grid (about): the label column takes its width from the header row */
  .ab-grid tr > :first-child { width: 44%; }
  .ab-key { row-gap: 8px; }

  /* industry pages: the client list wraps without a stray divider at the start of a line */
  .ih-worked li { border-left: 0; padding: 0 12px 0 0; }
  .ih-worked li:not(:last-child)::after { content: "\00b7"; margin-left: 12px; opacity: .45; }
  /* the industry tabs scroll sideways: fade the edge so it reads as scrollable (main.js scrolls the current one into view) */
  .ih-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }

  /* chip groups (service pages, pricing): one even gap between groups (the desktop pairs them with a bigger gap every second group) */
  .sv-g + .sv-g, .sv-g:nth-child(odd):not(:first-child) { margin-top: 36px; }

  /* footer links: one flat grid, no empty cell; the last link spans the row when the count is odd */
  .foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--medium-grey); border-bottom: 1px solid var(--medium-grey); }   /* the 1px gaps draw the cell lines */
  .foot-row { display: contents; }
  .foot-c, .foot-c:nth-child(2n) { padding: 0 var(--mg); border: 0; background: var(--dark-grey); }
  .foot-row:last-child .foot-c:nth-last-child(2) { grid-column: 1 / -1; }
  .foot-lk a { display: inline-flex; align-items: center; min-height: 40px; }

  /* services accordion (home): the number sits close to its title */
  html.is-m .sv2-ttl { gap: 12px; } .card-title { gap: 12px; }

  /* "Two ways to build with us": the title and both cards fit on one phone screen */
  html.is-m .tw-title { font-size: 38px; line-height: 42px; padding-bottom: 20px; }
  html.is-m .tw-cards { gap: 12px; }
  html.is-m .tw-card { gap: 14px; padding: 24px 22px 22px; }
  html.is-m .tw-h { font-size: 30px; line-height: 34px; }
  html.is-m .tw-p { font-size: 16px; line-height: 24px; }
  html.is-m .tw-btn { height: 44px; }

  /* the brief form: more air between its parts (the legend of a fieldset ignores the flex gap, so it gets a margin) */
  .bf-l { padding: 28px var(--mg) 40px; }
  .bf-lm { margin-top: 44px; }
  .bf-title { margin-top: 20px; }
  .bf-mail { margin-top: 24px; line-height: 26px; }
  .bf-mail + .bf-reply, .bf-reply { margin-top: 24px; }
  .bf-r { padding-top: 40px; }
  .bf-form { gap: 40px; }
  .bf-f { gap: 14px; } .bf-f legend { margin-bottom: 14px; }
  .bf-chips { gap: 12px 10px; }
  .bf-row { gap: 32px; }

  /* 404: the two ways out as buttons */
  .lg-btns { margin-top: 32px; }

  /* the four laws: main.js still blends each card's page colour behind the stage; here it painted the first (dark) card's colour over the white heading */
  .s4-stage::before { display: none; }
}

/* solution pages, phones: the ring with 9px labels and a 70px photo sliver did not fit; the stage is in the breadcrumb, the photo stays as a band */
@media (max-width: 599px) {
  .sl-panel { flex: none; height: 120px !important; padding: 0 !important; display: block; }   /* flex: none: in the stacked hero, flex: 1 collapsed it to 0 */
  .sl-ring { display: none; }
  .sl-stripe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
}

/* ===== tablets (600 to 1180): the mobile layout with room to breathe: capped widths, two columns where the content comes in sets ===== */
@media (min-width: 600px) and (max-width: 1180px) {
  :root { --mg: clamp(32px, 4.5vw, 56px); }   /* wider side gutters: 20px looked edge-to-edge on an iPad */
  /* buttons size to their label instead of spanning the screen */
  .sv-btns, .h-btns, .ah-btns, .ih-btns, .nx-cta, .mt-go { flex-direction: row; flex-wrap: wrap; align-items: center; width: auto; }
  .sv-btns .pill, .h-btns .pill, .ah-btns .pill, .ih-btns .pill, .nx-cta .pill { width: auto; padding: 0 28px; }
  .brief-btn, .bf-btn { width: auto; padding: 0 32px; }
  .pm-ft { flex-direction: row; align-items: center; } .pm-btn { justify-content: center; }
  .nx-pl-ft { flex-direction: row; align-items: center; justify-content: space-between; }

  /* reading width: long lines were ~110 characters */
  p, .sv-lead, .nx-lead, .ih-lead, .ab-cp, .lg-intro { max-width: 640px; }
  .fq-lead { max-width: 560px; }

  /* sets of cards: two columns */
  .pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; } .pm-c { margin-bottom: 0; }
  .sv-grid { grid-template-columns: 1fr 1fr; }
  .iw-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .ab-fs { grid-template-columns: 1fr 1fr; }
  .tw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ab-vs { display: grid; grid-template-columns: 1fr 1fr; }

  /* the footer: three columns (nine links, no gaps) */
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-row:last-child .foot-c:nth-last-child(2) { grid-column: auto; }

  /* the solution hero: the ring at a readable size beside the photo strip */
  .sl-panel { flex: none; height: 460px !important; padding: 0 104px 0 0 !important; }
  .sl-ring { transform: scale(.8) !important; }
  .sl-stripe { width: 104px !important; }
  .sl-lab { font-size: 18px; line-height: 22px; }

  /* pricing plans: two equal columns that may shrink (the Project card ran off the screen at 834); one column below 900px */
  .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-top, .pm-ft { flex-wrap: wrap; }
  /* approach: the "Send a brief" buttons in the two offers span the screen like on a phone */
  .s3-btn { width: auto !important; align-self: flex-start; padding-left: 28px; padding-right: 28px; }
  /* every paragraph, including those with their own mobile width rules */
  html.is-m p { max-width: 640px !important; }
  /* founders: both names on one line however long the role above them is */
  .ab-f { grid-template-rows: auto 1fr; }   /* the stretched card gives its extra height to the text, not the photo row (the names sat 34px apart) */
  .ab-fr { min-height: 2lh; }
  /* the values: the odd one out spans the row; headings line up at the top */
  .ab-vs { align-items: start; } .ab-vs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* the lifecycle ring: larger on a tablet */
  .s6-circle { zoom: .62; height: 460px; }
  .s6-circle .s6-lab { font-size: 24px; line-height: 30px; }
  /* the solution hero: the photo takes 40%, the ring panel a bit lower */
  .sl-panel { height: 400px !important; padding-right: 40% !important; }
  .sl-stripe { width: 40% !important; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .pm-grid { grid-template-columns: minmax(0, 640px); }
}
