:root {
  --navy: #010D24;
  --navy-about: #031630;
  --navy-cta: #031136;
  --card-dark: #041B38;
  --accent: #ED6015;
  --accent-hi: #FD7510;
  --ink: #F4F7FB;
  --ink-soft: #F2F5FA;
  --muted: #93A3BE;
  --muted-2: #A7B7D2;
  --muted-3: #8CA0BE;
  --light: #F2F7FC;
  --light-alt: #E9F2FB;
  --card: #FBFCFE;
  --card-border: #DFE7F3;
  --deep: #081F4D;
  --deep-2: #0B2050;
  --deep-3: #12296B;
  --slate: #5D6E8E;
  --slate-2: #33456B;
  --pad: 84px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --px: 0;
  --py: 0;
  --sc: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent-hi); }

h1, h2, h3, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--accent);
}

.rule {
  width: 44px;
  height: 3px;
  background: var(--accent);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  white-space: nowrap;
}
.arrow-link svg { color: var(--accent); transition: transform .4s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease;
}
.nav.is-scrolled {
  background: rgba(2, 13, 36, .78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: rgba(255, 255, 255, .07);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .08em;
}
.nav__brand:hover { color: var(--ink); }
.nav__brand img { width: 46px; height: 52px; object-fit: contain; display: block; }

.nav__menu { display: flex; align-items: center; gap: 34px; }

.nav__link {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #D4DCE9;
}
.nav__link:hover { color: #fff; }
/* the rule wipes in from the left and leaves to the right */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .42s var(--ease-out);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

/* reading progress — a hairline that fills as the page is consumed */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 61;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 12px rgba(253, 117, 16, .55);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* Cyrillic labels are longer — tighten the desktop nav so it never crowds the brand */
html[lang="ru"] .nav__menu,
html[lang^="uz"] .nav__menu { gap: 24px; }
html[lang="ru"] .nav__link,
html[lang^="uz"] .nav__link { letter-spacing: .06em; }
html[lang="ru"] .nav__tools,
html[lang^="uz"] .nav__tools { margin-left: 18px; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  white-space: nowrap;
}
.nav__cta::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- language switcher ---------- */

.nav__menu { margin-left: auto; }
.nav__tools { display: flex; align-items: center; gap: 14px; margin-left: 26px; }

.langsw { position: relative; }
.langsw__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #D4DCE9;
  cursor: pointer;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.langsw__btn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.langsw__code { line-height: 1; min-width: 1.5em; text-align: center; }
.langsw__chev { opacity: .7; transition: transform .3s var(--ease); }
.langsw.is-open .langsw__chev { transform: rotate(180deg); }

.langsw__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: rgba(6, 16, 38, .97);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s var(--ease);
  z-index: 90;
}
.langsw.is-open .langsw__menu { opacity: 1; transform: none; pointer-events: auto; }
.langsw__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: #C6D0E0;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.langsw__menu button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.langsw__menu button.is-active { color: var(--accent-hi); }
.langsw__menu button.is-active::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ---------- hero (ROAR) ---------- */

.hero {
  --px: 0;
  --py: 0;
  --sc: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 95% at 84% 12%, rgba(253, 117, 16, .30), transparent 52%),
    radial-gradient(85% 80% at 74% 66%, rgba(237, 96, 21, .16), transparent 60%),
    radial-gradient(100% 120% at 10% 20%, rgba(4, 27, 56, .85), transparent 65%),
    var(--navy);
}
.hero__glow {
  position: absolute;
  z-index: 1;
  width: 62vmax;
  height: 62vmax;
  right: -14vmax;
  top: 50%;
  transform: translate3d(calc(var(--px) * -14px), calc(-50% + var(--py) * -14px + var(--sc) * -90px), 0);
  background: radial-gradient(circle at 50% 50%, rgba(253, 117, 16, .5), rgba(237, 96, 21, .16) 44%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.blade { position: absolute; z-index: 2; pointer-events: none; will-change: transform; }
.blade--wedge {
  right: 0;
  top: 0;
  width: min(60vw, 780px);
  height: 100%;
  background: linear-gradient(150deg, #061426 0%, #030e23 55%, #010b20 100%);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 6% 100%);
  opacity: 1;
  transform: translate3d(calc(var(--px) * 10px), 0, 0);
}
/* glowing orange edge along the wedge's leading diagonal — keeps the 45° slice */
.blade--edge {
  right: 0;
  top: 0;
  width: min(60vw, 780px);
  height: 100%;
  background: linear-gradient(150deg, var(--accent-hi), var(--accent) 55%, #d1520e);
  clip-path: polygon(42% 0, 43.4% 0, 7.4% 100%, 6% 100%);
  filter: drop-shadow(0 0 14px rgba(253, 117, 16, .55));
  transform: translate3d(calc(var(--px) * 10px), 0, 0);
}
.blade--slashA {
  left: 8%;
  top: -20vh;
  width: 2px;
  height: 150vh;
  background: linear-gradient(180deg, transparent, var(--accent-hi) 30%, var(--accent-hi) 70%, transparent);
  transform: rotate(45deg) translate3d(calc(var(--px) * 18px), 0, 0);
  box-shadow: 0 0 24px 1px rgba(253, 117, 16, .7);
  opacity: .9;
}
.blade--slashB {
  left: 2%;
  top: -20vh;
  width: 1px;
  height: 150vh;
  background: linear-gradient(180deg, transparent, rgba(253, 117, 16, .6) 40%, transparent);
  transform: rotate(45deg) translate3d(calc(var(--px) * 26px), 0, 0);
  opacity: .7;
}

.hero__lion {
  position: absolute;
  z-index: 3;
  right: 2.5vw;
  bottom: 7vh;
  width: min(46vw, 620px);
  aspect-ratio: 748 / 592;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 16px + var(--sc) * -60px), 0);
}
.hero__lion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* #roarDuo cuts the backdrop out, so the glow follows the silhouette */
  filter: url(#roarDuo) drop-shadow(0 0 34px rgba(253, 117, 16, .34)) drop-shadow(0 22px 46px rgba(1, 9, 27, .55));
  /* the source art is cropped mid-chest — dissolve the cut edge into the dark */
  -webkit-mask-image: linear-gradient(to top, transparent 1%, #000 15%);
  mask-image: linear-gradient(to top, transparent 1%, #000 15%);
}
.hero__lion-bloom {
  position: absolute;
  inset: 0;
  filter: url(#roarDuo) blur(16px);
  opacity: .5;
  mix-blend-mode: screen;
}

/* code woven into the mane — visible only where the mane glows,
   dies out over the navy backdrop (overlay blend + radial mask) */
.hero__code {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .95;
  -webkit-mask-image: radial-gradient(56% 50% at 52% 50%, #000 40%, transparent 76%);
  mask-image: radial-gradient(56% 50% at 52% 50%, #000 40%, transparent 76%);
}
.hero__code pre {
  margin: 0;
  font: 600 11px/1.65 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: .04em;
  white-space: pre;
  color: #FFE3C9;
  text-shadow: 0 0 8px rgba(253, 117, 16, .55);
  animation: xsCodeDrift 34s linear infinite;
}

@keyframes xsCodeDrift {
  to { transform: translateY(-50%); }
}

.rail {
  position: absolute;
  left: max(14px, 2vw);
  top: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  pointer-events: none;
}
.rail__line { width: 1px; height: 80px; background: linear-gradient(var(--accent-hi), transparent); }
.rail__line--down { background: linear-gradient(transparent, var(--accent-hi)); }
.rail__txt {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .42em;
  color: var(--muted);
  text-transform: uppercase;
}
.rail__txt b { color: var(--accent-hi); }

.hero__body {
  position: relative;
  z-index: 5;
  padding: 132px var(--pad) 80px;
  width: 100%;
  max-width: 900px;
  transform: translate3d(calc(var(--px) * -6px), calc(var(--sc) * 40px), 0);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-hi);
}

.title {
  font-family: 'Anton', 'Manrope', sans-serif;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: .005em;
  color: var(--ink);
}
.line { display: block; overflow: hidden; }
.line__i { display: block; will-change: transform; }
.title .t1, .title .t2 { font-size: clamp(3rem, 8.6vw, 7rem); color: #EAF0FA; }
.title .t2 {
  color: var(--accent-hi);
  text-shadow: .01em .014em 0 #B8480D, .022em .028em 0 rgba(9, 20, 38, .8);
}
/* Cyrillic & CJK render in Manrope (Anton is Latin-only) — wider/taller, so scale down */
html[lang="uz-Cyrl"] .title .t1, html[lang="uz-Cyrl"] .title .t2,
html[lang="ru"] .title .t1, html[lang="ru"] .title .t2,
html[lang="zh"] .title .t1, html[lang="zh"] .title .t2 {
  font-size: clamp(2.2rem, 5.8vw, 4.7rem);
}
html[lang="uz-Cyrl"] .title, html[lang="ru"] .title, html[lang="zh"] .title { line-height: 1; }

.hero__lead {
  margin-top: 40px;
  max-width: 440px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.72;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 12px;
  padding: 16px 26px;
  font-size: 12.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), color .35s ease, border-color .35s ease;
}
.hero .btn svg { transition: transform .4s var(--ease); }
.hero .btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: #0A1020; padding: 16px 26px; }
.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.7, 0, .2, 1);
}
.btn--solid:hover { color: #0A1020; box-shadow: 0 16px 38px rgba(237, 96, 21, .32); }
.btn--solid:hover::before, .btn--solid:focus-visible::before { transform: translateX(120%); }
.btn--solid:hover svg { transform: translateX(4px); }
.hero .btn--ghost { color: var(--ink); border-color: rgba(255, 255, 255, .28); padding: 16px 26px; }
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 117, 16, .12);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.btn--ghost:hover { color: #fff; border-color: var(--accent-hi); background: transparent; transform: translateY(-2px); }
.btn--ghost:hover::before, .btn--ghost:focus-visible::before { transform: scaleY(1); }

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: var(--pad);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .34em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-cue__track { position: relative; width: 1px; height: 40px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.scroll-cue__track::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--accent-hi); }

.hero__vig {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(1, 9, 24, .55) 100%);
  mix-blend-mode: multiply;
}
.hero__grain {
  position: absolute;
  inset: -50%;
  z-index: 8;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- section shell ---------- */

.section { scroll-margin-top: 70px; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-top: 14px;
}
.section__head h2 {
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--deep);
}
.section__head p {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 500px;
}

/* ---------- services ---------- */

.services {
  background: var(--light);
  padding: 108px var(--pad) 118px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 16px;
  margin-top: 52px;
  align-items: stretch;
}

.svc {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--accent);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(8, 31, 77, .1);
}
.svc__num { font-size: 15px; font-weight: 700; color: var(--accent); }

.svc--lead { grid-row: span 2; min-height: 516px; }
.svc--lead > img {
  position: absolute;
  top: 2px;
  right: 2px;
  height: calc(100% - 4px);
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.svc__body { position: relative; z-index: 2; padding: 44px 48px 42px; max-width: 56%; }
.svc__body h3 {
  margin-top: 26px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--deep-2);
}
.svc__body .rule { margin-top: 24px; }
.svc__body > p {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 340px;
}

.svc__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}
.svc__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--slate-2);
}
.svc__list svg { color: var(--deep-3); flex: 0 0 auto; }

.svc__more {
  margin-top: 46px;
  font-size: 13px;
  color: var(--deep-2);
}
.svc__more:hover { color: var(--accent); }

.svc--sm { padding: 40px 44px 38px; min-height: 186px; }
.svc__row { display: flex; gap: 34px; margin-top: 22px; }
.svc__icon {
  flex: 0 0 96px;
  height: 96px;
  border: 1px solid #DCE6F5;
  border-radius: 16px;
  background: #EDF3FB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-2);
}
.svc__col { flex: 1; }
.svc__col h3 {
  font-size: clamp(24px, 2.2vw, 29px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--deep-2);
}
.svc__col .rule { width: 40px; margin-top: 18px; }
.svc__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}
.svc__foot p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 330px;
}
.svc__foot .arrow-link { color: var(--deep-2); gap: 11px; letter-spacing: .12em; }
.svc__foot .arrow-link:hover { color: var(--accent); }

