@font-face {
  font-family: "NT Somic";
  src: url("assets/fonts/NTSomic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NT Somic";
  src: url("assets/fonts/NTSomic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #594ec3;
  --color-bg-deep: #4a3fb0;
  --color-bg-soft: #6a5fd0;
  --color-page: #f3f1ec;
  --color-fg: #ffffff;
  --color-lime: #d3f98a;
  --color-lime-btn: #c8ef72;
  --color-ink: #0a0a0a;
  --color-tip: rgba(42, 34, 110, 0.72);
  --font-display: "Tektur", sans-serif;
  --font-body: "NT Somic", sans-serif;
  --color-header: #7b73e3;
  --color-header-btn: #4a3ace;
  --color-accent-soft: #c9bfff;
  /* фиолетовая область ~80vh без учёта наезда бегущей */
  --hero-h: 80vh;
  --hero-marquee-overlap: 3.5rem;
  --shell: 1400px;
  --pad-x: 1.25rem;
  --pad-photo: 0;
  --header-h: 4.25rem;
  --radius-btn: 0.55rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  margin: 0;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-fg);
  background: #fff;
  transition: background-color 0.55s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-surface-gray {
  background: #f6f6f6;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* —— Hero —— */
.hero {
  position: relative;
  height: calc(var(--hero-h) + var(--hero-marquee-overlap));
  min-height: calc(36rem + var(--hero-marquee-overlap));
  max-height: calc(58rem + var(--hero-marquee-overlap));
  overflow: visible;
  background:
    radial-gradient(ellipse 55% 70% at 18% 55%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(165deg, var(--color-bg-soft) 0%, var(--color-bg) 42%, var(--color-bg-deep) 100%);
}

.hero__glow {
  position: absolute;
  left: 8%;
  top: 28%;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(211, 249, 138, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 7s ease-in-out infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    -32deg,
    transparent 0 18px,
    rgba(255, 255, 255, 0.35) 18px 19px
  );
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

/* Контентная колонка ~1400 — без z-index, иначе весь hero под меню */
.hero__shell {
  position: relative;
  z-index: auto;
  width: min(100% - 2 * var(--pad-x), var(--shell));
  height: 100%;
  margin-inline: auto;
}

/* Меню поверх страницы — всегда fixed, чтобы не пропадало на 2-й секции */
.header {
  --header-pad-y: 0.45rem;
  --header-pad-x: 1.1rem;
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
  width: min(calc(100% - 2 * var(--pad-x)), var(--shell));
  max-width: var(--shell);
  min-height: var(--header-h);
  padding: var(--header-pad-y) 0.55rem var(--header-pad-y) var(--header-pad-x);
  background: var(--color-header);
  border: 0;
  border-radius: 0.85rem;
  color: #fff;
  translate: -50% 0;
  transition:
    top 0.35s var(--ease),
    width 0.35s var(--ease),
    max-width 0.35s var(--ease),
    min-height 0.35s var(--ease),
    padding 0.35s var(--ease),
    gap 0.35s var(--ease),
    border-radius 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: top, width, padding;
}

.header.is-stuck {
  top: 0.55rem;
  width: min(calc(100% - 2 * var(--pad-x)), calc(var(--shell) * 0.9));
  max-width: calc(var(--shell) * 0.9);
  min-height: 3.35rem;
  --header-pad-y: 0.28rem;
  --header-pad-x: 0.95rem;
  padding: var(--header-pad-y) 0.45rem var(--header-pad-y) var(--header-pad-x);
  gap: 0.75rem 1rem;
  border-radius: 0.7rem;
  box-shadow: 0 14px 36px rgba(20, 16, 50, 0.22);
}

.header.is-stuck .btn--header-dark,
.header.is-stuck .btn--header-lime {
  padding: 0.58rem 1rem;
  font-size: 0.74rem;
}

.header.is-stuck .nav {
  gap: clamp(0.75rem, 1.5vw, 1.2rem);
  font-size: 0.84rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  letter-spacing: 0.01em;
  justify-self: start;
  line-height: 1.15;
  transition: gap 0.35s var(--ease), font-size 0.35s var(--ease);
}

.brand__name {
  display: block;
}

.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  opacity: 0.72;
  white-space: nowrap;
}

.header.is-stuck .brand {
  font-size: clamp(0.88rem, 1vw, 1.02rem);
  gap: 0.06rem;
}

.header.is-stuck .brand__tag {
  font-size: 0.6rem;
}

/* Навигация + «Пригласить» — один блок */
.header__cluster {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.1rem 1.35rem;
}

.header__burger {
  display: none;
  appearance: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.header.is-nav-open .header__burger span:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.header.is-nav-open .header__burger span:nth-child(2) {
  opacity: 0;
}

.header.is-nav-open .header__burger span:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  opacity: 0.88;
  transition:
    opacity 0.22s var(--ease),
    color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  height: 1.5px;
  border-radius: 1px;
  background: var(--color-lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav a:hover {
  opacity: 1;
  color: var(--color-lime);
  transform: translateY(-1px);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav__chev {
  display: block;
  opacity: 0.75;
  translate: 0 0.05em;
}

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.55rem;
  color: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.header__ico:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.header.is-stuck .header__ico {
  width: 1.8rem;
  height: 1.8rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--header-dark {
  padding: 0.78rem 1.25rem;
  font-size: 0.8rem;
  background: var(--color-header-btn);
  color: #fff;
  border-color: transparent;
}

.btn--header-lime {
  padding: 0.78rem 1.25rem;
  font-size: 0.8rem;
  background: var(--color-lime-btn);
  color: var(--color-ink);
}

.btn__label-short {
  display: none;
}

.btn--primary {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  background: var(--color-ink);
  color: #fff;
}

.btn--lime {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  background: var(--color-lime);
  color: var(--color-ink);
  border-color: transparent;
}

.btn--lime:hover {
  background: var(--color-lime-btn);
}

.btn--tg {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  background: #2aabee;
  color: #fff;
  border-color: transparent;
}

.btn--tg:hover {
  background: #229ed9;
}

.btn--ghost {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

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

.btn--ghost-ink {
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  color: var(--color-ink);
  border-color: rgba(10, 10, 10, 0.18);
}

.btn--ghost-ink:hover {
  border-color: rgba(89, 78, 195, 0.45);
  background: rgba(89, 78, 195, 0.06);
}

.ico-spark {
  flex-shrink: 0;
}

.ico-spark--lime {
  color: var(--color-lime);
}

/* —— Stage —— */
.hero__stage {
  position: relative;
  /* без z-index/transform — иначе портрет попадает под stacking header */
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(340px, 1fr);
  align-items: stretch;
  column-gap: 0;
  height: 100%;
  padding-left: var(--pad-photo);
  margin-left: -1.5rem;
  overflow: visible;
  pointer-events: none;
}

.hero__portrait {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  /* выше header (80), ниже marquee/cases (110) */
  z-index: 85;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 0;
  animation: portrait-in 0.9s var(--ease) both;
  pointer-events: none;
}

.hero__halo {
  position: absolute;
  left: 48%;
  top: 42%;
  translate: -50% -50%;
  width: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.1) 42%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hero__portrait img {
  position: relative;
  /* DevTools: top 30px — голова на месте, лоб чуть на меню */
  top: 30px;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: calc(100% + 0.85rem);
  object-fit: contain;
  object-position: bottom left;
  /* после webp с альфой кадр чуть правее — вернуть как с png */
  translate: -3.5% 0;
}

@keyframes portrait-in {
  /* только opacity — transform создавал stacking и прятал голову под меню */
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero__identity {
  display: none;
}

.hero__identity-tg {
  display: none;
}

.hero__lead-aside {
  display: none;
}

.hero__content {
  position: relative;
  /* ниже меню, чтобы клики по шапке работали */
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  max-width: 36rem;
  margin-left: -3.25rem;
  padding: calc(var(--header-h) + 4.35rem) 0 6.5rem;
  animation: content-in 0.9s var(--ease) 0.12s both;
  pointer-events: auto;
}

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

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.65vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero__title-first {
  position: relative;
  display: block;
  white-space: nowrap;
  margin-bottom: 0.06rem;
  z-index: 0;
}

.hero__title-line {
  position: relative;
}

/* акцент по ширине «Практический», тёмная часть под ним, −20px слева */
.hero__title-word {
  position: relative;
  display: inline-block;
}

.hero__title-word::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0.02em;
  height: 1.12em;
  /* натуральные пропорции SVG (~503×65) → тёмный край под словом, дальше фейд */
  width: calc(1.12em * 503 / 65);
  background: url("assets/h1-accent.svg") left center / 100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

.hero__title-rest {
  display: block;
  white-space: nowrap;
}

.hero__title-rest-line {
  display: block;
}

.hero__title-accent {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-lime);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__tags li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem; /* чуть меньше, чтобы «Конверсия и Воронки.» держалась в 1 строку */
  letter-spacing: 0;
  padding: 0.4rem 0.58rem;
  border: none;
  /* тонкий контур ~0.5 device px на retina */
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-btn);
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Большой отступ от поинтов; к низу, но не вплотную */
.hero__action {
  margin-top: auto;
  padding-top: 4rem; /* +~20px к прежним 2.75rem */
  padding-bottom: 0.35rem;
}

.hero__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.95;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 0.75rem;
}

.hero__cta-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero__zoom {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.hero__zoom:hover {
  opacity: 1;
}

/* Tip — выглядывает за правый край; уже → 3 строки, правый паддинг чтобы не резало */
.hero__tip {
  position: absolute;
  right: 0;
  bottom: 20%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: 14.25rem;
  padding: 1.05rem 1.45rem 1.15rem 1.15rem;
  border-radius: 0.75rem;
  background: #2a226e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: visible;
  transform: translateX(12%) rotate(2.5deg);
  animation: tip-in 1s var(--ease) 0.35s both;
}

.hero__tip p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 500;
}

.hero__tip .ico-spark {
  flex-shrink: 0;
}

@keyframes tip-in {
  from { opacity: 0; transform: translateX(20%) rotate(2.5deg) scale(0.96); }
  to { opacity: 1; transform: translateX(12%) rotate(2.5deg) scale(1); }
}

/* —— Marquee —— */
.marquee {
  position: relative;
  /* перекрывает торс портрета */
  z-index: 110;
  margin-top: calc(var(--hero-marquee-overlap) * -1);
  padding-block: 1.35rem;
  background: #e8e6e1;
  color: #1a1a1a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.marquee__row {
  overflow: hidden;
  width: 100%;
}

.marquee__row--rev {
  display: none;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 5.35rem;
  width: max-content;
  padding-inline: 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.marquee__sep {
  opacity: 0.35;
}

/* —— Cases —— */
.cases {
  position: relative;
  /* вместе с marquee перекрывает низ портрета */
  z-index: 110;
  background: #f6f6f6;
  color: var(--color-ink);
  padding: clamp(4.5rem, 10vh, 7rem) 0 clamp(2.5rem, 5vh, 3.5rem);
  transition: background-color 0.45s var(--ease);
}

.cases.is-light {
  background: #fff;
}

.cases__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.cases__head {
  margin-bottom: clamp(2.5rem, 5vh, 3.75rem);
  max-width: 44rem;
}

.cases__title {
  margin: 0;
  max-width: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.cases__title-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(1.35rem);
  filter: blur(4px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}

.cases__title.is-in .cases__title-line {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.cases__title.is-in .cases__title-line:nth-child(2) {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .cases__title-line {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.cases__title-accent {
  font-family: var(--font-display);
  font-weight: 400;
  color: #8b7fe0;
}

.cases__stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 1rem;
}

/* sticky-стек: фон у обёртки закрывает «торчащие» куски нижней карточки */
.case {
  position: sticky;
  top: 1.25rem;
  z-index: var(--z, 1);
  margin: 0;
  padding: 0 0 1.15rem;
  background: #f6f6f6;
  border: 0;
  box-shadow: none;
  transition: background-color 0.45s var(--ease);
}

.cases.is-light .case {
  background: #fff;
}

.case__surface {
  display: grid;
  grid-template-columns: minmax(200px, 0.95fr) minmax(240px, 1fr) minmax(220px, 1.05fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 8px;
  overflow: hidden;
}

.case__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: clamp(1.35rem, 2.5vh, 1.85rem) clamp(1.1rem, 2vw, 1.5rem);
  background: #fff;
}

.case__headline {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}


.case__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.case__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--color-ink);
  border-radius: 3px;
  color: #fff;
  background: var(--color-ink);
}

.case__tag--ai {
  border-color: var(--color-bg);
  background: var(--color-bg);
  padding: 0.28rem 0.5rem;
}

.case__aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: clamp(1.35rem, 2.5vh, 1.85rem) clamp(1.1rem, 2vw, 1.5rem);
  background: #fff;
}

.case__block {
  margin: 0;
}

.case__block + .case__block {
  margin-top: 0.85rem;
}

.case__list:not(.case__list--inline):not(.case__list--result) li + li {
  margin-top: 0.28rem;
}

.case__label {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(20, 16, 50, 0.55);
}

.case__aside .case__label {
  color: #0a0a0a;
}

.case__block:first-child .case__label {
  color: rgba(10, 10, 10, 0.38);
  font-size: 0.7rem;
}

.case__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case__list li {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #0a0a0a;
}

/* «Что сделали» — светло-серый inline с точками */
.case__list--inline {
  display: block;
  line-height: 1.28;
}

.case__list--inline li {
  display: inline;
  padding: 0;
  line-height: 1.35;
  font-size: 0.8rem;
  color: rgba(10, 10, 10, 0.48);
}

.case__list--inline li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin: 0 0.45em;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.28);
  vertical-align: 0.12em;
}

.case__list--inline li::before {
  content: none;
}

/* Результат — спокойные строки с галочкой */
.case__list--result {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case__list--result li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: start;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 6px;
  background: #e8e6e070;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-ink);
}

.case__ok {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.18em;
  border-radius: 3px;
  background: #3d9a5f;
  color: #fff;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
}

.case__result-text {
  min-width: 0;
}

.case__list strong {
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--color-bg-deep);
}

.case__term {
  margin: auto 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(20, 16, 50, 0.72);
}

.case__term .case__label {
  display: block;
  margin: 0 0 0.25rem;
}

.case__tba {
  font-style: normal;
  opacity: 0.55;
  border-bottom: 1px dashed rgba(20, 16, 50, 0.35);
}

.case__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  /* высота как у соседних кейсов; белый/фонный отступ до края — ок */
  min-height: 28rem;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem;
  background: #ebe7ff;
  border-left: 1px solid rgba(20, 16, 50, 0.08);
  border-right: 1px solid rgba(20, 16, 50, 0.08);
}

.case__visual--sand {
  background: #f3f2f6;
}

.case__visual--sand::before {
  opacity: 0.14;
}

/* серый фон с финтиклюхами: над сиреневым, под графиком/текстом */
.case__visual:not(.case__visual--warp)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/bridge-back.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 115%;
  opacity: 0.85;
  pointer-events: none;
}

.case__visual > * {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 3px;
}

.case__visual--warp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 220, 255, 0.55) 0%, transparent 32%),
    radial-gradient(circle at 50% 48%, #8b7fe0 0%, #5f54c9 38%, #3d3498 72%, #2a226e 100%);
  border-left-color: transparent;
  border-right-color: transparent;
}

.case__visual--warp::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 0;
  background: repeating-conic-gradient(
    from 8deg at 50% 48%,
    rgba(255, 255, 255, 0.22) 0deg 1.4deg,
    transparent 1.4deg 11deg
  );
  filter: blur(0.6px);
  opacity: 0.78;
  pointer-events: none;
}

.case__visual--warp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 12%, rgba(45, 38, 104, 0.28) 58%, rgba(26, 20, 70, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: cover, 140px 140px;
  opacity: 0.55;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.case__visual--warp .viz-amo {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(20, 16, 50, 0.28);
}

/* Visual: bench chart */
.viz-bench {
  background: transparent;
  color: var(--color-ink);
  border-radius: 0;
  padding: 0.35rem 0.25rem;
  display: flex;
  flex-direction: column;
}

.viz-bench__meters {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  min-height: 9.5rem;
  margin-bottom: 1.25rem;
}

.viz-bench__meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 4.5rem;
}

.viz-bench__pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.viz-bench__pct--was {
  color: rgba(20, 16, 50, 0.4);
}

.viz-bench__pct--now {
  color: rgba(20, 16, 50, 0.4);
  transition: color 2.2s var(--ease);
}

.viz-bench.is-live .viz-bench__pct--now {
  color: var(--color-bg-deep);
}

.viz-bench__bar {
  display: block;
  width: 2.4rem;
  height: 6.5rem;
  background: #d8d3f0;
  border-radius: 0.2rem;
  position: relative;
  overflow: hidden;
}

.viz-bench__bar i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--h) * 1%);
  min-height: 8%;
  background: #8f84d6;
  border-radius: 0.15rem 0.15rem 0 0;
}

