/* ==========================================================================
   Фазои имконот — corporate site
   Design language: geometric editorial · deep ocean ink · azure + orange
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --ink: #071c26;
  --ink-2: #0a2634;
  --ink-3: #0e3241;
  --ink-4: #14404f;
  --paper: #f7fafb;
  --white: #ffffff;
  --mist: #eaf3f7;
  --mist-2: #dfeef4;
  --text: #223a45;
  --body: #445d69;
  --muted: #6a818c;
  --line: #d8e5ea;
  --line-dark: rgba(255, 255, 255, 0.13);
  --azure: #1e9bd4;
  --azure-deep: #0b6e8f;
  --azure-light: #7fd8f5;
  --azure-soft: #d5eefa;
  --orange: #f58220;
  --orange-soft: #ffb264;
  --orange-ink: #b4550a;
  --green: #34b27b;
  --red: #d95454;

  --font-display: "Unbounded", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 132px);
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

/* Таджикская версия использует отдельную шрифтовую пару с полным
   покрытием таджикских букв (ӣ, ҳ, ҷ, ӯ, қ, ғ). */
html[lang="tg"] {
  --font-display: "Montserrat", "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono TJ", ui-monospace, Consolas, monospace;
}

/* ---------- Base --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

ul,
ol,
dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Preloader ---------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: none;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}

html.is-loading {
  overflow: hidden;
}

html.is-loading .preloader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s var(--ease), visibility 0s;
}

html.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}

.preloader__bg {
  position: absolute;
  inset: 0;
}

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 216, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 216, 245, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 70%);
}

.preloader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 130vw);
  height: min(720px, 130vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(30, 155, 212, 0.2), rgba(30, 155, 212, 0) 66%);
}

.preloader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
  animation: preloader-in 0.5s var(--ease) backwards;
}

.preloader__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(132px, 13vw, 168px);
  height: clamp(132px, 13vw, 168px);
  margin-bottom: 26px;
}

.preloader__mark::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.preloader__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(127, 216, 245, 0.24);
}

.preloader__orbit--1 {
  inset: 0;
  animation: preloader-spin 16s linear infinite;
}

.preloader__orbit--2 {
  inset: 14px;
  border-color: rgba(245, 130, 32, 0.26);
  animation: preloader-spin 11s linear infinite reverse;
}

.preloader__mark img {
  position: relative;
  width: clamp(50px, 4.4vw, 62px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(127, 216, 245, 0.3));
  animation: preloader-logo 0.55s var(--ease) backwards;
}

.preloader__brand {
  animation: preloader-in 0.5s var(--ease) 0.06s backwards;
}

.preloader__brand b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
}

.preloader__brand span {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 241, 247, 0.5);
}

.preloader__bar {
  position: relative;
  width: clamp(156px, 16vw, 196px);
  height: 2px;
  margin-top: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  animation: preloader-in 0.5s var(--ease) 0.14s backwards;
}

.preloader__bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--azure-light), var(--orange));
  animation: preloader-fill 1.35s var(--ease) infinite;
}

.preloader__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html.is-loaded .preloader__inner {
  opacity: 0;
  transform: translateY(-8px) scale(1.01);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

@keyframes preloader-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloader-logo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-fill {
  0% {
    opacity: 0.6;
    transform: scaleX(0);
  }
  65% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader,
  html.is-loading .preloader,
  html.is-loaded .preloader,
  .preloader__inner,
  html.is-loaded .preloader__inner {
    transition: none;
  }

  .preloader *,
  .preloader *::before,
  .preloader *::after {
    animation: none !important;
  }

  .preloader__bar i {
    width: 100%;
    background: rgba(127, 216, 245, 0.45);
  }
}

@media print {
  .preloader {
    display: none !important;
  }
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azure-light);
}

.eyebrow--light {
  color: var(--azure-light);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.18);
}

.accent {
  color: var(--azure-light);
  background: linear-gradient(92deg, #9ce4fb 0%, #35b4e4 55%, #1e9bd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--body);
  max-width: 54ch;
}

.lead--light {
  color: rgba(231, 243, 248, 0.72);
}

.index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.index b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--orange-ink);
  font-size: 11px;
}

.index--light {
  color: rgba(231, 243, 248, 0.55);
}

.index--light b {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--orange-soft);
}

/* ---------- Buttons / links --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn svg {
  flex: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: #fff;
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--ink-3);
}

.btn--accent {
  background: var(--orange);
  color: #fff;
}

.btn--accent:hover {
  background: #e5730f;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: transparent;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn--line {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow:hover {
  color: var(--azure-deep);
  border-color: currentColor;
}

.link-arrow--light {
  color: #fff;
}

.link-arrow--light:hover {
  color: var(--azure-light);
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-solid {
  background: rgba(7, 28, 38, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.brand__mark img {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.brand__mark--color {
  background: var(--paper);
  border-color: transparent;
  padding: 3px;
}

.brand__mark--color img {
  height: 36px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand__text i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav__link {
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 0;
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  padding: 0;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.burger span:first-child {
  top: 18px;
}

.burger span:last-child {
  top: 24px;
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  display: flex;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
}

.menu__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px var(--gutter) 40px;
}

.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.menu__head .mono {
  color: rgba(255, 255, 255, 0.5);
}

.menu__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  flex: 1;
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.menu.is-open .menu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.05s + var(--i) * 0.04s);
}

.menu__link span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.12em;
}

.menu__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.menu__mail {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 24px);
  color: #fff;
}

.menu__foot p {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(940px, 100svh);
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px));
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70vw;
  height: 70vw;
  background:
    radial-gradient(circle at 55% 45%, rgba(30, 155, 212, 0.28), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(245, 130, 32, 0.12), transparent 45%);
  filter: blur(10px);
}

.hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(127, 216, 245, 0.04), transparent);
  animation: scan 14s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(-160px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.hero__inner {
  position: relative;
}

.hero__inner > * {
  min-width: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex: 1;
  width: 100%;
}

.hero__copy {
  padding-bottom: 40px;
  max-width: 760px;
  min-width: 0;
}

.hero__title {
  margin-top: 26px;
  overflow-wrap: normal;
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.045em;
  color: #fff;
}

.hero__lead {
  margin-top: 28px;
  max-width: 54ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: rgba(226, 241, 247, 0.72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Radar visual */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  justify-self: center;
}