/* ---------- work ---------- */

.work {
  background: var(--light-alt);
  padding: 104px 148px 128px;
}
.work__head {
  display: flex;
  align-items: center;
  gap: 52px;
  margin-top: 12px;
}
.work__head h2 {
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--deep);
}
.work__head p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 460px;
  border-left: 1px solid #B9C9DE;
  padding-left: 44px;
}

.work__rows { display: flex; flex-direction: column; gap: 3px; margin-top: 56px; }
.work__row { display: grid; gap: 3px; }
.work__row--a { grid-template-columns: 59.3fr 40.7fr; }
.work__row--b { grid-template-columns: 46.9fr 53.1fr; }

.proj {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-dark);
  overflow: hidden;
  min-height: 312px;
}
.work__row--b .proj { min-height: 287px; }

/* the live screenshot sits in a tilted frame — real work, not a stock photo */
.proj__shot {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -13%;
  width: 60%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 28px 62px rgba(0, 0, 0, .55);
  transform: translateY(-50%) perspective(1500px) rotateY(-16deg) rotateX(4deg);
  transform-origin: left center;
  transition: transform 1s var(--ease-out), box-shadow .6s ease;
}
.proj__shot img { display: block; width: 100%; height: auto; filter: saturate(1.06) brightness(1.05); }
.proj__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(4, 27, 56, .55) 0%, rgba(4, 27, 56, 0) 46%);
}
.proj__corner {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 78px;
  height: 78px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.proj__corner-icon {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 14px;
  color: #fff;
  display: flex;
}
.proj__tag {
  position: absolute;
  z-index: 3;
  top: 31px;
  left: 100px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
}
.proj__body { position: relative; z-index: 2; flex: 1 1 auto; padding: 80px 44px 16px; }
.proj__body h3 {
  font-size: clamp(24px, 2.4vw, 33px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.proj__body .rule { width: 36px; margin-top: 15px; }
.proj__body p {
  margin-top: 15px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 280px;
}
.proj__list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.proj__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-3);
}
.proj__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.proj__list b { display: block; font-weight: 700; color: var(--ink); }
.proj__nda {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 0 44px 28px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--muted-3);
}
.proj__link {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: 0 44px 28px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ink);
}
.proj__link:hover { color: var(--accent-hi); }

/* the card answers the cursor: the frame leans in, a hairline lights the edge */
.proj::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg, var(--card-dark) 30%, rgba(4, 27, 56, .78) 47%, rgba(4, 27, 56, 0) 74%);
}
.proj--systems::before { display: none; }
.proj::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(253, 117, 16, 0);
  transition: box-shadow .5s ease;
}
.proj:hover .proj__shot {
  transform: translateY(-50%) perspective(1500px) rotateY(-11deg) rotateX(2deg) translate3d(-14px, -6px, 0);
  box-shadow: 0 34px 74px rgba(0, 0, 0, .6);
}
.proj:hover::after { box-shadow: inset 0 0 0 1px rgba(253, 117, 16, .4); }
.proj:hover .proj__link { color: var(--accent-hi); }
.proj:hover .proj__link svg { transform: translate(3px, -3px); }

.proj--sanoat .proj__shot { width: 58%; right: -20%; }
.proj--hazrat .proj__shot { width: 60%; right: -16%; }
.proj--systems .proj__body p { max-width: 330px; }

@media (min-width: 861px) {
  .work__row--b .proj__body h3 { font-size: clamp(24px, 2.25vw, 31px); }
  .work__row--b .proj__link, .work__row--b .proj__nda { margin-bottom: 26px; }
}

/* ---------- about ---------- */

.about {
  position: relative;
  background: var(--navy-about);
  overflow: hidden;
}
.about__art {
  position: absolute;
  top: 0;
  right: 0;
  width: 57.2%;
  height: auto;
  display: block;
}
.about__body {
  position: relative;
  z-index: 2;
  padding: 70px 0 0 72px;
  max-width: 620px;
  min-height: 604px;
}
.about__kicker { display: flex; align-items: center; gap: 16px; }
.about__kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.about__body h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.4vw, 47px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink-soft);
}
.about__lead {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.65;
  color: #9DAEC9;
  max-width: 470px;
}
.about__body > .rule { width: 38px; margin-top: 22px; }

.about__cols { display: flex; gap: 30px; margin-top: 36px; }
.about__cols > .divider { width: 1px; background: rgba(255, 255, 255, .1); }
.about__mission { flex: 0 0 268px; }
.about__values { flex: 1; }
.about__label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #7E92B4;
}
.about__mission-row { display: flex; gap: 18px; margin-top: 20px; }
.about__mission-row svg { color: var(--accent); flex: 0 0 auto; }
.about__mission-row p { font-size: 15px; line-height: 1.7; color: #C3CFE3; }

.value-list { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-list svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.value-list b { display: block; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.value-list span { font-size: 12.5px; color: var(--muted-3); }

.about__place {
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  padding: 16px 22px 16px 16px;
  margin-top: 30px;
  max-width: 460px;
  background: rgba(255, 255, 255, .015);
}
.about__place img { width: 106px; height: 104px; object-fit: cover; flex: 0 0 auto; }
.about__place b {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-soft);
  display: block;
}
.about__place b span { color: #C3CFE3; font-weight: 700; }
.about__place p { margin-top: 10px; font-size: 11.5px; line-height: 1.55; color: var(--muted-3); }

.about__facts {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 36px 48px 40px 370px;
}
.about__facts .divider { width: 1px; height: 62px; background: rgba(255, 255, 255, .1); }
.fact { display: flex; gap: 18px; align-items: flex-start; flex: 1; max-width: 250px; }
.fact svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.fact b {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.fact p { font-size: 13px; line-height: 1.55; color: var(--muted-3); margin-top: 6px; }

/* ---------- contact ---------- */

.contact {
  position: relative;
  background: var(--navy-cta);
  overflow: hidden;
  padding: 112px 88px 96px;
}
.contact__art {
  position: absolute;
  top: 8px;
  right: 0;
  width: 27.8%;
  height: auto;
  -webkit-mask-image: radial-gradient(120% 120% at 62% 38%, #000 55%, transparent 93%);
  mask-image: radial-gradient(120% 120% at 62% 38%, #000 55%, transparent 93%);
}
.contact__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact__kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--accent);
}
.contact__kicker::before,
.contact__kicker::after {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}
.contact__inner h2 {
  margin-top: 30px;
  font-size: clamp(40px, 5.9vw, 84px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
}
.contact__lead {
  margin-top: 32px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
}

.btn--glow {
  margin-top: 48px;
  background: linear-gradient(180deg, #FB8B33 0%, #EE5F0E 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 22px 42px;
  border-radius: 14px;
  animation: xsGlow 3.5s ease-in-out infinite;
}
.btn--glow:hover { color: #fff; transform: translateY(-3px) scale(1.02); }

/* three equal tiles on one grid — every icon, label and value lines up,
   at every width and in every language */
.contact__ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 74px;
  text-align: left;
}
.contact__ways .divider { display: none; }
.way {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(10, 25, 62, .5);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s ease, background .45s ease;
}
/* a slow sheen crosses the tile on hover */
.way::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(253, 117, 16, .12) 50%, transparent 68%);
  transform: translateX(-115%);
  transition: transform .85s var(--ease-out);
}
.way:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 117, 16, .34);
  background: rgba(15, 32, 74, .6);
}
.way:hover::after { transform: translateX(115%); }
.way:hover .way__icon {
  color: var(--accent-hi);
  border-color: rgba(253, 117, 16, .42);
  background: rgba(253, 117, 16, .09);
}
.way__icon {
  transition: color .4s ease, border-color .4s ease, background .4s ease;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.way > div { min-width: 0; }
.way small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.way b, .way a {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 5px;
}
.way a:hover { color: var(--accent-hi); }

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  /* stretch + space-between keeps the notes on one baseline when a label wraps
     in a longer language */
  align-items: stretch;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background: rgba(10, 25, 62, .55);
  padding: 44px 30px;
}
.stats .divider { width: 1px; height: 120px; align-self: center; background: rgba(255, 255, 255, .08); }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 0 30px; }
.stat__row { display: flex; align-items: center; gap: 22px; }
.stat__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.stat__num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.01em;
}
.stat__label { font-size: 16.5px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.stat__note { font-size: 13px; color: var(--muted-3); }

/* ---------- technologies ---------- */

.tech {
  background: var(--navy-about);
  padding: 108px 0 110px;
  overflow: hidden;
}
.tech__head { padding: 0 var(--pad); max-width: 820px; }
.tech__head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink-soft);
}
.tech__head p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.marquee {
  margin: 58px 0 56px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: xsMarquee 48s linear infinite;
}
.marquee__track span {
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #C3CFE3;
  white-space: nowrap;
}
.marquee__track i {
  width: 7px;
  height: 7px;
  margin: 0 34px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.stacks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 var(--pad);
}
.stacks li {
  padding: 34px 34px 38px;
  border: 1px solid rgba(255, 255, 255, .07);
  margin: -1px 0 0 -1px;
  transition: background .3s ease;
}
.stacks li:hover { background: rgba(255, 255, 255, .025); }
.stacks b {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
}
.stacks h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink-soft);
}
.stacks p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-3);
}

/* ---------- careers ---------- */

.careers {
  background: var(--light-alt);
  padding: 104px var(--pad) 112px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.careers__intro h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--deep);
}
.careers__intro p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 420px;
}
.careers__cta { margin-top: 34px; color: var(--deep-2); }
.careers__cta:hover { color: var(--accent); }

.roles { border-top: 1px solid #B9C9DE; }
.roles li { border-bottom: 1px solid #B9C9DE; }
.roles a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 8px 28px 0;
  color: var(--deep-2);
  transition: padding-left .35s var(--ease), color .25s ease;
}
.roles a:hover { padding-left: 18px; color: var(--accent); }
.roles__title {
  flex: 1;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: -.01em;
}
.roles__meta { font-size: 13.5px; color: var(--slate); white-space: nowrap; }
.roles a svg { flex: 0 0 auto; transition: transform .35s var(--ease); }
.roles a:hover svg { transform: translate(3px, -3px); }

/* ---------- footer ---------- */

.footer {
  position: relative;
  background: var(--navy);
  padding: 96px var(--pad) 34px;
  overflow: hidden;
}
.footer__mark {
  position: absolute;
  left: 50%;
  bottom: -2.2vw;
  transform: translateX(-50%);
  font-size: 20vw;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
}
.footer__col h3 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #7E92B4;
  margin-bottom: 22px;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 15.5px;
  line-height: 2.1;
  color: #C3CFE3;
}
.footer__col a:hover { color: var(--accent-hi); }
.footer__col .footer__brand { display: flex; margin-bottom: 22px; }
.footer__brand img { width: 38px; height: 44px; }
.footer__col .footer__brand span { font-size: 19px; line-height: 1; }
.footer__col > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted-3);
  max-width: 320px;
}
.footer__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 86px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: var(--muted-3);
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink);
}
.footer__top:hover { color: var(--accent-hi); }
.footer__top svg { transition: transform .35s var(--ease); }
.footer__top:hover svg { transform: translateY(-3px); }

/* ---------- motion ---------- */

@keyframes xsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes xsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes xsGlow {
  0%, 100% { box-shadow: 0 6px 26px rgba(244, 101, 17, .38), 0 0 54px rgba(244, 101, 17, .18); }
  50% { box-shadow: 0 6px 38px rgba(253, 117, 16, .55), 0 0 80px rgba(253, 117, 16, .26); }
}