/* справа стартует как 18%, при скролле → 7% и темнеет */
.viz-bench__bar--now i {
  height: 18%;
  background: #8f84d6;
  transition:
    height 2.2s var(--ease),
    background-color 2.2s var(--ease);
}

.viz-bench.is-live .viz-bench__bar--now i {
  height: 7%;
  background: var(--color-bg-deep);
}

.viz-bench__cap {
  font-size: 0.72rem;
  opacity: 0.55;
  text-transform: lowercase;
}

.viz-bench__arrow {
  align-self: center;
  margin-bottom: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-bg);
}

.viz-bench__chart {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.viz-label {
  fill: rgba(20, 16, 50, 0.45);
  font-size: 10px;
  font-family: var(--font-body);
}

.viz-line {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viz-line--res {
  stroke: var(--color-bg);
}

.viz-line--cost {
  stroke: #9a90e0;
}

.viz-bench__note {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(20, 16, 50, 0.5);
}

/* Visual: gap — было / стало всегда читаемо; анимация только усиливает */
.viz-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.35rem 0.2rem;
  color: var(--color-ink);
  width: min(100%, 22rem);
}

.viz-gap__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: end;
}

.viz-gap__state {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.viz-gap__state-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(20, 16, 50, 0.45);
}

.viz-gap__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  align-items: end;
  min-height: 8.5rem;
}

.viz-gap__col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.viz-gap__col-l {
  font-size: 0.62rem;
  text-transform: lowercase;
  opacity: 0.5;
}

.viz-gap__bar {
  display: block;
  width: 100%;
  height: 7.5rem;
  background: #d8d3f0;
  border-radius: 0.2rem;
  position: relative;
  overflow: hidden;
}

.viz-gap__bar i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.15rem 0.15rem 0 0;
}

.viz-gap__bar--res-was i { height: 92%; background: #9a90e0; }
.viz-gap__bar--rev-was i { height: 38%; background: #c5bff0; }
.viz-gap__bar--res-now i { height: 70%; background: var(--color-bg-deep); }
.viz-gap__bar--rev-now i { height: 66%; background: var(--color-bg); }

.viz-gap__arrow {
  align-self: center;
  margin-bottom: 2.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bg);
}

.viz-gap__delta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-bg-deep);
}

.viz-gap__delta-l {
  font-size: 0.72rem;
  color: rgba(20, 16, 50, 0.5);
}

.viz-gap__state--now .viz-gap__delta,
.viz-gap__state--now .viz-gap__bar i {
  opacity: 0.55;
  transition: opacity 0.5s var(--ease);
}

.viz-gap.is-live .viz-gap__state--now .viz-gap__delta,
.viz-gap.is-live .viz-gap__state--now .viz-gap__bar i {
  opacity: 1;
}

.viz-gap__note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: rgba(20, 16, 50, 0.55);
}

/* Visual: ERP migration */
.viz-erp {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(100%, 20rem);
  color: var(--color-ink);
}

.viz-erp__flow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.viz-erp__box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 4.5rem;
  padding: 0.75rem 0.7rem;
  border: 1px dashed rgba(89, 78, 195, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.viz-erp__box--new {
  border-style: solid;
  border-color: var(--color-bg);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 12, 50, 0.1);
}

.viz-erp__box-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: -0.015em;
}

.viz-erp__box-s {
  font-size: 0.72rem;
  color: rgba(10, 10, 10, 0.55);
}

.viz-erp__arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
  color: var(--color-bg);
}

.viz-erp__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.viz-erp__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.45rem;
  border-radius: 3px;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: -0.01em;
  text-align: center;
}

.viz-erp__meta strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--color-lime);
}

.viz-erp__note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: rgba(20, 16, 50, 0.55);
}

/* Visual: org structure before/after */
.viz-org {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.55rem 0.45rem;
  width: min(100%, 21rem);
  color: var(--color-ink);
}

.viz-org__col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.viz-org__l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.viz-org__cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.viz-org__cells i {
  display: block;
  aspect-ratio: 1.15 / 1;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.18);
  border: 1px solid rgba(89, 78, 195, 0.22);
}

.viz-org__cap {
  font-size: 0.72rem;
  line-height: 1.25;
  color: rgba(10, 10, 10, 0.55);
}

.viz-org__arrow {
  align-self: center;
  font-size: 1.1rem;
  color: var(--color-bg);
}

.viz-org__shared {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-height: 5.25rem;
  padding: 0.75rem 0.7rem;
  border-radius: 4px;
  background: #0a0a0a;
  color: #fff;
}

.viz-org__shared span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.015em;
}

.viz-org__shared em {
  font-style: normal;
  font-size: 0.72rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.62);
}

.viz-org__note {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: rgba(20, 16, 50, 0.55);
}

/* Visual: management dashboard */
.viz-dash {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(100%, 20rem);
  padding: 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 10, 10, 0.06);
  color: var(--color-ink);
}

.viz-dash__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.viz-dash__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
}

.viz-dash__pill {
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  background: var(--color-ink);
  color: var(--color-lime);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
}

.viz-dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.viz-dash__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.5rem;
  border-radius: 3px;
  background: #f3f1fc;
}

.viz-dash__stat span {
  font-size: 0.68rem;
  color: rgba(10, 10, 10, 0.5);
}

.viz-dash__stat strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.viz-dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 3.25rem;
}

.viz-dash__bars i {
  flex: 1 1 0;
  display: block;
  border-radius: 2px 2px 0 0;
  background: var(--color-bg);
  opacity: 0.75;
}

.viz-dash__bars i:nth-child(1) { height: 42%; }
.viz-dash__bars i:nth-child(2) { height: 58%; }
.viz-dash__bars i:nth-child(3) { height: 70%; }
.viz-dash__bars i:nth-child(4) { height: 52%; }
.viz-dash__bars i:nth-child(5) { height: 88%; background: var(--color-bg-deep); opacity: 1; }

.viz-dash__note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: rgba(20, 16, 50, 0.55);
}

/* Visual: team/profit growth */
.viz-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 18rem);
  color: var(--color-ink);
}

.viz-app__phones {
  position: relative;
  width: 9.5rem;
  height: 10.5rem;
}

.viz-app__phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5.6rem;
  height: 9.6rem;
  padding: 0.55rem 0.45rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1.5px solid rgba(20, 16, 50, 0.16);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(20, 16, 50, 0.14);
  z-index: 2;
}

.viz-app__phone--back {
  left: auto;
  right: 0;
  bottom: 0.85rem;
  width: 5.1rem;
  height: 8.7rem;
  opacity: 0.88;
  z-index: 1;
  transform: rotate(6deg);
}

.viz-app__notch {
  align-self: center;
  width: 1.6rem;
  height: 0.28rem;
  border-radius: 99px;
  background: rgba(20, 16, 50, 0.16);
}

.viz-app__row {
  display: block;
  height: 0.42rem;
  border-radius: 2px;
  background: rgba(89, 78, 195, 0.22);
}

.viz-app__row--short {
  width: 62%;
  background: rgba(20, 16, 50, 0.1);
}

.viz-app__tile {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(211, 249, 138, 0.55), rgba(89, 78, 195, 0.18));
}

.viz-app__bar {
  margin-top: auto;
  height: 1.4rem;
  border-radius: 4px;
  background: var(--color-bg);
}

.viz-app__link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 14rem;
}

.viz-app__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--color-bg);
  flex-shrink: 0;
}

.viz-app__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(89, 78, 195, 0.55), rgba(89, 78, 195, 0.12));
}

.viz-app__erp {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
  background: var(--color-ink);
  color: #fff;
}

.viz-app__note {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(20, 16, 50, 0.55);
  text-align: center;
}

.viz-growth {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: min(100%, 20rem);
  color: var(--color-ink);
}