.radar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  color: var(--azure-light);
  background: radial-gradient(circle at 50% 50%, rgba(30, 155, 212, 0.08), transparent 65%);
}

.radar__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}

.radar__ring--1 { width: 100%; height: 100%; }
.radar__ring--2 { width: 72%; height: 72%; border-style: dashed; border-color: rgba(255, 255, 255, 0.14); }
.radar__ring--3 { width: 44%; height: 44%; border-color: rgba(127, 216, 245, 0.22); }

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(127, 216, 245, 0.18), transparent 28%);
  animation: rotate 18s linear infinite;
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.radar__cross {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

.radar__cross--x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.radar__cross--y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.radar__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.radar__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1px solid rgba(127, 216, 245, 0.28);
  background: rgba(7, 28, 38, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  justify-content: center;
  box-shadow: 0 0 60px rgba(30, 155, 212, 0.18);
}

.radar__core img {
  width: auto;
  height: 58px;
  object-fit: contain;
  margin-bottom: 4px;
}

.radar__core span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.radar__core b {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}

.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 10px 26px;
  background: rgba(10, 38, 52, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  min-width: 148px;
}

.node__dot {
  position: absolute;
  left: 11px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.node b {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
}

.node i {
  font-style: normal;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.node--1 { left: -2%; top: 10%; }
.node--2 { right: -6%; top: 27%; }
.node--3 { left: 0; bottom: 15%; }
.node--4 { right: -2%; bottom: 8%; }

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(10, 38, 52, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11px;
  line-height: 1.45;
}

.hero__chip b {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.hero__chip span {
  color: rgba(255, 255, 255, 0.55);
}

.hero__chip--1 {
  left: -6%;
  bottom: -2%;
  max-width: 250px;
}

.hero__chip--2 {
  right: -4%;
  top: -1%;
  gap: 14px;
}

.hero__chip--2 b {
  font-size: 26px;
  color: var(--azure-light);
}

.hero__chip--2 span {
  font-size: 10px;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 24px;
}

.hero__stat {
  min-width: 0;
  padding: 24px clamp(20px, 2.4vw, 32px) 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat:last-child {
  border-right: 0;
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(226, 241, 247, 0.78);
}

.hero__stat i {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  color: rgba(226, 241, 247, 0.4);
}

.hero__scroll {
  position: absolute;
  right: 22px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(90deg);
  transform-origin: right center;
}

.hero__scroll .mono {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.hero__scroll-line {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- Trust marquee ------------------------------------------------ */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 30px;
}

.trust__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.trust__note {
  font-size: 12px;
  color: var(--muted);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__item {
  display: grid;
  place-items: center;
  padding: 0 clamp(26px, 4vw, 54px);
  height: 52px;
  border-right: 1px solid var(--line);
}

.marquee__item img {
  max-height: 34px;
  max-width: 150px;
  width: auto;
}

.marquee__mono {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0.55;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ----------------------------------------------------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark h2 {
  color: #fff;
}

.section--about {
  background: var(--paper);
}

.section--directions {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--impact {
  background: var(--paper);
}

.section--process {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.section--team {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--partners {
  background: var(--paper);
}

.section__head {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section__headgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  margin-top: 22px;
  align-items: end;
}

.section__headgrid > * {
  min-width: 0;
}

.section__headgrid h2 {
  font-size: clamp(26px, 4vw, 54px);
  overflow-wrap: anywhere;
}

.section__headgrid .lead {
  margin-bottom: 4px;
}

.section__head--light {
  color: #fff;
}

.section__head--light .lead {
  color: rgba(226, 241, 247, 0.7);
}

.section__head--light .link-arrow {
  margin-top: 22px;
}

.section__foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.section__foot--dark {
  border-top-color: rgba(255, 255, 255, 0.14);
}

/* About: stacked intro */
.section__head--about .about__title {
  margin-top: 22px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
}

.section__head--about .about__lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 72ch;
}

/* ---------- About -------------------------------------------------------- */
.about__numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}

.about__number b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.about__plus {
  margin: 0 0.04em;
  font-size: 0.52em;
  color: var(--orange);
  vertical-align: 0.12em;
}

.about__number span.mono {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  color: var(--muted);
}

.about__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.about__legal p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  font-size: 8.5px;
  color: var(--muted);
}

.about__legal p span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .about__numbers {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ---------- Directions --------------------------------------------------- */
.directions {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.direction {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-height: 268px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.direction:nth-child(1) { grid-column: span 5; }
.direction:nth-child(2) { grid-column: span 4; }
.direction:nth-child(3) { grid-column: span 3; }

.direction:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.direction__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.direction__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange-ink);
}

.direction__icon {
  color: var(--azure-deep);
  transition: color 0.3s;
}

.direction h3 {
  font-size: clamp(16px, 1.4vw, 19px);
  hyphens: auto;
  overflow-wrap: break-word;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.direction p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
  max-width: 42ch;
  transition: color 0.3s;
}

.direction ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}

.direction li {
  position: relative;
  padding-left: 12px;
  font-size: 11.5px;
  color: var(--muted);
  transition: color 0.3s;
}

.direction li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 1px;
  background: var(--orange);
}

.direction__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: transparent;
  transition: color 0.3s;
}

.direction:hover h3 { color: #fff; }
.direction:hover p { color: rgba(226, 241, 247, 0.7); }
.direction:hover .direction__icon { color: var(--azure-light); }
.direction:hover li { color: rgba(226, 241, 247, 0.55); }
.direction:hover ul { border-color: rgba(255, 255, 255, 0.14); }
.direction:hover .direction__arrow { color: var(--orange); }
.direction:hover .direction__num { color: var(--orange-soft); }

/* ---------- Project cards ------------------------------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pcard {
  position: relative;
  min-width: 0;
}

.pcard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.35s;
}

.pcard:hover .pcard__link {
  border-color: var(--mist-2);
}

.pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.pcard__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange-ink);
}

.pcard__cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pcard__visual {
  position: relative;
  height: 210px;
  background: var(--mist);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.art {
  position: absolute;
  inset: 0;
  color: var(--azure-deep);
}

.art svg {
  width: 100%;
  height: 100%;
}

.art--infrastructure { color: var(--azure-deep); background: linear-gradient(135deg, #e7f4f9, #d7eaf3); }
.art--data { color: #0b6e8f; background: linear-gradient(135deg, #e9f4f8, #dcecf4); }
.art--screening { color: #c96b12; background: linear-gradient(135deg, #fdf1e6, #f9e3cd); }
.art--products { color: var(--ink-3); background: linear-gradient(135deg, #e6eff3, #d5e5ec); }

.pcard__logo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--white);
  padding: 34px 26px;
}

.pcard__logo img {
  max-height: 96px;
  max-width: 62%;
  width: auto;
  object-fit: contain;
}

.pcard__logo--dark {
  background:
    radial-gradient(circle at 70% 20%, rgba(30, 155, 212, 0.22), transparent 55%),
    linear-gradient(135deg, #0d3343, #071c26);
}

.pcard__logo--dark img {
  max-height: 100px;
}

.pcard__brand {
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.pcard__logo--dark .pcard__brand {
  left: 22px;
  top: auto;
  bottom: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}

.pcard__metric {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(7, 28, 38, 0.08);
  max-width: 190px;
}

.pcard__metric b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pcard__metric span {
  font-size: 9.5px;
  line-height: 1.3;
  color: var(--muted);
}

.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.pcard__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.pcard:hover .pcard__title {
  color: var(--azure-deep);
}

.pcard__summary {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pcard__client {
  color: var(--azure-deep);
}

.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.project-grid--home .pcard__visual {
  height: 260px;
}

.project-grid--home .pcard__title {
  font-size: 21px;
}

/* ---------- Impact ------------------------------------------------------- */
.impact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.impact__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.impact__number {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
}

.impact__number:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.impact__number:nth-child(even) {
  padding-left: 28px;
}

.impact__number b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
}

.impact__quote {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--mist);
  border-left: 2px solid var(--orange);
}

.impact__quote p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 36ch;
}

.impact__quote span {
  display: block;
  margin-top: 10px;
  font-size: 8.5px;
}

.impact__number span {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

.impact__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.impact__foot p {
  font-size: 12px;
  color: var(--muted);
  max-width: 60ch;
}

.ledger {
  border-top: 1px solid var(--ink);
}

.ledger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--body);
}

.ledger__row b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ---------- Process ------------------------------------------------------ */
.section--process .process {
  border-top: 1px solid var(--ink);
}

.process__step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(18px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}

.process__num {
  padding-top: 1px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #b9cdd6;
}

.process__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
}

.process__head h3 {
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 500;
}

.process__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}

.process__meta::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.process__body p {
  margin-top: 8px;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
}

@media (max-width: 720px) {
  .process__step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .process__num {
    font-size: 24px;
  }

  .process__head h3 {
    font-size: 18px;
  }
}

/* ---------- Team --------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink);
}

.team__stats > div {
  min-width: 0;
  padding: 24px clamp(20px, 2.4vw, 32px) 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.team__stats > div:last-child {
  border-right: 0;
}

.team__stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.team__stats span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(226, 241, 247, 0.68);
}

/* ---------- Partners ----------------------------------------------------- */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partner-logos__item {
  display: grid;
  place-items: center;
  min-height: 124px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.partner-logos__item img {
  max-height: 64px;
  max-width: 186px;
  width: auto;
}

.partner-logos__item span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ---------- CTA ---------------------------------------------------------- */
.cta {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--paper);
  border-top: 1px solid var(--ink);
}

.cta__head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cta__eyebrow {
  color: var(--muted);
}

.cta__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 4vw, 40px) 0;
}