[data-reveal].will-reveal { opacity: 0; transform: translateY(32px); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rdelay, 0ms);
}
[data-reveal].is-done { opacity: 1; transform: none; }

/* section headings wipe in behind a soft diagonal edge — a mask, so the text
   itself is never touched and every language behaves the same */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].will-reveal h2,
  h2[data-reveal].will-reveal,
  [data-reveal].is-in h2,
  h2[data-reveal].is-in,
  [data-reveal].is-done h2,
  h2[data-reveal].is-done {
    -webkit-mask-image: linear-gradient(96deg, #000 55%, transparent 68%);
    mask-image: linear-gradient(96deg, #000 55%, transparent 68%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  [data-reveal].will-reveal h2,
  h2[data-reveal].will-reveal {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  [data-reveal].is-in h2,
  h2[data-reveal].is-in {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    transition: -webkit-mask-position 1.2s var(--ease-out), mask-position 1.2s var(--ease-out);
    transition-delay: calc(var(--rdelay, 0ms) + 100ms);
  }
  [data-reveal].is-done h2,
  h2[data-reveal].is-done {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

/* balanced ragging on display copy */
h2, .section__head p, .work__head p, .about__lead, .contact__lead { text-wrap: balance; }

/* hero entrance — armed by JS only when motion is allowed, so a no-JS
   or reduced-motion visitor always gets the fully composed hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-armed .line__i { transform: translateY(112%); }
  .hero-armed .status,
  .hero-armed .hero__lead,
  .hero-armed .hero__actions,
  .hero-armed .scroll-cue { opacity: 0; }
  .hero-armed .status { transform: translateY(14px); }
  .hero-armed .hero__lead,
  .hero-armed .hero__actions { transform: translateY(20px); }
  .hero-armed .blade--wedge { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .hero-armed .blade--edge { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .hero-armed .blade--slashA,
  .hero-armed .blade--slashB { transform: rotate(45deg) scaleY(0); transform-origin: top center; }
  .hero-armed .hero__lion { clip-path: inset(0 0 0 100%); opacity: 0; }
  .hero-armed .hero__glow { opacity: 0; }
  .hero-armed .rail { opacity: 0; }

  .hero-ready .hero__glow { animation: xsFade 1.2s ease .2s forwards; }
  .hero-ready .blade--wedge { animation: xsWedge .8s cubic-bezier(.7, 0, .2, 1) .12s forwards; }
  .hero-ready .blade--edge { animation: xsWedgeEdge .8s cubic-bezier(.7, 0, .2, 1) .2s forwards; }
  .hero-ready .blade--slashA { animation: xsSlash .7s cubic-bezier(.7, 0, .2, 1) .28s forwards; }
  .hero-ready .blade--slashB { animation: xsSlash .7s cubic-bezier(.7, 0, .2, 1) .18s forwards; }
  .hero-ready .status { animation: xsRise .8s var(--ease) .2s forwards; }
  .hero-ready .t1 .line__i { animation: xsLineUp .95s var(--ease) .30s forwards; }
  .hero-ready .t2 .line__i { animation: xsLineUp .95s var(--ease) .44s forwards; }
  .hero-ready .hero__lead { animation: xsRise .9s var(--ease) .82s forwards; }
  .hero-ready .hero__actions { animation: xsRise .9s var(--ease) .92s forwards; }
  .hero-ready .rail { animation: xsFade 1s ease 1s forwards; }
  .hero-ready .scroll-cue { animation: xsRise .9s var(--ease) 1.1s forwards; }
  .hero-ready .hero__lion { animation: xsLionIn 1s var(--ease) .42s forwards, xsLionFloat 9s ease-in-out 1.6s infinite; }
  .hero-ready .status__dot { animation: xsPulse 2.4s ease-out 1.4s infinite; }
  .hero-ready.hero-cue .scroll-cue__track::after { animation: xsCue 1.9s cubic-bezier(.7, 0, .2, 1) infinite; }
}

@keyframes xsFade { to { opacity: 1; } }
@keyframes xsRise { to { opacity: 1; transform: none; } }
@keyframes xsLineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes xsWedge {
  from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  to { clip-path: polygon(42% 0, 100% 0, 100% 100%, 6% 100%); }
}
@keyframes xsWedgeEdge {
  from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  to { clip-path: polygon(42% 0, 43.4% 0, 7.4% 100%, 6% 100%); }
}
@keyframes xsSlash { to { transform: rotate(45deg) scaleY(1); } }
@keyframes xsLionIn {
  0% { clip-path: inset(0 0 0 100%); opacity: 0; transform: translate3d(40px, 0, 0) scale(1.06); }
  100% { clip-path: inset(0 0 0 0%); opacity: 1;
    transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 18px + var(--sc) * -60px), 0) scale(1); }
}
@keyframes xsLionFloat {
  0%, 100% { transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 18px + var(--sc) * -60px), 0) scale(1); }
  50% { transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 18px + var(--sc) * -60px - 12px), 0) scale(1); }
}
@keyframes xsPulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 117, 16, .6); }
  70% { box-shadow: 0 0 0 12px rgba(253, 117, 16, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 117, 16, 0); }
}
@keyframes xsCue {
  0% { transform: translateY(-14px); }
  100% { transform: translateY(40px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
  .hero__lion, .btn--glow, .marquee__track, .hero__code pre { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- responsive ---------- */

@media (max-width: 1700px) {
  .svc__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .svc__foot p { max-width: none; }
}

@media (max-width: 1240px) {
  :root { --pad: 48px; }
  .work { padding: 96px 48px 108px; }
  .contact { padding: 96px 48px 88px; }
  .about__body { padding: 64px 48px 0; }
  .about__facts { padding: 32px 48px 40px; flex-wrap: wrap; }
}

@media (max-width: 1080px) {
  /* stacked: one column keeps every tile the same width — nothing ragged */
  .contact__ways { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
  .nav__menu {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px var(--pad) 34px;
    background: rgba(2, 13, 36, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s var(--ease), visibility 0s;
  }
  .nav__link, .nav__cta { font-size: 14px; padding: 12px 0; }
  .nav__burger { display: block; }

  .hero__body { max-width: 640px; }
  .hero__lion { width: min(54vw, 460px); right: 2vw; bottom: 6vh; opacity: .95; }
  .blade--wedge, .blade--edge { width: min(52vw, 560px); }
  .rail { display: none; }
  .hero__lead { max-width: none; }

  .services__grid { grid-template-columns: 1fr; }
  .svc--lead { grid-row: auto; min-height: 0; }
  .svc--lead > img { display: none; }
  .svc__body { max-width: none; }

  .about__art { width: 100%; opacity: .22; }
  .about__body { max-width: none; min-height: 0; padding-bottom: 40px; }
  .about__facts { justify-content: flex-start; }

  .stats { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stats .divider { display: none; }

  .stacks { grid-template-columns: repeat(2, 1fr); }
  .careers { grid-template-columns: 1fr; gap: 46px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer__mark { font-size: 26vw; }
}

@media (max-width: 860px) {
  .hero__body { max-width: none; }
  .hero__lion {
    right: -12vw;
    bottom: auto;
    top: 8vh;
    width: min(118vw, 620px);
    opacity: .3;
    z-index: 1;
  }
  /* on mobile the lion is a faint backdrop, not an entrance actor — the
     desktop clip/float animation would otherwise force it to full opacity */
  .hero-armed .hero__lion { clip-path: none; opacity: .3; }
  .hero-ready .hero__lion { animation: none; }
  .hero__code { display: none; }
  .hero__lion img {
    filter: url(#roarDuo) drop-shadow(0 0 26px rgba(253, 117, 16, .3));
    -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 18%);
    mask-image: linear-gradient(to top, transparent 2%, #000 18%);
  }
  .blade--wedge { width: min(70vw, 420px); opacity: .5; }
  .blade--edge { display: none; }
  .blade--slashA, .blade--slashB { display: none; }
  .hero__lead { color: var(--muted-2); }

  .section__head, .work__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work__head p { border-left: 0; padding-left: 0; }

  .work__row--a, .work__row--b { grid-template-columns: 1fr; }
  .proj, .work__row--b .proj { min-height: 300px; }
  .proj__shot,
  .proj--hazrat .proj__shot, .proj--sanoat .proj__shot {
    width: 78%;
    right: -26%;
    top: auto;
    bottom: -12%;
    transform: perspective(1500px) rotateY(-14deg) rotateX(3deg);
    opacity: .58;
  }
  .proj__body { padding: 96px 32px 16px; max-width: 62%; }
  .proj__body p, .proj__list, .proj--systems .proj__body p { max-width: none; }
  .proj__link, .work__row--b .proj__link,
  .proj__nda, .work__row--b .proj__nda { margin: 0 32px 26px; }

  .about__cols { flex-direction: column; gap: 30px; }
  .about__cols > .divider { display: none; }
  .about__mission { flex: 1; }
  .about__facts { flex-direction: column; align-items: flex-start; gap: 26px; }
  .about__facts .divider { display: none; }
  .fact { max-width: none; }

}

@media (max-width: 640px) {
  :root { --pad: 22px; }
  .work { padding: 72px 22px 84px; }
  .contact { padding: 76px 22px 72px; }
  .services { padding: 72px var(--pad) 84px; }
  .about__body { padding: 56px 22px 34px; }
  .about__facts { padding: 0 22px 40px; }

  .hero__body { padding-top: 120px; }
  .hero__actions { gap: 12px; }
  .scroll-cue { display: none; }
  .hero .btn { flex: 1 1 auto; justify-content: center; }

  /* on a phone the screenshot is a backdrop, the copy gets the full width */
  .proj__body { max-width: none; padding: 92px 26px 14px; }
  .proj__link, .work__row--b .proj__link,
  .proj__nda, .work__row--b .proj__nda { margin: 0 26px 24px; }
  .proj__shot,
  .proj--hazrat .proj__shot, .proj--sanoat .proj__shot {
    width: 96%;
    right: -34%;
    bottom: -10%;
    opacity: .38;
  }

  .svc--lead .svc__body, .svc--sm { padding: 32px 26px; }
  .svc__row { flex-direction: column; gap: 22px; }
  .svc__foot { flex-direction: column; align-items: flex-start; gap: 18px; }

  .contact__kicker { font-size: 12px; letter-spacing: .18em; }
  .contact__kicker::before, .contact__kicker::after { display: none; }

  .stacks { grid-template-columns: 1fr; }
  .stacks li { padding: 26px 24px 30px; }
  .tech { padding: 72px 0 78px; }
  .careers { padding: 72px 22px 80px; }
  .roles a { flex-wrap: wrap; gap: 6px 16px; padding: 22px 0; }
  .roles__title { flex: 1 0 100%; }
  .footer { padding: 72px 22px 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 54px; }

  .stats { grid-template-columns: 1fr; padding: 32px 8px; }
  .stat { padding: 0 18px; }
  .stat__num { font-size: 38px; }
  .about__place { flex-direction: column; align-items: flex-start; }
}

/* ---------- portfolio additions: original navy / orange identity ---------- */

.work-tools {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.work-filters button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #C5D3E6;
  border-radius: 8px;
  background: transparent;
  color: var(--slate-2);
  font: 700 12px/1.4 'Manrope', ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.work-filters button:hover { color: var(--deep); border-color: var(--deep); }
.work-filters button[aria-pressed="true"],
.work-filters button.is-active { color: var(--ink); background: var(--deep); border-color: var(--deep); }
.work-search { flex: 0 1 280px; min-width: 0; max-width: 100%; }
.work-search label { display: block; margin-bottom: 8px; color: var(--slate-2); font-size: 12px; font-weight: 700; }
.work-search input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #C5D3E6;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--card);
  color: var(--deep);
  font: 400 16px/1.5 'Manrope', ui-sans-serif, system-ui, sans-serif;
}
.work-search input::placeholder { color: var(--slate); opacity: 1; }
.work .work-results { margin: 16px 0 24px; color: var(--slate); font-size: 12px; line-height: 1.6; }
@media (max-width: 420px) {
  .nav { padding-inline: 16px; }
  .nav__brand { gap: 8px; font-size: 17px; flex-shrink: 0; }
  .nav__brand img { width: 34px; height: 40px; }
  .nav__tools, html[lang="ru"] .nav__tools, html[lang^="uz"] .nav__tools { margin-left: 8px; gap: 10px; }
}
.work-tools ~ .work__rows { margin-top: 24px; }
.work__row--new { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work__row.is-single, .work__row.work__row--single { grid-template-columns: minmax(0, 1fr); }
[data-project][hidden], .work__row[hidden], .work__row.is-empty, .work__row.is-hidden { display: none !important; }
.work__row:has(> [data-project]):not(:has(> [data-project]:not([hidden]))) { display: none; }
.work #project-empty { padding: 32px 0; font-size: 16px; line-height: 1.7; color: var(--slate); }
.work #project-empty[hidden] { display: none; }

.proj--new { min-width: 0; background: linear-gradient(125deg, var(--card-dark), #0A2447); }
.proj--new::before { background: linear-gradient(90deg, rgba(4, 27, 56, .7), rgba(4, 27, 56, 0)); }
.proj--new .proj__tag { max-width: calc(100% - 124px); font-size: 11.5px; line-height: 1.5; overflow-wrap: anywhere; }
.proj--new .proj__body { min-width: 0; max-width: 86%; padding-right: 24px; }
.proj--new .proj__body h3 { overflow-wrap: anywhere; }
.proj--new .proj__body p { max-width: 330px; }
.proj--screen::before { background: linear-gradient(100deg, var(--card-dark) 28%, rgba(4, 27, 56, .88) 47%, rgba(4, 27, 56, 0) 78%); }
.proj__preview-kind { position: absolute; z-index: 3; right: 16px; bottom: 14px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: rgba(4,27,56,.88); color: var(--muted-2); font-size: 10px; line-height: 1.4; }
.proj--screen .proj__link { margin-bottom: 38px; }
.proj--diagram .proj__body { max-width: none; }
.proj--diagram .proj__body p { max-width: 440px; }
.proj__diagram-preview { position: relative; z-index: 2; margin: 0 32px 24px; }
.project-diagram { overflow: hidden; border: 1px solid #CAD6E6; border-radius: 8px; background: #F1F5FA; color: #10294F; }
.project-diagram__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #D2DDED; background: #E7EEF8; }
.project-diagram__bar b { font-size: 13px; letter-spacing: .03em; }
.project-diagram__bar span { font-size: 9px; line-height: 1.5; }
.project-diagram__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.project-diagram__panel { min-width: 0; }
.project-diagram__panel strong { display: block; margin-bottom: 12px; font-size: 12px; line-height: 1.5; }
.diagram-shapes { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; height: 74px; padding: 8px; border: 1px solid #D2DDED; border-radius: 4px; background: #FFF; }
.diagram-shapes i { border-radius: 2px; background: #DDE7F5; }
.diagram-shapes i:nth-child(3n+1) { background: #F6C4A3; }
.diagram-shapes--admissions, .diagram-shapes--education { grid-template-columns: 14px 1fr 22px; }
.diagram-shapes--finance { align-items: end; }
.diagram-shapes--finance i { height: 75%; }
.diagram-shapes--finance i:nth-child(2n) { height: 40%; }
.proj__monogram {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 22px;
  transform: translateY(-43%);
  max-width: 84%;
  overflow: hidden;
  font-size: clamp(84px, 11vw, 152px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.075em;
  color: rgba(167, 183, 210, .12);
  pointer-events: none;
  user-select: none;
}
button.proj__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}
.proj--new .proj__link { max-width: calc(100% - 88px); line-height: 1.6; }
.proj--new .proj__link svg { flex-shrink: 0; }

/* ---------- founders ---------- */

.founders { padding: 104px var(--pad) 112px; background: var(--light); }
.founders .section__head > * { min-width: 0; }
.founders__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.founder-card {
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--accent);
  border-radius: 16px;
  background: var(--card);
  color: var(--deep);
}
.founder-card__top { display: flex; align-items: center; gap: 20px; }
.founder-card__top > div { min-width: 0; }
.founder-card__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 76px;
  width: 76px;
  height: 82px;
  border: 1px solid rgba(253, 117, 16, .2);
  border-radius: 14px;
  background: var(--card-dark);
  color: var(--accent-hi);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.founder-card h3 { color: var(--deep-2); font-size: clamp(23px, 2.1vw, 30px); line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.founder-card__role, .founder-card__top p { margin-top: 9px; color: #B8490A; font-size: 11.5px; line-height: 1.5; font-weight: 800; letter-spacing: .08em; }
.founder-card__bio { margin-top: 26px; color: var(--slate); font-size: 15.5px; line-height: 1.8; }
.founder-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: var(--slate-2); font-size: 12px; line-height: 1.7; font-weight: 700; }
.founder-card__tags span { max-width: 100%; padding: 5px 10px; border: 1px solid var(--card-border); border-radius: 6px; background: #EDF3FB; overflow-wrap: anywhere; }
.founder-card__details { margin-top: 26px; border-top: 1px solid var(--card-border); }
.founder-card__details summary { padding: 18px 0 0; color: var(--deep-2); font-size: 13px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.founder-card__details summary::marker { color: var(--accent); }
.founder-card__details[open] summary { color: #B8490A; }
.founder-card__details p { margin-top: 14px; color: var(--slate); font-size: 14px; line-height: 1.8; }
.founder-card__phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; padding: 8px 12px; border: 1px solid var(--card-border); border-radius: 8px; background: #EDF3FB; color: var(--deep-2); font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.founder-card__phone:hover { color: #B8490A; border-color: var(--accent); }
@media (min-width: 861px) {
  .founder-card__top { align-items: flex-start; flex-direction: column; }
}

.legacy {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 44px;
  margin-top: 32px;
  padding: 44px;
  border: 1px solid rgba(167, 183, 210, .16);
  border-radius: 16px;
  background: var(--card-dark);
  color: var(--ink);
}
.legacy > * { min-width: 0; }
.legacy__mark { color: var(--accent-hi); font-size: clamp(36px, 5vw, 68px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; }
.legacy__mark small { display: block; margin-top: 14px; color: var(--muted-2); font-size: 11px; line-height: 1.6; letter-spacing: .16em; }
.legacy__body h3 { margin-bottom: 16px; color: var(--ink); font-size: 25px; font-weight: 800; line-height: 1.4; }
.legacy__body p { color: var(--muted-2); font-size: 15px; line-height: 1.8; }
.legacy__body p + p { margin-top: 14px; }
.legacy__body .eyebrow { margin-bottom: 16px; font-size: 11px; line-height: 1.7; }
.legacy__body strong, .legacy__credit { color: var(--ink); }
.legacy__credit { display: block; margin-top: 18px; font-size: 12px; line-height: 1.7; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 16px; padding: 12px 18px; background: var(--accent); color: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.legacy__body > strong { display: block; margin-top: 20px; font-size: 14px; line-height: 1.6; }
.legacy__body > small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 12px; line-height: 1.7; }
.proj__details { margin-top: 18px; border: 0; padding: 0; background: transparent; color: var(--accent-hi); font-family: inherit; font-size: 11px; cursor: pointer; }
.contact-copy-tools { margin: 22px auto 0; }
.contact-copy-tools button { padding: 12px 0; border: 0; background: transparent; color: var(--accent-hi); font-family: inherit; cursor: pointer; }
.contact-copy-tools .form-status { display: block; margin-top: 6px; color: var(--muted-2); font-size: 12px; }

/* ---------- company residency ---------- */

.about__body .resident-badge, .footer__col .resident-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(253, 117, 16, .35);
  border-radius: 6px;
  background: rgba(253, 117, 16, .07);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .025em;
}
.resident-badge::before { content: ''; width: 4px; height: 18px; flex: 0 0 4px; border-radius: 1px; background: var(--accent); }

/* ---------- project details ---------- */
#project-dialog {
  position: fixed;
  width: min(760px, calc(100% - 40px));
  max-width: 760px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #C5D3E6;
  border-radius: 16px;
  background: var(--light);
  color: var(--deep);
  box-shadow: 0 30px 100px rgba(1, 13, 36, .38);
}
#project-dialog:not([open]) { display: none; }
#project-dialog::backdrop { background: rgba(1, 13, 36, .78); backdrop-filter: blur(6px); }
#dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #C5D3E6;
  border-radius: 8px;
  background: var(--card);
  color: var(--deep);
  font: 400 28px/1 'Manrope', ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
#dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.case-study, .case-content { padding: 48px; overflow-wrap: anywhere; }
.case-study h2, .case-content h2 { margin: 14px 36px 24px 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--deep); }
.case-study .eyebrow, .case-content .eyebrow, .case-meta { display: block; padding-right: 36px; color: #B8490A; font-size: 11px; font-weight: 800; line-height: 1.7; letter-spacing: .12em; }
.case-study p, .case-content p { color: var(--slate); font-size: 16px; line-height: 1.8; }
.case-study h3, .case-content h3 { margin: 28px 0 12px; color: var(--deep); font-size: 18px; line-height: 1.5; }
.case-content .case-tag { margin-bottom: 20px; color: #B8490A; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.case-features { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 28px; }
.case-features li { position: relative; padding-left: 18px; color: var(--slate-2); font-size: 14px; line-height: 1.7; }
.case-features li::before { content: ''; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.case-content .case-note { margin-top: 18px; color: var(--slate); font-size: 12px; line-height: 1.8; }
.case-preview { display: block; width: 100%; height: auto; margin: 0 0 24px; border: 1px solid var(--card-border); border-radius: 10px; }
.case-visual { margin: 0 0 26px; }
.case-visual .case-preview { margin-bottom: 8px; }
.case-visual figcaption { margin-top: 8px; color: var(--slate); font-size: 11px; line-height: 1.6; }
.case-secondary { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; margin-top: 20px; color: var(--deep); font-size: 13px; font-weight: 700; line-height: 1.6; }
.case-secondary:hover { color: #B8490A; }
.case-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--card-border); }
.case-share button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--deep); font: 700 12px/1.6 'Manrope', sans-serif; cursor: pointer; text-align: left; }
.case-share button:hover { color: #B8490A; }
.case-share [role="status"] { color: var(--slate); font-size: 12px; line-height: 1.6; }
.case-system { position: relative; margin: 20px 0; padding: 22px; border: 1px solid var(--card-border); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--card); }
.case-system__number { color: #B8490A; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.case-system h3 { margin-top: 8px; }
.case-content .btn--solid { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; justify-content: center; max-width: 100%; min-height: 48px; padding: 15px 22px; border: 0; border-radius: 8px; font-family: inherit; font-size: 13px; line-height: 1.6; letter-spacing: .05em; text-align: center; white-space: normal; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.case-tags span, .case-tags li { padding: 7px 12px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); color: var(--slate-2); font-size: 12px; line-height: 1.6; font-weight: 700; }
.case-study .case-status { padding: 14px 18px; border-left: 3px solid var(--accent); background: #E9F0F9; color: var(--slate-2); font-size: 13px; }
.case-summary { margin-top: 24px; }
.case-study .case-summary + p, .case-study p + p { margin-top: 14px; }
.case-cta { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; max-width: 100%; min-height: 48px; margin-top: 28px; padding: 14px 22px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--navy); font-size: 13px; font-weight: 800; line-height: 1.6; text-align: center; }
.case-cta:hover { color: var(--navy); background: var(--accent-hi); border-color: var(--accent-hi); }
.case-cta svg { flex-shrink: 0; }

/* ---------- email brief within the original contact section ---------- */

.contact .brief-form {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  width: min(100%, 820px);
  margin: 52px auto 0;
  padding: 36px;
  border: 1px solid rgba(167, 183, 210, .2);
  border-radius: 16px;
  background: rgba(4, 27, 56, .85);
  color: var(--ink);
  text-align: left;
}
.brief-form fieldset { display: grid; gap: 22px; min-width: 0; margin: 0; padding: 0; border: 0; }
.brief-form h3 { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.4; font-weight: 800; }
.brief-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brief-form label { display: grid; gap: 9px; min-width: 0; color: var(--muted-2); font-size: 12px; line-height: 1.6; font-weight: 700; }
.brief-form input, .brief-form select, .brief-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(167, 183, 210, .28);
  border-radius: 8px;
  background: var(--navy);
  color: var(--ink);
  font: 400 16px/1.5 'Manrope', ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}
.brief-form textarea { resize: vertical; min-height: 120px; }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: var(--muted); opacity: 1; }
.brief-form .form-note, .brief-form noscript { color: var(--muted-2); font-size: 12px; line-height: 1.8; }
.brief-form .button, .brief-form .btn--solid { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 50px; padding: 14px 20px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--navy); font-family: inherit; font-size: 13px; font-weight: 800; line-height: 1.6; letter-spacing: .05em; text-align: left; cursor: pointer; }
.brief-form .button:hover, .brief-form .btn--solid:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.brief-form .button:disabled, .brief-form .btn--solid:disabled { opacity: .55; cursor: default; }
.brief-form .copy-brief { width: fit-content; max-width: 100%; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--muted-2); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.7; text-align: left; cursor: pointer; }
.brief-form .copy-brief:hover { color: var(--accent-hi); }
.brief-form .form-status { color: var(--muted-2); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.brief-form .form-status:empty { display: none; }

@media (min-width: 1081px) and (max-width: 1380px) {
  .nav:has(.nav__link[href="#founders"]) .nav__menu { gap: 16px; }
  .nav:has(.nav__link[href="#founders"]) .nav__tools { margin-left: 16px; }
  .nav:has(.nav__link[href="#founders"]) .nav__link { font-size: 11.5px; letter-spacing: .06em; }
}

@media (max-width: 1080px) {
  .founder-card { padding: 28px; }
  .founder-card__top { align-items: flex-start; gap: 16px; }
  .founder-card__monogram { width: 64px; height: 70px; flex-basis: 64px; font-size: 25px; }
}

@media (max-width: 860px) {
  .work__row--new, .founders__grid { grid-template-columns: minmax(0, 1fr); }
  .work-tools { align-items: stretch; }
  .work-filters { flex: 1 1 100%; }
  .work-search { flex: 1 1 100%; }
  .proj--new .proj__body { max-width: 86%; }
  .proj__monogram { font-size: clamp(100px, 20vw, 160px); }
  .legacy { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px; }
  .legacy__mark { font-size: 52px; }
}

@media (max-width: 640px) {
  .work-tools { gap: 20px; margin-top: 28px; }
  .work-filters { gap: 7px; }
  .work-filters button { padding: 10px 13px; font-size: 11.5px; }
  .proj--new .proj__body { max-width: none; padding-right: 26px; }
  .proj--new .proj__tag { left: 88px; max-width: calc(100% - 106px); font-size: 10.5px; letter-spacing: .08em; }
  .proj--new .proj__link { max-width: calc(100% - 52px); }
  .proj__monogram { right: 18px; color: rgba(167, 183, 210, .09); }
  .founders { padding: 72px var(--pad) 80px; }
  .founders__grid { gap: 18px; margin-top: 32px; }
  .founder-card { padding: 26px 22px; }
  .founder-card__top { flex-direction: column; gap: 20px; }
  .founder-card h3 { font-size: 26px; }
  .founder-card__bio { font-size: 15px; }
  .legacy { margin-top: 24px; padding: 30px 24px; gap: 24px; }
  .legacy__mark { font-size: 42px; }
  .legacy__body h3 { font-size: 23px; }
  #project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  #dialog-close { top: 12px; right: 12px; }
  .case-study, .case-content { padding: 30px 24px; }
  .case-study h2, .case-content h2 { margin-top: 20px; font-size: 29px; }
  .case-study p, .case-content p { font-size: 15px; }
  .case-content .case-note { font-size: 12px; }
  .case-cta { width: 100%; }
  .contact .brief-form { margin-top: 36px; padding: 28px 22px; }
  .brief-form .form-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* 2026 refinement: original lion identity, clearer type and work-led composition. */
.edition-2026 { --ease-editorial: cubic-bezier(.2,.7,.2,1); }
.edition-2026 .eyebrow { font-size: 11px; letter-spacing: .2em; }
.edition-2026 .section__head h2,
.edition-2026 .work__head h2 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.edition-2026 .nav { padding-block: 20px; }
.edition-2026 .nav__link { position: relative; }
.edition-2026 .nav__link::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-editorial); }
.edition-2026 .nav__link[aria-current="location"] { color: var(--ink); }
.edition-2026 .nav__link[aria-current="location"]::after { transform: scaleX(1); }
.edition-2026 .nav.is-scrolled { background: rgba(1,13,36,.94); }
.edition-2026 .hero { min-height: max(780px,100svh); }
.edition-2026 .hero__body { padding-top: 158px; padding-bottom: 168px; max-width: min(72vw,1050px); }
.edition-2026 .status { font-size: 10px; letter-spacing: .16em; margin-bottom: 30px; }
.edition-2026 .title { letter-spacing: -.015em; }
.edition-2026 .title .t1, .edition-2026 .title .t2 { font-size: clamp(70px,8vw,124px); }
html[lang="uz-Cyrl"] .edition-2026 .title, html[lang="ru"] .edition-2026 .title { font-family: 'Oswald','Manrope',sans-serif; font-weight: 600; line-height: 1.02; }
html[lang="uz-Cyrl"] .edition-2026 .title .t1, html[lang="uz-Cyrl"] .edition-2026 .title .t2,
html[lang="ru"] .edition-2026 .title .t1, html[lang="ru"] .edition-2026 .title .t2 { font-size: clamp(64px,7.2vw,108px); }
html[lang="zh"] .edition-2026 .title .t1, html[lang="zh"] .edition-2026 .title .t2 { font-size: clamp(48px,6.5vw,96px); }
.edition-2026 .hero__lead { max-width: 460px; margin-top: 32px; font-size: 16px; color: #ADBAD0; }
.edition-2026 .hero__actions { margin-top: 30px; gap: 14px; }
.edition-2026 .hero .btn { min-height: 54px; }
.edition-2026 .hero__lion { bottom: 18%; right: 1%; width: min(45vw,680px); }
.edition-2026 .hero__code { opacity: .48; }
.edition-2026 .hero__glow { opacity: .65; }
.edition-2026 .hero__mesh::after { content: ''; position: absolute; inset: 0; opacity: .055; background-image: linear-gradient(90deg,transparent calc(100% - 1px),#A7B7D2 1px); background-size: 16.66% 100%; }
.hero__signature { display: flex; align-items: center; gap: 20px; max-width: 460px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(167,183,210,.22); color: #93A3BE; font-size: 11px; line-height: 1.6; }
.hero__signature > :last-child { margin-left: auto; color: var(--accent-hi); font-size: 22px; }
.hero__footer { position: absolute; z-index: 8; bottom: 26px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 18px; border-top: 1px solid rgba(167,183,210,.18); font-size: 10px; line-height: 1.6; letter-spacing: .1em; color: var(--muted-2); }
.hero__footer a { color: var(--ink); display: inline-flex; gap: 16px; align-items: center; }
.hero__footer a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-hi); }
.edition-2026 .scroll-cue { display: none; }
.edition-2026 .services { padding-block: 112px; }
.edition-2026 .svc { border-top-width: 2px; border-radius: 3px; }
.edition-2026 .svc__num { font: 500 12px/1.5 ui-monospace,monospace; }
.edition-2026 .svc__body h3, .edition-2026 .svc__col h3 { letter-spacing: -.035em; }
.edition-2026 .svc__icon { border-radius: 50%; }

/* Project images are readable at rest; captions never overlap the work. */
.portfolio-v2 { padding: 112px var(--pad) 120px; background: #E9F0F8; }
.portfolio-v2 .work__head { justify-content: space-between; align-items: flex-end; gap: 60px; }
.portfolio-v2 .work__head h2 { max-width: 720px; flex: 1.4; }
.portfolio-v2 .work__head p { flex: 1; max-width: 380px; padding-left: 0; border-left: 0; font-size: 15px; }
.portfolio-v2 .work-tools { padding-top: 32px; border-top: 1px solid #BFCDDF; margin-top: 40px; }
.portfolio-v2 .work-filters button { border-radius: 4px; }
.portfolio-v2 .work-search input { border-radius: 4px; background: transparent; }
.portfolio-v2 .work__rows { gap: 48px; }
.portfolio-v2 .work__row { gap: 28px; align-items: stretch; }
.portfolio-v2 .proj { min-height: 0; background: transparent; overflow: visible; }
.portfolio-v2 .proj::before, .portfolio-v2 .proj::after { display: none; }
.proj__media { position: relative; display: block; width: 100%; min-width: 0; padding: 22px 22px 0; border: 1px solid #213A5A; border-radius: 5px; background: linear-gradient(140deg,#0B284B,#041327); color: var(--ink); overflow: hidden; cursor: pointer; text-align: left; font: inherit; }
.proj__media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0,rgba(69,116,171,.24),transparent 65%); pointer-events: none; }
.proj__browser { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 30px; padding: 0 12px; color: #A7B7D2; background: #142B49; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 6px 6px 0 0; font: 400 9px/1 ui-monospace,monospace; }
.proj__browser-dots { display: flex; gap: 4px; }
.proj__browser-dots i { width: 4px; height: 4px; border-radius: 50%; background: #647995; }
.proj__browser-dots i:first-child { background: var(--accent); }
.portfolio-v2 .proj .proj__shot { display: block; position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; transform: none; opacity: 1; margin: 0; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 0; box-shadow: 0 0 32px rgba(0,0,0,.2); transition: transform .65s var(--ease-editorial); transform-origin: center bottom; }
.portfolio-v2 .proj__shot::after { display: none; }
.portfolio-v2 .proj__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: none; transition: transform .8s var(--ease-editorial); }
.portfolio-v2 .proj__media:hover .proj__shot img, .portfolio-v2 .proj__media:focus-visible .proj__shot img { transform: scale(1.035); }
.proj__open { position: absolute; z-index: 4; right: 18px; top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 42px; min-height: 42px; padding: 10px 13px; border-radius: 4px; background: var(--accent-hi); color: var(--navy); box-shadow: 0 6px 22px rgba(0,0,0,.2); }
.proj__open > :first-child { font-size: 23px; line-height: 1; }
.proj__open > :last-child { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 10px; font-weight: 800; transition: max-width .35s ease,opacity .25s ease; }
.proj__media:hover .proj__open > :last-child, .proj__media:focus-visible .proj__open > :last-child { max-width: 170px; opacity: 1; }
.portfolio-v2 .proj__preview-kind { right: 30px; bottom: 10px; font-size: 9px; background: rgba(1,13,36,.9); }
.proj__meta { display: flex; align-items: baseline; gap: 16px; padding-top: 24px; }
.proj__index { color: #B54A0C; font: 500 11px/1.5 ui-monospace,monospace; white-space: nowrap; }
.portfolio-v2 .proj .proj__tag { position: static; max-width: none; color: #526680; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-v2 .proj .proj__body { max-width: none; min-width: 0; padding: 13px 0 22px; flex: 1; }
.portfolio-v2 .proj__body h3 { font-size: clamp(25px,2.7vw,40px); line-height: 1.16; letter-spacing: -.045em; color: var(--deep); font-weight: 800; }
.portfolio-v2 .proj .proj__body p { max-width: 540px; margin-top: 12px; color: #4F6381; font-size: 14px; line-height: 1.75; }
.proj__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; min-height: 54px; border-top: 1px solid #C4D0E1; }
.proj__case-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--deep); font: 800 11px/1.6 'Manrope',sans-serif; cursor: pointer; }
.proj__case-link > :last-child { color: #B54A0C; font-size: 20px; transition: transform .3s ease; }
.proj__case-link:hover > :last-child { transform: translate(3px,-3px); }
.proj__site-link, .proj__scope-label { min-width: 0; font-size: 10px; color: #526680; line-height: 1.6; }
.proj__site-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; overflow-wrap: anywhere; }
.proj__site-link:hover { color: #B54A0C; }
.portfolio-v2 .proj__diagram-preview { margin: 0; padding: 30px 20px; aspect-ratio: 16 / 10; display: flex; align-items: center; background: #E3EBF5; }
.portfolio-v2 .project-diagram { width: 100%; box-shadow: 0 12px 30px rgba(4,27,56,.12); }
.portfolio-v2 .proj__list { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portfolio-v2 .proj__list b { color: var(--deep); }
.portfolio-v2 .proj__list li { color: #526680; font-size: 12px; }
.portfolio-v2 .proj__nda { display: inline-block; margin: 18px 0 0; border-color: #BECCDE; color: #526680; font-size: 9px; }
.portfolio-v2 .work__row.is-single { max-width: 920px; }
@media (min-width: 1100px) {
  .portfolio-v2 .work__row:nth-child(odd):not(.is-single) { grid-template-columns: 1.15fr 1fr; }
  .portfolio-v2 .work__row:nth-child(even):not(.is-single) { grid-template-columns: 1fr 1.15fr; }
  .portfolio-v2 .work__row:not(.is-single) .proj:nth-child(2) { padding-top: 72px; }
}

/* A compact four-step process, between work and technology. */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 110px var(--pad); background: var(--navy); border-top: 1px solid rgba(167,183,210,.14); }
.process__intro h2 { max-width: 560px; margin-top: 22px; font-size: clamp(36px,4.2vw,64px); line-height: 1.12; letter-spacing: -.045em; }
.process__intro > p { max-width: 350px; margin-top: 26px; font-size: 15px; line-height: 1.8; color: var(--muted-2); }
.process__steps { padding: 0; margin: 0; list-style: none; border-top: 1px solid #2B3A50; }
.process__steps li { display: grid; grid-template-columns: 44px 1fr 24px; gap: 20px; padding: 28px 0; border-bottom: 1px solid #2B3A50; }
.process__number { font: 400 12px/1.7 ui-monospace,monospace; color: var(--accent-hi); }
.process__steps h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.process__steps p { margin-top: 12px; color: var(--muted-2); font-size: 13px; line-height: 1.8; max-width: 400px; }
.process__arrow { color: #647997; font-size: 23px; }
.edition-2026 .tech { border-top: 1px solid rgba(167,183,210,.14); }
.edition-2026 .founder-card { border-radius: 3px; border-top-width: 2px; padding: 32px; }
.edition-2026 .founder-card__monogram { border: 0; border-radius: 0; width: auto; height: auto; min-height: 75px; flex-basis: auto; justify-content: flex-start; background: transparent; color: var(--deep); font: 600 64px/1.1 'Oswald','Manrope',sans-serif; letter-spacing: -.04em; }
.edition-2026 .founder-card__role { margin-top: 12px; }
.edition-2026 .founder-card__top { gap: 24px; }
.edition-2026 .founder-card h3 { font-size: clamp(24px,2.3vw,34px); letter-spacing: -.04em; }
.edition-2026 .legacy { border-radius: 3px; }
.edition-2026 .contact .brief-form { border-radius: 4px; }
.edition-2026 .brief-form input, .edition-2026 .brief-form textarea, .edition-2026 .brief-form select { border-radius: 4px; }
.edition-2026 #project-dialog { width: min(960px,calc(100% - 48px)); border-radius: 8px; }
.edition-2026 .case-content { padding: 52px; }
.edition-2026 .case-content h2 { font-size: clamp(32px,4.2vw,60px); letter-spacing: -.045em; }
.edition-2026 .case-preview { border-radius: 4px; }
.case-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #C5D3E6; }
.case-navigation button { min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 15px 0; border: 0; background: none; color: var(--deep); text-align: left; font: inherit; cursor: pointer; }
.case-navigation button:last-child { text-align: right; align-items: flex-end; }
.case-navigation button:disabled { opacity: .35; cursor: default; }
.case-navigation__direction { display: inline-flex; align-items: center; gap: 10px; color: #B54A0C; font-size: 11px; font-weight: 700; }
.case-navigation [data-case-name] { font-size: 16px; line-height: 1.5; font-weight: 800; }

@media (max-width: 1080px) {
  .edition-2026 .hero__body { max-width: 80%; }
  .edition-2026 .nav__link::after { bottom: 5px; width: 24px; }
  .process { gap: 50px; }
  .portfolio-v2 .work__row { gap: 24px; }
  .proj__media { padding: 14px 14px 0; }
  .proj__open { right: 10px; top: 8px; }
  .portfolio-v2 .proj__preview-kind { right: 20px; }
}
@media (max-width: 860px) {
  .edition-2026 .hero { min-height: 860px; }
  .edition-2026 .hero__body { max-width: 100%; padding-top: 150px; padding-bottom: 150px; }
  .edition-2026 .title .t1, .edition-2026 .title .t2 { font-size: clamp(68px,11.5vw,106px); }
  html[lang="uz-Cyrl"] .edition-2026 .title .t1, html[lang="uz-Cyrl"] .edition-2026 .title .t2,
  html[lang="ru"] .edition-2026 .title .t1, html[lang="ru"] .edition-2026 .title .t2 { font-size: clamp(62px,10.5vw,94px); }
  .edition-2026 .hero__lion { top: 130px; right: -15%; width: 85vw; bottom: auto; opacity: .18; }
  .edition-2026 .hero-armed .hero__lion { opacity: .18; }
  .hero__footer .hero__coordinates { display: none; }
  .portfolio-v2 .work__head { align-items: flex-start; gap: 24px; }
  .portfolio-v2 .work__head p { max-width: 500px; }
  .portfolio-v2 .work__rows { gap: 44px; }
  .portfolio-v2 .work__row { gap: 44px; }
  .portfolio-v2 .proj__body h3 { font-size: 34px; }
  .proj__media { padding: 22px 22px 0; }
  .portfolio-v2 .proj__diagram-preview { padding: 38px 32px; }
  .process { grid-template-columns: 1fr; gap: 48px; }
  .process__intro h2 { max-width: 650px; }
  .edition-2026 .founder-card__top { flex-direction: row; }
}
@media (max-width: 640px) {
  .edition-2026 .hero { min-height: 800px; }
  .edition-2026 .hero__body { padding-top: 132px; padding-bottom: 120px; }
  .edition-2026 .status { max-width: 275px; font-size: 9px; letter-spacing: .08em; line-height: 1.8; margin-bottom: 26px; }
  .edition-2026 .title .t1, .edition-2026 .title .t2 { font-size: clamp(52px,15vw,78px); }
  html[lang="uz-Cyrl"] .edition-2026 .title .t1, html[lang="uz-Cyrl"] .edition-2026 .title .t2,
  html[lang="ru"] .edition-2026 .title .t1, html[lang="ru"] .edition-2026 .title .t2 { font-size: clamp(44px,12vw,72px); }
  html[lang="zh"] .edition-2026 .title .t1, html[lang="zh"] .edition-2026 .title .t2 { font-size: clamp(40px,12vw,64px); }
  .edition-2026 .hero__lead { font-size: 14px; line-height: 1.8; margin-top: 28px; max-width: 400px; }
  .edition-2026 .hero__lion { width: 110vw; right: -30%; top: 110px; }
  .edition-2026 .hero .btn { padding: 15px 17px; font-size: 10px; flex: 1; }
  .hero__signature { font-size: 10px; margin-top: 25px; }
  .hero__footer { bottom: 25px; font-size: 9px; gap: 14px; letter-spacing: .02em; }
  .hero__footer a { gap: 8px; }
  .edition-2026 .services, .portfolio-v2, .process { padding-block: 76px; }
  .portfolio-v2 .work-tools { padding-top: 24px; }
  .portfolio-v2 .proj__body h3 { font-size: 28px; }
  .portfolio-v2 .proj__body p { font-size: 13px; }
  .proj__media { padding: 12px 12px 0; }
  .proj__browser { height: 25px; font-size: 8px; padding-inline: 8px; }
  .proj__open { min-width: 34px; min-height: 34px; padding: 7px 10px; top: 8px; right: 9px; }
  .proj__open > :first-child { font-size: 20px; }
  .proj__open > :last-child { display: none; }
  .portfolio-v2 .proj__preview-kind { bottom: 8px; right: 18px; padding: 3px 6px; font-size: 8px; }
  .proj__meta { padding-top: 18px; gap: 12px; }
  .proj__footer { gap: 12px; }
  .proj__case-link { gap: 10px; font-size: 10px; }
  .proj__site-link { font-size: 9px; }
  .portfolio-v2 .proj__diagram-preview { padding: 24px 14px; aspect-ratio: auto; min-height: 180px; }
  .portfolio-v2 .project-diagram__panels { padding: 10px; gap: 8px; }
  .portfolio-v2 .project-diagram__bar { padding: 10px; }
  .portfolio-v2 .project-diagram__panel strong { font-size: 10px; }
  .portfolio-v2 .proj__list { grid-template-columns: 1fr; }
  .process__steps li { gap: 12px; grid-template-columns: 30px 1fr 20px; padding-block: 24px; }
  .process__steps h3 { font-size: 21px; }
  .edition-2026 .founder-card { padding: 26px; }
  .edition-2026 .founder-card__top { flex-direction: column; gap: 16px; }
  .edition-2026 .founder-card__monogram { font-size: 54px; min-height: 60px; }
  .edition-2026 #project-dialog { width: calc(100% - 20px); }
  .edition-2026 .case-content { padding: 34px 22px; }
  .edition-2026 .case-content h2 { font-size: 32px; margin-top: 28px; }
  .case-navigation { gap: 14px; }
  .case-navigation [data-case-name] { font-size: 13px; }
  .case-navigation__direction { font-size: 9px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .edition-2026 *, .edition-2026 *::before, .edition-2026 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .edition-2026 .proj__media:hover .proj__shot img, .edition-2026 .proj__media:focus-visible .proj__shot img { transform: none; }
}
.case-toolbar { position: sticky; top: 0; z-index: 10; height: 0; pointer-events: none; }
.case-toolbar #dialog-close { pointer-events: auto; box-shadow: 0 4px 18px rgba(4,27,56,.1); }
@media (max-width: 640px) {
  .edition-2026 .hero .btn { min-height: 60px; }
  .proj__site-link, .proj__case-link { font-size: 11px; }
}

/* Studio story: the existing illustration, people and facts share one visual rhythm. */
.studio { padding: 112px var(--pad) 72px; background: #06152B; border-top: 1px solid #24334A; color: #E9F0FA; }
.studio__heading { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 72px; align-items: center; }
.studio__heading h2 { margin-top: 24px; max-width: 850px; font-size: clamp(42px,5.5vw,80px); line-height: 1.08; letter-spacing: -.045em; white-space: pre-line; text-wrap: balance; }
.studio__intro { margin-top: 28px; max-width: 680px; font-size: 16px; line-height: 1.85; color: #A9B9D0; }
.studio__resident { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 215px; padding: 32px; border: 1px solid #526079; border-top: 3px solid var(--accent); background: linear-gradient(135deg,#13243F,#09182F); }
.studio__resident-mark { position: absolute; top: 20px; right: 22px; font-size: 26px; color: var(--accent-hi); }
.studio__resident strong { margin-top: 24px; font: 600 43px/1.15 'Oswald','Manrope',sans-serif; letter-spacing: -.03em; }
.studio__resident p { margin-top: 14px; font-size: 13px; line-height: 1.6; color: #D2DEEF; }
.studio__resident-country { margin-top: 24px; padding-top: 14px; border-top: 1px solid #34435C; color: #93A6C2; font: 10px/1.5 ui-monospace,monospace; letter-spacing: .18em; }
.studio__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 72px; margin-top: 64px; align-items: center; }
.studio__visual { margin: 0; min-width: 0; }
.studio__image { position: relative; overflow: hidden; border: 1px solid #34435C; border-radius: 3px; }
.studio__image > img { display: block; width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; object-position: 55% 35%; }
.studio__origin { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid #3B4D68; background: rgba(5,20,42,.96); }
.studio__origin > img { flex: 0 0 58px; width: 58px; height: 58px; object-fit: cover; }
.studio__origin strong { display: block; color: var(--accent-hi); font-size: 10px; line-height: 1.7; letter-spacing: .12em; }
.studio__origin span { display: block; margin-top: 5px; font-size: 15px; color: #E9F0FA; }
.studio__visual figcaption { max-width: 450px; margin-top: 12px; color: #8FA2BF; font-size: 11px; line-height: 1.7; }
.studio__principles { min-width: 0; }
.studio__principles > .eyebrow { margin-bottom: 14px; }
.studio__principles article { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #2B3C56; }
.studio__step { padding-top: 5px; color: #7186A5; font: 11px/1.5 ui-monospace,monospace; }
.studio__principles h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.studio__principles p { margin-top: 12px; font-size: 13px; line-height: 1.8; color: #A9B9D0; }
.studio__bottom { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 60px; padding-top: 40px; border-top: 1px solid #34435C; }
.studio__facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; flex: 1; }
.studio__fact { display: flex; align-items: center; gap: 16px; min-width: 0; }
.studio__fact b { color: var(--accent-hi); font: 500 56px/1 'Oswald','Manrope',sans-serif; letter-spacing: -.04em; }
.studio__fact span { max-width: 100px; color: #BDCAE0; font-size: 11px; line-height: 1.7; }
a.studio__fact:hover span { color: #fff; }
.studio__actions { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.studio__actions a { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; font-size: 12px; font-weight: 700; }
.studio__actions a > :last-child { color: var(--accent-hi); font-size: 20px; }
.studio__actions a:hover { color: var(--accent-hi); }

/* A compact index complements the screen-led portfolio without duplicating content. */
.work-viewbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 20px 0 24px; }
.portfolio-v2 .work-viewbar .work-results { margin: 0; }
.work-view { display: inline-flex; padding: 3px; border: 1px solid #B9C9DC; border-radius: 4px; gap: 3px; }
.work-view button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 0; border-radius: 2px; color: #526680; background: transparent; font: 700 11px/1.4 'Manrope',sans-serif; cursor: pointer; }
.work-view button[aria-pressed="true"] { background: #0B2344; color: #fff; }
.work-view button > :first-child { font-size: 18px; font-weight: 400; }
.portfolio-v2.work--list .work__rows { gap: 0; border-bottom: 1px solid #BFCDDF; }
.portfolio-v2.work--list .work__row, .portfolio-v2.work--list .work__row.is-single { display: contents; }
.portfolio-v2.work--list .proj { display: grid; grid-template-columns: 140px minmax(0,1fr) 170px; grid-template-areas: 'image meta actions' 'image copy actions'; column-gap: 32px; row-gap: 8px; padding: 26px 0; border-top: 1px solid #BFCDDF; }
.portfolio-v2.work--list .work__row .proj:nth-child(2) { padding-top: 26px; }
.portfolio-v2.work--list .proj__media { grid-area: image; align-self: center; padding: 6px 6px 0; }
.portfolio-v2.work--list .proj__browser { height: 12px; font-size: 5px; padding: 0 4px; gap: 3px; }
.portfolio-v2.work--list .proj__browser-dots { gap: 2px; }
.portfolio-v2.work--list .proj__browser-dots i { width: 2px; height: 2px; }
.portfolio-v2.work--list .proj__open, .portfolio-v2.work--list .proj__preview-kind { display: none; }
.portfolio-v2.work--list .proj__meta { grid-area: meta; padding: 0; align-self: end; }
.portfolio-v2.work--list .proj .proj__body { grid-area: copy; padding: 0; }
.portfolio-v2.work--list .proj__body h3 { font-size: 27px; }
.portfolio-v2.work--list .proj .proj__body p { font-size: 12px; line-height: 1.7; margin-top: 8px; }
.portfolio-v2.work--list .proj__footer { grid-area: actions; flex-direction: column; justify-content: center; align-items: flex-end; gap: 2px; border: 0; padding: 0; text-align: right; }
.portfolio-v2.work--list .proj__list, .portfolio-v2.work--list .proj__nda { display: none; }
.portfolio-v2.work--list .proj__diagram-preview { padding: 6px; min-height: 80px; }
.portfolio-v2.work--list .project-diagram__panels { display: none; }
.portfolio-v2.work--list .project-diagram__bar { padding: 8px; flex-direction: column; font-size: 8px; gap: 5px; }
.portfolio-v2.work--list .project-diagram__bar span { font-size: 6px; }

.edition-2026 .founder-card { position: relative; display: flex; flex-direction: column; padding-top: 25px; }
.founder-card__number { display: block; padding-bottom: 22px; border-bottom: 1px solid #DAE3EE; color: #6F819B; font: 10px/1.5 ui-monospace,monospace; letter-spacing: .07em; }
.edition-2026 .founder-card__top { margin-top: 26px; }
.founder-card__contact { margin-top: auto; padding-top: 26px; }
.edition-2026 .founder-card__phone { margin-top: 0; width: 100%; justify-content: space-between; border-radius: 3px; background: transparent; font-size: 13px; }
.edition-2026 .founder-card__phone::after { content: '↗'; color: #B54A0C; font-size: 22px; }

/* Direct, named contacts beside the existing email-draft form. */
.contact--studio { padding: 110px var(--pad); border-top: 1px solid #273A57; }
.contact--studio .contact__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: start; text-align: left; }
.contact--studio .contact__art { width: 50%; right: -12%; top: 18%; opacity: .07; }
.contact--studio .contact__kicker { font-size: 10px; line-height: 1.8; letter-spacing: .13em; }
.contact--studio .contact__kicker::before, .contact--studio .contact__kicker::after { display: none; }
.contact--studio .contact__intro h2 { margin-top: 24px; font-size: clamp(38px,4.2vw,60px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.contact--studio .contact__lead { margin-top: 24px; font-size: 15px; line-height: 1.8; color: #A8B7CE; }
.contact__details { margin-top: 38px; padding-top: 28px; border-top: 1px solid #34445F; }
.contact__details h3 { font-size: 13px; color: #D1DCEE; }
.contact--studio .contact__ways { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.contact--studio .way { padding: 17px 0; border: 0; border-bottom: 1px solid #263953; border-radius: 0; background: transparent; align-items: flex-start; gap: 18px; }
.contact--studio .way:hover { transform: none; }
.contact--studio .way::after { display: none; }
.contact--studio .way__icon { width: 38px; height: 38px; border: 1px solid #3B4A62; border-radius: 50%; background: transparent; }
.contact--studio .way__icon svg { width: 17px; height: 17px; }
.contact--studio .way > div { flex: 1; }
.contact--studio .way small { font-size: 9px; color: #90A3BE; }
.contact--studio .way a { display: block; margin-top: 7px; font-size: 14px; line-height: 1.6; }
.contact--studio .way a[href^="tel:"] { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 8px; }
.contact__person { font-size: 11px; font-weight: 400; color: #A8B7CE; }
.contact--studio .contact-copy-tools { margin: 14px 0 0; }
.contact--studio .contact-copy-tools button { font-size: 11px; }
.contact--studio .brief-form { width: 100%; max-width: none; margin: 0; padding: 34px; background: #0B2342; border: 1px solid #3A4D6A; border-top: 3px solid var(--accent); box-shadow: 0 24px 70px rgba(0,0,0,.12); }
.contact--studio .brief-form h3 { font-size: 23px; letter-spacing: -.025em; }
.contact--studio .brief-form .form-row { grid-template-columns: 1fr; gap: 24px; }
.contact--studio .brief-form input, .contact--studio .brief-form textarea, .contact--studio .brief-form select { min-height: 50px; background: #071A35; border-color: #455B78; }
.contact--studio .brief-form textarea { min-height: 130px; }
.contact--studio .brief-form .btn { width: 100%; min-height: 52px; font-size: 11px; letter-spacing: .04em; }

@media (max-width: 1000px) {
  .studio__heading { gap: 40px; grid-template-columns: minmax(0,1fr) 210px; }
  .studio__resident { padding: 24px; }
  .studio__grid { gap: 36px; }
  .studio__bottom { align-items: flex-start; flex-direction: column; gap: 28px; }
  .studio__facts { width: 100%; }
  .studio__actions { flex-direction: row; flex-wrap: wrap; gap: 30px; }
  .contact--studio .contact__inner { gap: 40px; }
  .contact--studio .brief-form { padding: 26px; }
  .contact--studio .way a[href^="tel:"] { flex-direction: column; gap: 3px; }
}
@media (max-width: 760px) {
  .studio { padding-top: 76px; }
  .studio__heading { grid-template-columns: 1fr; gap: 30px; }
  .studio__heading h2 { font-size: clamp(38px,7vw,58px); }
  .studio__intro { font-size: 15px; }
  .studio__resident { min-height: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; padding: 22px 26px; }
  .studio__resident strong { font-size: 34px; margin: 0; grid-row: 1 / 3; }
  .studio__resident p { margin: 0; padding-right: 24px; }
  .studio__resident-country { border: 0; padding: 0; margin-top: 7px; font-size: 8px; }
  .studio__resident-mark { font-size: 18px; right: 16px; top: 16px; }
  .studio__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .studio__principles article { padding-block: 22px; }
  .studio__bottom { margin-top: 36px; padding-top: 30px; }
  .studio__facts { gap: 18px; }
  .studio__fact { align-items: flex-start; flex-direction: column; gap: 12px; }
  .studio__fact b { font-size: 48px; }
  .studio__actions { width: 100%; justify-content: space-between; gap: 14px; }
  .studio__actions a { font-size: 11px; gap: 12px; }
  .portfolio-v2.work--list .proj { grid-template-columns: 95px minmax(0,1fr); grid-template-areas: 'image meta' 'image copy' 'actions actions'; gap: 10px 18px; padding-block: 22px; }
  .portfolio-v2.work--list .work__row .proj:nth-child(2) { padding-top: 22px; }
  .portfolio-v2.work--list .proj__body h3 { font-size: 22px; }
  .portfolio-v2.work--list .proj__meta { gap: 8px; }
  .portfolio-v2.work--list .proj__tag { font-size: 8px; }
  .portfolio-v2.work--list .proj .proj__body p { display: none; }
  .portfolio-v2.work--list .proj__footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; }
  .portfolio-v2.work--list .proj__diagram-preview { min-height: 58px; }
  .portfolio-v2.work--list .project-diagram__bar { font-size: 6px; padding: 4px; }
  .portfolio-v2.work--list .project-diagram__bar span { font-size: 5px; }
  .contact--studio { padding-block: 76px; }
  .contact--studio .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact--studio .contact__intro h2 { font-size: clamp(36px,7vw,54px); }
  .contact--studio .way a[href^="tel:"] { flex-direction: row; }
  .contact--studio .brief-form { margin: 0; padding: 28px 24px; }
}
@media (max-width: 400px) {
  .studio__origin { left: 12px; right: 12px; bottom: 12px; padding: 10px; gap: 10px; }
  .studio__origin > img { width: 42px; height: 42px; flex-basis: 42px; }
  .studio__origin strong { font-size: 8px; }
  .studio__origin span { font-size: 12px; }
  .studio__resident { column-gap: 16px; padding-inline: 18px; }
  .studio__resident strong { font-size: 29px; }
  .studio__resident p { font-size: 11px; }
  .studio__facts { gap: 12px; }
  .studio__fact span { font-size: 10px; }
  .contact--studio .way a[href^="tel:"] { flex-direction: column; }
}

/* Explore capabilities through concise service stories and actual project links. */
.services--stories .services__stories { margin-top: 50px; border-top: 1px solid #B9CADF; }
.service-story { border-bottom: 1px solid #B9CADF; }
.service-story > summary { display: grid; grid-template-columns: 60px minmax(0,1fr) 54px; align-items: center; gap: 24px; padding: 32px 0; list-style: none; cursor: pointer; }
.service-story > summary::-webkit-details-marker { display: none; }
.service-story__number { align-self: start; padding-top: 8px; color: #A64A18; font: 12px/1.6 ui-monospace,monospace; }
.service-story h3 { color: var(--deep); font-size: clamp(28px,3.5vw,50px); line-height: 1.18; letter-spacing: -.04em; font-weight: 800; }
.service-story__toggle { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #B9CADF; border-radius: 50%; color: var(--deep); font: 400 30px/1 'Manrope',sans-serif; transition: transform .3s ease,background .3s ease; }
.service-story[open] > summary .service-story__toggle { transform: rotate(45deg); background: var(--accent-hi); border-color: var(--accent-hi); }
.service-story > summary:hover h3 { color: #B54A0C; }
.service-story[open] { border-top: 2px solid var(--accent); margin-top: -1px; }
.service-story__content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr) minmax(0,1fr); gap: 42px; padding: 4px 0 42px 84px; }
.service-story__intro { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.service-story__intro p { font-size: 15px; line-height: 1.8; color: #526782; }
.service-story__cta { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; margin-top: 24px; color: #B54A0C; font-size: 11px; line-height: 1.6; font-weight: 800; }
.service-story__cta > :last-child { font-size: 22px; }
.service-story h4 { margin-bottom: 18px; color: #647691; font-size: 10px; line-height: 1.6; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.service-story__scope li { position: relative; padding: 0 0 12px 16px; color: var(--deep); font-size: 13px; line-height: 1.75; }
.service-story__scope li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--accent); }
.service-story__projects { display: flex; flex-direction: column; gap: 12px; }
.service-story__projects button { display: grid; grid-template-columns: 78px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 8px; border: 1px solid #C9D6E6; background: #F7FAFF; text-align: left; color: var(--deep); font: 800 11px/1.6 'Manrope',sans-serif; cursor: pointer; transition: border-color .25s ease,background .25s ease; }
.service-story__projects button:hover { border-color: var(--accent); background: #fff; }
.service-story__projects img { display: block; width: 78px; height: 51px; object-fit: cover; object-position: top; border: 1px solid #C9D6E6; }
.service-story__symbol { display: flex; align-items: center; justify-content: center; width: 78px; height: 51px; background: #0B2344; color: var(--accent-hi); font: 600 21px/1 'Oswald',sans-serif; letter-spacing: -.02em; }
.service-story__project-arrow { font-size: 18px; font-weight: 400; color: #B54A0C; }
.service-story__device { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 150px; border: 1px solid #C9D6E6; background: #E6EEF8; }
.service-story__device svg { width: 70px; height: 90px; color: #1C3A63; }
.service-story__device span { color: #526782; font: 10px/1.6 ui-monospace,monospace; letter-spacing: .1em; }

/* Case interiors are readable stories, with generous screens and clear scope. */
.edition-2026 #project-dialog { width: min(1160px,calc(100% - 40px)); max-width: 1160px; max-height: calc(100dvh - 24px); border: 1px solid #384D6D; border-radius: 6px; background: #EDF3FA; }
.edition-2026 #project-dialog[open] { animation: xsCaseEnter .3s cubic-bezier(.2,.7,.2,1); }
.edition-2026 #project-dialog::backdrop { background: rgba(0,9,25,.87); backdrop-filter: blur(8px); }
.edition-2026 .case-toolbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; padding: 10px 28px; border-bottom: 1px solid #31435E; background: #081B35; color: #DCE7F6; pointer-events: auto; }
.case-toolbar__back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #DCE7F6; font: 700 11px/1.6 'Manrope',sans-serif; cursor: pointer; }
.case-toolbar__back > :first-child { font-size: 20px; color: var(--accent-hi); }
.case-toolbar__back:hover { color: var(--accent-hi); }
.case-toolbar__position { display: flex; gap: 12px; align-items: center; margin-left: auto; color: #849AB8; font-size: 10px; line-height: 1.5; }
.case-toolbar__position [data-case-position] { color: #DCE7F6; font: 11px/1.5 ui-monospace,monospace; }
.edition-2026 .case-toolbar #dialog-close { position: static; flex: 0 0 38px; width: 38px; height: 38px; min-height: 38px; border-color: #40536D; border-radius: 50%; background: transparent; color: #E7EFFB; box-shadow: none; font-size: 24px; }
.edition-2026 .case-toolbar #dialog-close:hover { border-color: var(--accent); color: var(--accent-hi); }
.edition-2026 .case-content.case-story { padding: 0; }
.case-story__header { position: relative; isolation: isolate; overflow: hidden; padding: 48px 54px 44px; background: #081B35; }
.case-story__header .eyebrow { color: #9DB1CE; font-size: 10px; letter-spacing: .15em; padding: 0; }
.edition-2026 .case-story__header h2 { position: relative; max-width: 880px; margin: 26px 0 24px; color: #F0F5FC; font-size: clamp(36px,5.5vw,76px); line-height: 1.08; letter-spacing: -.045em; }
.case-story__header .case-tag { position: relative; display: inline-flex; margin: 0; padding: 7px 12px; border: 1px solid #4A4E55; border-radius: 2px; background: rgba(253,117,16,.08); color: #F9A76C; font-size: 11px; letter-spacing: .03em; line-height: 1.6; }
.case-story__index { position: absolute; z-index: -1; right: 36px; bottom: -12px; color: #112B4B; font: 600 220px/1 'Oswald',sans-serif; letter-spacing: -.05em; pointer-events: none; }
.edition-2026 .case-story > .case-visual { margin: 0; padding: 0 28px 24px; background: #081B35; }
.case-story .case-preview { width: 100%; height: auto; max-height: none; object-fit: contain; border: 1px solid #425574; border-radius: 3px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.case-story .case-visual figcaption { margin-top: 12px; color: #93A8C6; font-size: 10px; line-height: 1.7; }
.case-story .case-visual > .project-diagram { border-radius: 3px; }
.case-story__description { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 70px; padding: 48px 54px 20px; }
.case-story__description h3 { margin: 0 0 18px; color: #7B532F; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.case-story__overview .case-description { color: #143154; font-size: 20px; line-height: 1.6; letter-spacing: -.02em; }
.case-story__overview .case-note { margin-top: 20px; color: #637A99; font-size: 12px; }
.case-story__scope .case-features { margin: 0; gap: 0; }
.case-story__scope .case-features li { padding: 11px 0 11px 18px; border-bottom: 1px solid #D3DDEB; color: #284568; font-size: 13px; }
.case-story__scope .case-features li::before { top: 20px; }
.case-story__scope .case-system { margin: 0 0 24px; padding: 0; border: 0; background: transparent; }
.case-story__scope .case-system__number { display: none; }
.case-story__scope .case-system h3 { margin-bottom: 8px; text-transform: none; letter-spacing: -.02em; font-size: 19px; color: #143154; }
.case-story__scope .case-system p { font-size: 13px; line-height: 1.75; }
.case-story__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 16px 54px 26px; }
.case-story__actions .btn { min-height: 50px; margin: 0; font-size: 11px; letter-spacing: .04em; }
.case-story__actions .case-secondary { margin: 0; font-size: 12px; }
.case-story > .case-share { margin: 0 54px; padding: 0 0 30px; border: 0; }
.case-navigation-heading { margin: 0 54px; padding-top: 26px; border-top: 1px solid #C4D1E2; color: #637A99; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.case-story > .case-navigation { padding: 0 54px 40px; margin-top: 16px; border: 0; gap: 28px; }
.case-story .case-navigation button { align-items: stretch; text-align: left; padding: 0; gap: 12px; }
.case-navigation__thumb { display: block; width: 100%; height: 140px; overflow: hidden; border-radius: 2px; background: #0D2545; }
.case-navigation__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.case-navigation button:hover .case-navigation__thumb img { transform: scale(1.025); }
.case-story .case-navigation button:last-child { text-align: right; }
.case-story .case-navigation button:last-child .case-navigation__direction { justify-content: flex-end; }
.case-story .case-navigation [data-case-name] { font-size: 19px; }
@keyframes xsCaseEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .service-story > summary { grid-template-columns: 40px minmax(0,1fr) 44px; gap: 18px; }
  .service-story__toggle { width: 44px; height: 44px; }
  .service-story__content { grid-template-columns: 1fr 1fr; gap: 28px; padding-left: 58px; }
  .service-story__proof { grid-column: 1 / -1; }
  .service-story__projects { display: grid; grid-template-columns: 1fr 1fr; }
  .service-story__device { justify-content: flex-start; padding-inline: 24px; min-height: 120px; }
  .case-story__description { gap: 38px; }
}
@media (max-width: 640px) {
  .services--stories .services__stories { margin-top: 34px; }
  .service-story > summary { grid-template-columns: 22px minmax(0,1fr) 34px; gap: 12px; padding-block: 24px; }
  .service-story h3 { font-size: 26px; }
  .service-story__number { font-size: 10px; padding-top: 3px; }
  .service-story__toggle { width: 34px; height: 34px; font-size: 24px; }
  .service-story__content { grid-template-columns: 1fr; padding: 0 0 28px 34px; gap: 24px; }
  .service-story__intro p { font-size: 14px; }
  .service-story__cta { margin-top: 12px; }
  .service-story h4 { margin-bottom: 12px; }
  .service-story__scope li { padding-bottom: 10px; font-size: 12px; }
  .service-story__projects { display: flex; }
  .service-story__projects button { grid-template-columns: 68px minmax(0,1fr) 16px; gap: 10px; }
  .service-story__projects img, .service-story__symbol { width: 68px; height: 45px; }
  .edition-2026 #project-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .edition-2026 .case-toolbar { height: 62px; padding: 9px 16px; gap: 12px; }
  .case-toolbar__back { font-size: 10px; gap: 8px; }
  .case-toolbar__position > [data-i18n] { display: none; }
  .case-toolbar__position { gap: 0; }
  .case-toolbar__position [data-case-position] { font-size: 10px; }
  .case-story__header { padding: 32px 22px 28px; }
  .edition-2026 .case-story__header h2 { font-size: 37px; margin: 22px 0; }
  .case-story__index { font-size: 160px; right: 15px; bottom: -8px; }
  .case-story__header .case-tag { font-size: 10px; }
  .edition-2026 .case-story > .case-visual { padding: 0 12px 18px; }
  .case-story .case-visual figcaption { padding: 0 10px; }
  .case-story__description { grid-template-columns: 1fr; padding: 30px 22px 16px; gap: 26px; }
  .case-story__overview .case-description { font-size: 18px; }
  .case-story__description h3 { margin-bottom: 12px; }
  .case-story__actions { padding: 10px 22px 24px; gap: 18px; }
  .case-story__actions .btn { width: 100%; font-size: 10px; }
  .case-story > .case-share { margin-inline: 22px; padding-bottom: 24px; }
  .case-navigation-heading { margin-inline: 22px; padding-top: 24px; }
  .case-story > .case-navigation { padding: 0 22px 30px; gap: 18px; }
  .case-navigation__thumb { height: 86px; }
  .case-story .case-navigation [data-case-name] { font-size: 15px; }
  .case-story .case-navigation__direction { font-size: 9px; }
}