.viz-growth__legend {
  display: flex;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: rgba(10, 10, 10, 0.55);
}

.viz-growth__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.viz-growth__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
}

.viz-growth__dot--team { background: var(--color-bg); }
.viz-growth__dot--profit { background: var(--color-ink); }

.viz-growth__chart {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
  height: 7.5rem;
  padding: 0.35rem 0.15rem 0;
}

.viz-growth__col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  gap: 0.15rem;
}

.viz-growth__col::before,
.viz-growth__col::after {
  content: "";
  display: block;
  width: 42%;
  border-radius: 2px 2px 0 0;
}

.viz-growth__col::before {
  height: var(--t);
  background: var(--color-bg);
}

.viz-growth__col::after {
  height: var(--p);
  background: var(--color-ink);
}

.viz-growth__col em {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  translate: -50% 0;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: rgba(10, 10, 10, 0.45);
}

.viz-growth__axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(10, 10, 10, 0.45);
}

.viz-growth__note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: rgba(20, 16, 50, 0.55);
}

/* Visual: 2-week layer scan */
.viz-scan {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(100%, 19rem);
  padding: 0.15rem;
  color: var(--color-ink);
}

.viz-scan__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.viz-scan__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  background: var(--color-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.viz-scan__title {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(20, 16, 50, 0.5);
  text-transform: lowercase;
}

.viz-scan__layers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.viz-scan__layers li {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.42rem 0.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(89, 78, 195, 0.12);
  border-radius: 3px;
  opacity: 0.35;
  transform: translateX(6px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease);
}

.viz-scan.is-live .viz-scan__layers li {
  opacity: 1;
  transform: none;
  border-color: rgba(89, 78, 195, 0.28);
  background: #fff;
}

.viz-scan.is-live .viz-scan__layers li:nth-child(1) { transition-delay: 0.05s; }
.viz-scan.is-live .viz-scan__layers li:nth-child(2) { transition-delay: 0.18s; }
.viz-scan.is-live .viz-scan__layers li:nth-child(3) { transition-delay: 0.31s; }
.viz-scan.is-live .viz-scan__layers li:nth-child(4) { transition-delay: 0.44s; }
.viz-scan.is-live .viz-scan__layers li:nth-child(5) { transition-delay: 0.57s; }

.viz-scan__layers em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--color-bg-deep);
}

.viz-scan__layers span {
  font-size: 0.74rem;
  line-height: 1.25;
  color: rgba(10, 10, 10, 0.72);
}

.viz-scan__note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(20, 16, 50, 0.5);
}

/* Visual: Amo dashboard — компактнее, чтобы был виден светло-фиолетовый фон */
.viz-amo {
  background: #fff;
  border: 1px solid rgba(89, 78, 195, 0.14);
  border-radius: 3px;
  padding: 0.75rem 0.8rem 0.7rem;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  width: 88%;
  max-width: 22rem;
  margin-inline: auto;
  transform: scale(0.92);
  transform-origin: center center;
}

.viz-amo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(20, 16, 50, 0.08);
}

.viz-amo__brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

.viz-amo__pill {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-btn);
  background: var(--color-lime);
  color: var(--color-ink);
}

.viz-amo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.viz-amo__stat {
  background: #f7f6fb;
  border: 1px solid rgba(89, 78, 195, 0.12);
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
}

.viz-amo__stat--wide {
  grid-column: 1 / -1;
}

.viz-amo__stat-n {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-bg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.viz-amo__stat-l {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  opacity: 0.55;
}

.viz-amo__stat ul {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.viz-amo__stat li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.viz-amo__stat li i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--color-bg);
  flex-shrink: 0;
}

.viz-amo__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.viz-amo__col {
  background: #f3f1ec;
  border-radius: 0.45rem;
  padding: 0.55rem 0.5rem 0.65rem;
  min-height: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.viz-amo__col span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.15rem;
}

.viz-amo__col b {
  display: block;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: rgba(89, 78, 195, 0.22);
  font-weight: 400;
}

.viz-amo__col b:nth-child(3) {
  width: 78%;
  background: rgba(89, 78, 195, 0.35);
}

.viz-amo__col b:nth-child(4) {
  width: 55%;
  background: var(--color-lime);
}

.viz-amo__note {
  margin: auto 0 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

/* —— Probe (диагностика) —— */
.probe {
  position: relative;
  z-index: 2;
  background: #f6f6f6;
  color: var(--color-ink);
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(5.5rem, 9vh, 7rem);
  overflow: hidden;
  transition: background-color 0.45s var(--ease);
}

.probe.is-light {
  background: #fff;
}

.probe__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.probe__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: clamp(2.25rem, 4.5vh, 3.25rem);
}

.probe__titles {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  max-width: 40rem;
}

.probe__title {
  margin: 0;
  max-width: 26em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.probe__title-accent {
  font-family: var(--font-display);
  font-weight: 400;
  color: #8b7fe0;
}

.probe__sub {
  margin: 0;
  max-width: 22em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: rgba(10, 10, 10, 0.38);
}

.probe__tip {
  position: absolute;
  /* сдвиг влево: перекрывает «дырку» 5-й карточки, не низ 6-й */
  right: max(var(--pad-x), calc((100vw - var(--shell)) / 2 + var(--pad-x) + 15.5rem));
  top: auto;
  bottom: clamp(1.5rem, 3vh, 2.25rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 14.5rem;
  margin: 0;
  padding: 0.95rem 1.05rem 1.05rem;
  background: var(--color-ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.3rem;
  transform: rotate(2.5deg);
  pointer-events: none;
}

.probe__tip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;
}

.probe__tip-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.15rem;
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
  background: var(--color-lime);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.probe__tip .ico-spark {
  flex-shrink: 0;
  color: var(--color-lime);
}

.probe__rail {
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: none;
  padding: 0.25rem 0 0.75rem;
  pointer-events: none;
}

.probe__track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  width: max-content;
  padding-left: max(var(--pad-x), calc((100vw - var(--shell)) / 2));
  padding-right: max(3rem, 28vw);
}

.probe-card {
  flex: 0 0 auto;
  width: min(16.5rem, 66vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
}

.probe-card__viz {
  display: grid;
  place-items: center;
  height: 7.25rem;
  margin: 0.55rem 0.55rem 0;
  background: #f5f4f2;
  color: #0a0a0a;
  border-radius: 2px;
}

.probe-illu {
  width: min(68%, 6.5rem);
  height: auto;
}

.probe-illu path,
.probe-illu circle,
.probe-illu rect {
  stroke-width: 1;
}

.probe-card__title {
  display: block;
  margin: 0;
  padding: 1.15rem 0.9rem 0.65rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.22rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #0a0a0a;
}

.probe-card__title-text {
  display: inline;
}

.probe-card__dot {
  display: inline;
  margin-left: 0.05em;
  font-weight: 400;
  color: #0a0a0a;
}

.probe-card__badge {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin-top: 0.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 3px;
  background: #efeafc;
  border: 1px solid rgba(89, 78, 195, 0.28);
  color: var(--color-bg-deep);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.probe-card__badge--foot {
  margin: auto 0.9rem 0.95rem;
}

.probe-card__lead {
  margin: 0;
  padding: 0 0.9rem 0.55rem;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.72);
}

.probe-card__list {
  list-style: none;
  margin: 0;
  padding: 0 0.9rem 0.95rem;
}

.probe-card:has(.probe-card__badge--foot) .probe-card__list {
  padding-bottom: 0.55rem;
}

.probe-card__list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.15rem;
  border-top: 1px solid #efefef;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.82);
}

.probe-card__list li:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.probe-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 7px;
  height: 7px;
  background: #0a0a0a;
  -webkit-mask: url("assets/arrow.svg") center / contain no-repeat;
  mask: url("assets/arrow.svg") center / contain no-repeat;
}

@media (max-width: 720px) {
  .cases__title-line {
    white-space: normal;
  }
}

/* —— Bridge (секция 4) —— */
.bridge {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--color-ink);
  padding: clamp(2.5rem, 5vh, 4rem) 0 clamp(3.5rem, 7vh, 5.5rem);
}

.bridge__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vh, 2.5rem);
}

.bridge__intro {
  display: grid;
  grid-template-columns: minmax(11rem, 0.26fr) minmax(0, 0.74fr);
  gap: 1.5rem 3.5rem;
  align-items: start;
  width: 100%;
}

.bridge__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.bridge-issues {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  text-align: left;
  container-type: inline-size;
  container-name: issues;
}

.bridge-issues__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

/* 2 ряда (8 плиток) полностью + 3-й ряд: 1-я строка видна, дальше размытие */
.bridge-issues:not(.is-open) .bridge-issues__list {
  --issues-tile-h: calc((100cqi - 1.65rem) / 4 / 1.45);
  max-height: calc(var(--issues-tile-h) * 2.78 + 1.1rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.45) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.45) 90%, transparent 100%);
}

.bridge-issues:not(.is-open) {
  padding-bottom: 0.85rem;
}

.bridge-issues__list a,
.bridge-issues__list button {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  min-height: 0;
  margin: 0;
  padding: 0.55rem 0.5rem 0.6rem;
  border: 1px dashed rgba(89, 78, 195, 0.5);
  border-radius: 8px;
  background: #f3f1fc;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 transparent;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.bridge-issues__list a::before,
.bridge-issues__list button::before {
  content: none;
}

.bridge-issues__list a::after,
.bridge-issues__list button::after {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 3px;
  background-color: var(--color-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3f98a' d='M8 0l1.2 5.2L14 8l-4.8 1.8L8 16l-1.2-6.2L2 8l4.8-2.8L8 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.55rem 0.55rem;
}

.bridge-issues__list a:hover,
.bridge-issues__list button:hover {
  background: #ebe6fb;
  border-style: solid;
  border-color: rgba(89, 78, 195, 0.55);
  box-shadow: inset 0 2px 8px rgba(60, 48, 140, 0.16);
}

.bridge-issues__list a:active,
.bridge-issues__list button:active {
  background: #e4dff8;
  box-shadow: inset 0 3px 10px rgba(60, 48, 140, 0.22);
}

.bridge-issues__list button[data-issue-other] {
  gap: 0.45rem;
  padding: 0.45rem 0.4rem 0.5rem;
}

.bridge-issues__list button[data-issue-other]::after {
  content: none;
}

.bridge-issues__other-l {
  display: block;
}

.bridge-issues__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  max-width: 100%;
}

.bridge-issues__tags span {
  padding: 0.12rem 0.32rem;
  border-radius: 3px;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.bridge-issues__more {
  appearance: none;
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  z-index: 2;
  translate: -50% 0;
  margin: 0;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--color-bg);
  cursor: pointer;
  border-bottom: 1px dashed rgba(89, 78, 195, 0.5);
}

.bridge-issues.is-open .bridge-issues__more {
  position: static;
  translate: none;
  align-self: center;
  margin-top: 0.15rem;
  background: transparent;
  padding: 0.2rem 0;
}

.bridge-issues__more:hover {
  color: var(--color-bg-deep);
}

.bridge-core {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 5.25rem;
  padding: clamp(2.75rem, 4vw, 3.25rem) clamp(1.6rem, 3vw, 2.35rem) clamp(1.6rem, 3vw, 2.35rem);
  background-color: #f3f3f3;
  border-radius: 4px;
  overflow: visible;
  color: var(--color-ink);
  isolation: isolate;
}

.bridge-core::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 4px;
  background-image: url("assets/bridge-back.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}

.bridge-core > * {
  position: relative;
  z-index: 1;
}

.bridge-core__avatar {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  width: 4.5rem;
  height: 4.5rem;
  translate: -50% -50%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  background: #dcd8f5;
  box-shadow: 0 8px 24px rgba(20, 16, 50, 0.12);
}

.bridge-core__avatar img {
  width: 118%;
  height: 118%;
  max-width: none;
  margin: -4% 0 0 -9%;
  object-fit: cover;
  object-position: 50% 8%;
}

.bridge-core__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 0.85rem;
  text-align: center;
}

.bridge-core__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.bridge-core__title-line {
  display: inline;
}

.bridge-core__sub {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #8b7fe0;
}

.bridge-facets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
  margin-inline: 0;
  margin-top: 0.75rem;
}

.bridge-facet {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 22rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 4px;
}

.bridge-facet:nth-child(2) {
  min-height: 24rem;
  padding: 1.5rem 1.35rem 1.4rem;
  margin-block: -0.5rem;
  box-shadow: 0 10px 28px rgba(20, 16, 50, 0.06);
}