.cta__main h2 {
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.cta .accent {
  background-image: linear-gradient(92deg, #1e9bd4 0%, #0b6f9e 100%);
}

.cta__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(64px, 7vw, 104px);
  height: clamp(64px, 7vw, 104px);
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}

.cta__arrow-label {
  display: none;
}

.cta__arrow:hover {
  background: var(--ink);
  color: var(--orange);
}

.cta__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.cta__foot p {
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
}

.cta__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  transition: color 0.2s, border-color 0.2s;
}

.cta__mail:hover {
  color: var(--orange-ink);
  border-color: var(--orange);
}

@media (max-width: 560px) {
  .cta {
    padding: 48px 0;
  }

  .cta__main {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 22px 0 26px;
  }

  .cta__main h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .cta__arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.005em;
  }

  .cta__arrow-label {
    display: inline;
  }

  .cta__arrow svg {
    width: 22px;
    height: 22px;
  }

  .cta__foot p {
    font-size: 14.5px;
  }

  .cta__mail {
    min-height: 44px;
    align-items: center;
    font-size: 12.5px;
  }
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(226, 241, 247, 0.65);
  padding-top: 72px;
  overflow: hidden;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand--footer .brand__text b {
  font-size: 16px;
}

.footer__about {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 13.5px;
  color: rgba(226, 241, 247, 0.72);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__mail {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  color: #fff !important;
  letter-spacing: -0.02em;
}

.footer__addr {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(226, 241, 247, 0.5);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(226, 241, 247, 0.62);
}

.footer__social a:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s, border-color 0.2s;
}

.footer__social a:first-child:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(20px, 5.9vw, 88px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  padding: 36px 0 28px;
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  color: rgba(226, 241, 247, 0.4);
}

