:root {
  --bg:    #090909;
  --s1:    #111111;
  --s2:    #161616;
  --s3:    #1C1C1C;
  --line:  #1E1E1E;
  --line2: #2A2A2A;
  --text:  #F0F0F0;
  --m:     #777777;
  --m2:    #AAAAAA;
  --ok:    #4ade80;
  --warn:  #fbbf24;
  --err:   #f87171;
  --info:  #60a5fa;
  --fh: 'Unbounded', sans-serif;
  --fb: 'Manrope', sans-serif;
  --fm: 'JetBrains Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--fb); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; overflow-x: hidden; margin: 0; padding: 0; }
::selection { background: rgba(255,255,255,0.15); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; }
h1 { font-family: var(--fh); font-size: clamp(36px,5.5vw,84px); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; color: var(--text); }
h2 { font-family: var(--fh); font-size: clamp(28px,3.8vw,58px); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; color: var(--text); }
h3 { font-family: var(--fh); font-size: clamp(14px,1.6vw,19px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
p { color: var(--m2); font-size: 16px; line-height: 1.7; }
a { color: var(--text); text-decoration: none; }
button { font-family: var(--fb); cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media(max-width:768px){ .wrap { padding: 0 24px; } }
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.mono { font-family: var(--fm); font-size: 12px; color: var(--m); letter-spacing: 0.1em; text-transform: uppercase; }
.sec-num { margin-bottom: 16px; }
/* Нумерация секций на внутренних страницах (без .mono-обёртки) */
.section-num { font-family: var(--fm); font-size: 11px; color: var(--ok); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
/* Подзаголовки секций */
.section-h { font-family: var(--fh); font-weight: 900; font-size: clamp(28px,3.8vw,52px); line-height: 1.05; letter-spacing: -0.025em; margin-top: 16px; margin-bottom: 48px; }
.section-sub { color: var(--m2); font-size: 16px; line-height: 1.65; max-width: 680px; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; gap: 24px; flex-wrap: wrap; }
.sep { border: none; border-top: 1px solid var(--line); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 15px 36px; font-family: var(--fb); font-size: 14px; font-weight: 700; transition: opacity .2s, transform .2s; text-align: center; }
.btn:hover { opacity: .82; transform: translateY(-1px); }
.btn-w { background: var(--text); color: var(--bg); }
.btn-g { background: transparent; color: var(--text); border: 1px solid var(--line2); }
.btn-g:hover { border-color: #555; opacity: 1; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── NAV ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; padding: 20px 0; }
#nav.on { background: rgba(9,9,9,0.93); backdrop-filter: blur(16px); border-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 16px; font-weight: 900; letter-spacing: -0.02em; color: var(--text); flex-shrink: 0; }
.logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, .nav-dd-btn { font-size: 13px; font-weight: 500; color: var(--m2); transition: color .2s; white-space: nowrap; padding: 0; background: none; border: none; font-family: var(--fb); }
.nav-links a:hover, .nav-dd-btn:hover { color: var(--text); }
.nav-links a.active { color: var(--ok); }
.nav-cta { padding: 10px 22px; background: var(--text); color: var(--bg); font-family: var(--fb); font-size: 13px; font-weight: 700; border: none; flex-shrink: 0; transition: opacity .2s; cursor: pointer; }
.nav-cta:hover { opacity: .85; }
.burger { display: none !important; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 22px; height: 1.5px; background: var(--text); display: block; transition: all .3s; }
@media(max-width:1060px){ .nav-links { gap: 18px; } }
@media(max-width:860px){ .nav-links { display: none; } .burger { display: none !important; } }

/* Mega dropdown */
.nav-dd { position: relative; }
.nav-dd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.dd-panel {
  position: fixed; top: 69px; left: 0; right: 0; z-index: 290;
  background: var(--s1); border-bottom: 1px solid var(--line2);
  padding: 32px 48px 40px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dd:hover .dd-panel,
.nav-dd:focus-within .dd-panel,
.dd-panel:hover { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.dd-inner { max-width: 1280px; margin: 0 auto; }
.dd-title { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.dd-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
@media(max-width:1100px){ .dd-grid { grid-template-columns: repeat(4,1fr); } }
@media(max-width:860px){ .dd-grid { grid-template-columns: repeat(3,1fr); } }
.dd-item { background: var(--s2); padding: 18px 16px; cursor: pointer; transition: background .15s; display: flex; flex-direction: column; gap: 14px; }
.dd-item:hover { background: var(--s3); }
.dd-item-top { display: flex; align-items: center; justify-content: space-between; }
.dd-num { font-family: var(--fm); font-size: 9px; color: var(--m); }
.dd-icon { opacity: 0.45; transition: opacity .15s; display: block; filter: invert(1); width: 36px !important; height: 36px !important; }
.dd-item:hover .dd-icon { opacity: 1; }
.dd-name { font-family: var(--fb); font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* Mobile menu */
.mob { display: none !important; position: fixed; inset: 0; background: var(--bg); z-index: 299; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 48px; gap: 28px; }
.mob.open { display: none !important; }
.mob a, .mob button { font-family: var(--fh); font-size: 22px; font-weight: 900; color: var(--text); padding: 0; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 64px 0 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero > .wrap { width: 100%; min-width: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 50% at 75% 35%, rgba(255,255,255,0.022) 0%, transparent 60%); }
.hero-grid-bg { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 100%); }
.hero-tag { font-family: var(--fm); font-size: 11px; color: var(--m); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 36px; display: flex; align-items: center; gap: 12px; }
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--m); display: inline-block; flex-shrink: 0; }
.hero h1 { margin-bottom: 0; }
.hero-cta-row { display: flex; gap: 2px; margin-top: 56px; }
@media(max-width:640px){ .hero-cta-row { flex-direction: column; } }
.hero-cta-card { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--s1); padding: 22px 28px; cursor: pointer; transition: background .2s; }
.hero-cta-card:hover { background: var(--s2); }
.hero-cta-card:hover .hca { transform: translateX(4px); color: var(--ok); }
.hct { font-family: var(--fh); font-size: clamp(13px,1.4vw,16px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.hca { color: var(--m); font-size: 18px; flex-shrink: 0; transition: transform .2s; }
.hero-stats { display: flex; gap: 0; margin-top: 64px; padding: 40px 0 60px; border-top: 1px solid var(--line); }
.hero-stat { flex: 1; padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; margin-right: 0; }
.hs-val { font-family: var(--fh); font-size: clamp(26px,2.8vw,40px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin-bottom: 6px; }
.hs-lbl { font-size: 12px; color: var(--m); }
@media(max-width:600px){ .hero-stats { flex-direction: column; gap: 24px; } .hero-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 24px; margin: 0; } .hero-stat:last-child { border-bottom: none; } }

/* MV PANEL — removed (Hero C Split uses hero-tiles) */

/* ── CARDS ── */
/* Hover only on clickable cards — non-clickable cards have no hover effect */
.card { background: var(--s1); padding: 36px; }
.card[onclick], a.card { transition: background .2s; cursor: pointer; }
.card[onclick]:hover, a.card:hover { background: var(--s2); }
/* .cn overridden in larger-small-texts block below */
.card h3 { margin-bottom: 10px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.g5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
@media(max-width:1024px){ .g3 { grid-template-columns: repeat(2,1fr); } .g5 { grid-template-columns: repeat(3,1fr); } .g4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){ .g3, .g4, .g5 { grid-template-columns: 1fr; } }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
@media(max-width:768px){ .stats-row { grid-template-columns: repeat(2,1fr); } }
.stat-cell { padding: 44px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-cell:nth-child(4n){ border-right: none; }
@media(max-width:768px){ .stat-cell:nth-child(2n){ border-right: none; } .stat-cell:nth-child(4n){ border-right: 1px solid var(--line); } .stat-cell:last-child{ border-right: none; } }
.sv { font-family: var(--fh); font-size: clamp(30px,4vw,52px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.sl { font-size: 13px; color: var(--m); }

/* TABS */
.tabs-row { display: flex; gap: 2px; margin-bottom: 40px; flex-wrap: wrap; }
.tab { padding: 12px 24px; background: var(--s1); font-size: 13px; font-weight: 600; color: var(--m2); transition: background .15s, color .15s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--text); color: var(--bg); }
.tabp { display: none; }
.tabp.on { display: grid; }

/* CTA STRIP */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-strip h2 { margin: 0; max-width: 680px; }

/* PORTFOLIO */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
@media(max-width:900px){ .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .portfolio-grid { grid-template-columns: 1fr; } }
.pc { background: var(--s1); cursor: pointer; transition: background .2s; }
.pc:hover { background: var(--s2); }
.pc-img { aspect-ratio: 16/10; background: var(--s2); position: relative; overflow: hidden; }
.pc-img-g { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 28px 28px; }
.pc-badge { position: absolute; top: 12px; left: 12px; background: var(--bg); font-family: var(--fm); font-size: 9px; color: var(--m); padding: 5px 10px; z-index: 2; letter-spacing: 0.08em; }
.pc-body { padding: 22px 26px 26px; }
.pc-title { font-family: var(--fh); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 8px; }
.pc-desc { font-size: 13px; color: var(--m); line-height: 1.6; }

/* STAGES */
.stage-list { border-top: 1px solid var(--line); max-width: 960px; }
.si { display: grid; grid-template-columns: 72px 1fr; border-bottom: 1px solid var(--line); padding: 36px 0; }
.si-num { font-family: var(--fm); font-size: 12px; color: var(--m); padding-top: 3px; }
.si-time { font-family: var(--fm); font-size: 9px; color: var(--m); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.si h3 { margin-bottom: 8px; }

/* CONTACTS */
.contacts-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
@media(max-width:700px){ .contacts-row { grid-template-columns: 1fr; } }
.cc { padding: 44px 40px 44px 0; border-right: 1px solid var(--line); margin-right: 40px; }
.cc:last-child { border-right: none; margin-right: 0; }
@media(max-width:700px){ .cc { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0; margin: 0; } .cc:last-child { border-bottom: none; } }
.cc-type { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.cc-val { font-family: var(--fh); font-size: clamp(14px,1.8vw,20px); font-weight: 700; letter-spacing: -0.02em; }

/* PARTNERS */
.partners { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 36px; }
.p-pill { background: var(--s1); padding: 12px 24px; font-size: 13px; font-weight: 600; color: var(--m); }

/* FORMS */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media(max-width:900px){ .form-wrap { grid-template-columns: 1fr; gap: 48px; } }
.form-body { display: flex; flex-direction: column; gap: 2px; }
.fld { display: flex; flex-direction: column; }
.fld label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--m); padding: 13px 18px 0; background: var(--s1); }
.fld input, .fld textarea { background: var(--s1); border: none; border-bottom: 2px solid transparent; padding: 8px 18px 14px; color: var(--text); font-family: var(--fb); font-size: 15px; outline: none; width: 100%; transition: border-color .2s; }
.fld input:focus, .fld textarea:focus { border-color: var(--ok); }
.fld textarea { resize: none; min-height: 80px; }
.fld input[type=file] { padding: 12px 18px; font-size: 13px; color: var(--m); }
.cb-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; }
.cb-row input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ok); margin-top: 3px; }
.cb-row label { font-size: 12px; color: var(--m); line-height: 1.5; }
.form-submit { margin-top: 20px; width: 100%; padding: 18px; background: var(--text); color: var(--bg); font-family: var(--fb); font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: opacity .2s; }
.form-submit:hover { opacity: .85; }

/* ── PAGE HERO (inner pages) ── */
.page-top { padding-top: 69px; }
/* 69px nav + 40px gap = pg-hero сверху 40px */
.pg-hero { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.breadcrumb {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* Навигационные ссылки (не текущая) — тёмные */
.breadcrumb a { color: var(--line2); transition: color .2s; }
.breadcrumb a:hover { color: var(--m); }
/* Разделитель / */
.breadcrumb span.sep { color: var(--line2); }
/* Текущая вкладка (последний span) — зелёная */
.breadcrumb span.cur { color: var(--ok); }

/* INDUSTRY / SUBINDUSTRY */
.sub-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 48px; }
@media(max-width:900px){ .sub-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px){ .sub-grid { grid-template-columns: 1fr; } }
.sub-card { background: var(--s1); padding: 24px 22px; cursor: pointer; transition: background .15s; display: flex; flex-direction: column; gap: 18px; min-height: 130px; }
.sub-card:hover { background: var(--s2); }
.sub-num { font-family: var(--fm); font-size: 9px; color: var(--m); }
.sub-title { font-family: var(--fh); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; flex: 1; }
.sub-link { font-family: var(--fm); font-size: 9px; color: var(--m); letter-spacing: 0.06em; margin-top: auto; transition: color .15s; }
.sub-card:hover .sub-link { color: var(--ok); }

/* PROCESS CARDS — horizontal */
.proc-list { display: flex; flex-direction: column; gap: 20px; margin-top: 74px; }

/* ── PROCESS CARDS ── */
.proc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 74px;
}

.proc-row {
  display: grid;
  grid-template-columns: 422px 1fr;
  background: var(--s1);
  cursor: pointer;
  transition: background .15s;
  /* Обе колонки одинаковой высоты — картинка тянется на 100% */
  align-items: stretch;
  /* Минимальная высота чтобы при малом тексте не схлопывалось */
  min-height: 200px;
}
.proc-row:hover { background: var(--s2); }
@media(max-width:860px){ .proc-row { grid-template-columns: 1fr; } }

/* Картинка — занимает всю высоту ячейки грида */
.proc-img {
  /* НЕ задаём фикс. высоту — берём от грида через align-items:stretch */
  background: var(--s2);
  position: relative;
  overflow: hidden;
}
@media(max-width:860px){ .proc-img { height: 220px; } }

.proc-img-g {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Тело карточки — 20px padding, 10px gap */
.proc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* «Процесс N · Что контролировать» — 16px mono */
.proc-num {
  font-family: var(--fm);
  font-size: 16px;
  color: var(--m);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Заголовок процесса — 20px, белый, жирный */
.proc-title {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Описание — 16px */
.proc-what {
  font-size: 16px;
  color: var(--m2);
  line-height: 1.55;
}

/* «Узнать больше» — прижат к низу */
.proc-more {
  font-family: var(--fm);
  font-size: 15px;
  color: var(--m);
  margin-top: auto;
  padding-top: 10px;
  transition: color .15s;
}
.proc-row:hover .proc-more { color: var(--ok); }

/* ── MODAL ── */
.overlay { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.88); display: none; align-items: center; justify-content: center; padding: 40px 24px; overflow-y: auto; }
.overlay.on { display: flex; }
.mbox { background: var(--bg); border: 1px solid var(--line2); width: 100%; max-width: 920px; position: relative; max-height: 90vh; overflow-y: auto; animation: mi .22s ease; }
@keyframes mi { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform: none; } }
.mcl { position: absolute; top: 14px; right: 14px; background: var(--s1); color: var(--m2); width: 34px; height: 34px; font-size: 17px; z-index: 10; display: flex; align-items: center; justify-content: center; transition: color .2s; cursor: pointer; }
.mcl:hover { color: var(--ok); }
.m-img { width: 100%; aspect-ratio: 16/9; background: var(--s2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.m-img-g { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 40px 40px; }
.m-img img, .proc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.m-img-lbl { font-family: var(--fm); font-size: 11px; color: var(--m); z-index: 1; }
.m-body { padding: 40px; }
.m-title { font-family: var(--fh); font-size: clamp(17px,2.4vw,26px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 36px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media(max-width:640px){ .m-grid { grid-template-columns: 1fr; } }
.m-sec-t { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.m-sec-b { font-size: 14px; color: var(--m2); line-height: 1.7; }
.m-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }

/* ── MODAL FORMS ── */
.form-overlay { position: fixed; inset: 0; z-index: 600; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 40px 24px; }
.form-overlay.on { display: flex; }
.fbox { background: var(--bg); border: 1px solid var(--line2); width: 100%; max-width: 560px; position: relative; padding: 48px; animation: mi .22s ease; }
@media(max-width:640px){ .fbox { padding: 32px 24px; } }
.fcl { position: absolute; top: 14px; right: 14px; background: var(--s1); color: var(--m2); width: 34px; height: 34px; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: color .2s; cursor: pointer; }
.fcl:hover { color: var(--ok); }
.fbox h3 { font-family: var(--fh); font-size: clamp(18px,2vw,24px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.fbox .sub { font-size: 14px; color: var(--m2); margin-bottom: 28px; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-row { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; align-items: start; margin-bottom: 52px; }
@media(max-width:768px){ .footer-row { grid-template-columns: 1fr; gap: 36px; } }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 18px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--m); max-width: 260px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: var(--m); transition: color .2s; }
.footer-nav a:hover { color: var(--ok); }
.footer-bar { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.05em; flex-wrap: wrap; gap: 12px; }
.footer-bar a { color: var(--m); transition: color .2s; }
.footer-bar a:hover { color: var(--ok); }

/* REVEAL */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.rv.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* STUB */
.stub { padding: 100px 0; }

/* ── PARTNERS TICKER ── */
.partners-ticker { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-track { display: flex; gap: 2px; animation: ticker 28s linear infinite; width: max-content; }
.partners-ticker:hover .partners-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-logo { background: var(--s1); padding: 20px 48px; font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: var(--m); white-space: nowrap; min-width: 180px; text-align: center; flex-shrink: 0; }

/* ── ROADMAP ── */
.roadmap-wrap { margin-top: 48px; }
.roadmap-timeline { position: relative; padding: 40px 0 60px; }
.roadmap-line-bg { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line2); transform: translateY(-50%); }
.roadmap-line { position: absolute; left: 0; top: 50%; height: 2px; background: var(--text); transform: translateY(-50%); width: 0%; transition: width 0.6s ease; }
.roadmap-points { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.rm-point-wrap { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.rm-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); background: var(--bg); transition: border-color .4s, background .4s, box-shadow .4s; }
.rm-dot.active { border-color: var(--text); background: var(--text); box-shadow: 0 0 0 4px rgba(240,240,240,0.12); }
.rm-label { font-family: var(--fm); font-size: 11px; color: var(--m); letter-spacing: 0.04em; margin-top: 16px; white-space: nowrap; text-align: center; transition: color .4s; }
.rm-point-wrap:has(.rm-dot.active) .rm-label { color: var(--text); }
.roadmap-descriptions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 8px; }
@media(max-width:900px){ .roadmap-descriptions { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .roadmap-descriptions { grid-template-columns: 1fr; } }
.rm-desc { background: var(--s1); padding: 24px 22px; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.rm-desc.active { opacity: 1; transform: none; }
.rm-desc-num { font-family: var(--fm); font-size: 11px; color: var(--m); margin-bottom: 10px; }
.rm-desc-text { font-size: 14px; color: var(--m2); line-height: 1.6; }

/* ── LARGER SMALL TEXTS (consolidated — no duplicates) ── */
.sec-num { margin-bottom: 16px; font-size: 12px; }
.cn { font-family: var(--fm); font-size: 11px; color: var(--m); margin-bottom: 18px; }
.sl { font-size: 14px; color: var(--m); }
.hs-lbl { font-size: 13px; color: var(--m); }
.dd-num { font-family: var(--fm); font-size: 10px; color: var(--m); margin-bottom: 5px; }
.dd-name { font-family: var(--fb); font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.sub-num { font-family: var(--fm); font-size: 10px; color: var(--m); }
.sub-title { font-family: var(--fh); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; flex: 1; }
.sub-link { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.06em; margin-top: auto; transition: color .15s; }
/* proc-*, si-*, bp-*, cc-*, pc-* defined in their own blocks above */
.si-num { font-family: var(--fm); font-size: 13px; color: var(--ok); padding-top: 3px; }
.si-time { font-family: var(--fm); font-size: 11px; color: var(--ok); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }

/* ── BLOG LISTING ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
@media(max-width:900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .blog-grid { grid-template-columns: 1fr; } }
.bp { background: var(--s1); transition: background .2s; display: block; color: inherit; }
.bp:hover { background: var(--s2); }
.bp-cover { aspect-ratio: 16/9; background: var(--s2); position: relative; overflow: hidden; }
.bp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bp:hover .bp-cover img { transform: scale(1.03); }
.bp-cover-placeholder { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 28px 28px; }
.bp-body { padding: 24px 26px 28px; }
.bp-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bp-tag { font-family: var(--fm); font-size: 9px; color: var(--m); letter-spacing: 0.08em; text-transform: uppercase; background: var(--s3); padding: 4px 10px; }
.bp-date { font-family: var(--fm); font-size: 9px; color: var(--m); letter-spacing: 0.04em; }
.bp-title { font-family: var(--fh); font-size: 14px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 10px; color: var(--text); transition: color .2s; }
.bp:hover .bp-title { color: #fff; }
.bp-desc { font-size: 13px; color: var(--m); line-height: 1.6; }
.bp-read { font-family: var(--fm); font-size: 9px; color: var(--m); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; transition: color .2s; }
.bp:hover .bp-read { color: var(--ok); }

/* ── ARTICLE PAGE ── */
.article-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.article-tag { font-family: var(--fm); font-size: 9px; color: var(--ok); letter-spacing: 0.1em; text-transform: uppercase; background: var(--s1); padding: 6px 14px; }
.article-date { font-family: var(--fm); font-size: 10px; color: var(--m); }
.article-read { font-family: var(--fm); font-size: 10px; color: var(--m); }
.article-cover { width: 100%; aspect-ratio: 21/9; background: var(--s2); overflow: hidden; margin: 48px 0; border: 1px solid var(--line); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover-placeholder { width: 100%; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 40px 40px; }
.article-body { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; }
@media(max-width:960px){
  .article-body { grid-template-columns: 1fr; }
  .article-sidebar { display: block; position: static; top: auto; order: -1; width: 100%; max-width: 100%; margin-bottom: 32px; }
}
.article-prose { max-width: 720px; }
.article-prose h2 { font-family: var(--fh); font-size: clamp(20px,2.4vw,30px); font-weight: 900; letter-spacing: -0.02em; margin: 56px 0 20px; line-height: 1.1; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose > header:first-child h2 { margin-top: 0; }
.article-prose h3 { font-family: var(--fh); font-size: clamp(15px,1.6vw,19px); font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 14px; }
.article-prose p { color: var(--m2); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.article-prose ul, .article-prose ol { padding-left: 24px; margin-bottom: 20px; }
.article-prose li { color: var(--m2); font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.article-prose strong { color: var(--text); font-weight: 600; }
.article-prose blockquote { border-left: 3px solid var(--line2); padding-left: 24px; margin: 36px 0; }
.article-prose blockquote p { font-size: 18px; color: var(--m); font-style: italic; }
.article-prose figure.article-inline-fig { margin: 32px 0; border: 1px solid var(--line); overflow: hidden; background: var(--s2); }
.article-prose figure.article-inline-fig img { margin: 0; border: none; }
.article-prose img { width: 100%; height: auto; display: block; margin: 32px 0; border: 1px solid var(--line); }
.article-prose .note { background: var(--s1); padding: 24px 28px; margin: 32px 0; border-left: 3px solid var(--text); }
.article-prose .note p { margin: 0; color: var(--m2); }
.article-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-toc { background: var(--s1); padding: 20px 22px; border: 1px solid var(--line); }
.toc-details { margin: 0; }
.toc-details > summary { list-style: none; }
.toc-details > summary::-webkit-details-marker { display: none; }
.toc-title { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.toc-summary { cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.toc-summary::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-top: -3px;
}
.toc-details[open] > .toc-summary::after { transform: rotate(-135deg); margin-top: 3px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; padding: 0; }
.toc-details[open] .toc-list {
  max-height: min(65vh, 440px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.toc-list a { font-size: 13px; color: var(--m); padding: 8px 12px; display: block; background: var(--s2); transition: color .15s, background .15s; }
.toc-list a:hover { color: var(--ok); background: var(--s3); }
.article-cta { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.related-articles { padding: 80px 0; border-top: 1px solid var(--line); }

/* ── CASE PAGE ── */
.case-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.case-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); margin: 48px 0 0; }
@media(max-width:640px){ .case-stats { grid-template-columns: 1fr; } }
.cs { padding: 32px 28px; border-right: 1px solid var(--line); }
.cs:last-child { border-right: none; }
@media(max-width:640px){ .cs { border-right: none; border-bottom: 1px solid var(--line); } .cs:last-child { border-bottom: none; } }
.cs-val { font-family: var(--fh); font-size: clamp(24px,3vw,40px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; color: var(--ok); }
.cs-lbl { font-size: 12px; color: var(--m); }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px 0; }
@media(max-width:900px){ .case-body { grid-template-columns: 1fr; gap: 48px; } }
.case-section-label { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.case-prose p { color: var(--m2); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.case-prose ul { padding-left: 20px; }
.case-prose li { color: var(--m2); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }

/* ── HERO ADDITIONS ── */
.hero-sub { font-size: clamp(15px,1.6vw,18px); color: var(--m2); margin-top: 20px; margin-bottom: 0; max-width: 520px; line-height: 1.65; }
.hero-accent { color: var(--ok); }
.hero-metrics { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-family: var(--fm); font-size: 11px; color: var(--m); letter-spacing: 0.06em; flex-wrap: wrap; }
.hero-metrics-dot { color: var(--line2); }
.hcd { display: block; font-family: var(--fb); font-size: 12px; font-weight: 400; color: var(--m); margin-top: 4px; line-height: 1.45; }

/* ── PORTFOLIO CARD METRIC ── */
.pc { display: flex; flex-direction: column; }
.pc-body { flex: 1; display: flex; flex-direction: column; }
.pc-title { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-desc { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; flex: 1; }
.pc-metric { position: absolute; bottom: 12px; right: 12px; z-index: 2; text-align: right; }
.pc-metric { font-family: var(--fh); font-size: clamp(22px,2.4vw,30px); font-weight: 900; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.pc-metric span { display: block; font-family: var(--fm); font-size: 9px; font-weight: 400; color: var(--m); letter-spacing: 0.06em; margin-top: 3px; }

/* ── VERTICAL TIMELINE ── */
.vt-wrap { margin-top: 48px; max-width: 800px; }
.vt-item { display: grid; grid-template-columns: 32px 1fr; gap: 24px; }
.vt-item--last .vt-left { align-items: flex-start; }
.vt-left { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.vt-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ok); background: var(--bg); flex-shrink: 0; }
.vt-line { width: 1px; flex: 1; background: var(--line2); margin-top: 8px; min-height: 48px; }
.vt-body { padding-bottom: 40px; }
.vt-meta { font-family: var(--fm); font-size: 10px; color: var(--ok); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.vt-title { font-family: var(--fh); font-size: clamp(16px,1.8vw,20px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--text); }
.vt-desc { font-size: 14px; color: var(--m2); line-height: 1.7; margin: 0; }

/* ── ACCESSIBILITY: focus-visible ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* ── BURGER — fix mobile menu ── */
@media(max-width:860px) {
  .burger { display: flex !important; }
  .mob.open { display: flex !important; }
}

/* ── BREADCRUMB unified ── */
.breadcrumb span:not(.sep):not(.cur) { color: var(--m2); }

/* ── CARDS: line-clamp for blog posts ── */
.bp-title { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.bp-desc { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.2em; }

/* ── HERO C SPLIT ── */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; min-height: calc(100vh - 64px); }
.hero-split > * { min-width: 0; }
@media(max-width:1000px) { .hero-split { grid-template-columns: 1fr; gap: 32px; } }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: 1; width: 100%; max-width: min(640px, 100%); margin-left: auto; justify-self: end; box-sizing: border-box; }
@media(max-width:1000px) { .hero-tiles { margin-left: 0; max-width: 480px; } }
@media(max-width:640px) {
  .hero-tiles { max-width: min(100%, 360px); margin-left: auto; margin-right: auto; gap: 6px; }
}
.hero-tile { position: relative; overflow: hidden; background: var(--s1); aspect-ratio: 1; }
/* Ни псевдо, ни рамки поверх фото — старые «детекторные» оверлеи только в кэше/старых PNG */
.hero-tile::before,
.hero-tile::after { content: none !important; display: none !important; }
.hero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; border: 0 !important; outline: none; box-shadow: none; }
.hero-tile-label { position: absolute; bottom: 10px; left: 10px; z-index: 2; font-family: var(--fm); font-size: 10px; color: var(--text); letter-spacing: .12em; text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.6); }

/* Hero stamp */
.hero-stamp { font-family: var(--fm); font-size: 10.5px; color: var(--ok); letter-spacing: .18em; margin-bottom: 28px; animation: stamp-blink 2s ease-in-out infinite; text-transform: uppercase; }
@keyframes stamp-blink { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* ── ROADMAP B PROGRESSIVE ── */
.rm-progressive { position: relative; padding-left: 64px; max-width: 780px; }
.rm-p-track { position: absolute; left: 18px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.rm-p-fill { position: absolute; top: 0; left: 0; width: 1px; background: linear-gradient(180deg, var(--ok), var(--info)); box-shadow: 0 0 12px rgba(74,222,128,.6); height: 0; transition: height .15s linear; }
.rm-p-step { position: relative; padding: 8px 0 40px; opacity: .35; transition: opacity .4s; }
.rm-p-step:last-child { padding-bottom: 0; }
.rm-p-step.rm-p-active { opacity: 1; }
.rm-p-dot { position: absolute; left: -52px; top: 14px; width: 14px; height: 14px; border: 2px solid var(--m); background: var(--bg); border-radius: 50%; transition: border-color .3s, box-shadow .3s; }
.rm-p-active .rm-p-dot { border-color: var(--ok); box-shadow: 0 0 0 6px rgba(74,222,128,.15); }
.rm-p-meta { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.rm-p-num { font-family: var(--fh); font-weight: 900; font-size: 32px; color: var(--ok); letter-spacing: -.04em; line-height: 1; }
.rm-p-time { font-family: var(--fm); font-size: 11px; color: var(--m); letter-spacing: .08em; }
.rm-p-title { font-family: var(--fh); font-weight: 700; font-size: clamp(17px,1.8vw,22px); letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.2; color: var(--text); }
.rm-p-desc { color: var(--m2); font-size: 15px; line-height: 1.65; max-width: 580px; }

/* ── EXPERTISE A (stats grid + skill cards) ── */
.ex-a-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media(max-width:760px) { .ex-a-stats { grid-template-columns: repeat(2,1fr); } }
.ex-a-cell { padding: 36px 32px; border-right: 1px solid var(--line); }
.ex-a-cell:last-child { border-right: 0; }
@media(max-width:760px) { .ex-a-cell:nth-child(2n) { border-right: 0; } .ex-a-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.ex-a-v { font-family: var(--fh); font-weight: 900; font-size: clamp(36px,4.2vw,56px); line-height: 1; letter-spacing: -.04em; margin-bottom: 12px; }
.ex-a-l { color: var(--m); font-size: 13px; line-height: 1.5; }
.ex-a-skills { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 48px; }
@media(max-width:760px) { .ex-a-skills { grid-template-columns: 1fr; } }
.ex-a-skill { background: var(--s1); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: background .2s; }
.ex-a-skill:hover { background: var(--s2); }
.ex-a-skill-n { font-family: var(--fm); font-size: 11px; color: var(--ok); letter-spacing: .1em; }
.ex-a-skill-t { font-family: var(--fh); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
.ex-a-skill-d { color: var(--m2); font-size: 14px; line-height: 1.6; }

/* ── CASES A (metric-first layout) ── */
.case-a-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
@media(max-width:1000px) { .case-a-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:680px) { .case-a-grid { grid-template-columns: 1fr; } }
.case-a-card { display: flex; flex-direction: column; background: var(--s1); transition: background .2s; color: var(--text); }
.case-a-card:hover { background: var(--s2); }
.case-a-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--s2); }
.case-a-img-g { position: absolute; inset: 0; z-index: 4; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 28px 28px; }
.case-carousel-viewport { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.case-carousel-track { display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.case-carousel-slide { flex: 0 0 100%; height: 100%; position: relative; }
.case-carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 36px; height: 36px; border: 1px solid var(--line2); background: rgba(9,9,9,0.72); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background 0.2s, border-color 0.2s; }
.case-carousel-btn:hover { background: rgba(20,20,20,0.92); border-color: var(--m); }
.case-carousel-prev { left: 8px; }
.case-carousel-next { right: 8px; }
.case-carousel-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 6px; pointer-events: auto; }
.case-carousel-dot { width: 6px; height: 6px; border-radius: 50%; border: none; padding: 0; background: var(--m); opacity: 0.35; cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.case-carousel-dot.on { opacity: 1; transform: scale(1.15); background: var(--ok); }
.case-a-body-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.case-a-body-link:hover .case-a-arr { color: var(--ok); transform: translateX(4px); }
.case-a-badge { position: absolute; top: 14px; left: 14px; z-index: 5; font-family: var(--fm); font-size: 10px; letter-spacing: .1em; background: var(--bg); color: var(--text); padding: 5px 10px; border: 1px solid var(--line2); }
.case-a-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.case-a-metric { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-a-metric-v { font-family: var(--fh); font-weight: 900; font-size: 38px; color: var(--ok); letter-spacing: -.04em; line-height: 1; }
.case-a-metric-l { font-family: var(--fm); font-size: 10px; color: var(--m); letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; max-width: 140px; }
.case-a-title { font-family: var(--fh); font-weight: 700; font-size: 17px; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 10px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; color: var(--text); }
.case-a-desc { color: var(--m2); font-size: 13.5px; line-height: 1.6; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.8em; }
.case-a-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; }
.case-a-stack { display: flex; gap: 6px; flex-wrap: wrap; }
.case-a-stack span { font-family: var(--fm); font-size: 9.5px; color: var(--m); background: var(--bg); padding: 3px 7px; letter-spacing: .05em; border: 1px solid var(--line); }
.case-a-arr { font-family: var(--fm); color: var(--m); transition: transform .2s, color .2s; }
.case-a-card:hover .case-a-arr { color: var(--ok); transform: translateX(4px); }