.bridge-facet__label {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem; /* ~24px */
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-ink);
}

.bridge-facet__name {
  display: block;
  max-width: 12.5rem;
}

.bridge-facet__cases {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bridge-facet__case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--color-bg);
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.bridge-facet__case-text {
  text-decoration: underline dashed;
  text-decoration-color: rgba(89, 78, 195, 0.65);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
  transition: text-decoration-color 0.2s var(--ease);
}

.bridge-facet__case:hover {
  color: var(--color-bg-deep);
}

.bridge-facet__case:hover .bridge-facet__case-text {
  text-decoration-color: var(--color-bg-deep);
}

.bridge-facet__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: 0.35em;
  vertical-align: 0.12em;
}

.bridge-facet__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.42rem;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.12);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.bridge-facet__tag--ai {
  background: var(--color-bg);
  color: var(--color-lime);
}

.bridge-facet__cred {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: auto 0 0;
  padding: 0.9rem 0.95rem;
  background: var(--color-ink);
  border-radius: 3px;
  border-left: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #f2f2f2;
}

.bridge-facet__icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.05rem;
  color: var(--color-lime);
}

.bridge__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  margin-block: clamp(2.5rem, 5vh, 4rem) clamp(1.5rem, 3vh, 2.5rem);
  text-align: center;
}

.bridge-ask {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.95rem;
  width: min(100%, 36rem);
  margin-inline: auto;
  text-align: left;
}

.bridge-ask__title {
  margin: 0 auto;
  max-width: 22em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-align: center;
}

.bridge-ask__ref {
  margin-left: 0.22em;
  font-family: var(--font-body);
  font-size: 0.55em;
  font-weight: 500;
  line-height: 1;
  vertical-align: super;
  color: rgba(20, 16, 50, 0.4);
}

.bridge-ask__field {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
}

.bridge-ask__box {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
}

.bridge-ask__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 6.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(20, 16, 50, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.bridge-ask__input:focus {
  border-color: rgba(89, 78, 195, 0.65);
}

.bridge-ask__ghost {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: 0.85rem 1rem;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(20, 16, 50, 0.42);
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  pointer-events: none;
}

.bridge-ask__prefix {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0a0a0a;
}

.bridge-ask__caret {
  display: inline-block;
  width: 0.08em;
  height: 1.05em;
  margin-left: 0.08em;
  background: rgba(20, 16, 50, 0.45);
  vertical-align: -0.12em;
  animation: ask-caret 0.9s steps(1) infinite;
}

.bridge-ask.is-typing .bridge-ask__ghost,
.bridge-ask.is-filled .bridge-ask__ghost {
  opacity: 0;
}

.bridge-ask__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.bridge-ask__btn {
  margin: 0;
}

.bridge-ask__voice {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(20, 16, 50, 0.14);
  border-radius: var(--radius-btn);
  background: #f3f3f3;
  color: rgba(20, 16, 50, 0.42);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.bridge-ask__voice:hover {
  background: #ebebeb;
  color: rgba(20, 16, 50, 0.62);
  border-color: rgba(20, 16, 50, 0.22);
}

.bridge-ask__contact {
  display: block;
  width: 100%;
}

.bridge-ask__contact-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(20, 16, 50, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.bridge-ask__contact-input::placeholder {
  color: rgba(20, 16, 50, 0.42);
}

.bridge-ask__contact-input:focus {
  border-color: rgba(89, 78, 195, 0.65);
}

@keyframes bridge-ask-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bridge-ask__note {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(10, 10, 10, 0.52);
  text-align: center;
}

@media (max-width: 960px) {
  .bridge__intro,
  .bridge-facets {
    grid-template-columns: 1fr;
  }

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

  .bridge-issues:not(.is-open) .bridge-issues__list {
    --issues-tile-h: calc((100cqi - 0.55rem) / 2 / 1.45);
    max-height: calc(var(--issues-tile-h) * 4.78 + 1.65rem);
  }

  .bridge-facet {
    min-height: 0;
  }
}

/* —— Bio: композиция текст | портрет | факты —— */
.bio {
  position: relative;
  z-index: 2;
  margin-inline: 18px;
  width: auto;
  background: var(--color-bg-deep);
  color: #fff;
  padding: 1.35rem 0 0;
  overflow: hidden;
  border-radius: 4px;
}

.bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -48deg,
      transparent 0 28px,
      rgba(255, 255, 255, 0.05) 28px 29px
    );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 22%,
    rgba(0, 0, 0, 0.5) 48%,
    #000 72%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 22%,
    rgba(0, 0, 0, 0.5) 48%,
    #000 72%,
    #000 100%
  );
  pointer-events: none;
}

.bio__shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-left: max(var(--pad-x), calc((100vw - var(--shell)) / 2 + 1.5rem));
  margin-right: max(var(--pad-x), 1.25rem);
  display: grid;
  grid-template-columns: minmax(20rem, 0.95fr) minmax(18rem, 1.15fr) minmax(12rem, 0.36fr);
  gap: 0 clamp(0.75rem, 1.5vw, 1.25rem) 0;
  align-items: stretch;
  min-height: 47.5rem; /* ~760px: чуть ниже прежних 800–900 */
}

.bio__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2.25rem 0 1.65rem;
  min-width: 0;
  align-self: stretch;
}

.bio__title {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.bio__title-line {
  display: block;
}

.bio__title-line--accent {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-accent-soft);
}

.bio__story {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 34rem;
}

.bio__story p {
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: rgba(255, 255, 255, 0.92);
}

.bio__rail {
  position: relative;
  z-index: 2;
  align-self: stretch;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  width: 100%;
  max-width: 12.5rem;
  margin: 0;
  padding: 2.25rem 0 1.65rem;
}

.bio__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin: 0;
  text-align: right;
}

.bio__contact-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.bio__contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bio__contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.55rem;
  color: #fff;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.bio__contact-ico:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.bio__mark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}

.bio__mark--uline,
.bio__mark--emph {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}

.bio__mark--dash {
  position: relative;
  cursor: help;
  text-decoration: underline dashed;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(211, 249, 138, 0.75);
}

.bio__tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.55rem);
  z-index: 6;
  width: max(16rem, 100%);
  max-width: min(22rem, 70vw);
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background: #1c183d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(12, 8, 40, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.bio__tip em {
  display: inline;
  margin-left: 0.15em;
  font-style: normal;
  color: var(--color-lime);
  font-size: 0.78em;
}

.bio__mark--dash:hover .bio__tip,
.bio__mark--dash:focus-visible .bio__tip {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.bio-review {
  position: relative;
  z-index: 4;
  margin: auto 0 0;
  width: calc(100% + 7.5rem);
  max-width: none;
  margin-right: -7.5rem;
  padding: 1.15rem 1.2rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(89, 78, 195, 0.55);
  border-radius: 3px;
  color: var(--color-ink);
  box-shadow: 0 16px 36px rgba(20, 12, 60, 0.18);
}

.bio-review__text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.36;
  letter-spacing: -0.028em;
  color: var(--color-ink);
}

.bio-review__hl {
  background: linear-gradient(
    to top,
    rgba(89, 78, 195, 0.28) 0,
    rgba(89, 78, 195, 0.28) 0.42em,
    transparent 0.42em
  );
  color: inherit;
  font-weight: inherit;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.bio-review__hl--strong {
  font-weight: 500;
  background: linear-gradient(
    to top,
    rgba(89, 78, 195, 0.42) 0,
    rgba(89, 78, 195, 0.42) 0.48em,
    transparent 0.48em
  );
}

.bio-review__who {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececec;
}

.bio-review__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 8.6rem;
  height: 5.5rem;
}

.bio-review__photo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.bio-review__logo {
  position: absolute;
  left: 3.1rem;
  top: 0;
  z-index: 2;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px #fff;
  background: #0a0a0a;
}

.bio-review__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.bio-review__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  overflow: hidden;
  transform: translateX(1.5rem);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s,
    opacity 0.55s ease 0.08s;
}

.bio-review.is-in .bio-review__meta {
  transform: translateX(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bio-review__meta {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.bio-review__meta strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.bio-review__social {
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  text-decoration: none;
  border-bottom: 1px dashed rgba(89, 78, 195, 0.45);
}

.bio-review__social:hover {
  color: var(--color-bg-deep);
  border-bottom-color: rgba(89, 78, 195, 0.85);
}

.bio-review__brand {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(10, 10, 10, 0.5);
}

.bio__media {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  height: 100%;
}

.bio__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 47.5rem;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 18px 40px rgba(20, 12, 60, 0.28));
}

.bio__facts {
  list-style: none;
  margin: auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.bio__facts li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.18rem;
  aspect-ratio: 1 / 1.05;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 1rem 0.95rem 0.85rem;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(10, 6, 40, 0.28);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% 100%, 0 100%);
}

.bio__facts-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.bio__facts-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.15;
  letter-spacing: -0.016em;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .bio__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.95fr);
    grid-template-areas:
      "content media"
      "facts media";
    min-height: 0;
  }

  .bio__content { grid-area: content; }
  .bio__media { grid-area: media; }
  .bio__rail {
    grid-area: facts;
    margin: 0 0 1.5rem;
    max-width: 22rem;
    justify-self: start;
    align-items: flex-start;
    padding: 0;
  }

  .bio__contact {
    align-items: flex-start;
    text-align: left;
    margin-top: 0.75rem;
  }

  .bio__facts li {
    aspect-ratio: auto;
    min-height: 7.25rem;
  }

  .bio-review {
    margin-right: 0;
    width: 100%;
  }

  .bio__photo {
    min-height: 28rem;
  }
}

@media (max-width: 960px) {
  .probe {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  }

  .probe__head {
    margin-bottom: 1.1rem;
  }

  .probe__rail {
    order: 1;
  }

  .probe__tip {
    order: 2;
    position: static;
    width: min(100% - 2 * var(--pad-x), var(--shell));
    margin: 0.35rem auto 0;
    transform: none;
    pointer-events: auto;
  }

  .bio {
    padding: 2.25rem 0 1.75rem;
  }

  .bio::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
  }

  .bio__shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "facts"
      "content";
    width: min(100% - 2 * var(--pad-x), var(--shell));
    margin-inline: auto;
    gap: 0;
    min-height: 0;
  }

  .bio__media {
    grid-area: media;
    height: auto;
    max-height: 26rem;
    justify-content: flex-end;
    margin-bottom: -2.75rem;
    z-index: 1;
  }

  .bio__photo {
    min-height: 22rem;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: bottom center;
  }

  .bio__rail {
    grid-area: facts;
    position: relative;
    z-index: 2;
    max-width: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
  }

  .bio__facts {
    margin: 0;
    gap: 0.45rem;
  }

  .bio__facts li {
    aspect-ratio: auto;
    min-height: 0;
  }

  .bio__contact {
    align-items: flex-start;
    text-align: left;
    margin-top: 0.85rem;
  }

  .bio__content {
    grid-area: content;
    padding: 1.35rem 0 0;
  }
}

/* —— Method (как работаю) —— */
.method {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--color-ink);
  padding: clamp(4.25rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem);
  transition: background-color 0.55s var(--ease);
}

.method--follow {
  padding-top: clamp(2.5rem, 5vh, 4rem);
}

/* —— Custom work / AI after formats —— */
.custom-work {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(3.5rem, 7vh, 5.5rem);
  background: #f6f6f6;
  color: var(--color-ink);
}

.custom-work__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.custom-work__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.5vh, 1.85rem);
  padding: clamp(1.55rem, 2.8vw, 2.15rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(89, 78, 195, 0.12), transparent 62%),
    linear-gradient(180deg, #f7f5fd 0%, #fff 42%);
  border: 1px solid rgba(89, 78, 195, 0.16);
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(20, 12, 60, 0.06);
  overflow: hidden;
}

.custom-work__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-bg) 0%, rgba(89, 78, 195, 0.35) 100%);
  pointer-events: none;
}

.custom-work__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(89, 78, 195, 0.14);
}

.custom-work__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: 36rem;
}

.custom-work__eyebrow {
  margin: 0;
  width: fit-content;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.12);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg-deep);
}

.custom-work__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.custom-work__lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: rgba(10, 10, 10, 0.72);
  text-align: center;
}