.footer__legal {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer__top:hover {
  color: #fff;
}

/* ---------- Page hero (inner pages) ------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 90% at 25% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 25% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(30, 155, 212, 0.22), transparent 60%);
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 26px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.25);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azure-light);
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}

.page-hero__lead {
  margin-top: 24px;
  max-width: 62ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(226, 241, 247, 0.7);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.chip b {
  font-weight: 500;
  color: #fff;
}

.chip--link {
  color: #fff;
  transition: border-color 0.2s, color 0.2s;
}

.chip--link svg {
  flex: none;
  color: var(--orange-soft);
}

.chip--link:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--azure-light);
}

/* ---------- Content sections / typography ------------------------------- */
.content {
  padding: clamp(56px, 7vw, 96px) 0;
}

.content--mist {
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.content h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.content h3 {
  font-size: 18px;
  font-weight: 500;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin-bottom: 1.1em;
  font-size: 15.5px;
  line-height: 1.7;
}

.prose p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.split--wide {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  min-width: 0;
}

.section-title > * {
  min-width: 0;
}

/* ---------- About page --------------------------------------------------- */
.who__statement {
  max-width: 1020px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.who__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 52px);
}

.who__copy {
  max-width: 64ch;
}

.who__facts {
  background: var(--ink);
  color: #fff;
  padding: clamp(24px, 2.6vw, 32px);
}

.who__facts-head .mono {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.who__facts-year {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.who__facts-arrow {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--orange);
}

.who__facts-arrow svg {
  width: 0.68em;
  height: 0.68em;
}

.who__facts-note {
  margin: 0 0 20px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.who__facts dl {
  margin: 0;
}

.who__facts dl > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.who__facts dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.who__facts dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #fff;
}

.who__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 4vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.who__pillars li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px 20px;
  background: var(--white);
}

.who__pillars .mono {
  flex: none;
  padding-top: 2px;
  font-size: 8.5px;
  color: var(--orange-ink);
}

.who__pillars p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  min-width: 0;
  padding: 26px 24px 28px;
  background: var(--white);
  border-right: 0;
}

.value:last-child {
  border-right: 0;
}

.value span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange-ink);
}

.value h3 {
  margin-top: 16px;
  font-size: 17px;
}

.value p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}

.org-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.org-top__cell {
  background: var(--ink);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-top__cell .mono {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
}

.org-top__cell b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.org-block {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}

.org-block > span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange-ink);
}

.org-block h3 {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.3;
}

.org-block ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.org-block li {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--body);
}

.org-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 1px;
  background: var(--azure);
}

.org-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  max-width: 80ch;
}

.content--legal .section-title {
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.legal-step {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 2.6vw, 34px) clamp(20px, 2.2vw, 32px) 6px 0;
  border-right: 1px solid var(--line);
}

.legal-step + .legal-step {
  padding-left: clamp(20px, 2.2vw, 32px);
}

.legal-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.legal-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.legal-step + .legal-step::before {
  left: clamp(20px, 2.2vw, 32px);
}

.legal-step__year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.legal-step__meta {
  display: block;
  margin-top: 12px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.legal-step h3 {
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.25;
}

.legal-step p {
  margin-top: 10px;
  max-width: 40ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--body);
}

.legal-record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
}

.legal-record__item {
  position: relative;
  min-width: 0;
  padding: 28px clamp(22px, 2.4vw, 32px) 30px;
  border-right: 1px solid var(--line);
}

.legal-record__item:last-child {
  border-right: 0;
}

.legal-record__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: clamp(22px, 2.4vw, 32px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.legal-record__year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.legal-record__meta {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  color: var(--muted);
}

.legal-record__item h3 {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.3;
}

.legal-record__item p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
}

.geo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.geo-list span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  color: var(--ink);
}

/* ---------- Services: direction cards ------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.svc {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  scroll-margin-top: 110px;
  transition: border-color 0.35s var(--ease);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease);
}

.svc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.45s var(--ease);
}

.svc:hover::before,
.svc:focus-within::before {
  transform: scaleY(1);
}

.svc:hover::after,
.svc:focus-within::after {
  width: 100%;
}

.svc:hover,
.svc:focus-within {
  border-color: var(--ink);
}

.svc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2.2vw, 30px);
}

.svc__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.svc__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--mist);
  color: var(--azure-deep);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.svc__main {
  min-width: 0;
}

.svc__main .svc__title {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.16;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
  overflow-wrap: break-word;
  transition: color 0.3s var(--ease);
}

.svc__text {
  margin-top: 10px;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--body);
  transition: color 0.3s var(--ease);
}

.svc__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.svc__points li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.svc__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--orange);
}

.svc__projects {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.svc__projects > .mono {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.svc__links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.svc__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.svc__links a svg {
  flex: none;
  opacity: 0.45;
}

.svc:hover .svc__num,
.svc:focus-within .svc__num {
  color: var(--orange-soft);
}

.svc:hover .svc__icon,
.svc:focus-within .svc__icon {
  background: rgba(255, 255, 255, 0.07);
  color: var(--azure-light);
}

.svc:hover .svc__title,
.svc:focus-within .svc__title {
  color: #fff;
}

.svc:hover .svc__text,
.svc:focus-within .svc__text {
  color: rgba(226, 241, 247, 0.72);
}

.svc:hover .svc__points,
.svc:focus-within .svc__points {
  border-color: rgba(255, 255, 255, 0.14);
}

.svc:hover .svc__points li,
.svc:focus-within .svc__points li {
  color: rgba(226, 241, 247, 0.72);
}

.svc:hover .svc__projects > .mono,
.svc:focus-within .svc__projects > .mono {
  color: rgba(226, 241, 247, 0.45);
}

.svc:hover .svc__links a,
.svc:focus-within .svc__links a {
  color: rgba(255, 255, 255, 0.85);
}

.svc:hover .svc__links a:hover,
.svc:focus-within .svc__links a:hover {
  color: var(--azure-light);
}

/* Lead direction — always dark */
.svc--lead {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  grid-template-areas:
    "head points"
    "main points"
    "main projects";
  align-items: start;
  gap: 0 clamp(26px, 4vw, 64px);
  padding: clamp(28px, 3.2vw, 42px);
  background: var(--ink);
  border-color: var(--ink);
}

.svc--lead::before,
.svc--lead::after {
  display: none;
}

.svc--lead .svc__head {
  grid-area: head;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.svc--lead .svc__num {
  font-size: clamp(44px, 4.4vw, 60px);
  color: var(--orange-soft);
}

.svc--lead .svc__icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--azure-light);
}

.svc--lead .svc__main {
  grid-area: main;
}

.svc--lead .svc__title {
  max-width: 20ch;
  font-size: clamp(26px, 2.8vw, 36px);
  color: #fff;
}

