/* ADG home page (layout "ADG-Home-EN"): blueprint hero with intro, Expertise, Projects, Our story, Contact, footer.
   One background for the whole page: two grids that sway with the cursor and move with the scroll. */

@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69b0f748f06664b839fd56ab_Inter_18pt-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84708a31e83b10dbd7e2_Inter_18pt-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84707894aeb57eebe33a_Inter_18pt-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84705e17ad8f6fd1c916_Inter_18pt-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae8424fce8a8dcdecd90ec_SpaceMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --black: #000; --ink: #141414; --graphite: #2D2D2D; --grey: #636363; --stone: #939393; --mist: #C6C6C6; --white: #fff; --orange: #D84021; --red: #BA1A1A;
  --display: "Inter 18 Pt", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --gx: 120px;
  color-scheme: dark;
}
@media (max-width: 1199px) { :root { --gx: 60px; } }
@media (max-width: 767px) { :root { --gx: 20px; } }
html { scroll-behavior: smooth; }
/* the browser must not adjust the scroll itself when Our story changes its height: the script does it */
html { overflow-anchor: none; }
html, body { margin: 0; background: #141414; }
body { color: var(--white); font-family: var(--display); font-size: 15px; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---- page background ---- */
.stack { position: relative; z-index: 1; }
.space { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #141414; }
.space > div { position: absolute; inset: 0; }
.gl { --c: rgba(255, 255, 255, .06); --s: 24px; background-image: linear-gradient(var(--c) 1px, transparent 1px), linear-gradient(90deg, var(--c) 1px, transparent 1px); background-size: var(--s) var(--s); }
.dp5 .far { position: absolute; inset: -200px; --c: rgba(255, 255, 255, .05); --s: 72px; filter: blur(1.5px); will-change: transform; }
.dp5 .base { position: absolute; inset: -200px; --c: rgba(255, 255, 255, .03); --s: 24px; will-change: transform; }

/* ---- hero: blueprint of the building, lines are drawn when the page opens ---- */
.hero { position: relative; height: 820px; overflow: hidden; isolation: isolate; }
.hdr { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 32px var(--gx) 0; font-size: 15px; }
.hdr nav { display: flex; gap: 26px; }
.hdr nav.r { justify-content: flex-end; }
.hdr nav a { opacity: .9; }
.hdr nav a:hover { color: var(--orange); }
.hdr img { display: block; width: auto; height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 40px; border: 1px solid currentColor; font-size: 19px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn.pri { border-color: var(--orange); background: var(--orange); color: var(--white); }
.btn.pri:hover { border-color: var(--red); background: var(--red); }

.n1 svg { position: absolute; right: calc(var(--gx) - 30px); top: 152px; z-index: 1; width: min(780px, 54%); height: auto; overflow: visible; }
.n1 svg path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-linejoin: miter; }
.n1 svg .s { stroke: var(--mist); stroke-width: 1.4; }
.n1 svg .t { stroke: var(--stone); stroke-width: 1; }
.n1 svg .r { stroke: var(--grey); stroke-width: 1; }
.n1 svg .g { stroke: var(--grey); stroke-width: 1; }
.n1 svg .o { stroke: var(--orange); stroke-width: 1.6; }
.n1 svg .d { stroke: var(--grey); stroke-width: 1; stroke-dasharray: 6 6; opacity: 0; }
/* drawing: every line has length 1 (pathLength), the dash moves from 1 to 0 */
.n1 svg .draw:not(.d) { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.n1.play svg .draw:not(.d) { animation: draw 1.3s cubic-bezier(.6, 0, .2, 1) forwards; animation-delay: var(--dl, 0s); }
.n1.play svg .d { animation: fadein .8s ease forwards; animation-delay: var(--dl, 0s); }
@keyframes fadein { to { opacity: .8; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* text as a note on the drawing: thin, quiet, on a dimension line */
.n1 .txt { position: absolute; left: var(--gx); top: 250px; z-index: 2; display: flex; flex-direction: column; gap: 18px; max-width: 380px; padding-left: 24px; border-left: 1px solid var(--grey); }
.n1 .txt::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 1px; background: var(--grey); }
.n1 .txt::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 7px; height: 1px; background: var(--grey); }
.n1 .kicker { color: var(--orange); font-size: clamp(28px, 2.9vw, 42px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.n1 h1 { max-width: 15ch; margin: 0; color: var(--white); font-size: clamp(28px, 2.9vw, 42px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.n1 p { max-width: 34ch; margin: 0; color: var(--stone); font-size: 14px; line-height: 1.55; }
.n1 .btns { display: flex; align-items: center; gap: 0; margin-top: 8px; }
.n1 .btns .btn { height: 44px; padding: 0 20px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.n1 .btns .lnk { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--grey); border-left: 0; color: var(--mist); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.n1 .btns .lnk:hover { border-color: var(--mist); color: var(--white); }
.n1 .stamp { position: absolute; left: var(--gx); right: var(--gx); bottom: 40px; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--grey); }
.n1 .stamp > div { padding: 12px 16px; border-left: 1px solid var(--grey); }
.n1 .stamp > div:first-child { border-left: 0; }
.n1 .stamp .l { color: var(--stone); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.n1 .stamp .n { margin-top: 6px; font-family: var(--mono); font-size: 20px; }

/* mobile menu (same as on the direction pages) */
.hdr .burger { display: none; justify-self: end; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hdr .burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--white); }
.mm { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; padding: 20px 20px 32px; background: var(--ink); }
.mm.is-open { display: flex; }
.mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-top img { display: block; width: auto; height: 44px; }
.mm-close { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.mm-links { display: flex; flex-direction: column; gap: 20px; margin: auto 0; }
.mm-links a { color: var(--white); font-size: 28px; font-weight: 300; }
.mm-note { color: var(--grey); font-size: 13px; }
html.mm-lock, html.mm-lock body { overflow: hidden; }

@media (max-width: 900px) {
  .hero { height: auto; min-height: 760px; padding-bottom: 40px; }
  .hdr { grid-template-columns: auto 1fr; padding-top: 20px; }
  .hdr nav { display: none; }
  .hdr .burger { display: block; }
  .n1 svg { position: relative; right: auto; top: auto; width: 100%; margin-top: 96px; }
  .n1 .txt { position: relative; left: auto; top: auto; margin: 0 var(--gx); }
  .n1 .stamp { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px var(--gx) 0; }
  .n1 .stamp > div:nth-child(3) { border-left: 0; }
  .n1 .stamp > div:nth-child(n+3) { border-top: 1px solid var(--grey); }
}
@media (prefers-reduced-motion: reduce) { .n1 svg .draw { stroke-dashoffset: 0 !important; opacity: .8; animation: none !important; } }

/* ---- intro: grey layer, the letters A D G are typed out, the layer leaves with a wave, ADG flies into the header logo ---- */
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }
.intro { position: fixed; inset: 0; z-index: 200000; pointer-events: auto; }
.intro-panel { position: absolute; inset: 0; background: var(--graphite); }
.intro-word { position: fixed; left: 0; top: 0; z-index: 200001; display: flex; gap: .6em; color: var(--white); font-family: var(--mono); font-size: clamp(22px, 5.6vw, 84px); line-height: 1; letter-spacing: .02em; white-space: nowrap; transform-origin: 0 0; will-change: transform, opacity; }
.intro-word .w { display: inline-flex; }
.intro-word .rest { color: var(--mist); }
.intro-hint { position: absolute; left: 50%; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--stone); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateX(-50%); transition: opacity .6s; }
.intro-hint.on { opacity: 1; }
/* header during the intro: the logo and the links wait for their turn */
html.intro-run .hdr img { opacity: 0; }
html.intro-run .hdr nav a { opacity: 0; }
html.intro-run .hdr nav:not(.r) a { transform: translateX(calc(40px + var(--k, 0) * 30px)); }
html.intro-run .hdr nav.r a { transform: translateX(calc(-40px - var(--k, 0) * 30px)); }
.hdr nav a { transition: opacity .5s ease, transform .7s cubic-bezier(.2, .7, .2, 1), color .2s; }
.hdr img { transition: opacity .35s; }

/* ---- section labels: one style for all blocks ---- */
.ux .lbl, .hm-section .hm-label, .hs-story .hs-label, .cxs .cx .clb { display: block; color: var(--orange); font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Expertise: three directions, the hovered one opens with its services ---- */
.ux { --bg: #141414; --line: #2D2D2D; --dim: #636363; --accent: #D84021; --ez: cubic-bezier(.2, .7, .2, 1); }
.ux * { box-sizing: border-box; }
.ux a:focus-visible, .ux [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ux .sec { padding: 120px var(--gx) 0; color: var(--white); font-family: var(--display); }
.ux .lbl { margin: 0 0 28px; }
.ux .h2 { max-width: 340px; margin: 0; font-size: 40px; font-weight: 400; line-height: 46px; letter-spacing: -.02em; }
.ux .xg { position: relative; display: grid; grid-template-columns: 454px minmax(0, 1fr); align-items: start; }
.ux .bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transition: transform .8s var(--ez), opacity .5s; }
.ux .bg.on { opacity: .5; }
.ux .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .96), rgba(20, 20, 20, .8) 50%, rgba(20, 20, 20, .94)); }
.ux .b0 { background-image: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69b0e48c4284c4cc5534ada9_image%207.jpg"); }
.ux .b1 { background-image: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69b0e85bdda587a1ad57b11e_image%206.jpg"); }
.ux .b2 { background-image: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69b0e85b875e029c49151a7f_monochrome-scene-depicting-life-workers-construction-industry-site-2%201.jpg"); }
.ux .v4 { position: relative; overflow: hidden; }
.ux .v4 > .bgs { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.ux .list { height: 640px; border-top: 1px solid var(--line); }
.ux .r { border-bottom: 1px solid var(--line); cursor: pointer; }
.ux .rh { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; padding: 24px 0; }
.ux .rh .k { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.ux .rh .t { color: var(--stone); font-size: 32px; font-weight: 300; line-height: 38px; letter-spacing: -.01em; transition: color .3s; }
.ux .r.on .rh .t { color: var(--white); }
.ux .r.on .rh .k { color: var(--accent); }
.ux .arr { color: var(--stone); transition: color .2s, transform .2s; }
.ux .on .arr { color: var(--accent); transform: translateX(4px); }
.ux .ex { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ez); }
.ux .r.on .ex { grid-template-rows: 1fr; }
.ux .ex > div { overflow: hidden; padding-left: 40px; }
.ux .exin { padding: 0 0 28px; }
.ux .desc { max-width: 620px; margin: 0 0 16px; color: var(--mist); font-size: 16px; line-height: 25px; }
.ux .svs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.ux .svs.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.ux .sv { padding: 14px 0; border-top: 1px solid rgba(198, 198, 198, .18); }
.ux .sv h4 { margin: 0 0 6px; font-size: 15px; font-weight: 400; line-height: 22px; }
.ux .sv p { margin: 0; color: var(--stone); font-size: 13px; line-height: 20px; }
.ux .rv { opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .5s var(--ez); }
.ux .on .rv { opacity: 1; transform: none; transition-delay: .15s; }
.ux .on .rv.d2 { transition-delay: .25s; }

/* ---- The latest projects ---- */
.hm-section, .hm-section * { box-sizing: border-box; }
.hm-section { padding: 140px var(--gx) 0; color: var(--white); font-family: var(--display); }
.hm-projects-head .hm-label { margin: 0; }
.hm-projects-sub { max-width: 340px; margin: 16px 0 0; color: var(--stone); font-size: 14px; line-height: 22px; }
.hm-mono { font-family: var(--mono); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.hm-card { display: block; color: var(--white); }
.hm-card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite); }
.hm-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hm-card:hover .hm-card-img img { transform: scale(1.04); }
.hm-card-meta { margin-top: 24px; color: var(--stone); font-size: 12px; line-height: 16px; letter-spacing: .05em; }
.hm-card-name { margin: 12px 0 0; font-size: 28px; font-weight: 400; line-height: 34px; letter-spacing: -.01em; transition: color .2s; }
.hm-card:hover .hm-card-name { color: var(--orange); }

/* ---- Our story: "Contour" block; pinned while the page scrolls through its track, years rise once and stay ---- */
.hs-story { color: var(--white); font-family: var(--display); }
.hs-track { position: relative; height: calc(3932px + 100vh); }
.hs-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; gap: 48px; box-sizing: border-box; height: 100vh; min-height: 640px; padding: 64px var(--gx); overflow: hidden; }
.hs-head { display: flex; flex-direction: column; gap: 14px; }
.hs-title { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -1px; text-wrap: balance; }
.hs-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
.hs-item { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin-top: calc(var(--i) * 40px); transform: translateY(calc((1 - var(--a, 0)) * 560px)); }
/* the outline is built from a text shadow so the inner overlaps of the digits stay hidden */
.hs-year { color: #141414; font-size: clamp(52px, 6.4vw, 100px); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap;
  text-shadow: 1px 0 0 #636363, -1px 0 0 #636363, 0 1px 0 #636363, 0 -1px 0 #636363, 1px 1px 0 #636363, -1px -1px 0 #636363, 1px -1px 0 #636363, -1px 1px 0 #636363; transition: color .4s; }
.hs-item.current .hs-year { color: var(--white); text-shadow: none; }
.hs-text { max-width: 22ch; padding-left: 4px; color: var(--mist); font-size: 14px; line-height: 1.5; opacity: var(--b, 0); }
@media (min-width: 821px) { .hs-pin { justify-content: flex-start; gap: 144px; } }
/* after the animation the block becomes a regular block without pinning */
.hs-story.hs-done .hs-track { height: auto; }
.hs-story.hs-done .hs-pin { position: relative; height: auto; min-height: 0; }
@media (max-width: 820px) {
  .hs-pin { min-height: 700px; padding-top: 40px; padding-bottom: 40px; gap: 24px; }
  .hs-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hs-item { margin-top: 0; }
  .hs-year { font-size: 52px; }
  .hs-text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hs-year { transition: none; } .hs-track { height: auto; } .hs-pin { position: relative; } }

/* ---- Contact: compact band, the form opens with the button ---- */
.cxs { position: relative; padding: 0 var(--gx) 24px; color: var(--white); font-family: var(--display); }
.cxs * { box-sizing: border-box; }
.cx .ch { margin: 0; font-size: 32px; font-weight: 400; line-height: 38px; letter-spacing: -.02em; }
.cx .cs { max-width: 380px; margin: 0; color: var(--stone); font-size: 14px; line-height: 22px; }
.cx .cf { display: block; min-width: 0; }
.cx .cl { display: block; color: var(--stone); font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cx .cf input { display: block; width: 100%; height: 40px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--graphite); border-radius: 0; background: transparent; color: var(--white); font: 400 16px/1 var(--display); outline: 0; transition: border-color .2s; }
.cx .cf input:focus { border-bottom-color: var(--stone); }
.cx .cb { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 0; border-radius: 0; background: var(--orange); color: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s; }
.cx .cb:hover { background: var(--red); }
.cx a { color: var(--white); transition: color .2s; }
.cx a:hover { color: var(--orange); }
.cx .cst { min-height: 18px; margin-top: 12px; color: var(--mist); font-size: 13px; line-height: 18px; }
.cx :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cx2 .band { display: grid; grid-template-columns: 454px 1fr auto; align-items: end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--graphite); }
.cx2 .t { display: contents; }
.cx2 .t .clb { grid-column: 1; align-self: start; }
.cx2 .t .ch { grid-column: 1 / 3; grid-row: 2; }
.cx2 .t .cs { grid-column: 1 / 3; grid-row: 3; }
.cx2 .acts { grid-column: 3; grid-row: 2 / 4; display: flex; align-items: center; gap: 0; font-size: 15px; }
.cx2 .acts .cb { box-shadow: inset 0 0 0 1px var(--white); }
.cx2 .ms { display: flex; height: 44px; border: 1px solid var(--white); border-left: 0; }
.cx2 .ms a { display: inline-flex; align-items: center; padding: 0 20px; color: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cx2 .ms a + a { border-left: 1px solid var(--white); }
.cx2 .ms a:hover { color: var(--orange); }
.cx2 .drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .7, .2, 1); }
.cx2.open .drop { grid-template-rows: 1fr; }
.cx2 .drop > div { overflow: hidden; }
.cx2 .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; gap: 28px 32px; align-items: end; padding-top: 28px; }
.cx2 .row .cf:nth-of-type(4) { grid-column: 1 / 4; grid-row: 2; }
.cx2 .row .go { grid-column: 4; grid-row: 2; }
.cx2 .go { width: 44px; height: 44px; padding: 0; letter-spacing: 0; line-height: 0; }
.cx2 .go svg { display: block; }

/* ---- footer ---- */
.ft { position: relative; z-index: 1; padding: 0 var(--gx) 20px; background: var(--black); color: var(--white); font-family: var(--display); }
.ft * { box-sizing: border-box; }
.ft a { color: var(--mist); transition: color .2s; }
.ft a:hover { color: var(--orange); }
.ft-cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px 48px; padding: 24px 0; border-bottom: 1px solid var(--graphite); }
.ft-cols > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 18px; }
.ft-cols a { white-space: nowrap; }
.ft-l { margin-bottom: 4px; color: var(--orange); font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.ft-bot { padding-top: 16px; }
.ft-bot p { margin: 0; color: var(--grey); font-size: 12px; line-height: 18px; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .ux .sec { padding: 96px var(--gx) 0; }
  .ux .xg { grid-template-columns: 1fr; }
  .ux .xg > div:first-child { margin-bottom: 40px; }
}
@media (max-width: 991px) {
  .hm-section { padding-top: 96px; }
  .hm-cards { margin-top: 40px; }
  .cxs { padding-bottom: 24px; }
  .cx2 .band { grid-template-columns: 1fr; gap: 16px; }
  .cx2 .t .ch, .cx2 .t .cs { grid-column: 1; }
  .cx2 .acts { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
  .cx2 .row { grid-template-columns: 1fr 1fr 44px; }
  .cx2 .row .cf:nth-of-type(3) { grid-column: 1 / 3; }
  .cx2 .row .cf:nth-of-type(4) { grid-column: 1 / 3; grid-row: 3; }
  .cx2 .row .go { grid-column: 3; grid-row: 3; }
  .ft-cols { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (max-width: 767px) {
  .ux .sec { padding: 72px var(--gx) 0; }
  .ux .h2 { font-size: 30px; line-height: 36px; }
  .ux .list { height: auto; }
  .ux .rh .t { font-size: 24px; line-height: 30px; }
  .ux .ex > div { padding-left: 0; }
  .ux .svs, .ux .svs.c2 { grid-template-columns: 1fr; }
  .hm-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cx .ch { font-size: 26px; line-height: 32px; }
  /* the button and WhatsApp | Telegram do not fit in one line on a phone: two full-width lines */
  .cx2 .band { grid-template-columns: minmax(0, 1fr); }
  .cx2 .acts { flex-wrap: wrap; }
  .cx2 .acts .cb { flex: 1 0 100%; }
  .cx2 .ms { flex: 1 0 100%; border-left: 1px solid var(--white); border-top: 0; }
  .cx2 .ms a { flex: 1; justify-content: center; }
  .cx2 .row { grid-template-columns: 1fr 44px; }
  .cx2 .row .cf { grid-column: 1 / 2 !important; grid-row: auto !important; }
  .cx2 .row .go { grid-column: 2; grid-row: 4; }
  .ft-cols { gap: 28px 20px; }
}
@media (max-width: 419px) {
  /* the two hero buttons do not fit in one line on narrow phones: one under the other */
  .n1 .btns { flex-direction: column; align-items: stretch; }
  .n1 .btns .lnk { justify-content: center; border-left: 1px solid var(--grey); border-top: 0; }
}
@media (max-width: 479px) {
  .hm-card-name { font-size: 24px; line-height: 30px; }
  .ft-cols a { white-space: normal; }
}

/* Space Mono has no Cyrillic: on the RU page the uppercase labels use Inter instead (brand book: RU headings in Inter) */
html[lang="ru"] .wwd .wl, html[lang="ru"] .ux .lbl, html[lang="ru"] .hm-section .hm-label, html[lang="ru"] .hs-story .hs-label, html[lang="ru"] .cxs .cx .clb,
html[lang="ru"] .hm-mono, html[lang="ru"] .cx .cl, html[lang="ru"] .cx .cb, html[lang="ru"] .ft-l, html[lang="ru"] .intro-hint,
html[lang="ru"] .n1 .stamp .l, html[lang="ru"] .n1 .btns .btn, html[lang="ru"] .n1 .btns .lnk { font-family: var(--display); font-weight: 500; letter-spacing: .1em; }

/* ---- What we do: 3 × 2 grid, the cells appear one by one once when the block enters the screen ---- */
.wwd { position: relative; padding: 120px var(--gx) 0; color: #fff; font-family: var(--display); }
.wwd * { box-sizing: border-box; }
.wwd .wl { display: block; margin: 0 0 28px; color: #D84021; font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.wwd h3 { margin: 0; font-weight: 400; }
.wwd .k { color: #636363; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.wwd .rv { opacity: 0; transform: translateY(24px); }
.wwd .in .rv, .wwd.in .rv { opacity: 1; transform: none; }
.wwd [style*="--i"] { transition: opacity .7s calc(var(--i) * 90ms), transform .8s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms); }
.wwd:not(.in) [style*="--i"] { opacity: 0; transform: translateY(24px); }
.wwd button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wwd :focus-visible { outline: 2px solid #D84021; outline-offset: 2px; }
.w1 .g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #2D2D2D; border-left: 1px solid #2D2D2D; }
.w1 .c { display: flex; flex-direction: column; gap: 14px; min-height: 220px; padding: 28px 28px 32px; border-right: 1px solid #2D2D2D; border-bottom: 1px solid #2D2D2D; transition-property: opacity, transform, background; }
.w1 .c:hover { background: rgba(255, 255, 255, .03); }
.w1 h3 { font-size: 22px; line-height: 28px; letter-spacing: -.01em; }
.w1 p { margin: auto 0 0; color: #939393; font-size: 14px; line-height: 22px; }
@media (max-width: 1100px) { .w1 .g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .wwd { padding-top: 72px; } .w1 .g { grid-template-columns: 1fr; } }

/* ---- page-wide fixes ---- */
/* orange buttons become white, orange on hover */
.n1 .btns .btn.pri { border-color: #fff; background: #fff; color: #141414; }
.n1 .btns .btn.pri:hover { border-color: #D84021; background: #D84021; color: #fff; }
.cxs .cx .cb { background: #fff; color: #141414; }
.cxs .cx .cb:hover { background: #D84021; color: #fff; }
.cxs .cx2 .acts .cb { box-shadow: none; }
/* Expertise: visible arrows, brighter photo */
.ux .v4 .rh { align-items: center; }
.ux .v4 .rh .arr { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #939393; color: #fff; font-size: 20px; line-height: 1; transform: none !important; }
.ux .v4 .rh .arr:hover { border-color: #D84021; color: #D84021; }
.ux .v4 .r.on .rh .arr { border-color: #D84021; background: #D84021; color: #fff; }
.ux .v4 > .bgs .bg.on { opacity: 1; }
.ux .v4 > .bgs .bg::after { background: linear-gradient(90deg, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .62) 40%, rgba(20, 20, 20, .38) 100%); }
/* direction arrows: a drawn arrow exactly in the centre of the square */
.ux .v4 .rh .arr { font-size: 0; }
.ux .v4 .rh .arr::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 9h13M10 4l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 9h13M10 4l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; }
/* section labels are white */
.wwd .wl, .ux .lbl, .hm-section .hm-label, .hs-story .hs-label, .cxs .cx .clb, .ft .ft-l { color: #fff !important; }
/* from the hero figures to What we do: 130px */
.wwd { padding-top: 90px; }
@media (max-width: 767px) { .wwd { padding-top: 60px; } }
/* Expertise heading the size of the hero slogan */
.ux .v4 .h2 { max-width: none; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; white-space: nowrap; }
/* a two-line heading wider than 454px: the column adapts and the list moves so they do not overlap */
@media (min-width: 1101px) { .ux .v4 .xg { grid-template-columns: minmax(454px, max-content) minmax(0, 1fr); column-gap: 64px; } }
/* What we do is quieter: no frames, smaller and more muted, so it does not compete with the hero and Expertise */
.w1 .g { border: 0; column-gap: 48px; }
.w1 .c { gap: 10px; min-height: 0; padding: 22px 0 26px; border: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.w1 .c:hover { background: none; }
.w1 .k { color: #4a4a4a; }
.w1 h3 { color: #C6C6C6; font-size: 17px; line-height: 24px; }
.w1 p { margin: 0; color: #7a7a7a; font-size: 13px; line-height: 20px; }
.w1 h3 { color: #fff; }
.w1 p { font-size: 16px; line-height: 25px; }