.custom-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.custom-work-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.3rem;
  background: rgba(89, 78, 195, 0.06);
  border: 1px dashed rgba(89, 78, 195, 0.4);
  border-radius: 4px;
}

.custom-work-card__ico {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  border-radius: 3px;
  background-color: var(--color-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3f98a' d='M8 0l1.2 5.2L14 8l-4.8 1.8L8 16l-1.2-6.2L2 8l4.8-2.8L8 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.62rem 0.62rem;
}

.custom-work-card__title {
  margin: 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.custom-work-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.custom-work-card__list li {
  margin: 0;
  padding: 0.4rem 0.65rem;
  border-radius: 3px;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.custom-work-card__list li.is-other {
  background: transparent;
  color: var(--color-bg-deep);
  border: 1px dashed rgba(89, 78, 195, 0.55);
  font-style: italic;
}

.custom-work__note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 38rem;
  margin: 0.15rem auto 0;
  padding: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.62);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.custom-work__note .ico-spark {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--color-bg);
}

.custom-work__action {
  display: flex;
  justify-content: center;
  margin-top: 0.15rem;
}

.custom-work__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  margin: 0;
  padding: 0.85rem 1.45rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--color-bg);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.custom-work__cta:hover {
  background: var(--color-bg-deep);
  transform: translateY(-1px);
}

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

body.is-surface-gray .method {
  background: #f6f6f6;
}

.method__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vh, 2.5rem);
  overflow: visible;
}

.method__title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  max-width: 28em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.method__title-line {
  display: block;
}

.method__title-accent {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  color: #8b7fe0;
}

.method-cycle {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  overflow: visible;
  padding-bottom: 0.75rem;
}

.method-step {
  --i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 24rem;
  padding: 1.35rem 1.15rem 1.4rem;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 4px;
  background: #fff;
  overflow: visible;
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
  transition-delay: calc(var(--i) * 0.14s);
}

.method-step.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .method-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.method-step--focus {
  background: color-mix(in srgb, #e8e6e1 80%, transparent);
  border-color: transparent;
}

.method-step__growth {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  opacity: 0.8;
}

.method-step__growth svg {
  display: block;
  width: 100%;
  height: 100%;
}

.method-step__growth-area {
  fill: rgba(89, 78, 195, 0.1);
}

.method-step__growth-line {
  fill: none;
  stroke: rgba(89, 78, 195, 0.5);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-step--focus .method-step__text {
  position: relative;
  z-index: 1;
  padding-bottom: 3.6rem;
}

.method-step__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  align-self: stretch;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-btn);
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.method-step__mic {
  flex: 0 0 auto;
}

.method-step__cta:hover {
  background: #221c45;
  transform: translateY(-1px);
}

.method-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2rem;
  height: 1.65rem;
  margin-bottom: 0.85rem;
  padding: 0 0.45rem;
  background: var(--color-ink);
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.method-step__title {
  margin: 0 0 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.45rem;
  row-gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.method-step__title-main {
  display: block;
  white-space: nowrap;
}

.method-step__title-sub {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-bg-deep);
}

.method-step__flame {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  color: #ff7a2f;
}

.method-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.78);
}

.method-step > .method-step__text {
  margin-bottom: 1.35rem;
}

.method-step__text p {
  margin: 0 0 0.35rem;
}

.method-step__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.method-step__bullets li {
  position: relative;
  padding-left: 0.95rem;
}

.method-step__bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(10, 10, 10, 0.45);
}

.method-step__em {
  font-weight: 600;
  color: var(--color-ink);
}

.method-step__note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 3px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.4;
  box-shadow: none;
  transform: none;
}


.method-step__note .ico-spark {
  position: static;
  width: 0.95rem;
  height: 0.95rem;
  transform: none;
}

.method-step__note p {
  margin: 0;
}

.method-loop {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 4.25rem;
  margin-top: -0.15rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.55s;
}

.method-loop.is-in {
  opacity: 1;
}

.method-loop__svg {
  width: 100%;
  height: 4.25rem;
  overflow: visible;
}

.method-loop__track {
  fill: none;
  stroke: rgba(10, 10, 10, 0.12);
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
}

.method-loop__flow {
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 180 920;
  stroke-dashoffset: 1100;
}

.method-loop.is-in .method-loop__flow {
  animation: method-flow 6.2s ease-in-out 0.8s infinite;
}

.method-loop__head {
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0;
}

.method-loop.is-in .method-loop__head {
  animation: method-head 6.2s ease-in-out 0.8s infinite;
}

@keyframes method-flow {
  0% { stroke-dashoffset: 1100; opacity: 0.35; }
  18% { opacity: 0.85; }
  55% { stroke-dashoffset: 0; opacity: 0.9; }
  78% { stroke-dashoffset: -120; opacity: 0.45; }
  100% { stroke-dashoffset: -180; opacity: 0.2; }
}

@keyframes method-head {
  0%, 48% { opacity: 0; }
  58% { opacity: 0.75; }
  70% { opacity: 0.9; }
  82% { opacity: 0.35; }
  100% { opacity: 0; }
}

.method-loop__label {
  position: absolute;
  left: 50%;
  bottom: 0.05rem;
  translate: -50% 0;
  padding: 0.22rem 0.6rem;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  white-space: nowrap;
}

.method-support {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
}

.method-support__tiles {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  min-width: 0;
}

.method-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 12.5rem;
  padding: 1.35rem 1.25rem 1.3rem;
  background: #f3f3f3;
  border: none;
  border-radius: 4px;
}

.method-tile__ico {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  border-radius: 3px;
  background-color: var(--color-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3f98a' d='M8 0l1.2 5.2L14 8l-4.8 1.8L8 16l-1.2-6.2L2 8l4.8-2.8L8 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.62rem 0.62rem;
}

.method-tile__title {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.method-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  max-width: 13.5rem;
}

.method-tile__tags li {
  margin: 0;
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  background: #0a0a0a;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.method-trust {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
  padding: 1.35rem 1.25rem 1.3rem;
  background: #0a0a0a;
  color: #fff;
  border-radius: 4px;
}

.method-trust__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.55vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.method-trust__people {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.method-trust__person {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.method-trust__person:first-child {
  border-top: 0;
  padding-top: 0;
}

.method-trust__person:last-child {
  padding-bottom: 0;
}

.method-trust.is-in .method-trust__person {
  opacity: 1;
  transform: none;
}

.method-trust.is-in .method-trust__person:nth-child(1) {
  transition-delay: 0.12s;
}

.method-trust.is-in .method-trust__person:nth-child(2) {
  transition-delay: 0.42s;
}

.method-trust.is-in .method-trust__person:nth-child(3) {
  transition-delay: 0.72s;
}

@media (prefers-reduced-motion: reduce) {
  .method-trust__person {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.method-trust__photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.method-trust__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.method-trust__meta strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
}

.method-trust__meta span {
  font-size: 0.82rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
}

.method-trust__li {
  width: fit-content;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-lime);
  text-decoration: none;
}

.method-trust__li:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.method-support::before {
  content: none;
}

.method-support__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}

.method-support__point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.method-support__point--tl {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  text-align: left;
  max-width: 16.5rem;
}

.method-support__point--tr {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  text-align: right;
  align-items: flex-end;
}

.method-support__point--bl {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  text-align: left;
}

.method-support__point--br {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  text-align: right;
  align-items: flex-end;
  max-width: 19.5rem;
}

.method-support__ico {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 3px;
  background-color: var(--color-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3f98a' d='M8 0l1.2 5.2L14 8l-4.8 1.8L8 16l-1.2-6.2L2 8l4.8-2.8L8 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.62rem 0.62rem;
}

.method-tg-pair {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 19.5rem);
  height: var(--support-phone-h);
  margin: 0;
  pointer-events: none;
}

.method-tg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  overflow: visible;
  pointer-events: auto;
}

.method-tg__phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0.55rem 0.45rem 0.65rem;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(165deg, #2a2d33 0%, #111318 55%, #0a0b0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 48px rgba(10, 6, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.method-tg__notch {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  z-index: 3;
  width: 5.2rem;
  height: 1.15rem;
  translate: -50% 0;
  border-radius: 999px;
  background: #0a0b0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.method-support__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
  padding: 0;
}

.method-support__tags li {
  margin: 0;
  padding: 0.35rem 0.6rem;
  background: #0a0a0a;
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.method-support__line {
  display: block;
  max-width: 14em;
  line-height: 1.3;
}

.method-tg__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-radius: 1.15rem 1.15rem 0 0;
  background: #17212b;
  color: #fff;
}

.method-tg__back {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.8;
}

.method-tg__who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.method-tg__avatars {
  display: flex;
  flex: 0 0 auto;
}

.method-tg__avatars i {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin-left: -0.35rem;
  border-radius: 50%;
  border: 1.5px solid #17212b;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    #594ec3;
}

.method-tg__avatars i:first-child {
  margin-left: 0;
}

.method-tg__avatar--photo {
  background: #1c183d;
}

.method-tg__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.method-tg__avatars i:nth-child(2) {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    #2b5278;
}

.method-tg__avatars i:nth-child(3) {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    #6a5fd0;
}

.method-tg__who strong,
.method-tg__who em {
  display: block;
}

.method-tg__who strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.method-tg__sep {
  opacity: 0.45;
  margin: 0 0.15em;
}

.method-tg__blur {
  filter: blur(3.5px);
  opacity: 0.75;
  user-select: none;
}

.method-tg__who em {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.55);
}

.method-tg__thread {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
  padding: 0.55rem 0.55rem 0.7rem;
  min-height: 0;
  border-radius: 0 0 1.15rem 1.15rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 22, 33, 0.15), rgba(14, 22, 33, 0.45)),
    #1a2733;
}

.method-tg__msg {
  max-width: 92%;
  padding: 0.35rem 0.55rem 0.4rem;
  border-radius: 0.7rem;
  opacity: 0;
  transform: translateY(0.45rem) scale(0.98);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  flex-shrink: 0;
}

.method-tg__msg.is-in {
  opacity: 1;
  transform: none;
}

.method-tg__msg--alex {
  align-self: flex-end;
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 0.2rem;
}

.method-tg__msg--in {
  align-self: flex-start;
  background: #182533;
  color: #fff;
  border-bottom-left-radius: 0.2rem;
}

.method-tg__name {
  display: block;
  margin-bottom: 0.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: -0.01em;
  color: #d3f98a;
}

.method-tg__msg--in .method-tg__name {
  color: #9ec1ff;
}

.method-tg__msg p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* —— Principle —— */
.principle {
  position: relative;
  z-index: 2;
  background: transparent;
  color: #fff;
  padding: clamp(3.25rem, 6vh, 4.5rem) 0 0;
}

/* —— Goals: внутри фиолетового principle, бежевый фон —— */
.goals {
  position: relative;
  z-index: 2;
  margin-top: clamp(1.75rem, 3vh, 2.35rem);
  color: var(--color-ink);
}

.goals__shell {
  width: 100%;
  margin: 0;
  padding: clamp(1.15rem, 2.2vh, 1.45rem) clamp(1rem, 1.8vw, 1.35rem) clamp(1.05rem, 2vh, 1.35rem);
  background: var(--color-page);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(20, 12, 60, 0.16);
}

.goals__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 1rem;
  text-align: center;
}

.goals__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.goals__title {
  margin: 0;
  max-width: 20em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.goals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.goals__tile {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  min-height: 6.35rem;
  margin: 0;
  padding: 0.85rem 0.9rem 0.9rem;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 5px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.goals__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  flex: 0 0 auto;
  border-radius: 4px;
  background: #ebe7df;
  color: var(--color-bg);
}

.goals__tile-t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.goals__tile:hover {
  border-color: rgba(89, 78, 195, 0.4);
  box-shadow: 0 10px 22px rgba(20, 12, 60, 0.1);
  transform: translateY(-1px);
}

.goals__tile.is-on {
  border-color: rgba(89, 78, 195, 0.55);
  box-shadow: inset 0 -0.16rem 0 var(--color-bg);
  background: #fff;
}

.goals__own {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  min-height: 6.35rem;
  margin: 0;
  padding: 0.85rem 0.9rem 0.9rem;
  border: 1px dashed rgba(89, 78, 195, 0.4);
  border-radius: 5px;
  background: rgba(89, 78, 195, 0.06);
  cursor: text;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.goals__own-top {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
}

.goals__own-send {
  appearance: none;
  align-self: flex-end;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s var(--ease);
}

.goals__own-send:hover {
  background: var(--color-bg);
}

.goals__ico--own {
  background: #fff;
  border: 1px dashed rgba(89, 78, 195, 0.45);
  color: var(--color-bg);
}

.goals__own-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  width: 100%;
  min-width: 0;
}

.goals__own-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--color-bg);
}