.svc--lead .svc__text {
  max-width: 50ch;
  font-size: 15px;
  color: rgba(226, 241, 247, 0.72);
}

.svc--lead .svc__points {
  grid-area: points;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  border-top: 0;
}

.svc--lead .svc__points li {
  font-size: 13.5px;
  color: rgba(226, 241, 247, 0.8);
}

.svc--lead .svc__projects {
  grid-area: projects;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.svc--lead .svc__projects > .mono {
  color: rgba(226, 241, 247, 0.45);
}

.svc--lead .svc__links a {
  color: rgba(255, 255, 255, 0.85);
}

.svc--lead .svc__links a:hover {
  color: var(--azure-light);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.format-card {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 30px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.format-card svg {
  color: var(--azure-light);
}

.format-card h3 {
  margin-top: auto;
  font-size: 20px;
  color: #fff;
}

.format-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 241, 247, 0.62);
}

.format-card span {
  position: absolute;
  right: 24px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Projects page ------------------------------------------------ */
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12.5px;
  color: var(--body);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter.is-active span {
  color: var(--azure-light);
}

.filters__count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-grid--list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.projects-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}

/* ---------- Project detail ---------------------------------------------- */
.project-hero__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.project-hero h1 {
  max-width: 20ch;
  font-size: clamp(32px, 4.4vw, 62px);
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  margin-top: 40px;
}

.project-metrics > div {
  min-width: 0;
  padding: 24px clamp(20px, 2.4vw, 32px) 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.project-metrics > div:last-child {
  border-right: 0;
}

.project-metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.project-metrics span {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

.project-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.project-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.fact-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.fact-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.fact-card__head .mono {
  font-size: 9px;
}

.fact-card dl {
  padding: 4px 20px;
}

.fact-card dl > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.fact-card dl > div:last-child {
  border-bottom: 0;
}

.fact-card dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.fact-card dd {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}

.fact-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.fact-card__tags span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.fact-card__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.fact-card__cta p {
  font-size: 11.5px;
  color: var(--muted);
}

.project-story {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.story-step:first-child {
  padding-top: 0;
}

.story-step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange-ink);
  padding-top: 3px;
}

.story-step h2 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.story-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  max-width: 66ch;
}

@media (max-width: 720px) {
  .story-step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .story-step__num {
    padding-top: 4px;
    font-size: 9px;
  }
}

.story-result {
  margin-top: 28px;
  padding: 26px 28px;
  background: var(--mist);
  border-left: 3px solid var(--orange);
}

.story-result .mono {
  color: var(--orange-ink);
  font-size: 9px;
}

.story-result p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 66ch;
}

.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.project-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s;
}

.project-nav a:hover {
  border-color: var(--ink);
  background: var(--white);
}

.project-nav span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-nav b {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

.project-nav a:last-child {
  text-align: right;
  align-items: flex-end;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

/* ---------- Team page ---------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.person-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  transition: border-color 0.25s var(--ease);
}

.person-card:hover {
  border-color: var(--ink);
}

.person-card--expert {
  border-top: 2px solid var(--azure);
}

.person-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person-card__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(127, 216, 245, 0.5), transparent 60%),
    linear-gradient(145deg, var(--ink-3), var(--ink));
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.person-card__cat {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 8.5px;
  color: var(--orange-ink);
}

.person-card--expert .person-card__cat {
  color: var(--azure-deep);
}

.person-card__num {
  flex: none;
  font-size: 9px;
  color: var(--muted);
}

.person-card h3 {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.2;
}

.person-card__role {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.person-card__spec {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.person-card__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.person-card:hover .person-card__more {
  color: var(--azure-deep);
}

/* ---------- Person page -------------------------------------------------- */
.person-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.person-hero__copy {
  min-width: 0;
}

.person-hero .page-hero__lead {
  max-width: 52ch;
}

.person-hero__avatar {
  position: relative;
  flex: none;
  width: clamp(140px, 14vw, 184px);
  height: clamp(140px, 14vw, 184px);
}

.person-hero__avatar span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(127, 216, 245, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(127, 216, 245, 0.22), transparent 62%),
    linear-gradient(145deg, var(--ink-3), var(--ink));
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.person-hero__avatar i {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.person-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.person-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.person-story {
  min-width: 0;
}

.person-back {
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .person-hero__inner {
    grid-template-columns: 1fr;
  }

  .person-hero__avatar {
    display: none;
  }

  .person-layout {
    grid-template-columns: 1fr;
  }

  .person-aside {
    position: static;
    order: 2;
  }

  .person-story {
    order: 1;
  }
}

@media (max-width: 720px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Partners: agreement cards ------------------------------------ */
.agr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.agr-head h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.agr-head__count {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.agr-head__count b {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.agr-head__count span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.agr-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.agr {
  --agr-pad: clamp(22px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 320px;
  padding: var(--agr-pad);
  background: var(--white);
  border: 1px solid var(--line);
}

.agr:nth-child(1) {
  grid-column: span 7;
}

.agr:nth-child(2) {
  grid-column: span 5;
}

.agr__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2vw, 26px);
}

.agr__num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.26;
}

.agr__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 78px;
  height: 78px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
}

.agr__logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.agr__scope {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure-deep);
}

.agr__short {
  margin-top: 9px;
  overflow-wrap: break-word;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.agr__name {
  margin-top: 10px;
  max-width: 52ch;
  overflow-wrap: break-word;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.agr__desc {
  margin-top: 8px;
  max-width: 52ch;
  overflow-wrap: break-word;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
}

.agr__date {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: auto calc(var(--agr-pad) * -1) calc(var(--agr-pad) * -1);
  padding: 14px var(--agr-pad) 16px;
  border-top: 1px solid var(--line);
  background: var(--mist);
}

.agr__date b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.agr__date .mono {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.agr--lead {
  background: var(--ink);
  border-color: var(--ink);
}

.agr--lead .agr__num {
  color: var(--orange-soft);
  opacity: 1;
}

.agr--lead .agr__logo {
  width: 94px;
  height: 94px;
  border-color: rgba(255, 255, 255, 0.18);
  background: #fff;
}

.agr--lead .agr__scope {
  color: var(--azure-light);
}

.agr--lead .agr__short {
  font-size: clamp(30px, 3vw, 40px);
  color: #fff;
}

.agr--lead .agr__name {
  color: rgba(255, 255, 255, 0.84);
}

.agr--lead .agr__desc {
  color: rgba(226, 241, 247, 0.62);
}

.agr--lead .agr__date {
  border-top-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.agr--lead .agr__date b {
  color: var(--orange-soft);
}

.agr--lead .agr__date .mono {
  color: rgba(226, 241, 247, 0.45);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.client-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.client-card__logo {
  height: 62px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.client-card__logo img {
  max-height: 46px;
  max-width: 160px;
}

.client-card__logo span {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.client-card h3 {
  font-size: 18px;
}

.client-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}

.client-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Contacts ----------------------------------------------------- */
.contact-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.form-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(22px, 2.6vw, 34px);
}

.form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.form-card__head h3 {
  font-size: clamp(20px, 2vw, 24px);
}

.form-card__head p {
  margin-top: 7px;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Direct contacts — dark panel next to the form */
.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--ink);
  color: #fff;
}

.contact-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel__head .mono {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-panel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.18);
}

.contact-panel__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact-panel__mail svg {
  flex: none;
  color: var(--orange-soft);
}

.contact-panel__mail:hover {
  color: var(--azure-light);
}

.contact-panel__note {
  margin-top: 14px;
  max-width: 38ch;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.contact-panel__block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel__block > .mono {
  display: block;
  margin-bottom: 4px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
}

.contact-person {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-person:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.contact-person__initials {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--azure-light);
}

.contact-person__body b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  transition: color 0.2s;
}

.contact-person__body em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.contact-person__body span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--azure-light);
  overflow-wrap: anywhere;
}

.contact-person__arrow {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}

.contact-person:hover .contact-person__body b,
.contact-person:hover .contact-person__arrow {
  color: var(--azure-light);
}

.contact-panel__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel__hours {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel__hours .mono {
  display: block;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
}

.contact-panel__hours b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}

.contact-panel__hours > span:last-child {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
}

.contact-panel__map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: border-color 0.2s;
}

.contact-panel__map .mono {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.contact-panel__map > span:not(.mono) {
  grid-column: 1;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-panel__map svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--orange-soft);
}

.contact-panel__map:hover {
  border-color: var(--azure-light);
}

.contact-panel__map:hover .mono {
  color: var(--azure-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label i {
  font-style: normal;
  color: var(--orange);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aadb6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azure);
  background: var(--white);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red);
}

.field__error {
  font-size: 11px;
  color: var(--red);
}

.field label.checkbox {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  color: var(--body);
  gap: 12px;
  align-items: flex-start;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--body);
  cursor: pointer;
}

.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid #b3c9d3;
  border-radius: 2px;
  background: var(--white);
  transition: background-color 0.2s, border-color 0.2s;
}