.goals__own input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  outline: none;
}

.goals__own input::placeholder {
  color: rgba(10, 10, 10, 0.38);
}

.goals__own:focus-within,
.goals__own.is-on {
  border-style: solid;
  border-color: rgba(89, 78, 195, 0.55);
  background: #fff;
  box-shadow: inset 0 -0.16rem 0 var(--color-bg);
}

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

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

  .goals__tile {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
  }

  .goals__own {
    min-height: 0;
  }

  .goals__own-body {
    flex: 1 1 auto;
  }

  .goals__own-send {
    align-self: stretch;
  }
}

.bio__title-line--accent .scr-ch {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.05s linear;
}

.bio__title-line--accent.is-ready .scr-ch {
  opacity: 1;
}

.bio__title-line--accent .scr-ch.is-space {
  width: 0.28em;
}

/* —— Works: те же кейсы, 2 в ряд, у карточки 2 части —— */
.works {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--color-ink);
  padding: clamp(4.25rem, 8vh, 6rem) 0 clamp(3.5rem, 7vh, 5rem);
}

.works__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vh, 2.5rem);
}

.works__title {
  margin: 0;
  max-width: 22em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.work-card {
  margin: 0;
  min-height: 28rem;
}

.work-card__surface {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  align-items: stretch;
  height: 100%;
  min-height: 28rem;
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 8px;
  overflow: hidden;
}

.work-card__surface > .case__visual {
  min-height: 0;
}

.work-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.work-card__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.work-card .case__lead {
  padding: 1rem 0.95rem 0.75rem;
  gap: 0.5rem;
}

.work-card .case__headline {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.32;
}

.work-card .case__headline a {
  color: inherit;
  text-decoration: none;
}

.work-card .case__headline a:hover {
  color: var(--color-bg);
}

.work-card .case__term {
  margin-top: 0.15rem;
  font-size: 0.78rem;
}

.work-card .case__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0.95rem 1rem;
}

.work-card .case__block {
  gap: 0.35rem;
}

.work-card .case__list {
  font-size: 0.8rem;
}

.work-card .case__list--result li {
  padding: 0.4rem 0.55rem;
  font-size: 0.8rem;
}

.work-card .case__visual {
  padding: 0.75rem 0.65rem;
}

.work-card .viz-bench__meters {
  min-height: 5.5rem;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.work-card .viz-bench__meter {
  width: 3.1rem;
}

.work-card .viz-bench__pct {
  font-size: 1.15rem;
}

.work-card .viz-bench__bar {
  width: 1.65rem;
  height: 4rem;
}

.work-card .viz-bench__chart {
  max-height: 5.5rem;
}

.work-card .viz-gap,
.work-card .viz-scan,
.work-card .viz-erp,
.work-card .viz-org,
.work-card .viz-dash,
.work-card .viz-growth {
  width: 100%;
}

/* ПК: сворачиваем только «Что сделали» в нижней секции кейсов */
.work-card .case__list--inline:not(.is-open) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.case__list--found {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case__list--found li {
  font-size: 0.9rem;
  line-height: 1.4;
}

.case__more-btn {
  margin-top: 0.35rem;
}

.work-card__more {
  appearance: none;
  margin: 0.45rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  cursor: pointer;
  border-bottom: 1px dashed rgba(89, 78, 195, 0.45);
}

.work-card__more:hover {
  color: var(--color-bg-deep);
}

.work-card .viz-gap__pair {
  min-height: 5.75rem;
}

.work-card .viz-gap__bar {
  height: 5rem;
}

.work-card .viz-gap__delta {
  font-size: 1.65rem;
}

.work-card .viz-amo {
  font-size: 0.72rem;
}

.ask-card {
  margin: 0;
  display: flex;
  min-height: 26rem;
  height: 100%;
  background: #e8e6e1;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.ask-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  width: 100%;
  min-height: 22rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.ask-card__title {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.ask-card__field {
  position: relative;
  display: block;
  width: min(100%, 22rem);
}

.ask-card__input {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(20, 16, 50, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  resize: none;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.ask-card__input:focus {
  border-color: rgba(89, 78, 195, 0.65);
  background: #fff;
}

.ask-card__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(20, 16, 50, 0.42);
  text-align: left;
  pointer-events: none;
  white-space: pre-wrap;
}

.ask-card__ghost::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1.05em;
  margin-left: 0.08em;
  background: rgba(20, 16, 50, 0.45);
  vertical-align: -0.12em;
  animation: ask-caret 0.9s steps(1) infinite;
}

.ask-card.is-typing .ask-card__ghost,
.ask-card.is-filled .ask-card__ghost {
  opacity: 0;
}

@keyframes ask-caret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.ask-card__btn {
  margin-top: 0.15rem;
}

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

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

.principle__panel {
  position: relative;
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin: 1.5rem auto 0;
  padding: clamp(3.75rem, 6vh, 4.75rem) clamp(1.5rem, 2.8vw, 2.35rem) clamp(1.65rem, 3vh, 2.15rem);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(211, 249, 138, 0.12), transparent 55%),
    linear-gradient(165deg, #7a71d8 0%, #6a5fd0 42%, #594ec3 100%);
  border-radius: 4px;
  overflow: visible;
  box-shadow: 0 18px 42px rgba(40, 28, 110, 0.14);
}

.principle__stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -48deg,
      transparent 0 26px,
      rgba(255, 255, 255, 0.1) 26px 27.5px
    );
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 14%, #000 40%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 14%, #000 40%, #000 100%);
}

.principle__avatar {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 3;
  width: 4.75rem;
  height: 4.75rem;
  translate: -50% -50%;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #1c183d;
  box-shadow:
    0 0 0 4px rgba(89, 78, 195, 0.35),
    0 12px 28px rgba(20, 16, 50, 0.28);
}

.principle__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.principle__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vh, 2.35rem);
  padding-top: 0.35rem;
}

.principle__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.principle__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.principle__title {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  max-width: 26em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
}

.principle__title-line {
  display: block;
}

.principle__title-accent {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.principle-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.principle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  margin: 0;
  min-height: 14rem;
  height: 100%;
  padding: 1.35rem 1.2rem 1.35rem;
  background: #fff;
  border: 0;
  border-radius: 3px;
  color: var(--color-ink);
  clip-path: polygon(0 0, calc(100% - 1.15rem) 0, 100% 1.15rem, 100% 100%, 0 100%);
  box-shadow: none;
}

.principle-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 2.1rem;
  height: 1.6rem;
  padding: 0 0.5rem;
  border-radius: 3px;
  background: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-lime);
}

.principle-card__title {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.principle-card__sub {
  margin: 0;
  margin-top: auto;
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(10, 10, 10, 0.58);
}

@media (max-width: 1100px) {
  .method-steps,
  .principle-cards {
    grid-template-columns: 1fr 1fr;
  }

  .method-loop {
    display: none;
  }

  .method-support {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 0;
  }

  .principle-card {
    min-height: 12rem;
  }
}

@media (max-width: 720px) {
  .method-steps,
  .method-support,
  .principle-cards {
    grid-template-columns: 1fr;
  }

  .method-support__tiles,
  .method-trust {
    grid-column: auto;
  }

  .method-tile {
    min-height: 10.5rem;
  }

  .method-trust {
    min-height: 0;
  }

  .principle__avatar {
    width: 4.25rem;
    height: 4.25rem;
  }

  .principle-card {
    min-height: 0;
  }
}

/* —— Desktop mid: hero/marquee не должны съедать CTA —— */
@media (max-width: 1440px) and (min-width: 961px) {
  :root {
    --hero-marquee-overlap: 1.5rem;
  }

  .hero {
    min-height: calc(42rem + var(--hero-marquee-overlap));
  }

  .hero__content {
    padding-bottom: 1.75rem;
  }

  .hero__action {
    margin-bottom: 0.75rem;
  }
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  :root {
    --hero-marquee-overlap: 1.1rem;
  }

  .hero {
    min-height: calc(44rem + var(--hero-marquee-overlap));
  }

  .hero__stage {
    margin-left: -0.75rem;
  }

  .hero__title {
    font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  }

  .hero__tip {
    width: 14.25rem;
    transform: translateX(12%) rotate(2.5deg);
  }

  @keyframes tip-in {
    from { opacity: 0; transform: translateX(18%) rotate(2.5deg) scale(0.96); }
    to { opacity: 1; transform: translateX(12%) rotate(2.5deg) scale(1); }
  }
}

@media (max-width: 960px) {
  :root {
    --pad-photo: 0;
  }

  .hero__title-first,
  .hero__title-rest {
    white-space: normal;
  }

  .header,
  .header.is-stuck {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    width: min(100% - 2 * var(--pad-x), var(--shell));
    max-width: var(--shell);
    min-height: 0 !important;
    height: auto;
    align-items: center;
    row-gap: 0;
    gap: 0.35rem 0.45rem;
    top: 0.4rem;
    padding: 0.3rem 0.45rem;
    border-radius: 0.65rem;
    /* до скролла — на сплошном hero, без плашки */
    background: transparent;
    box-shadow: none;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), top 0.3s var(--ease);
  }

  .header.is-stuck {
    top: 0.35rem;
    min-height: 0 !important;
    /* пошла промотка — отдельная фиолетовая плашка */
    background: var(--color-bg);
    box-shadow: 0 12px 32px rgba(20, 16, 50, 0.28);
  }

  .brand,
  .header.is-stuck .brand {
    grid-area: brand;
    min-width: 0;
    font-size: 0.92rem;
    gap: 0.06rem;
  }

  .brand__tag,
  .header.is-stuck .brand__tag {
    display: block;
    font-size: 0.62rem;
  }

  .header__actions {
    grid-area: actions;
    min-width: 0;
    gap: 0.35rem;
  }

  .header__cluster {
    position: absolute;
    inset: 0;
    display: block;
    justify-self: stretch;
    pointer-events: none;
  }

  .header__social {
    display: none;
  }

  .btn--header-dark,
  .header.is-stuck .btn--header-dark {
    display: inline-flex;
    align-self: stretch;
    width: 100%;
    margin-top: 0.35rem;
    min-height: 2.55rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
    justify-content: center;
  }

  .btn--header-lime,
  .header.is-stuck .btn--header-lime {
    box-sizing: border-box;
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0 0.65rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .btn--header-lime .btn__label-full {
    display: none;
  }

  .btn--header-lime .btn__label-short {
    display: inline;
  }

  .header__burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    box-sizing: border-box;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
    min-height: 2.25rem;
    max-height: 2.25rem;
    margin: 0;
    padding: 0.42rem;
    flex: 0 0 2.25rem;
    aspect-ratio: 1;
  }

  .header__burger span {
    width: 100%;
    flex: 0 0 1.5px;
  }

  .header.is-compact-nav .nav,
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem;
    background: var(--color-header);
    border-radius: 0.65rem;
    box-shadow: 0 16px 36px rgba(20, 16, 50, 0.28);
    pointer-events: auto;
  }

  .header.is-compact-nav.is-nav-open .nav,
  .header.is-nav-open .nav {
    display: flex;
  }

  .header.is-compact-nav .nav a,
  .header.is-nav-open .nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 0.45rem;
  }

  .header.is-compact-nav .nav a:hover,
  .header.is-nav-open .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* единый фон hero под меню — без отдельной плашки */
  html {
    background: var(--color-bg);
  }

  body {
    background: var(--color-bg);
  }

  body.is-surface-gray {
    background: #f6f6f6;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    /* клиренс под компактное меню */
    padding-top: 3rem;
    padding-bottom: 0;
    overflow: visible;
    /* без белого радиала — на мобилке давал «шар» под тегами */
    background: linear-gradient(
      165deg,
      var(--color-bg-soft) 0%,
      var(--color-bg) 42%,
      var(--color-bg-deep) 100%
    );
  }

  /* сплошной фиолетовый только под меню — компактно */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 3.35rem;
    background: var(--color-bg);
    pointer-events: none;
  }

  .hero__shell {
    position: relative;
    z-index: 2;
    height: auto;
  }

  .hero__glow {
    display: none;
  }

  .hero__grid {
    display: block;
    /* сразу под меню, мягко затухают вниз — без сплошной «решётки» */
    /* не ставить inset: unset после top/right/bottom/left — схлопывает слой */
    top: 3.35rem;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    opacity: 0.2;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      rgba(0, 0, 0, 0.5) 36%,
      transparent 72%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      rgba(0, 0, 0, 0.5) 36%,
      transparent 72%
    );
  }

  .hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas:
      "portrait identity"
      "content content";
    align-items: start;
    column-gap: 0.85rem;
    row-gap: 3.35rem;
    /* зазор: фото не липнет к фиолетовому верху */
    margin: 1.2rem 0 0;
    margin-left: 0;
    height: auto;
    padding-left: 0;
  }

  .hero__portrait {
    grid-area: portrait;
    /* ниже меню (80) — при скролле уходит под шапку */
    z-index: 40;
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
    height: auto;
    margin: 0;
    padding: 0.28rem;
    align-self: start;
    align-items: stretch;
    justify-self: stretch;
    overflow: hidden;
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
      rgba(20, 14, 55, 0.35);
    box-shadow: 0 14px 32px rgba(16, 10, 45, 0.28);
  }

  .hero__portrait img {
    width: 100%;
    height: 100%;
    max-height: none;
    top: 0;
    object-fit: cover;
    object-position: 28% 10%;
    border-radius: 0.35rem;
  }

  .hero__halo {
    display: none;
  }

  .hero__identity {
    grid-area: identity;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    gap: 0;
    min-width: 0;
    padding-top: 0.05rem;
    pointer-events: auto;
  }

  .hero__identity-name {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  .hero__identity-name span {
    display: block;
  }

  .hero__identity-role,
  .hero__identity-note,
  .hero__identity-cta {
    display: none;
  }

  .hero__identity-tg {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.84rem;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 0.1rem;
  }

  .hero__identity-tg:hover {
    color: var(--color-lime);
    border-bottom-color: var(--color-lime);
  }

  .hero__identity-tg-arrow {
    font-size: 1.05em;
    line-height: 1;
    translate: 0 0.02em;
  }

  .hero__content {
    grid-area: content;
    max-width: none;
    margin-left: 0;
    /* больше до бегущей (от zoom) */
    padding: 0.15rem 0 3.25rem;
  }

  .hero__action {
    margin-top: 2.85rem;
    padding-top: 0;
  }

  .hero__lead {
    line-height: 1.18;
    margin-bottom: 0.9rem;
  }

  .hero__title {
    font-size: clamp(1.55rem, 6vw, 1.95rem);
  }

  .hero__title-first {
    white-space: normal;
    font-size: clamp(1.95rem, 7.6vw, 2.45rem);
    line-height: 1.05;
    margin-bottom: 0.35rem;
  }

  .hero__title-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__title-consult {
    display: block;
    margin-left: 0;
  }

  .hero__title-rest {
    white-space: normal;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .hero__title-rest-line {
    display: block;
    white-space: nowrap;
    font-size: 22px;
    letter-spacing: -0.028em;
  }

  .hero__tags {
    gap: 0.4rem;
    margin-top: 0.25rem;
  }

  .hero__tags li {
    font-size: 0.8125rem;
    padding: 0.4rem 0.58rem;
    letter-spacing: 0;
  }

  .hero__lead-aside {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.75rem;
    max-width: 22em;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
  }

  .hero__lead-aside .ico-spark {
    flex-shrink: 0;
    margin-top: 0.12em;
  }

  .hero__tip {
    display: none;
  }

  .marquee {
    margin-top: 0;
    z-index: 110;
    padding-block: 0;
  }

  .cases {
    /* чуть больше от бегущей до h2 */
    padding-top: 2.55rem;
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }

  .cases__head {
    margin-bottom: 1.25rem;
  }

}

@media (max-width: 1100px) {
  .case__surface {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .case__visual {
    grid-column: 1 / -1;
    border-left: 0;
    border-right: 0;
    min-height: 14rem;
  }

  .viz-amo {
    width: 100%;
    max-width: 26rem;
    transform: none;
  }
}

@media (max-width: 720px) {
  .case {
    position: relative;
    top: auto;
    padding-bottom: 1.15rem;
  }

  .case__surface {
    grid-template-columns: 1fr;
    box-shadow: 0 10px 28px rgba(20, 12, 50, 0.1);
  }

  .case__visual {
    grid-column: auto;
    order: -1;
    min-height: 11.5rem;
    max-height: 14rem;
    padding: 0.65rem 0.7rem;
  }

  .case__visual > * {
    transform: scale(0.9);
    transform-origin: center center;
  }

  .case__lead {
    padding: 0.9rem 0.85rem 0.55rem;
    gap: 0.45rem;
  }

  .case__headline {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .case__term {
    display: none;
  }

  .case__aside {
    padding: 0 0.85rem 0.9rem;
  }

  .case__block + .case__block {
    margin-top: 0.65rem;
  }

  .probe__rail {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    pointer-events: auto;
    padding-bottom: 0.35rem;
  }

  .probe__track {
    padding-right: var(--pad-x);
  }

  .probe-card {
    scroll-snap-align: start;
  }

  .probe__tip {
    width: min(100% - 2 * var(--pad-x), var(--shell));
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .method-support {
    gap: 0.85rem;
    padding: 0;
  }

  .method-tile__title {
    font-size: 0.98rem;
  }

  .work-card {
    min-height: 0;
  }

  .work-card__surface {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  .work-card__surface > .case__visual {
    order: -1;
    min-height: 11.5rem;
    max-height: 14rem;
    border-left: 0;
    border-right: 0;
  }

  .marquee {
    padding-block: 0;
    gap: 0;
  }

  .marquee__row {
    padding-block: 1.05rem;
  }

  .marquee__row--rev {
    display: block;
    padding-block: 1.05rem;
    border-top: 1px solid rgba(26, 26, 26, 0.06);
  }

  .marquee__track {
    gap: 1.6rem;
    padding-inline: 0.75rem;
    font-size: 0.68rem;
  }

  /* Моб: сворачиваем «Что сделали» / «Что обнаружили» / «Результат» */
  .case__list--inline:not(.is-open) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }

  .case__list--result:not(.is-open) > li:nth-child(n + 2),
  .case__list--found:not(.is-open) > li:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-row > .btn--ghost {
    order: -1;
  }

  .hero__cta-primary {
    align-items: stretch;
  }

  .btn--primary,
  .btn--ghost {
    width: 100%;
  }

  .hero__tip {
    width: min(calc(100% - 1.25 * var(--pad-x)), 15.25rem);
    margin-left: auto;
    margin-right: -1.5rem;
    margin-bottom: -2.5rem;
  }

  .hero__tip p {
    font-size: 0.92rem;
  }

  .bio__media {
    margin-bottom: -2.25rem;
  }

  body {
    padding-bottom: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow,
  .hero__portrait,
  .hero__content,
  .hero__tip {
    animation: none !important;
  }
}

/* —— Case more link —— */
.case__more {
  display: inline-flex;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  text-decoration: none;
  border-bottom: 1px solid rgba(89, 78, 195, 0.35);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.case__more:hover {
  color: var(--color-bg-deep);
  border-bottom-color: var(--color-bg);
}

/* —— Formats / pricing —— */
.formats {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: #f6f6f6;
  color: var(--color-ink);
}

.formats__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.formats__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem 2.5rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.formats__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.formats__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.formats__lead {
  margin: 0;
  max-width: 28rem;
  justify-self: end;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: rgba(10, 10, 10, 0.72);
}

.formats__lead p {
  margin: 0 0 0.55rem;
}

.formats__lead-mark {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.formats__lead-mark .ico-spark {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: var(--color-lime);
}

.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.format-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 24rem;
  padding: 1.85rem 1.45rem 1.7rem;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 4px;
  color: var(--color-ink);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.format-card:hover {
  transform: translateY(-5px);
  border-color: rgba(89, 78, 195, 0.18);
  box-shadow: 0 16px 36px rgba(20, 12, 60, 0.1);
}

.formats__grid > .format-card:nth-child(2),
.formats__grid > .format-card:nth-child(3) {
  background: #fff;
}

.formats__variant {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}

.formats-detail {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: clamp(2rem, 4vh, 3rem);
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.formats-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.format-detail {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.55rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(89, 78, 195, 0.14);
  border-radius: 4px;
  color: var(--color-ink);
  box-shadow: 0 0 0 1px rgba(89, 78, 195, 0.04);
}

.format-detail__kind {
  margin: 0;
  width: fit-content;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.12);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--color-bg-deep);
}

.format-detail__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.85vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.format-detail__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.78);
}

.format-detail__mark {
  font-style: normal;
  font-weight: 500;
  color: var(--color-bg-deep);
  padding: 0.05em 0.22em;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.1);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.format-detail__result {
  display: grid;
  gap: 0.35rem;
}

.format-detail__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg-deep);
}

.format-detail__result p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.format-detail__when {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  background: rgba(89, 78, 195, 0.07);
  border: 1px solid rgba(89, 78, 195, 0.12);
  border-radius: 3px;
}

.format-detail__when-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg-deep);
}

.format-detail__when p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.78);
}

.format-detail__note {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg-deep);
}

.format-detail__meta {
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(89, 78, 195, 0.14);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.format-detail__meta span:last-child {
  font-size: 0.84rem;
  color: rgba(10, 10, 10, 0.55);
}

.format-detail .format-card__cta--solid {
  margin-top: 0.35rem;
}

.format-card--rich {
  min-height: 0;
  gap: 1.45rem;
  padding: 1.2rem 1.15rem 1.25rem;
}

.format-card--rich .format-card__top {
  margin-bottom: 0;
  padding-bottom: 0.55rem;
  justify-content: space-between;
}

.format-card--rich .format-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 1.85vw, 1.72rem);
  line-height: 1.2;
}

.format-card--rich .format-card__kind {
  color: var(--color-bg-deep);
}

.format-card__callout {
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.1);
  border: 1px solid rgba(89, 78, 195, 0.16);
  font-size: 0.9rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--color-bg-deep);
  font-weight: 500;
}

.format-card--partner .format-card__cta--solid {
  margin-top: 0.15rem;
}

.format-card__block {
  display: grid;
  gap: 0.28rem;
}

.format-card__block-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.format-card--rich .format-card__block-l {
  color: var(--color-bg-deep);
}

.format-card__fold {
  gap: 0;
}

.format-card__fold-sum {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.format-card__fold-sum::-webkit-details-marker {
  display: none;
}

.format-card__fold-sum::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-bg-deep);
}

.format-card__fold[open] .format-card__fold-sum::after {
  content: "−";
}

.format-card__fold .format-card__block-text {
  margin-top: 0.5rem;
}

.format-card__block-l--dotted {
  border-bottom: 1px dotted currentColor;
  padding-bottom: 0.08em;
}

.format-card__list,
.format-card__stages,
.format-card__checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.format-card__list {
  gap: 0.4rem;
}

.format-card__stages,
.format-card__checks {
  gap: 0.28rem;
}

.format-card__block-text,
.format-card__fit-text,
.format-card__stages li,
.format-card__checks li {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.74);
}

.format-card__list li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0.7rem 0.55rem 1.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 10, 10, 0.06);
  font-size: 0.94rem;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.78);
}

.format-card__list li::before {
  content: "";
  position: absolute;
  left: 0.68rem;
  top: 0.92rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 1px;
  background: var(--color-bg);
  box-shadow: 0 0 0 2px rgba(89, 78, 195, 0.18);
}

.format-card__fit-em {
  font-weight: 500;
  color: inherit;
}

.format-card__fit-notes {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.format-card__fit-notes .format-card__block-l {
  margin: 0;
}

.format-card__stages li strong {
  font-weight: 500;
  color: var(--color-ink);
}

.format-card__checks li {
  position: relative;
  padding-left: 1.25rem;
}

.format-card__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-bg);
  font-weight: 600;
}