.checkbox input:hover {
  border-color: var(--azure);
}

.checkbox input:checked {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.3 4.3 8.6 11 1.7' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
}

.field.has-error .checkbox input {
  border-color: var(--red);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #eaf7f0;
  color: #1f7a52;
  border-left: 2px solid var(--green);
}

.form-status.is-error {
  background: #fdefef;
  color: #a33b3b;
  border-left: 2px solid var(--red);
}

@media (max-width: 1180px) {
  .contact-desk {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}

@media (max-width: 960px) {
  .contact-desk {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .form-submit .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-panel__mail {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .form-submit .btn {
    gap: 8px;
    padding-inline: 16px;
    font-size: 13px;
  }
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--white);
}

.map-embed {
  position: relative;
  z-index: 0;
  height: 480px;
  min-height: 0;
  background: var(--mist);
  isolation: isolate;
}

.map-embed .leaflet-container {
  height: 100%;
  background: var(--mist);
  font-family: var(--font-body);
}

.map-embed .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  line-height: 30px;
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body);
}

.map-embed .leaflet-control-attribution {
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.map-embed .leaflet-control-attribution a {
  color: var(--azure-deep);
}

.office-marker-wrap {
  background: transparent;
  border: 0;
}

.office-marker {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(7, 28, 38, 0.18),
    0 5px 14px rgba(7, 28, 38, 0.3);
}

.office-marker--red {
  background: var(--red);
}

.office-marker--blue {
  background: var(--azure);
}

.office-tooltip {
  padding: 5px 8px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(7, 28, 38, 0.5);
}

.office-tooltip::before {
  border-top-color: var(--ink);
}

.office-popup {
  min-width: 210px;
  max-width: 280px;
}

.office-popup b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.office-popup span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--body);
}

.office-popup a {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--azure-deep);
}

.map-embed .leaflet-popup-content-wrapper {
  border-radius: 0;
  box-shadow: 0 18px 44px -18px rgba(7, 28, 38, 0.35);
}

.map-embed .leaflet-popup-content {
  margin: 14px 16px;
}

.map-embed .leaflet-popup-tip {
  box-shadow: 0 12px 30px -18px rgba(7, 28, 38, 0.35);
}

.office-panel__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.office-entry {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 961px) {
  .office-panel__list {
    flex: 1 1 auto;
  }

  .office-entry {
    flex: 1 1 0;
    min-height: 0;
    padding: 16px 0;
  }
}

.office-entry:first-child {
  border-top: 0;
}

.office-entry__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.office-entry__dot--red {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 84, 84, 0.16);
}

.office-entry__dot--blue {
  background: var(--azure);
  box-shadow: 0 0 0 4px rgba(30, 155, 212, 0.18);
}

.office-entry__body {
  min-width: 0;
}

.office-entry__body b {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}

.office-entry__body > span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.office-entry__body em {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.office-entry__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.office-entry__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.office-entry__links img {
  flex: none;
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.office-entry__links a:hover {
  border-color: var(--azure-light);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 960px) {
  .map-embed {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .map-embed {
    height: 360px;
  }
}

/* ---------- 404 ---------------------------------------------------------- */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(96px, 22vw, 240px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(127, 216, 245, 0.4);
}

.error-page h1 {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
}

.error-page p {
  margin-top: 14px;
  max-width: 46ch;
  color: rgba(226, 241, 247, 0.65);
}

.error-page__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Toast -------------------------------------------------------- */
.toast {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  left: 50%;
  bottom: 26px;
  z-index: 260;
  transform: translate(-50%, 140%);
  max-width: min(92vw, 460px);
  padding: 14px 20px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease);
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast.is-error {
  border-color: rgba(217, 84, 84, 0.6);
}

.toast:empty {
  display: none;
}

/* ---------- Reveal ------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in {
  opacity: 1;
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1180px) {
  .nav {
    gap: 16px;
  }

  .nav__link {
    font-size: 12.5px;
  }

  .header__cta span {
    display: none;
  }

  .header__cta {
    padding: 0 14px;
  }

  .direction:nth-child(1),
  .direction:nth-child(2) {
    grid-column: span 6;
  }

  .direction:nth-child(3) {
    grid-column: span 4;
  }

  .direction {
    grid-column: span 4;
  }

  .values-grid,
  .org-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}


.org-top__cell {
  background: var(--ink);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-top__cell .mono {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
}

.org-top__cell b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.org-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 24px;
  }

  .hero__copy {
    padding-bottom: 8px;
  }

  .hero__title {
    font-size: clamp(36px, 8.6vw, 64px);
  }

  .hero__visual {
    width: min(100%, 480px);
    margin: 10px auto 0;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stat:nth-child(2) {
    border-right: 0;
  }

  .hero__stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__scroll {
    display: none;
  }

  .section__headgrid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact__grid,
  .split,
  .split--wide {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .project-grid--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid--home {
    grid-template-columns: 1fr;
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-aside {
    position: static;
    order: 2;
  }

  .project-story {
    order: 1;
  }

  .project-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc--lead {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "main"
      "points"
      "projects";
    gap: 18px;
  }

  .svc--lead .svc__head {
    margin-bottom: 0;
  }

  .svc--lead .svc__points {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .svc--lead .svc__projects {
    padding-top: 18px;
  }

  .agr,
  .agr:nth-child(1),
  .agr:nth-child(2) {
    grid-column: span 6;
  }

  .agr:nth-child(1) {
    grid-column: span 12;
  }

  .partner-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer__legal {
    text-align: left;
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(24px, 6.4vw, 36px);
    line-height: 1.04;
    hyphens: manual;
    overflow-wrap: normal;
  }

  .hero__lead {
    font-size: 14.5px;
  }

  .org-top {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .hero__chip {
    display: none;
  }

  .trust__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .direction,
  .direction:nth-child(1),
  .direction:nth-child(2),
  .direction:nth-child(3) {
    grid-column: span 12;
    min-height: 0;
  }

  .direction ul {
    margin-top: 16px;
  }

  .svc {
    grid-column: span 12;
  }

  .agr,
  .agr:nth-child(1),
  .agr:nth-child(2) {
    grid-column: span 12;
  }

  .agr-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-grid,
  .project-grid--list,
  .project-grid--home {
    grid-template-columns: 1fr;
  }

  .project-grid--home .pcard__visual {
    height: 220px;
  }

  .impact__numbers {
    grid-template-columns: 1fr;
  }

  .impact__number:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .impact__number:nth-child(even) {
    padding-left: 0;
  }

  .team-grid,
  .values-grid,
  .org-grid,
  .formats-grid,
  .client-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .team__stats {
    grid-template-columns: 1fr 1fr;
  }

  .team__stats > div:nth-child(2) {
    border-right: 0;
  }

  .team__stats > div:nth-child(3),
  .team__stats > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .legal-step {
    padding: 24px 0 24px 22px;
    border-right: 0;
    border-left: 1px solid var(--line);
  }

  .legal-step:first-child {
    border-top: 1px solid var(--ink);
    padding-top: 28px;
  }

  .legal-step + .legal-step {
    padding-left: 22px;
  }

  .legal-step::before,
  .legal-step + .legal-step::before {
    top: 32px;
    left: -4px;
  }

  .legal-step:first-child::before {
    top: -4px;
  }

  .legal-step__year {
    font-size: 34px;
  }

  .legal-step h3 {
    margin-top: 16px;
  }

  .cta__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__wordmark {
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero h1 {
    max-width: none;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .project-metrics > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 16px 0;
  }

  .project-metrics > div:last-child {
    border-bottom: 0;
  }

  .project-nav {
    grid-template-columns: 1fr;
  }

  .project-nav a:last-child {
    text-align: left;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .map-pin--1 { left: 8%; top: 24%; }
  .map-pin--2 { left: 42%; top: 60%; }
}

@media (max-width: 480px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stat {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
  }

  .hero__stat:last-child {
    border-bottom: 0;
  }

  .filter {
    font-size: 11.5px;
    padding: 8px 10px;
  }

  .project-metrics {
    gap: 0;
  }

  .brand__text i {
    display: none;
  }
}

/* ---------- Motion preferences ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Small phones ------------------------------------------------ */
@media (max-width: 380px) {
  .svc__main .svc__title {
    font-size: 19px;
  }

  .svc--lead .svc__title {
    font-size: 22px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__mark img {
    width: 30px;
    height: 30px;
  }

  .brand__text b {
    font-size: 13px;
  }

  .header__inner {
    gap: 12px;
  }

  .menu__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu__foot p {
    text-align: left;
  }
}

/* ---------- Anchors ------------------------------------------------------ */
section[id],
[id="process"],
[id="formats"] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* ---------- Language switch --------------------------------------------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  flex: none;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.is-active {
  color: #fff;
  border-color: var(--orange);
}

.lang-switch--menu {
  font-size: 11px;
  gap: 7px;
  margin-left: auto;
  margin-right: 16px;
}

@media (max-width: 380px) {
  .header__actions .lang-switch {
    display: none;
  }
}

/* Переключатель языка содержит таджикскую «Ҷ» на обеих версиях,
   поэтому всегда используем полный моно-шрифт. */
.lang-switch {
  font-family: "IBM Plex Mono TJ", var(--font-mono);
}

/* ---------- Language dropdown ------------------------------------------- */
.lang-menu {
  position: relative;
  flex: none;
  font-family: "IBM Plex Mono TJ", var(--font-mono);
}

.lang-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
  list-style: none;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.lang-menu__toggle::-webkit-details-marker {
  display: none;
}

.lang-menu__toggle::marker {
  content: "";
}

.lang-menu__toggle:hover {
  color: #fff;
}

.lang-menu[open] .lang-menu__toggle {
  color: #fff;
  border-color: var(--orange);
}

.lang-menu__toggle svg {
  opacity: 0.6;
  transition: transform 0.2s var(--ease);
}

.lang-menu[open] .lang-menu__toggle svg {
  transform: rotate(180deg);
}

.lang-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 186px;
  padding: 6px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.lang-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.2s, color 0.2s;
}

.lang-menu__item:last-child {
  border-bottom: 0;
}

.lang-menu__item b {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.lang-menu__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lang-menu__item.is-active {
  color: #fff;
}

.lang-menu__item.is-active b {
  color: var(--orange);
}

.lang-menu__item.is-active span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 0.2em;
}


/* ---------- Project screenshots in cards --------------------------------- */
.pcard__shot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #eef5f8;
}

.pcard__shotbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 10px;
  background: #e8f1f5;
  border-bottom: 1px solid var(--line);
}

.pcard__shotbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9cfd8;
}