.format-card__chip {
  display: inline;
  font-style: normal;
  font-weight: 500;
  color: var(--color-bg-deep);
  padding: 0.08em 0.28em;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.1);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.format-card__fit {
  display: grid;
  gap: 0.28rem;
  padding: 0.7rem 0.75rem;
  background: rgba(10, 10, 10, 0.03);
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.format-card__fit-text {
  color: rgba(10, 10, 10, 0.66);
  font-size: 0.9rem;
  line-height: 1.3;
}

.format-card__sep {
  font-weight: 700;
  color: var(--color-ink);
  padding: 0 0.1em;
}

.format-card--rich .format-card__meta {
  margin-top: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.format-card--rich .format-card__meta span:last-child {
  color: rgba(10, 10, 10, 0.55);
  font-size: 0.8rem;
  font-weight: 500;
}

.format-card__action {
  display: grid;
  gap: 0.45rem;
}

.format-card__cta-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(10, 10, 10, 0.55);
}

.format-card__top {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  margin-bottom: 1.55rem;
}

.format-card__kind {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}

.format-card__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(10, 10, 10, 0.38);
}

.format-card__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.format-card__text {
  margin: 0 0 0.85rem;
  min-height: 2.9em;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.72);
}

.format-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: auto;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.format-card__old {
  margin-right: 0.35em;
  color: rgba(10, 10, 10, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-weight: 500;
}

.format-card__meta .format-card__price {
  color: #594ec3;
}

.format-card__meta > span:last-child:not(:only-child) {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.55);
}

.format-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.format-card__cta:hover {
  opacity: 0.72;
}

.format-card__cta--solid {
  appearance: none;
  align-self: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--color-bg);
  color: #fff;
  cursor: pointer;
}

.format-card__cta--solid:hover {
  opacity: 1;
  background: var(--color-bg-deep);
  color: #fff;
}

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

  .formats__lead {
    justify-self: start;
  }

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

  .format-card {
    min-height: 0;
  }

  .formats-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* —— FAQ —— */
.faq {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 7vh, 5.5rem) 0;
  background: #fff;
  color: var(--color-ink);
}

.faq__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem 3rem;
  align-items: start;
}

.faq__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.faq__title {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.faq__item {
  margin: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-bg);
}

.faq__item[open] .faq__q::after {
  content: "−";
}

.faq__a {
  padding: 0 0 1.25rem;
  max-width: 42rem;
}

.faq__a p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.72);
}

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

/* —— Contact —— */
.contact {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 8vh, 6rem) 0;
  background: var(--color-bg);
  color: #fff;
}

.contact__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.contact__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.contact__title {
  margin: 0 0 0.75rem;
  max-width: 14em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.contact__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.01em;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  text-transform: none;
  letter-spacing: -0.01em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: rgba(211, 249, 138, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form__btn,
.contact__meet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
}

.contact-form__btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.35rem;
}

.contact__meet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact__meet-l {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
}

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 5.5rem;
}

.contact__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #1c183d;
  clip-path: polygon(0 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 0 100%);
}

.contact__photo img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: top center;
}

.contact__ways {
  list-style: none;
  margin: 0;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(10, 10, 10, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.contact__ways li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.contact__ways-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact__ways a,
.contact__ways span:not(.contact__ways-l) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.contact__ways a:hover {
  color: var(--color-lime);
}

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

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

  .contact__photo img {
    max-height: 22rem;
  }
}

/* —— Footer —— */
.footer {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.25rem 0 2rem;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -28deg,
    transparent 0,
    transparent 14px,
    rgba(255, 255, 255, 0.05) 14px,
    rgba(255, 255, 255, 0.05) 15px
  );
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 34%, transparent 68%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 34%, transparent 68%);
}

.footer__shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #fff;
  text-decoration: none;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.footer__tag {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.footer__nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--color-lime);
}

.footer__ai {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--color-lime);
  cursor: pointer;
}

.footer__ai:hover {
  color: #fff;
}

.goals-modal.ai-modal {
  width: min(calc(100% - 2rem), 46rem);
}

.ai-modal__panel {
  max-height: min(88vh, 48rem);
  overflow: auto;
}

.ai-modal__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ai-modal__lead,
.ai-modal__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(10, 10, 10, 0.68);
}

.ai-modal__idea {
  margin: 1.15rem 0 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.ai-modal__block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ai-modal__h {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.ai-modal__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.ai-modal__card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  background: #f6f4ef;
  border-radius: 4px;
}

.ai-modal__card strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.ai-modal__card span {
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(10, 10, 10, 0.62);
}

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

.voice-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.voice-modal__btn {
  width: 100%;
  min-height: 3.1rem;
  justify-content: center;
  box-sizing: border-box;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer__legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.22);
}

.footer__policy {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__policy:hover {
  color: var(--color-lime);
}

/* —— Case page —— */
.case-page {
  background: #f6f6f6;
  color: var(--color-ink);
}

.case-page .header {
  background: var(--color-header);
}

.case-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(2.5rem, 5vh, 3.5rem);
  background:
    radial-gradient(ellipse 55% 70% at 12% 40%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(165deg, var(--color-bg-soft) 0%, var(--color-bg) 48%, var(--color-bg-deep) 100%);
  color: #fff;
}

.case-hero__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: end;
}

.case-hero__back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.case-hero__back:hover {
  color: var(--color-lime);
}

.case-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.case-hero__title {
  margin: 0 0 1rem;
  max-width: 18em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.case-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-hero__meta li {
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}

.case-hero__viz {
  margin: 0;
  min-height: 16rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.case-body {
  padding: clamp(2.5rem, 5vh, 4rem) 0 clamp(3.5rem, 7vh, 5.5rem);
}

.case-body__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.case-body__main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.case-section {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

.case-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.case-section p,
.case-section li {
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgba(10, 10, 10, 0.82);
}

.case-section p {
  margin: 0;
}

.case-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.case-section li {
  position: relative;
  padding-left: 1rem;
}

.case-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--color-bg);
}

.case-body__aside {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  background: #0a0a0a;
  color: #fff;
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

.case-body__aside-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.case-body__aside a {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-btn);
  background: var(--color-lime);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.case-body__aside a:hover {
  background: #fff;
}

.case-page .footer {
  margin-top: 0;
}

@media (max-width: 960px) {
  .case-hero__shell,
  .case-body__shell {
    grid-template-columns: 1fr;
  }

  .case-body__aside {
    position: static;
  }
}

.policy-page {
  min-height: 100vh;
  background: #f6f6f6;
  color: var(--color-ink);
}

.policy {
  width: min(100% - 2 * var(--pad-x), 46rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.policy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  letter-spacing: -0.025em;
}

.policy p {
  margin: 0 0 1rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.78);
}

.policy a {
  color: var(--color-bg);
}

/* —— Floating bottom-right actions —— */
.float-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
}

.float-dock__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 12, 60, 0.18);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}

.float-dock__btn svg {
  flex: 0 0 auto;
}

.float-dock__btn:hover {
  background: var(--color-page);
  border-color: rgba(89, 78, 195, 0.35);
  box-shadow: 0 14px 32px rgba(20, 12, 60, 0.22);
  transform: translateY(-1px);
}

.float-dock__btn--tg {
  background: #fff;
  color: var(--color-ink);
}

.float-dock__btn--tg svg {
  color: #2aabee;
}

.float-dock__btn--tg:hover {
  background: #f3fbff;
  border-color: rgba(42, 171, 238, 0.45);
}

.float-dock__btn--call {
  background: var(--color-lime);
  border-color: transparent;
  color: var(--color-ink);
  box-shadow: 0 12px 28px rgba(89, 78, 195, 0.18);
}

.float-dock__btn--call svg {
  color: var(--color-ink);
}

.float-dock__btn--call:hover {
  background: var(--color-lime-btn);
  border-color: transparent;
  color: var(--color-ink);
}

@media (max-width: 560px) {
  .float-dock {
    right: 0;
    bottom: 0;
    left: 0;
    gap: 0;
    justify-content: stretch;
  }

  .float-dock__btn {
    flex: 1 1 0;
    min-height: 3.1rem;
    padding: 0.85rem 0.7rem;
    font-size: 0.74rem;
    border-radius: 0;
    box-shadow: none;
  }

  .float-dock__btn--call {
    box-shadow: none;
  }
}

/* —— Goals modal —— */
.goals-modal {
  width: min(calc(100% - 2rem), 30rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-ink);
}

.goals-modal::backdrop {
  background: rgba(20, 16, 50, 0.55);
  backdrop-filter: blur(4px);
}

.goals-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 1.55rem 1.45rem 1.4rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(10, 6, 40, 0.28);
}

.goals-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  appearance: none;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(10, 10, 10, 0.45);
  cursor: pointer;
}

.goals-modal__close:hover {
  color: var(--color-ink);
}

.goals-modal__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 1.75rem 0.15rem 0;
}

.goals-modal__photo {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #1c183d;
  border: 2px solid rgba(89, 78, 195, 0.35);
  box-shadow: 0 8px 20px rgba(20, 16, 50, 0.18);
}

.goals-modal__who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.goals-modal__who strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.goals-modal__who span {
  font-size: 0.84rem;
  color: rgba(10, 10, 10, 0.55);
}

.goals-modal__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.goals-modal__goal {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 6px;
  background: var(--color-page);
  border: 1px solid rgba(89, 78, 195, 0.18);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.goals-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.goals-modal__field input,
.goals-modal__field textarea {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 4px;
  background: #f6f6f6;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  outline: none;
  resize: vertical;
}

.goals-modal__field input:focus,
.goals-modal__field textarea:focus {
  border-color: rgba(89, 78, 195, 0.55);
  background: #fff;
}

.goals-modal__btn {
  align-self: flex-start;
  margin-top: 0.15rem;
}

.goals-modal__channel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.goals-modal__channel-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 4px;
  background: #f6f6f6;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.goals-modal__channel-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.goals-modal__channel-opt:has(input:checked) {
  background: #fff;
  border-color: rgba(89, 78, 195, 0.55);
  box-shadow: inset 0 -0.16rem 0 var(--color-bg);
}

.goals-modal__channel-opt:hover {
  border-color: rgba(89, 78, 195, 0.35);
}

.thanks-modal__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.thanks-modal__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.62);
}

/* —— Issue modal —— */
.issue-modal {
  width: min(calc(100% - 2rem), 32rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-ink);
}

.issue-modal .goals-modal__channel {
  text-transform: none;
  letter-spacing: 0;
}

.issue-modal::backdrop {
  background: rgba(20, 16, 50, 0.55);
  backdrop-filter: blur(4px);
}

.issue-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 1.5rem 1.4rem 1.4rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 48px rgba(10, 6, 40, 0.28);
  clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% 100%, 0 100%);
}

.issue-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  appearance: none;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: rgba(10, 10, 10, 0.45);
  cursor: pointer;
}

.issue-modal__close:hover {
  color: var(--color-ink);
}

.issue-modal__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.issue-modal__title {
  margin: 0;
  max-width: none;
  padding: 0.85rem 0.95rem;
  border-radius: 6px;
  background: var(--color-page);
  border: 1px solid rgba(89, 78, 195, 0.18);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  text-wrap: balance;
}

.issue-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.issue-modal__field input,
.issue-modal__field textarea {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 4px;
  background: #f6f6f6;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  outline: none;
  resize: vertical;
}

.issue-modal__field input:focus,
.issue-modal__field textarea:focus {
  border-color: rgba(89, 78, 195, 0.55);
  background: #fff;
}

.issue-modal__btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* —— Cases index —— */
.cases-index {
  background: #f6f6f6;
  color: var(--color-ink);
  min-height: 100vh;
}

.cases-index__hero {
  padding: calc(var(--header-h) + 3.25rem) 0 2rem;
  background:
    radial-gradient(ellipse 55% 70% at 18% 40%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(165deg, var(--color-bg-soft) 0%, var(--color-bg) 48%, var(--color-bg-deep) 100%);
  color: #fff;
}

.cases-index__shell {
  width: min(100% - 2 * var(--pad-x), var(--shell));
  margin-inline: auto;
}

.cases-index__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
}

.cases-index__title {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cases-index__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: clamp(2rem, 4vh, 3rem) 0 4rem;
}

.cases-index-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 16rem;
  padding: 1.25rem 1.3rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cases-index-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(20, 12, 50, 0.1);
}

.cases-index-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cases-index-card__tags span {
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  background: rgba(89, 78, 195, 0.1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-bg);
}

.cases-index-card__tags span.is-ai {
  background: var(--color-bg);
  color: var(--color-lime);
}

.cases-index-card h2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cases-index-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.62);
}

.cases-index-card__more {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-bg);
}

@media (max-width: 860px) {
  .cases-index__grid {
    grid-template-columns: 1fr;
  }
}