.pcard__shotbar em {
  margin-left: 7px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pcard__shot img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Project gallery showcase -------------------------------------- */
.project-gallery {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.project-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.project-gallery__head .mono {
  display: block;
  margin-bottom: 8px;
  font-size: 8.5px;
  color: var(--orange-ink);
}

.project-gallery__head h2 {
  font-size: clamp(24px, 2.8vw, 36px);
}

.project-gallery__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s, border-color 0.2s;
}

.project-gallery__all:hover {
  color: var(--azure-deep);
  border-color: var(--azure-deep);
}

.project-gallery__all span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  height: clamp(400px, 37vw, 540px);
}

.showcase > * {
  min-width: 0;
}

.showcase--single {
  grid-template-columns: 1fr;
}

.showcase__main,
.showcase__thumb,
.showcase__pair {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #eef5f8;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.showcase__main {
  aspect-ratio: 16 / 11;
}

.showcase--single {
  max-width: 900px;
  height: auto;
}

.showcase--single .showcase__main {
  aspect-ratio: 16 / 9;
}

.showcase--pair {
  grid-template-columns: 1fr 1fr;
  height: auto;
}

.showcase__pair {
  aspect-ratio: 16 / 11;
}

.showcase__main img,
.showcase__thumb img,
.showcase__pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase__side {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.showcase__thumb {
  height: 100%;
}

.showcase__thumb:only-child {
  grid-row: 1 / -1;
}

.showcase__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 76px 18px 16px;
  background: linear-gradient(
    to top,
    rgba(7, 28, 38, 0.96) 0%,
    rgba(7, 28, 38, 0.82) 45%,
    rgba(7, 28, 38, 0) 100%
  );
  color: #fff;
  font-size: 12.5px;
  line-height: 1.35;
}

.showcase__caption b {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
}

.showcase__num {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  background: rgba(7, 28, 38, 0.72);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.showcase__zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(7, 28, 38, 0.7);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.showcase__thumb:hover .showcase__zoom {
  opacity: 1;
}

.lightbox__counter {
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 960px) {
  .showcase {
    grid-template-columns: 1fr;
    height: auto;
  }

  .showcase__main,
  .showcase__pair {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .showcase__side {
    height: auto;
  }

  .showcase__thumb {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .project-gallery__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .showcase__side {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .showcase__thumb {
    aspect-ratio: 16 / 10;
  }

  .showcase__caption {
    font-size: 11.5px;
    padding: 36px 12px 10px;
  }
}

/* ---------- Lightbox ----------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 20, 28, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.lightbox__figure figcaption {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 70ch;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 28, 38, 0.7);
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__nav--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .gallery-grid {
    columns: 1;
  }

  .project-gallery__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .lightbox__figure img {
    max-height: 70vh;
  }
}


/* ---------- Project metrics: final spacing ------------------------------- */
@media (max-width: 720px) {
  .project-metrics {
    grid-template-columns: 1fr;
  }

  .project-metrics > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .project-metrics > div:last-child {
    border-bottom: 0;
  }

  .project-metrics b {
    font-size: clamp(28px, 8vw, 34px);
  }

  .project-metrics span {
    margin-top: 0;
    max-width: 55%;
    text-align: right;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .project-metrics > div {
    display: block;
    padding: 14px 18px;
  }

  .project-metrics span {
    margin-top: 6px;
    max-width: none;
    text-align: left;
  }
}


/* ---------- Principles: panel spacing ------------------------------------ */
@media (max-width: 1180px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value {
    padding: 22px 20px;
  }
}


/* ---------- Hero stats: panel spacing ------------------------------------ */
@media (max-width: 960px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stat {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat:nth-child(even) {
    border-right: 0;
  }

  .hero__stat:nth-child(3),
  .hero__stat:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stat {
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat:nth-child(even) {
    border-right: 0;
  }

  .hero__stat:nth-child(3),
  .hero__stat:nth-child(4) {
    border-bottom: 0;
  }

  .hero__stat b {
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stat {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat:nth-child(3),
  .hero__stat:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat:last-child {
    border-bottom: 0;
  }
}


/* ---------- About: who we are ------------------------------------------- */
@media (max-width: 960px) {
  .who__grid {
    grid-template-columns: 1fr;
  }

  .who__facts {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .who__statement {
    font-size: clamp(24px, 6vw, 34px);
  }

  .who__pillars {
    grid-template-columns: 1fr;
  }
}


/* ---------- Legal record -------------------------------------------------- */
@media (max-width: 860px) {
  .legal-record {
    grid-template-columns: 1fr;
  }

  .legal-record__item {
    padding: 22px 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-record__item:last-child {
    border-bottom: 0;
  }

  .legal-record__item::before {
    top: 30px;
    left: 0;
    transform: translateX(-50%);
  }
}
