/* Сайт v4 — разделы главной: «Опыт», «Чем полезен», «Подход», «Обо мне», «Лаборатория», «Контакт» (исполнитель «Разделы главной»).
   Разметка собирается node site/home/build-sections.mjs из site/content/home.json. Классы с префиксом sx-; общие (.wrap .sec .rule .link .key …) — из base.css.
   Свои переменные: --from/--to (указатель разделителя), --sx-yf/--sx-yc/--sx-aw/--sx-rw (уровни «Опыта»), --y (указатель линейки уровней),
   --n (положение рубильника), --sx-lc/--sx-jx (схема «Подхода»), --px/--py/--pa (указатель на схеме), --s (стадия плитки). */

@property --at { syntax: '<number>'; inherits: true; initial-value: 1; }

/* ======================= общее ======================= */
/* разделитель: указатель приезжает с места прошлого раздела */
.rule.sx-rule { --at: var(--from); margin-bottom: 64px; }
/* вход в раздел: 96 px до линейки (телефон 64), 64 px от линейки до названия (телефон 40) */
.sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab, .sec.sx-contact { padding-top: 96px; }
/* «Контакт»: главная фигура — три слова, название раздела тихое и небольшое */
.rule.sx-rule.is-in, html:not(.js) .rule.sx-rule { --at: var(--to); }
html.js .rule.sx-rule.draw-in { transition: clip-path 0.8s var(--ease), --at 0.9s var(--ease) 0.15s; }

.sx-nb { white-space: nowrap; }
/* свои чертежи (.sx-draw): длину штриха ставит sections.js, линии дочерчиваются по очереди; без JS — сразу целиком */
.sx-draw.is-armed path { transition: stroke-dashoffset 1s var(--ease) calc(var(--d, 0) * 1s); }

.sx-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: end; margin-bottom: 96px; }
.sx-head .sec-title { margin: 0; }
.sx-head__lead { justify-self: end; max-width: 26em; padding-bottom: 8px; }

/* ======================= Опыт — путь уровнями ======================= */
.sx-path { --sx-yf: clamp(72px, 5.2vw, 112px); --sx-yc: calc(var(--sx-yf) * 2.8); --sx-aw: clamp(400px, 31.5vw, 600px); --sx-rw: 56px; }
.sx-lvls { position: relative; }
.sx-lvls__ruler {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--sx-rw); color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 12px) 0 0 / 8px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 60px) 0 0 / 16px 100% no-repeat;
  opacity: 0.55;
}
.sx-lvls__ptr {
  position: absolute; left: 0; top: 0; width: 20px; height: 14px; margin-top: -7px;
  background: var(--accent); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%);
  transform: translateY(var(--y, 0px)); transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  opacity: 0;
}
.sx-lvls.is-live .sx-lvls__ptr { opacity: 1; }
.sx-lvls.is-live .sx-lvls__ruler { opacity: 1; }
.sx-lvls__list { list-style: none; margin: 0; padding: 0 0 0 calc(var(--sx-rw) + 24px); }
.sx-lv { position: relative; }
/* главная риска уровня на линейке */
.sx-lv::before {
  content: ""; position: absolute; top: 50%; left: calc(-1 * (var(--sx-rw) + 24px)); width: calc(var(--sx-rw) - 8px); height: 1px;
  background: var(--muted); transition: background-color 0.25s, width 0.4s var(--ease);
}
.sx-lv.is-act::before { background: var(--ink); width: calc(var(--sx-rw) + 8px); }

.sx-lv__a {
  display: grid; grid-template-columns: var(--sx-yc) minmax(0, 1fr) var(--sx-aw);
  grid-template-areas: "yr body art";
  column-gap: 40px; padding-block: 24px;
  color: inherit; text-decoration: none; border-top: 1px solid var(--line);
}
.sx-lv:last-child .sx-lv__a { border-bottom: 1px solid var(--line); }
a.sx-lv__a { cursor: pointer; }
a.sx-lv__a:focus-visible { outline-offset: -2px; border-radius: var(--r-key); }
.sx-lv__yr {
  grid-area: yr; align-self: center; padding-top: 0;   /* круг 26.11 (ночь): год — по центру своей строки */
  font-family: var(--f-head); font-size: var(--sx-yf); line-height: 0.84; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 75, "wght" 170; font-weight: 170; font-variant-numeric: lining-nums;
  color: var(--muted); white-space: nowrap; transition: color 0.4s var(--ease);
}
.sx-lv.is-act .sx-lv__yr, html:not(.js) .sx-lv__yr { color: var(--ink); }
/* «2025–26» в две строки, «сейчас» чуть мельче — колонка года узкая, коридор до текста 96–120 px */
.sx-lv__y2 { display: block; margin-top: 0.08em; }
.sx-lv[data-key="now"] .sx-lv__yr { font-size: calc(var(--sx-yf) * 0.84); }
.sx-lv__body { grid-area: body; align-self: start; padding-top: 16px; max-width: 34em; }
/* должность тем же размером, что итог (24), но тише: в строке три размера — 13 · 24 · 32 */
.sx-lv__role { margin-top: 8px; font: 400 var(--s-lead)/1.3 var(--f-text); color: var(--muted); }
.sx-lv__res { margin-top: 24px; font: 500 var(--s-lead)/1.35 var(--f-text); color: var(--ink); text-wrap: pretty; }
.sx-lv__open { margin-top: 16px; pointer-events: none; }
.sx-lv__art { grid-area: art; position: relative; align-self: center; aspect-ratio: 3 / 2; margin-block: -16px; }
.sx-lv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0.55; transition: opacity 0.4s var(--ease); }
.sx-lv.is-act .sx-lv__img, html:not(.js) .sx-lv__img { opacity: 1; }
.sx-lv__art:has(.sx-live.is-3d) .sx-lv__img { opacity: 0; }
/* живой чертёж — один на раздел, переезжает в активную строку */
.sx-live { position: absolute; inset: 0; }
.sx-live .sc3d-img { opacity: 1; }
/* шторка сцены года: как .draw-in из base.css, но порог и запуск — свои (sections.js), чтобы на телефоне открывать на уровне глаз */
html.js .sx-wipe:not(.is-in) { clip-path: inset(0 100% 0 0); }
html.js .sx-wipe { transition: clip-path 0.8s var(--ease); }
.sx-lv { scroll-margin-top: calc(var(--hdr) + 24px); }
/* телефонные элементы — на компьютере скрыты */
.sx-win__asia, .sx-labm, .sx-lv__sk, .sx-start__vptr, .sx-lv__om, .sx-final__fill { display: none; }
/* уровень без страницы короче */
.sx-lv--short .sx-lv__art { width: 72%; justify-self: end; }

/* ======================= Чем полезен — рубильник ======================= */
/* круг 25.11b: рубильник ниже и уже (64 px, 520–640 px) — справа от названия на одной линии; раздел помещается в экран 1920×950 */
.sx-use__hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 40px; margin-bottom: 72px; }
.sx-use__hd .sec-title { margin: 0; }
.sx-sw {
  --n: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: clamp(520px, 33vw, 640px); height: 64px; margin: 0 0 4px; padding: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--r-key); background: var(--bg);
}
/* мерные риски вдоль дорожки */
.sx-sw::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px);
}
.sx-sw__thumb {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--ink); border-radius: var(--r-key);
  transform: translateX(calc(var(--n) * 100%)); transition: transform 0.5s var(--ease);
}
/* насечка-ручка на ползунке */
.sx-sw__thumb::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 20px; margin-top: -10px;
  background: repeating-linear-gradient(90deg, var(--bg) 0 1px, transparent 1px 4px); opacity: 0.45;
}
.sx-sw__opt {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0 24px; background: none; border: 0; border-radius: var(--r-key); cursor: pointer;
  font-family: var(--f-head); font-size: 22px; line-height: 1;
  font-variation-settings: "wdth" 100, "wght" 600; font-weight: 600; letter-spacing: -0.005em;
  color: var(--muted); transition: color 0.3s var(--ease);
}
.sx-sw__opt[aria-selected="true"] { color: var(--bg); cursor: default; }
.sx-sw__opt:focus-visible { outline-offset: -6px; }

.sx-tracks { display: grid; }
.sx-track { grid-area: 1 / 1; min-width: 0; }
.sx-track:focus-visible { outline-offset: 8px; }
.sx-track__lbl { display: none; }
/* заголовок трека — тихий рядом с громким названием: 40–48 px, насыщенность 650 */
.sx-track__title { max-width: 24em; margin-bottom: 48px; font-size: clamp(40px, 2.5vw, 48px); line-height: 1.08; }
.sx-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: 48px; }
.sx-col { border-top: 1px solid var(--line); padding-top: 24px; padding-right: 40px; }
.sx-col__w {
  font-family: var(--f-head); font-size: 24px; line-height: 1.2;
  font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
}
.sx-col__t { margin-top: 12px; max-width: 30em; }
.sx-track__title.sx-roll { margin-bottom: 48px; }
.sx-track__foot { color: var(--text); }
.sx-track__foot .link { margin-left: 16px; }
/* перекат строк 0,3 с */
.sx-roll { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.sx-roll > span { display: block; transition: transform 0.3s var(--ease) calc(var(--d, 0) * 1s); }
html.js .sx-track:not(.is-on) { visibility: hidden; transition: visibility 0s 0.4s; }
html.js .sx-track:not(.is-on) .sx-roll > span { transform: translateY(110%); }
html.js .sx-track.is-out .sx-roll > span { transform: translateY(-110%); transition-delay: 0s; }
html.js .sx-track.no-tr .sx-roll > span { transition: none; }
html:not(.js) .sx-sw { display: none; }
html:not(.js) .sx-tracks { display: block; }
html:not(.js) .sx-track + .sx-track { margin-top: 96px; }
html:not(.js) .sx-track__lbl { display: block; margin-bottom: 16px; }

/* ======================= Подход — схема-маршрут ======================= */
.sx-route { --sx-lc: 120px; position: relative; }
.sx-route__hd, .sx-node { display: grid; grid-template-columns: minmax(0, 7fr) var(--sx-lc) minmax(0, 4fr); column-gap: 24px; }
.sx-route__cap { grid-column: 3; padding-bottom: 24px; font-size: var(--s-note); line-height: 1.4; color: var(--muted); }
.sx-route__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; }
.sx-route__ghost { stroke: var(--draw); stroke-opacity: 0.28; stroke-width: 1; stroke-dasharray: 3 7; }
.sx-route__line { stroke: var(--draw); stroke-width: 1.6; stroke-linejoin: round; }
.sx-route__ptr {
  position: absolute; left: 0; top: 0; z-index: 2; width: 14px; height: 18px; margin: -18px 0 0 -7px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%);
  transform-origin: 7px 18px; transform: translate(var(--px, 0px), var(--py, 0px)) rotate(var(--pa, 0deg));
  opacity: 0; transition: opacity 0.25s;
}
.sx-route.is-live .sx-route__ptr { opacity: 1; }
.sx-route__nodes { list-style: none; margin: 0; padding: 0; }
.sx-node { --sx-jx: -16px; padding-block: 64px; }
.sx-node:nth-child(even) { --sx-jx: 16px; }
.sx-node:first-child { padding-top: 40px; }
.sx-node > * { transition: opacity 0.45s var(--ease); }
/* неактивные узлы: крупный вопрос на 50% (крупный текст, контраст ≥ 3:1), ответ — тихим цветом (≥ 4.5:1), не прозрачностью */
html.js .sx-route.is-live .sx-node:not(.is-act) .sx-node__q { opacity: 0.5; }
html.js .sx-route.is-live .sx-node:not(.is-act) .sx-node__lbl,
html.js .sx-route.is-live .sx-node:not(.is-act) .sx-node__t { color: var(--muted); }
.sx-node__lbl, .sx-node__t { transition: color 0.45s var(--ease); }
.sx-node__q {
  font-family: var(--f-head); font-size: var(--s-h2); line-height: 1.08; letter-spacing: -0.01em;
  font-variation-settings: "wdth" 75, "wght" 300; font-weight: 300; color: var(--ink); text-wrap: balance;
}
.sx-node__mk {
  position: relative; justify-self: center; align-self: start; width: 18px; height: 18px;
  margin-top: calc(var(--s-h2) * 0.54 - 9px); transform: translateX(var(--sx-jx));
  border: 1px solid var(--draw); background: var(--bg-deep);
}
/* поперечная риска станции */
.sx-node__mk::before { content: ""; position: absolute; left: -16px; right: -16px; top: 50%; height: 1px; background: var(--draw); opacity: 0.5; }
.sx-node__mk i { position: absolute; inset: 3px; background: var(--ink); transform: scale(0); transition: transform 0.35s var(--ease); }
.sx-node.is-act .sx-node__mk i, .sx-node.is-past .sx-node__mk i, html:not(.js) .sx-node__mk i { transform: none; }
.sx-node.is-past:not(.is-act) .sx-node__mk i { opacity: 0.6; }
.sx-node--end .sx-node__mk { outline: 1px solid var(--draw); outline-offset: 4px; }
.sx-node__a { padding-top: calc(var(--s-h2) * 0.54 - 18px); }
.sx-node__lbl {
  font-family: var(--f-head); font-size: var(--s-lead); line-height: 1.3;
  font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
}
.sx-node__t { margin-top: 8px; max-width: 30em; }
/* итог маршрута: крупнее */
.sx-node--end .sx-node__t { font: 500 var(--s-lead)/1.35 var(--f-text); color: var(--ink); max-width: 26em; }
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-node--end .sx-node__q { display: none; }
  .sx-node--end .sx-node__mk { grid-column: 2; grid-row: 1; }
  .sx-node--end .sx-node__a { grid-column: 1; grid-row: 1; padding-top: calc(var(--s-h2) * 0.54 - 22px); }
  .sx-node--end .sx-node__t { font-size: var(--s-h3); line-height: 1.3; max-width: 24em; }
}

/* ======================= Обо мне — окно ======================= */
/* круг 25.11b: всё на одной сетке из 12 колонок. Цитата (тихий голос) → статусы тремя равными колонками →
   журнальный разворот: «О работе» (1–5) · «Путь» (6–9) · место под фото (10–12), верхи на одной линии, над каждой частью
   своя линия и подпись 13 px → «Вне работы» — четыре равные ячейки от поля до поля. */
.sx-about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.sx-about__quote {
  grid-column: 1 / span 9; grid-row: 1; margin: 0; max-width: 17em;
  font-size: clamp(48px, 3.75vw, 72px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
}
/* статусы и фото — внутри карточки-пропуска (круг 27.11d, часть A; раскладка компьютера — в конце файла) */
.sx-photo { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.sx-win {
  grid-column: 1 / span 8; grid-row: 3; margin-top: 64px; padding-block: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px;
  border-block: 1px solid var(--line);
}
.sx-win__l { font: 500 var(--s-text)/1.3 var(--f-text); color: var(--text); }
.sx-win__t { margin-top: 8px; font-size: clamp(40px, 3vw, 56px); line-height: 1; color: var(--ink); white-space: nowrap; }
.sx-day { grid-column: 1 / -1; padding-top: 16px; }
.sx-day__rail {
  position: relative; height: 16px; color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 24)) 0 0 / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 4)) 0 0 / 100% 12px no-repeat;
}
.sx-day__rail::after { content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 12px; background: currentColor; }
.sx-day__span { position: absolute; top: 0; height: 8px; left: 0; width: 0; background: color-mix(in srgb, var(--draw) 45%, transparent); display: none; }
.sx-day__ptr {
  position: absolute; top: -2px; left: 0; width: 12px; height: 16px; margin-left: -6px; display: none;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%);
}
.sx-day.is-live .sx-day__ptr, .sx-day.is-live .sx-day__span { display: block; }
.sx-day__h { position: relative; height: 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: var(--s-note); color: var(--muted); }
.sx-day__h li { position: absolute; top: 0; transform: translateX(-50%); }
.sx-day__h li:nth-child(1) { left: 0; transform: none; }
.sx-day__h li:nth-child(2) { left: 25%; }
.sx-day__h li:nth-child(3) { left: 50%; }
.sx-day__h li:nth-child(4) { left: 75%; }
.sx-day__h li:nth-child(5) { left: 100%; transform: translateX(-100%); }
.sx-about__off { grid-column: 8 / span 5; grid-row: 4; max-width: 26em; margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); font: 500 var(--s-lead)/1.35 var(--f-text); color: var(--ink); }
.sx-about__offl { display: block; margin-bottom: 8px; }

/* ======================= Лаборатория — стенд ======================= */
/* круг 25.11b: шкала стадий во всю ширину (идея · прототип · демо · стенд · пилот · в работе), под ней на тонких выносках
   три вещи: Content OS — главная (6 колонок, экран приложения в рамке-чертеже), CRM и ОС руководителя — по 3 колонки.
   Выноски и места засечек считает build-sections.mjs (--x, inline left/width). */
/* круг 27.11d (L): засечки стадий отступают от концов шкалы на --lab-p (приём линейки первого экрана, --rl-pad), все шесть подписей —
   по центру своих засечек; мелкие деления — плитка шириной в шаг между стадиями (8 делений), начиная с первой засечки, поэтому
   они в одной сетке с засечками и продолжаются в поля. Центр каждой риски и выноски — ровно на своей координате (margin-left −0,5 px). */
.sx-lab__grid { --lab-p: 48px; position: relative; }
.sx-scale { position: relative; }
.sx-scale__l { position: relative; height: 20px; margin: 0 0 10px; padding: 0; list-style: none; font-size: var(--s-note); line-height: 1.45; color: var(--muted); }
.sx-scale__l li { position: absolute; top: 0; left: calc(var(--lab-p) + (100% - 2 * var(--lab-p)) * var(--k) / 5); transform: translateX(-50%); white-space: nowrap; }
.sx-scale__l li.is-on { color: var(--ink); }
.sx-scale__rail {
  --lab-step: calc((100% - 2 * var(--lab-p)) / 5);
  position: relative; height: 16px; color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12.5%) calc(var(--lab-p) - 0.5px) 100% / var(--lab-step) 5px repeat-x;
}
/* засечки стадий: высокие риски; стадия, где что-то стоит, — светлая и с квадратом-узлом */
.sx-scale__rail i { position: absolute; bottom: 0; left: calc(var(--lab-p) + (100% - 2 * var(--lab-p)) * var(--k) / 5); width: 1px; height: 12px; margin-left: -0.5px; background: currentColor; }
.sx-scale__rail i.is-on { height: 16px; background: var(--ink); }
.sx-scale__rail i.is-on::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 9px; height: 9px; box-sizing: border-box; border: 1px solid var(--ink); background: var(--bg-deep); }
/* выноски: вниз от засечки → горизонталь посередине → вниз до верхней границы плашки; узел 7 px центром на этой границе */
.sx-wires { position: relative; height: 72px; }
.sx-w { position: absolute; display: block; background: color-mix(in srgb, var(--draw) 55%, transparent); }
.sx-w--v { width: 1px; margin-left: -0.5px; }
.sx-w--up { top: 0; height: 50%; }
.sx-w--dn { top: 50%; bottom: 0; }
.sx-w--h { top: 50%; height: 1px; margin-left: -0.5px; }
.sx-w__end { position: absolute; bottom: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--draw); }
.sx-w__end--main { background: var(--accent); }
.sx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.sx-card { min-width: 0; }
.sx-card__a { display: block; color: inherit; text-decoration: none; padding-top: 24px; border-top: 1px solid var(--line); }
a.sx-card__a:focus-visible { outline-offset: 8px; }
/* главная: экран в рамке-чертеже с размерными выносками; без файла — линейный рисунок на сетке */
/* экран — в тёмном паспарту на мерной сетке (светлый снимок не кричит на графите), вокруг — засечки и размерные линии */
.sx-shot {
  position: relative; margin: 0 24px 48px 0; padding: 16px; border: 1px solid color-mix(in srgb, var(--draw) 35%, transparent);
  background:
    linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px) 0 0 / 16px 16px;
}
.sx-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0; filter: brightness(0.86) saturate(0.9); transition: filter 0.3s var(--ease); }
.sx-shot--art { padding: 0; border: 0; background: none; }
.sx-shot__dim { position: absolute; pointer-events: none; color: var(--muted); }
.sx-shot__dim--x { left: 0; right: 0; bottom: -17px; height: 9px; border-inline: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat; }
.sx-shot__dim--y { top: 0; bottom: 0; right: -17px; width: 9px; border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat; }
/* уголки рамки — засечки чертежа */
.sx-shot::before, .sx-shot::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; border: 0 solid var(--draw); }
.sx-shot::before { left: -7px; top: -7px; border-left-width: 1px; border-top-width: 1px; }
.sx-shot::after { right: -7px; top: -7px; border-right-width: 1px; border-top-width: 1px; }
.sx-shot--art::before, .sx-shot--art::after { display: none; }
.sx-lab__art, .sx-note__art {
  aspect-ratio: 360 / 164;
  background:
    linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px) 0 0 / 24px 24px;
}
.sx-lab__art svg, .sx-note__art svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; }
.sx-lab__art path, .sx-note__art path { stroke: var(--draw); stroke-opacity: 0.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke-opacity 0.25s; }
.sx-lab__art path { stroke-width: 0.5; }
.sx-lab__art path.o { stroke: var(--accent); stroke-opacity: 1; stroke-width: 0.75; }
.sx-note__art { margin-bottom: 24px; }
.sx-note__art path { stroke-width: 1; }
.sx-note__art path.o { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.3; }
.sx-card__b { display: flex; flex-direction: column; align-items: flex-start; }
.sx-card__n { font-family: var(--f-head); font-size: 24px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink); text-wrap: balance; }
.sx-card__n.h3 { font-size: var(--s-h3); }
.sx-card__l { margin-top: 8px; max-width: 30em; color: var(--text); text-wrap: pretty; }
.sx-card--main .sx-card__l { max-width: 26em; font: 500 var(--s-lead)/1.35 var(--f-text); }
/* стадию на компьютере показывает шкала; подпись нужна только в узком окне, где выносок нет */
.sx-card__s { display: none; margin-top: 12px; font-size: var(--s-note); line-height: 1.4; color: var(--muted); }
.sx-tile__go { margin-top: 16px; pointer-events: none; }

/* ======================= Контакт и финал ======================= */
.sx-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.sx-way { min-width: 0; padding-top: 40px; border-top: 1px solid var(--line); }
.sx-way__w {
  margin-bottom: 40px; color: var(--ink); white-space: nowrap;
  font-family: var(--f-head); font-size: clamp(64px, 5.6vw, 112px); line-height: 0.95; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 75, "wght" 200; font-weight: 200;
}
.sx-way__l { list-style: none; margin: 0; padding: 0; }
.sx-way__l li + li { margin-top: 8px; }
/* финал сразу следом за «Рекомендациями» (25.11): 96 px сверху, 96 px под клавишей до подвала */
.sx-final {
  margin-top: 96px; margin-bottom: calc(-1 * var(--sec));
  display: flex; flex-direction: column; justify-content: flex-start; padding-block: 0 96px;
}
.sx-final__call { max-width: 15em; font-size: var(--s-section); line-height: 1; color: var(--ink); text-wrap: balance; }
.sx-final__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 64px; }
.sx-final__sub { max-width: 24em; }
.sx-final__key { flex: none; }

/* ======================= Опыт: несколько проектов у уровня «сейчас» ======================= */
.sx-lv__proj { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 32px; }

/* ======================= Обо мне: вводная, текст, «вне работы» рисунками ======================= */
/* разворот: подписи частей — линия и 13 px над каждой частью; верх вводной, абзацев и рамки — на одной горизонтали */
.sx-sp__lbl { grid-row: 3; margin: 64px 0 0; padding-top: 16px; min-height: 1px; border-top: 1px solid var(--line); }
.sx-sp__lbl--a { grid-column: 1 / span 5; }
.sx-sp__lbl--b { grid-column: 6 / span 4; }
.sx-about__lead { grid-column: 1 / span 5; grid-row: 4; align-self: start; max-width: 19em; margin-top: 24px; padding-right: 16px; font: 500 30px/1.3 var(--f-text); letter-spacing: -0.005em; color: var(--ink); text-wrap: pretty; }
.sx-about__text { grid-column: 6 / span 4; grid-row: 4; align-self: start; max-width: 62ch; margin-top: 24px; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.sx-about__text p + p { margin-top: 16px; }
/* вводная и три доказательства — общей колонкой 1–5, список на 40 px ниже вводной */
.sx-about__intro { grid-column: 1 / span 5; grid-row: 4; align-self: start; min-width: 0; padding-right: 16px; }
.sx-about__intro .sx-about__lead { padding-right: 0; }
.sx-proof { display: block; max-width: 34em; margin: 40px 0 0; padding: 0; list-style: none; }
.sx-proof__it { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; align-items: center; min-height: 64px; padding-block: 10px; }
.sx-proof__it + .sx-proof__it { border-top: 1px solid var(--line); }
.sx-proof__n {
  justify-self: start; width: fit-content; max-width: 100%;
  font-family: var(--f-head); font-size: 44px; line-height: 1; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112, "wght" 800; font-weight: 800; color: var(--ink); white-space: nowrap;
}
.sx-proof__t { font: 400 17px/1.4 var(--f-text); color: var(--text); text-wrap: pretty; }
/* «контур → заливка», как у названий разделов (base.css, .sec-title.tt-arm), по очереди с шагом 0,12 с — компьютер и телефон */
html.js .sx-proof.is-armed .sx-proof__n {
  --tt-f: 0;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--draw) 72%, transparent);
  background-image: linear-gradient(90deg, var(--ink) calc(var(--tt-f) * 112% - 12%), transparent calc(var(--tt-f) * 112%));
  -webkit-background-clip: text; background-clip: text;
  transition: --tt-f 0.7s cubic-bezier(0.45, 0, 0.2, 1) calc(var(--i, 0) * 0.12s), -webkit-text-stroke-color 0.3s var(--ease) calc(0.55s + var(--i, 0) * 0.12s);
}
html.js .sx-proof.is-armed.is-in .sx-proof__n { --tt-f: 1; -webkit-text-stroke-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  html.js .sx-proof.is-armed .sx-proof__n { transition-duration: 0.3s, 0.15s; transition-delay: calc(var(--i, 0) * 0.12s), calc(0.2s + var(--i, 0) * 0.12s); }
}
.sx-off { grid-column: 1 / -1; grid-row: 5; margin-top: 96px; }
.sx-off__lbl { margin: 0 0 16px; font: 500 var(--s-note)/1.45 var(--f-text); color: var(--muted); }
/* четыре равные ячейки строго по сетке: левый край первой = левое поле, правый край четвёртой = правое поле.
   Над каждой ячейкой — своя линия во всю ширину ячейки; рисунок в одинаковой площадке 160×120 у левого нижнего угла, подпись ровно под ним */
.sx-off__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.sx-off__it { min-width: 0; padding-top: 32px; border-top: 1px solid var(--line); }
.sx-off__art { width: 160px; height: 120px; }
.sx-off__art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sx-off__art path { fill: none; stroke: var(--draw); stroke-opacity: 0.8; stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.sx-off__art path.o { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.1; }
.sx-off__t { margin-top: 16px; font-family: var(--f-head); font-size: 20px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink); }
.sx-off__n { margin-top: 8px; max-width: 22em; font: 400 var(--s-ui, 15px)/1.4 var(--f-text); color: var(--muted); text-wrap: pretty; }

/* ======================= Как со мной работать: линейка «Как начнём» ======================= */
/* Круг 25.11b. Силуэт: громкое название → мерная линейка во всю ширину с четырьмя засечками и оранжевым указателем →
   под ней все четыре шага сразу, каждый — колонка под своей засечкой (номер, заголовок шага, строка 18 px).
   Прокрутка ведёт указатель и подсвечивает активную колонку (остальные 60 %), ничего не подменяет.
   Затем тихая строка «Условия» на той же сетке, «Рекомендации», финал. */
.sx-contact .sec-title { margin-bottom: 96px; }
.sx-start { --p: 0; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sx-start__top { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sx-start__lbl { margin: 0; }
.sx-start__cnt { margin: 0; font-size: var(--s-note); line-height: 1.4; color: var(--muted); }
.sx-start__cnt b { font-weight: 400; color: var(--ink); }
/* линейка: основание, мелкие риски через 1/80, средние через 1/8; засечки шагов — у левого края своих колонок */
.sx-start__rail {
  grid-column: 1 / -1; grid-row: 2; position: relative; height: 44px; color: var(--muted);
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(100% / 80)) 0 100% / 100% 7px no-repeat;
}
.sx-start__rail::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 14px; background: currentColor; }
.sx-start__tk { position: absolute; bottom: 0; left: calc((100% + var(--gap)) * var(--k) / var(--n)); width: 1px; height: 26px; background: var(--ink); opacity: 0.7; }
/* указатель: полоса во всю ширину сдвигается на долю --p, сам знак — её ::before (двигается только transform) */
.sx-start__ptr { position: absolute; left: 0; right: 0; top: 0; height: 22px; transform: translateX(calc(var(--p) * 100%)); transition: transform 0.12s linear; }
.sx-start__ptr::before { content: ""; position: absolute; left: -7.5px; top: 0; width: 16px; height: 22px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
.sx-start.is-jump .sx-start__ptr { transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
html:not(.js) .sx-start__ptr { display: none; }
/* шаги — четыре колонки под линейкой */
.sx-start__list { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.sx-st { min-width: 0; padding-top: 28px; transition: opacity 0.35s var(--ease); }
.sx-st__stop {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; margin: 0; padding: 0 24px 0 0;
  background: none; border: 0; border-radius: var(--r-key); color: var(--ink); text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sx-st__n { font: 400 var(--s-note)/1.4 var(--f-mono); color: var(--muted); }
.sx-st__t {
  font-family: var(--f-head); font-size: clamp(26px, 1.75vw, 32px); line-height: 1.1; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112, "wght" 850; font-weight: 850; color: var(--ink); text-wrap: balance;
  min-height: 2.2em;   /* два ряда у всех: строки шагов начинаются на одной линии */
}
.sx-st__stop:focus-visible { outline-offset: 6px; }
.sx-st__stop:active .sx-st__t { transform: translateY(1px); }
.sx-st__body { padding-right: 24px; }
.sx-st__x { margin-top: 16px; max-width: 22em; font: 400 18px/1.5 var(--f-text); color: var(--text); text-wrap: pretty; }
@media (min-width: 1360px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-start.is-live .sx-st:not(.is-act) { opacity: 0.6; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1360px) {
  .sx-start.is-live .sx-st:not(.is-act):hover { opacity: 0.85; }
}
/* «Условия» — тихая строка из трёх пунктов на той же сетке: подпись под первым шагом, пункты — под шагами 2–4 */
.sx-cond { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); }
.sx-cond__lbl { margin: 0; }
.sx-cond__list { display: contents; list-style: none; margin: 0; padding: 0; }
.sx-cond__list li { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 24px; }
.sx-cond__w { font-family: var(--f-head); font-size: 20px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink); }
.sx-cond__l { font: 400 var(--s-ui, 15px)/1.4 var(--f-text); color: var(--muted); }
/* узкий компьютер: шаги в две колонки, линейка и указатель не нужны — все шаги одинаково яркие */
@media (max-width: 1359px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-start__rail, .sx-start__cnt { display: none; }
  .sx-start__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 1px solid var(--line); }
  .sx-st { padding-top: 24px; }
  .sx-cond { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
/* «Рекомендации»: крупные листы-чертежи слева, текст справа */
.sx-refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; margin-top: 96px; padding-block: 32px; border-block: 1px solid var(--line); }
/* текст «Рекомендаций» — с левого края второй колонки шагов (та же сетка из четырёх) */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) { .sx-refs__b { grid-column: 2 / -1; } }
.sx-refs__sheets { display: block; width: min(100%, 260px); }
.sx-refs__sheets svg { display: block; width: 100%; height: auto; overflow: visible; }
.sx-refs__sheets path { fill: none; stroke: var(--draw); stroke-opacity: 0.75; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sx-refs__sheets path.f { fill: var(--bg); stroke-opacity: 0.9; }
.sx-refs__sheets path.o { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.4; }
.sx-refs__lbl { margin: 0 0 8px; }
.sx-refs__t { margin: 0; max-width: 26em; font: 500 24px/1.35 var(--f-text); color: var(--ink); }
.sx-refs__n { margin-top: 16px; color: var(--text); }
.sx-refs__b .link { margin-top: 8px; }

/* ======================= узкий компьютер ======================= */
@media (max-width: 1279px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-path { --sx-aw: clamp(280px, 30vw, 400px); }
  .sx-route__hd, .sx-node { grid-template-columns: minmax(0, 6fr) 80px minmax(0, 5fr); }
  .sx-about__lead { font-size: 26px; }
  .sx-about__text { font-size: 17px; }
}
/* планшет (25.11d): доказательства под вводной той же колонкой, компактнее — колонка числа уже, текст 16 px */
@media (max-width: 1359px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-proof__it { grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; }
  .sx-proof__n { font-size: 36px; }
  .sx-proof__t { font-size: 16px; }
}
@media (max-width: 1023px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  /* узко: вводная во всю ширину, под ней «Путь» (1–8) и рамка (9–12) */
  .sx-sp__lbl--a { grid-column: 1 / -1; }
  .sx-sp__lbl--b { grid-row: 5; grid-column: 1 / span 8; margin-top: 48px; }
  .sx-about__lead { grid-column: 1 / -1; max-width: 24em; }
  .sx-about__intro { grid-column: 1 / -1; }
  .sx-about__text { grid-row: 6; grid-column: 1 / span 8; }
  .sx-off { grid-row: 7; }
  .sx-off__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 1023px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-lv__a { grid-template-columns: var(--sx-yc) minmax(0, 1fr); grid-template-areas: "yr body" "art art"; }
  .sx-lv__art { margin-top: 24px; max-width: 560px; width: 100%; }
  .sx-lv--short .sx-lv__art { width: 72%; justify-self: start; }
  .sx-ways { grid-template-columns: 1fr; row-gap: 64px; }
  .sx-wires { display: none; }
  .sx-scale { margin-bottom: 40px; }
  .sx-cards { row-gap: 56px; }
  .sx-card--main { grid-column: 1 / -1 !important; }
  .sx-card:not(.sx-card--main) { grid-column: span 6 !important; }
  .sx-card__s { display: block; }
  /* две вещи (круг 26.11): вторая во всю ширину — рисунок слева, текст справа, ряд не пустует */
  .sx-cards:not(:has(> :nth-child(3))) .sx-card:not(.sx-card--main) { grid-column: 1 / -1 !important; }
  .sx-cards:not(:has(> :nth-child(3))) .sx-card:not(.sx-card--main) .sx-card__a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
  .sx-cards:not(:has(> :nth-child(3))) .sx-card:not(.sx-card--main) .sx-note__art { margin-bottom: 0; }
  .sx-cols { grid-template-columns: 1fr; row-gap: 40px; }
}

/* ======================= телефон ======================= */
/* телефонная ветка — одна строка на весь сайт (бриф волны 2, PHONE_MQ); размеры — из токенов телефона (tokens.css) */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .rule.sx-rule { margin-bottom: 40px; }
  .sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab, .sec.sx-contact { padding-top: 64px; }
  .sx-lv__y2 { display: inline; margin: 0; }
  .sx-lv[data-key="now"] .sx-lv__yr { font-size: 72px; }
  .sx-head { grid-template-columns: 1fr; row-gap: 24px; margin-bottom: 48px; }
  .sx-head__lead { justify-self: start; padding: 0; }

  /* ---------- Опыт ---------- */
  .sx-path { --sx-rw: 16px; }
  .sx-lvls__list { padding-left: 32px; }
  /* линейка: риски на ::before, концы гаснут маской 48 px; указатель — над маской и не гаснет */
  .sx-lvls__ruler, .sx-lvls.is-live .sx-lvls__ruler { background: none; opacity: 1; }
  .sx-lvls__ruler::before {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat,
      repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 12px) 0 0 / 8px 100% no-repeat,
      repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 60px) 0 0 / 16px 100% no-repeat;
    -webkit-mask-image: linear-gradient(transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
  /* риска уровня — напротив середины цифры года: 32 (поле уровня) + 30 (полцифры) */
  .sx-lv::before { left: -32px; width: 10px; top: 62px; }
  .sx-lv.is-act::before { width: 24px; }
  /* указатель: за прокруткой — без задержки; при смене уровня — пружина и щелчок (классы ставит sections.js) */
  .sx-lvls__ptr { z-index: 1; width: 16px; height: 12px; margin-top: -6px; transition: none; }
  .sx-lvls__ptr.is-jump { transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
  .sx-lvls__ptr.is-click { animation: sx-click 0.3s var(--ease); }
  /* уровень короче: «2 / 6» в строке года вместо подписи «уровень N · год», поле 32, год → место 16 */
  .sx-lv__a {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "yr" "place" "role" "res" "art" "open" "proj";
    padding-block: 32px; column-gap: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .sx-lv__body { display: contents; }
  /* годы на телефоне всегда светлые; активный отмечают риска и указатель */
  .sx-lv__yr, .sx-lv.is-act .sx-lv__yr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; margin-top: 0; padding-top: 0; font-size: 72px; line-height: 0.84; white-space: normal; color: var(--ink); }
  .sx-lv__place { grid-area: place; margin-top: 16px; font-size: 20px; line-height: 1.15; hyphens: manual; }
  .sx-lv__role { grid-area: role; margin-top: 8px; font-size: var(--s-text); line-height: 1.4; }
  .sx-lv__res { grid-area: res; margin-top: 16px; font-size: var(--s-lead); }
  .sx-lv__open { grid-area: open; justify-self: start; margin-top: 16px; }
  .sx-lv__od { display: none; }
  .sx-lv__om { display: inline; }
  a.sx-lv__a:active .sx-lv__open::after { transform: translateX(4px); }
  a.sx-lv__a:active .sx-lv__yr { color: var(--accent); transition: none; }
  /* сцена: поле по ширине колонки; плотный телефонный кадр (-m) — 16:10, плоская 2024 — 2:1 */
  .sx-lv__art { margin: 24px 0 0; width: 100%; }
  .sx-lv--short .sx-lv__art { width: 100%; }
  .sx-lv__art--m { aspect-ratio: 16 / 10; }
  .sx-lv[data-key="2024"] .sx-lv__art--m { aspect-ratio: 2 / 1; }
  .sx-lv__img { opacity: 1; }
  /* сцены: шторка 1,1 с на уровне глаз + параллакс 0 → −20 px при проходе (--sx-py ставит sections.js);
     шторка — на картинке, а не на поле: поле не обрезано, и наблюдатель с threshold 0.5 видит его честно */
  html.js .sx-wipe, html.js .sx-wipe:not(.is-in) { clip-path: none; transition: none; translate: 0 var(--sx-py, 0px); }
  html.js .sx-wipe .sx-lv__img { transition: clip-path 1.1s var(--ease); clip-path: inset(0); }
  html.js .sx-wipe:not(.is-in) .sx-lv__img { clip-path: inset(0 100% 0 0); }
  html.js .sx-wipe.is-svg .sx-lv__img { clip-path: none; transition: none; }
  .sx-wipe.is-svg-wait .sx-lv__img:not(.sx-lv__sk) { visibility: hidden; }
  /* «карандашный набросок»: до порога та же сцена на 0,14 — поле не пустое; по порогу поверх проявляется шторкой (или штрихом у пробы) */
  html.js .sx-wipe .sx-lv__img.sx-lv__sk, html.js .sx-wipe:not(.is-in) .sx-lv__img.sx-lv__sk { display: block; opacity: 0.14; clip-path: none; transition: opacity 0.3s var(--ease); }
  /* заготовка нужна только до рисунка (27.11e G): шторка дошла (1,1 с) или сцена ожила — копии не видно, иначе под качающимся холстом второй контур */
  html.js .sx-wipe.is-in .sx-lv__img.sx-lv__sk { opacity: 0; transition-delay: 1.1s; }
  html.js .sx-wipe:has(.sx-live.is-3d) .sx-lv__img.sx-lv__sk { opacity: 0; transition-delay: 0s; }

  /* ---------- Где я пригожусь ---------- */
  .sx-use__hd { display: block; margin-bottom: 48px; }
  .sx-use__hd .sec-title { margin-bottom: 32px; }
  .sx-sw { width: 100%; height: 56px; margin: 0; }
  .sx-sw__opt { font-size: 20px; padding: 0 8px; }
  .sx-sw__thumb::before { display: none; }
  .sx-sw::after { bottom: 6px; height: 5px; }
  /* порядок: заголовок трека → фраза про удалёнку (вводная) → роли */
  .sx-track { display: flex; flex-direction: column; }
  .sx-track__lbl { order: 0; }
  .sx-track__title, .sx-track__title.sx-roll { order: 1; margin-bottom: 16px; font-size: var(--s-h2); line-height: 1.1; }
  .sx-track__foot { order: 2; margin-bottom: 48px; font: 500 var(--s-lead)/1.35 var(--f-text); color: var(--ink); text-wrap: pretty; }
  .sx-track__foot .link { margin-left: 0; }
  .sx-cols { order: 3; grid-template-columns: 1fr; row-gap: 48px; margin-bottom: 0; }
  .sx-col__w { font-size: 20px; }
  .sx-col__t { margin-top: 8px; text-wrap: pretty; }
  html:not(.js) .sx-track { display: flex; }

  /* ---------- Подход ---------- */
  /* прямая вертикаль: без сдвига узлов; подъём по ступеням — размером квадратов 14 → 16 → 18, итог 24 */
  .sx-route { --sx-lc: 32px; }
  .sx-route__hd { grid-template-columns: var(--sx-lc) minmax(0, 1fr); column-gap: 16px; }
  .sx-route__cap { grid-column: 2; }
  .sx-node, .sx-node:nth-child(even) {
    --sx-jx: 0px; --mk: 16px; grid-template-columns: var(--sx-lc) minmax(0, 1fr); grid-template-areas: "mk q" "mk a";
    column-gap: 16px; padding-block: 40px;
  }
  .sx-node:nth-child(1) { --mk: 14px; }
  .sx-node:nth-child(3) { --mk: 18px; }
  .sx-node--end, .sx-node--end:nth-child(even) { --mk: 24px; }
  .sx-node__q { grid-area: q; font-size: var(--s-h2); line-height: 1.12; }
  .sx-node--end .sx-node__q { display: none; }
  /* центр квадрата — на середине первой строки вопроса */
  .sx-node__mk { grid-area: mk; width: var(--mk); height: var(--mk); margin-top: calc(var(--s-h2) * 0.56 - var(--mk) / 2); }
  .sx-node__mk::before { left: -8px; right: -8px; }
  .sx-node--end .sx-node__mk { margin-top: calc(var(--s-h2) * 0.55 - 12px); }
  .sx-node--end .sx-node__mk i { inset: 4px; background: var(--accent); }
  .sx-node__a { grid-area: a; padding-top: 24px; }
  .sx-node--end .sx-node__a { padding-top: 0; }
  .sx-node__lbl { font-size: var(--s-lead); }
  /* гасим только будущие узлы; пройденные: вопрос 0,8, текст обычным цветом */
  html.js .sx-route.is-live .sx-node.is-past .sx-node__q { opacity: 0.8; }
  html.js .sx-route.is-live .sx-node.is-past .sx-node__lbl,
  html.js .sx-route.is-live .sx-node.is-past .sx-node__t { color: var(--text); }
  html.js .sx-route.is-live .sx-node.is-past .sx-node__lbl { color: var(--ink); }
  .sx-node.is-past:not(.is-act) .sx-node__mk i { opacity: 1; }
  /* итог «Масштаб»: заголовок громким голосом, текст вводной */
  .sx-node--end .sx-node__lbl, html.js .sx-route.is-live .sx-node--end:not(.is-act) .sx-node__lbl {
    font-size: var(--s-h2); line-height: 1.1; font-variation-settings: "wdth" 112, "wght" 850; font-weight: 850; letter-spacing: -0.02em; color: var(--ink);
  }
  .sx-node--end .sx-node__t, html.js .sx-route.is-live .sx-node--end:not(.is-act) .sx-node__t { margin-top: 16px; font: 500 var(--s-lead)/1.35 var(--f-text); color: var(--ink); }

  /* ---------- Обо мне ---------- */
  /* колонка на всю ширину: разделители и блоки до правого поля */
  /* раскладка блока на телефоне — в конце файла («Обо мне на телефоне, 25.11c») */
  .sx-about__quote { font-size: 30px; line-height: 1.08; }

  /* ---------- Лаборатория: общая линейка стадий и три строки ---------- */
  .sx-lab__grid { display: none; }
  .sx-labm { display: block; }
  .sx-labm__stage { padding-top: 24px; }
  .sx-labm__rail {
    position: relative; height: 12px; color: var(--muted);
    background:
      linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
      repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc((100% - 1px) / 8)) 0 100% / 100% 5px no-repeat,
      repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc((100% - 1px) / 2)) 0 100% / 100% 10px no-repeat;
  }
  .sx-labm__rail::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 10px; background: currentColor; }
  .sx-labm__p { position: absolute; top: -4px; left: calc(6px + (100% - 12px) * var(--x) / 100 + var(--dx, 0px)); width: 12px; height: 14px; margin-left: -6px; }
  .sx-labm__p::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
  .sx-labm__p.is-main::before { background: var(--accent); }
  .sx-labm__p b { position: absolute; bottom: 100%; left: 50%; margin-bottom: 4px; transform: translateX(-50%); font: 500 var(--s-note)/1 var(--f-mono); color: var(--muted); }
  .sx-labm__p.is-main b { color: var(--ink); }
  .sx-labm__s { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 8px 0 0; padding: 0; list-style: none; font-size: var(--s-note); line-height: 1.4; color: var(--muted); }
  .sx-labm__s li:nth-child(2) { text-align: center; }
  .sx-labm__s li:nth-child(3) { text-align: right; }
  .sx-labm__rows { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .sx-labm__r {
    display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; column-gap: 12px; align-items: center;
    min-height: 72px; padding-block: 12px; border-bottom: 1px solid var(--line);
    color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.12s;
  }
  .sx-labm__k { align-self: start; padding-top: 5px; font-size: var(--s-note); line-height: 1.4; color: var(--muted); }
  .sx-labm__r.is-main .sx-labm__k { color: var(--ink); }
  .sx-labm__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .sx-labm__n { font-family: var(--f-head); font-size: 20px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink); }
  .sx-labm__l { font: 400 var(--s-ui, 15px)/1.4 var(--f-text); color: var(--muted); text-wrap: pretty; }
  .sx-labm__go { display: flex; justify-content: flex-end; transition: transform 0.12s; }
  .sx-labm__go svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
  a.sx-labm__r:active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
  a.sx-labm__r:active .sx-labm__go { transform: translateX(4px); }

  /* ---------- Как со мной работать ---------- */
  /* финал без пустот: 96 над призывом, 96 под клавишей до подвала (нижнее поле раздела = --sec = 96) */
  .sx-final { min-height: 0; justify-content: flex-start; margin-top: 96px; margin-bottom: 0; padding-block: 0; }
  .sx-final__call { font-size: clamp(34px, 11vw, 48px); line-height: 1; }
  .sx-final__row { flex-direction: column; align-items: stretch; gap: 40px; margin-top: 40px; }
  .sx-final__key { width: 100%; }
}
/* ======================= телефон: движение (волна 3) ======================= */
/* Классы ставит sections.js в телефонной ветке; без JS — сразу конечный вид; при «меньше движения» — короче (блок ниже). */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  /* строки из-под маски: окно .sx-ln, внутри едет .sx-lt (0,6 с, шаг 70 мс, не больше 4 строк) */
  .sx-ln { display: block; overflow: hidden; padding-block: 0.12em; margin-block: -0.12em; }
  .sx-lt { display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 70ms); }
  .sx-mv:not(.is-in) .sx-lt { transform: translateY(110%); }
  /* финал: строки призыва → подпись → клавиша поднимается на 16 px → оранжевая заливка пробегает слева направо */
  .sx-final.sx-mv .sx-final__sub { transition: opacity 0.45s var(--ease) 0.3s, translate 0.45s var(--ease) 0.3s; }
  .sx-final.sx-mv:not(.is-in) .sx-final__sub { opacity: 0; translate: 0 16px; }
  .sx-final.sx-mv .sx-final__key { background: transparent; border-color: var(--accent); color: var(--on-accent); transition: transform 0.45s var(--ease) 0.45s, color 0.2s linear 0.8s; }
  .sx-final.sx-mv:not(.is-in) .sx-final__key { transform: translateY(16px); color: var(--ink); }
  .sx-final.sx-mv .sx-final__fill { display: block; position: absolute; inset: -1px; z-index: -1; background: var(--accent); clip-path: inset(0 100% 0 0); transition: clip-path 0.45s var(--ease) 0.6s; }
  .sx-final.sx-mv.is-in .sx-final__fill { clip-path: inset(0); }
  /* «Чем полезен»: при первом появлении строки ролей приезжают снизу (0,5 с, второй строке — +0,06 с) */
  html.js .sx-use.is-armed .sx-track.is-on .sx-roll:not(.is-up) > span { transform: translateY(110%); }
  html.js .sx-use.is-armed .sx-roll > span { transition-duration: 0.5s; transition-delay: 0s; }
  html.js .sx-use.is-armed .sx-track__foot.sx-roll > span, html.js .sx-use.is-armed .sx-col__t.sx-roll > span { transition-delay: 0.06s; }
}
/* ======================= телефон: круг 25.11 (Опыт, Обо мне, Как со мной работать) ======================= */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  /* Опыт: проекты «сейчас» — в две колонки, каждая ссылка с зоной 44 px */
  .sx-lv__proj { grid-area: proj; display: flex; flex-wrap: wrap; column-gap: 24px; margin-top: 8px; }
  .sx-lv__proj .link { white-space: nowrap; }
  .sx-lv__proj .link { font-size: var(--s-text); }

  /* Обо мне: раскладка — в конце файла; здесь только толщина линий рисунков и подписи «вне работы» */
  .sx-sp__lbl { display: none; }
  .sx-about__quote { max-width: none; }
  .sx-off__art path { stroke-width: 1.2; }
  .sx-off__art path.o { stroke-width: 1.5; }
  .sx-off__t { margin-top: 12px; font-size: 18px; }
  .sx-off__n { font-size: var(--s-note); max-width: 16em; }

  /* Как со мной работать: шаги — короткая вертикальная линейка слева, условия — три строки, письма — в ряд с текстом */
  .sx-contact .sec-title { margin-bottom: 32px; }
  .sx-start { display: block; }
  .sx-start__top { margin-bottom: 8px; }
  .sx-start__cnt { display: none; }
  .sx-start__rail { display: none; }
  html.js .sx-start__list, .sx-start__list { position: relative; display: block; margin: 0; padding: 0 0 0 32px; }
  .sx-start__list::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 30px; width: 1px; background: var(--draw); opacity: 0.45; }
  html.js .sx-st, .sx-st { position: relative; display: block; padding-block: 12px; }
  .sx-st::before {
    content: ""; position: absolute; left: -32px; top: 19px; width: 14px; height: 14px; box-sizing: border-box;
    border: 1px solid var(--draw); background: var(--bg); transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .sx-st.is-past::before { background: var(--ink); border-color: var(--ink); }
  .sx-st.is-act::before { background: var(--accent); border-color: var(--accent); }
  html.js .sx-st__stop, .sx-st__stop {
    flex-direction: row; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 0; margin: -10px 0; text-align: left;
    font-family: var(--f-head); font-size: 20px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
  }
  .sx-st__n { font-family: var(--f-mono); font-weight: 400; font-variation-settings: normal; color: var(--muted); }
  .sx-start.is-live .sx-st:not(.is-act):not(.is-past) .sx-st__t { color: var(--muted); }
  html.js .sx-st__body, .sx-st__body { opacity: 1; translate: none; visibility: visible; margin: 0; padding: 0; transition: none; }
  html.js .sx-st__h { display: none; }
  html.js .sx-st__x, .sx-st__x { margin-top: 4px; font: 400 var(--s-text)/1.5 var(--f-text); color: var(--text); }
  /* указатель на вертикали шагов: идёт за прокруткой, как в «Подходе» */
  .sx-start__vptr {
    display: block; position: absolute; left: -1px; top: 0; z-index: 1; width: 16px; height: 12px; margin-top: -6px;
    background: var(--accent); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%);
    transform: translateY(var(--py, 0px)); opacity: 0;
  }
  .sx-start.is-live .sx-start__vptr { opacity: 1; }
  html:not(.js) .sx-start__vptr { display: none; }
  .sx-cond { display: block; margin-top: 48px; padding-top: 0; border-top: 0; }
  .sx-cond__lbl { margin-bottom: 8px; }
  .sx-cond__list { display: block; }
  .sx-cond__list li { gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
  .sx-st__t { font: inherit; font-variation-settings: inherit; letter-spacing: 0; text-wrap: wrap; min-height: 0; }
  .sx-cond__w { font-size: 17px; }
  .sx-refs { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: start; margin-top: 48px; padding-block: 24px; }
  .sx-refs__sheets { width: 72px; margin: 4px 0 0; }
  .sx-refs__t { font-size: 18px; line-height: 1.35; text-wrap: balance; }
  .sx-refs__n { margin-top: 8px; font-size: var(--s-ui, 15px); }
  .sx-final { margin-top: 72px; }
}
/* узкий телефон (360 и уже) */
@media (max-width: 374px) {
  .sx-route { --sx-lc: 24px; }
  .sx-route__hd, .sx-node, .sx-node:nth-child(even) { column-gap: 12px; }
  .sx-node__q { font-size: 26px; }
  .sx-lvls__list { padding-left: 24px; }
  .sx-lv::before { left: -24px; }
}

/* ======================= наведение — только мышь (план 3.3) ======================= */
@media (hover: hover) and (pointer: fine) {
  a.sx-lv__a:hover .sx-lv__open { text-decoration-color: var(--ink); }
  a.sx-lv__a:hover .sx-lv__open::after { transform: translateX(4px); }
  .sx-sw__opt:hover { color: var(--ink); }
  a.sx-card__a:hover .sx-lab__art path:not(.o), a.sx-card__a:hover .sx-note__art path:not(.o) { stroke-opacity: 1; }
  a.sx-card__a:hover .sx-shot img { filter: none; }
  a.sx-card__a:hover .sx-tile__go { text-decoration-color: var(--ink); }
  a.sx-card__a:hover .sx-tile__go::after { transform: translateX(4px); }
}

/* ======================= меньше движения ======================= */
/* Политика 25.11: мягкое движение остаётся (проявление, дочерчивание, шторки, перекат строк), но на треть короче;
   выключаются параллакс, большие сдвиги и щелчок-качание указателя. */
@media (prefers-reduced-motion: reduce) {
  html.js .sx-wipe { translate: none !important; }
  .sx-lvls__ptr.is-click { animation: none; }
  html.js .sx-wipe { transition-duration: 0.53s !important; }
  html.js .sx-wipe .sx-lv__img:not(.sx-lv__sk) { transition-duration: 0.73s !important; }
  html.js .sx-wipe.is-in .sx-lv__img.sx-lv__sk { transition-delay: 0.73s; }
  html.js .sx-wipe.is-svg .sx-lv__img { transition: none !important; }
  .sx-draw.is-armed path { transition-duration: 0.67s !important; }
  .sx-roll > span, html.js .sx-use.is-armed .sx-roll > span { transition-duration: 0.33s !important; }
  .sx-lt { transition-duration: 0.4s !important; }
  .sx-lvls__ptr.is-jump, .sx-start.is-jump .sx-start__ptr { transition-duration: 0.33s !important; }
  html.js .rule.sx-rule.draw-in { transition-duration: 0.53s, 0.6s !important; }
}
@keyframes sx-click { 50% { scale: 1.2; } }

/* телефон, проход 25.11 */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  /* длинный год «2025–26» не упирается в счётчик «4 / 6» */
  .sx-lv[data-key="2025-26"] .sx-lv__yr, .sx-lv[data-key="2025-26"].is-act .sx-lv__yr,
  .sx-lv[data-key="2023"] .sx-lv__yr, .sx-lv[data-key="2023"].is-act .sx-lv__yr { font-size: 60px; }
  /* проекты уровня «сейчас» — ровным столбцом, а не как легли по ширине */
  .sx-lv__proj { display: grid; grid-template-columns: 1fr; row-gap: 0; }
}

/* ======================= Обо мне на телефоне (задание 25.11c) ======================= */
/* Карточка «фото 3:4 + три статуса равными полосами» → цитата → три доказательства → вводная и путь → «вне работы» по левому краю.
   Телефонная картинка на компьютере и планшете скрыта; список доказательств там стоит под вводной (25.11d).
   Появление — механизм .sx-draw (sections.js: .is-armed, при входе в экран .is-in); без JS — всё сразу видно. */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-about__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; align-items: start; }
  .sx-about__grid > *, .sx-about__intro > * { grid-column: 1 / -1; min-width: 0; }
  .sx-about__intro { display: contents; }

  /* карточка (25.11d) — цельная плашка над столом: подложка, рамка 1 px, поля 12 px, тень вниз;
     сверху строка роли, ниже фото слева и статусы справа — столбец ровно с фото; снаружи по углам — уголки-метки чертежа */
  /* вид плашки, уголков, роли и статусов — общий с компьютером (блок «Карточка-пропуск» сразу ниже); здесь только раскладка */
  .sx-about__card {
    grid-row: 1;
    display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); column-gap: 12px; row-gap: 12px; align-items: start;
  }
  .sx-about__role { grid-column: 1 / -1; grid-row: 1; }
  .sx-about__k { margin-bottom: 2px; }

  /* фото: фигура раскладывается в сетку карточки (display: contents) — рамка слева, подпись и раскрываемая строка — под фото и статусами */
  .sx-photo { display: contents; }
  .sx-photo__fr { grid-column: 1; grid-row: 2; align-self: start; }

  .sx-about__st {
    grid-column: 2; grid-row: 2; align-self: stretch;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0;
  }
  .sx-about__st li { padding: 8px 0 0; }

  /* цитата */
  .sx-about__quote { grid-row: 2; margin-top: 40px; max-width: none; font-size: 30px; line-height: 1.08; }

  /* три доказательства: число громким голосом, пояснение рядом; центр числа = центр пояснения (25.11d),
     колонка числа одной ширины, строки не ниже 72 px, линии между строками; «контур → заливка» — общее правило выше */
  .sx-proof { display: block; grid-row: 3; max-width: none; margin: 40px 0 0; padding: 0; list-style: none; }
  .sx-proof__it { grid-template-columns: 100px minmax(0, 1fr); column-gap: 20px; align-items: center; min-height: 72px; padding-block: 12px; }
  .sx-proof__n { font-size: 40px; }
  .sx-proof__t { font: 400 16px/1.35 var(--f-text); }

  /* вводная и путь */
  .sx-about__lead { grid-row: 4; max-width: none; margin-top: 40px; padding-right: 0; font-size: 20px; line-height: 1.4; }
  .sx-about__text { grid-row: 5; max-width: none; margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--text); }
  .sx-about__text p + p { margin-top: 16px; }

  /* вне работы: 2×2, всё по левому краю ячейки */
  .sx-off { grid-row: 6; margin-top: 56px; padding-top: 0; }
  .sx-off__lbl { margin-bottom: 16px; }
  .sx-off__row { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 24px; }
  .sx-off__it { padding-top: 16px; }
  .sx-off__art { width: 112px; max-width: 100%; height: auto; aspect-ratio: 120 / 96; }
  .sx-off__t { margin-top: 12px; }
  .sx-off__n { max-width: none; }

  /* узкое окно (360 и уже): фото чуть уже, чтобы третий статус не упирался в нижнюю линию */
  @media (max-width: 374px) {
    .sx-about__card { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); }
    .sx-about__st li { padding-top: 7px; }
    .sx-about__k { margin-bottom: 0; }
  }

}

/* ======================= «Обо мне»: карточка-пропуск — общий вид телефона и компьютера (круг 27.11d, часть A) =======================
   Цельная плашка над столом: подложка, рамка 1 px, поля 12 px, тень вниз; снаружи по углам — уголки-метки чертежа; строка роли;
   статусы через волосяные линии, одна оранжевая деталь — черта 20 px над «формат». Раскладка: телефон — блок выше,
   компьютер и планшет — конец файла. Появление — .sx-draw (sections.js: .is-armed → .is-in); без JS всё сразу видно. */
.sx-about__card {
  position: relative; padding: 12px; border: 1px solid var(--line); background: rgb(214 228 221 / 0.04);
  box-shadow: 0 24px 60px -30px rgb(0 0 0 / 0.8);
}
.sx-about__card > * { min-width: 0; }
.sx-about__card::before {
  --c: color-mix(in srgb, var(--draw) 60%, transparent);
  content: ""; position: absolute; inset: -7px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 10px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 10px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 10px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 10px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 10px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 10px no-repeat;
  transition: background-size 0.45s var(--ease);
}
/* уголки дочерчиваются первыми — пока фото не вошло в экран, штрихи нулевой длины */
.sx-about__card:has(.sx-photo__fr.is-armed:not(.is-in))::before { background-size: 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0, 0 1px, 1px 0; }
.sx-about__role { display: block; margin: 0; font: 400 13px/1.3 var(--f-mono); letter-spacing: 0; color: var(--muted); }
.sx-about__k { display: block; font: 400 13px/1.2 var(--f-mono); letter-spacing: 0; color: var(--muted); transition: color 0.5s var(--ease) calc(0.6s + var(--i, 0) * 0.15s); }
.sx-about__st.is-armed:not(.is-in) .sx-about__k { color: transparent; }
/* одна оранжевая деталь на карточку: черта 20 px на линии над «формат» (как у активной вкладки «Работ») */
.sx-about__st li:nth-child(2)::after {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 2px; background: var(--accent);
  transform-origin: 0 50%; transition: transform 0.4s var(--ease) 0.9s;
}
.sx-about__st.is-armed:not(.is-in) li:nth-child(2)::after { transform: scaleX(0); }
.sx-about__st { position: relative; margin: 0; padding: 0; list-style: none; }
.sx-about__st li {
  position: relative; min-width: 0; border-top: 0;
  font: 500 15px/1.25 var(--f-text); font-variation-settings: normal; letter-spacing: 0; color: var(--ink); text-wrap: balance;
  transition: color 0.5s var(--ease) calc(0.6s + var(--i, 0) * 0.15s);
}
.sx-about__st li::before, .sx-about__st::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: 0 50%;
}
.sx-about__st li::before { top: 0; transition: transform 0.5s var(--ease) calc(0.3s + var(--i, 0) * 0.15s); }
.sx-about__st::after { bottom: 0; transition: transform 0.5s var(--ease) 0.75s; }
.sx-about__st.is-armed:not(.is-in) li { color: transparent; }
.sx-about__st.is-armed:not(.is-in) li::before, .sx-about__st.is-armed:not(.is-in)::after { transform: scaleX(0); }
/* меньше движения: то же проявление за 0,3 с, без шторки */
@media (prefers-reduced-motion: reduce) {
  .sx-about__st li { transition: color 0.3s var(--ease) 0.1s; }
  .sx-about__st li::before, .sx-about__st::after, .sx-about__st li:nth-child(2)::after { transition: transform 0.3s var(--ease); }
  .sx-about__k { transition: color 0.3s var(--ease) 0.1s; }
  .sx-about__card::before { transition-duration: 0.3s; }
}

/* ======================= «Вне работы»: значок и подпись на одной оси (26.11) =======================
   Слова Александра: «иконки и надписи не отцентрированы… и на компьютере, и на телефоне». В каждой ячейке значок, подпись и
   пояснение стоят по центру ячейки, на одной вертикальной оси; рисунки внутри площадки тоже по центру (сдвиг в разметке)
   и на общей линии земли; четыре ячейки равной ширины, поэтому весь ряд симметричен относительно середины содержимого. */
.sx-off__it { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sx-off__art { flex: none; width: 160px; height: 128px; }
.sx-off__art svg { width: 100%; height: 100%; margin: 0; }
.sx-off__t { text-wrap: balance; }
.sx-off__n { margin-inline: auto; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-off__art { width: 112px; height: auto; aspect-ratio: 120 / 96; }
  .sx-off__n { max-width: 15em; }
}

/* ======================= «Чем полезен»: шесть направлений в дорожке (26.11) =======================
   Было три колонки-роли, стало шесть направлений: на компьютере 3 × 2, на телефоне — столбцом. */
.sx-cols { row-gap: 40px; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-cols { row-gap: 28px; }
}
/* шесть направлений: плотнее по вертикали на компьютере, чтобы дорожка с подписью помещалась в экран */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-track__title, .sx-track__title.sx-roll { margin-bottom: 36px; }
  .sx-cols { row-gap: 32px; margin-bottom: 36px; }
  .sx-col { padding-top: 20px; }
}
@media (min-width: 700px) and (max-width: 1599px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-col { padding-right: 20px; }
}

/* ===================================================================================================================
   Круг 26.11 (ночь), Часть H. Правила ниже перекрывают прежние там, где блок переделан.
   =================================================================================================================== */

/* ---------- H1. «Чем полезен»: слово стоит на разделительной линии по центру ячейки, текст под ним по центру ---------- */
/* линия разрывается под словом (поля 16 px): это две половины-псевдоэлемента по бокам слова, а не подложка —
   у раздела полупрозрачный фон с сеткой, сплошная заплатка была бы видна */
.sx-col, .sx-col:nth-child(n) { border-top: 0; padding: 0; text-align: center; }
.sx-col__w.sx-roll { display: flex; align-items: center; gap: 16px; }
.sx-col__w.sx-roll::before, .sx-col__w.sx-roll::after { content: ""; flex: 1 1 0; min-width: 20px; height: 1px; }
/* линия «загорается» у слова: по 20 px слева и справа — оранжевые, дальше обычная */
.sx-col__w.sx-roll::before { background: linear-gradient(to left, var(--accent) 0 20px, var(--line) 20px); }
.sx-col__w.sx-roll::after { background: linear-gradient(to right, var(--accent) 0 20px, var(--line) 20px); }
.sx-col__w.sx-roll > span { flex: none; max-width: calc(100% - 64px); }
.sx-col__t { max-width: min(100%, 34ch); margin-inline: auto; text-wrap: balance; }
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-col, .sx-col:nth-child(n) { padding: 0; }
  .sx-col__t { margin-top: 14px; }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-col__t { margin-top: 10px; text-wrap: balance; }
}

/* ---------- H2. «Подход»: оранжевый — пройденное ---------- */
/* линия до точки, где сейчас читатель, — оранжевая; узлы, до которых дошли, — оранжевые; подпись активного шага оранжевая,
   пройденных — цвета текста с короткой оранжевой меткой; будущие — тихие */
.sx-route__line { stroke: var(--accent); stroke-width: 1.4; }
.sx-node__mk, .sx-node__mk::before { transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), outline-color 0.35s var(--ease); }
.sx-node.is-act .sx-node__mk, .sx-node.is-past .sx-node__mk { border-color: var(--accent); }
.sx-node.is-act .sx-node__mk::before, .sx-node.is-past .sx-node__mk::before { background: var(--accent); opacity: 0.7; }
.sx-node.is-act .sx-node__mk i, .sx-node.is-past .sx-node__mk i, .sx-node.is-past:not(.is-act) .sx-node__mk i { background: var(--accent); opacity: 1; }
.sx-node--end.is-act .sx-node__mk { outline-color: var(--accent); }
html.js .sx-route.is-live .sx-node.is-act .sx-node__lbl { color: var(--accent); }
html.js .sx-route.is-live .sx-node.is-past:not(.is-act) .sx-node__lbl { color: var(--ink); }
html.js .sx-route.is-live .sx-node.is-past:not(.is-act) .sx-node__t { color: var(--text); }
.sx-node__lbl::before {
  content: ""; display: inline-block; width: 0; height: 2px; margin-right: 0; vertical-align: 0.32em; background: var(--accent);
  transition: width 0.35s var(--ease), margin-right 0.35s var(--ease);
}
html.js .sx-route.is-live .sx-node.is-past:not(.is-act) .sx-node__lbl::before { width: 14px; margin-right: 10px; }
/* итог «Масштаб» громким голосом — без метки */
.sx-node--end .sx-node__lbl::before { display: none; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-node--end.is-act .sx-node__lbl, html.js .sx-route.is-live .sx-node--end.is-act .sx-node__lbl { color: var(--accent); }
}

/* ---------- H4. «Обо мне»: настоящие подзаголовки «О работе» и «Путь» ---------- */
.sx-sp__lbl {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-size: 22px; line-height: 1.2; letter-spacing: -0.005em;
  font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
  padding-top: 20px;
}
.sx-sp__lbl::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--accent); }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) { .sx-sp__lbl { display: none; } }

/* ---------- H4. Фото: рамка 3:4, «раскрытие из центра», наклон за курсором, кнопка с раскрываемой строкой ---------- */
.sx-photo__fr {
  --rx: 0deg; --ry: 0deg; --tx: 0px; --ty: 0px;
  position: relative; display: block; flex: none; width: 100%; aspect-ratio: 3 / 4; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.7s var(--ease), scale 0.15s var(--ease);
}
.sx-photo__fr.is-tilt { transition: transform 0.25s var(--ease), scale 0.15s var(--ease); }
.sx-photo__fr.is-press { scale: 0.98; transition: transform 0.7s var(--ease), scale 0.08s ease-out; }
.sx-photo__fr:focus-visible { outline-offset: 10px; }
.sx-photo__clip { position: absolute; inset: 0; overflow: hidden; background: var(--bg-deep); clip-path: inset(0 0 0 0); }
.sx-photo__clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid color-mix(in srgb, var(--draw) 30%, transparent); }
/* картинка на 6 px больше рамки со всех сторон: смещение за курсором до 4 px не открывает край */
.sx-photo__mi {
  position: absolute; left: -6px; top: -6px; display: block; width: calc(100% + 12px); height: calc(100% + 12px); max-width: none;
  object-fit: cover; object-position: 50% 20%;
  translate: var(--tx) var(--ty); transition: translate 0.7s var(--ease);
}
.sx-photo__fr.is-tilt .sx-photo__mi { transition: translate 0.25s var(--ease), scale 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
/* уголки рамки — засечки чертежа снаружи, 14 px */
.sx-photo__c { position: absolute; width: 14px; height: 14px; pointer-events: none; border: 0 solid color-mix(in srgb, var(--draw) 70%, transparent); }
.sx-photo__c--tl { left: -8px; top: -8px; border-left-width: 1px; border-top-width: 1px; }
.sx-photo__c--tr { right: -8px; top: -8px; border-right-width: 1px; border-top-width: 1px; }
.sx-photo__c--bl { left: -8px; bottom: -8px; border-left-width: 1px; border-bottom-width: 1px; }
.sx-photo__c--br { right: -8px; bottom: -8px; border-right-width: 1px; border-bottom-width: 1px; }
/* блик: светлая диагональная полоса, один проход */
.sx-photo__glint { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sx-photo__glint::before {
  content: ""; position: absolute; top: -25%; left: -55%; width: 38%; height: 150%;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / 0.17) 50%, rgb(255 255 255 / 0));
  transform: rotate(18deg) translateX(-120%); opacity: 0;
}
/* вход: уголки 0–0,45 с → раскрытие от щели посередине 0,35–1,25 с и «отъезд» картинки 1,12 → 1 за 1,5 с → блик 1,3–2,1 с */
.sx-photo__fr.is-armed .sx-photo__c { transition: clip-path 0.45s var(--ease); }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__c--tl { clip-path: inset(0 100% 100% 0); }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__c--tr { clip-path: inset(0 0 100% 100%); }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__c--bl { clip-path: inset(100% 100% 0 0); }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__c--br { clip-path: inset(100% 0 0 100%); }
.sx-photo__fr.is-armed .sx-photo__clip { transition: clip-path 0.9s cubic-bezier(0.7, 0, 0.2, 1) 0.35s; }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__clip { clip-path: inset(50% 0 50% 0); }
.sx-photo__fr.is-armed .sx-photo__mi { transition: translate 0.7s var(--ease), scale 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
.sx-photo__fr.is-armed:not(.is-in) .sx-photo__mi { scale: 1.12; }
.sx-photo__fr.is-armed.is-in .sx-photo__glint::before { animation: sx-glint 0.8s cubic-bezier(0.45, 0, 0.25, 1) 1.3s both; }
@keyframes sx-glint {
  0% { transform: rotate(18deg) translateX(-120%); opacity: 1; }
  100% { transform: rotate(18deg) translateX(520%); opacity: 1; }
}
/* подпись — тоже переключатель; знак «+» превращается в «−» */
.sx-photo__cap {
  flex: none; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; cursor: pointer; user-select: none;
  font: 500 var(--s-note)/1.45 var(--f-text); color: var(--muted); transition: color 0.25s var(--ease);
}
.sx-photo__pm { position: relative; flex: none; width: 9px; height: 9px; }
.sx-photo__pm::before, .sx-photo__pm::after { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease); }
.sx-photo__pm::after { transform: rotate(90deg); }
.sx-photo.is-open .sx-photo__pm::after { transform: rotate(0deg); }
.sx-photo.is-open .sx-photo__cap { color: var(--ink); }
.sx-photo__more { flex: none; max-width: 26em; margin: 10px 0 0; font: 400 15px/1.5 var(--f-text); color: var(--text); text-wrap: pretty; }
html.js .sx-photo:not(.is-open) .sx-photo__more { display: none; }
html.js .sx-photo.is-open .sx-photo__more { animation: sx-more 0.45s var(--ease) both; }
@keyframes sx-more { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@media (hover: hover) and (pointer: fine) {
  .sx-photo__cap:hover { color: var(--ink); }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  /* телефон: в плашке уголки рисует сама плашка; подпись и строка — во всю ширину плашки под фото и статусами */
  .sx-photo__c { display: none; }
  .sx-photo__cap { grid-column: 1 / -1; grid-row: 3; justify-self: start; min-height: 32px; margin: 0; }
  .sx-photo__more { grid-column: 1 / -1; grid-row: 4; max-width: none; margin: -4px 0 4px; font-size: var(--s-ui, 15px); }
  .sx-photo__fr { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-photo__fr.is-armed .sx-photo__clip { transition-duration: 0.3s; transition-delay: 0s; transition-property: opacity; }
  .sx-photo__fr.is-armed:not(.is-in) .sx-photo__clip { clip-path: inset(0); opacity: 0; }
  .sx-photo__fr.is-armed:not(.is-in) .sx-photo__mi { scale: 1; }
  .sx-photo__fr.is-armed.is-in .sx-photo__glint::before { animation: none; }
  .sx-photo__fr { transform: none !important; }
}

/* ---------- H5. «Вне работы»: живые значки ---------- */
.sx-off__art circle.sx-ofa-wk { fill: var(--draw); stroke: none; offset-path: path('M26 72c14-2 16-22 32-26s20 14 34 7c6-3 8-10 9-17'); offset-distance: 0%; offset-rotate: 0deg; }
.sx-off__art .sx-ofa-st, .sx-off__art .sx-ofa-db, .sx-off__art .sx-ofa-fl, .sx-off__art .sx-ofa-rl { transform-box: fill-box; }
.sx-off__art .sx-ofa-rl { transform-origin: 50% 50%; }
.sx-off__art .sx-ofa-fl { transform-origin: 0% 100%; }
.sx-off__it { cursor: default; }
.sx-off__it.is-play .sx-ofa-st { animation: sx-steam 1.9s cubic-bezier(0.3, 0, 0.4, 1) calc(var(--k) * 0.22s) both; }
.sx-off__it.is-play .sx-ofa-db { animation: sx-lift 1.5s linear 0.1s both; }
.sx-off__it.is-play .sx-ofa-wk { animation: sx-walk 2s cubic-bezier(0.45, 0, 0.35, 1) both; }
.sx-off__it.is-play .sx-ofa-fl { animation: sx-flag 0.7s ease-out 1.32s both; }
.sx-off__it.is-play .sx-ofa-rl { animation: sx-spin 2.1s cubic-bezier(0.4, 0, 0.3, 1) both; }
.sx-off__it.is-play .sx-ofa-rl + .sx-ofa-rl { animation-delay: 0.08s; }
.sx-off__it.is-play .sx-ofa-rec { animation: sx-rec 2.1s steps(1, end) both; }
@keyframes sx-steam {
  0% { opacity: 1; transform: translateY(0); }
  55% { opacity: 0; transform: translateY(-11px); }
  56% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes sx-lift {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  34% { transform: translateY(-15px); animation-timing-function: cubic-bezier(0.6, 0, 0.85, 0.4); }
  58% { transform: translateY(0); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  70% { transform: translateY(-3.5px); animation-timing-function: cubic-bezier(0.6, 0, 0.85, 0.4); }
  80%, 100% { transform: translateY(0); }
}
@keyframes sx-walk {
  0% { offset-distance: 0%; opacity: 1; }
  66% { offset-distance: 100%; opacity: 1; }
  84% { offset-distance: 100%; opacity: 0; }
  85% { offset-distance: 0%; opacity: 0; }
  100% { offset-distance: 0%; opacity: 1; }
}
@keyframes sx-flag {
  0% { transform: none; }
  25% { transform: skewY(-7deg) scaleX(0.9); }
  50% { transform: skewY(4deg) scaleX(1.03); }
  75% { transform: skewY(-2deg); }
  100% { transform: none; }
}
@keyframes sx-spin { to { transform: rotate(360deg); } }
@keyframes sx-rec { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) {
  .sx-off__it.is-play * { animation: none !important; }
}

/* ---------- H6. «Лаборатория»: макеты интерфейса ---------- */
.sx-mk {
  position: relative; isolation: isolate; overflow: hidden; text-align: left;
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent); border-radius: var(--r-key);
  font: 400 13px/1.3 var(--f-text); color: var(--text); letter-spacing: 0;
}
/* контур панели — свой слой: при входе дочерчивается от левого верхнего угла */
.sx-mk::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--draw) 26%, transparent);
}
.sx-mk__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.sx-mk__ttl { font-weight: 500; color: var(--ink); white-space: nowrap; }
.sx-mk__btn { padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px; font: 400 13px/1.3 var(--f-mono); color: var(--muted); white-space: nowrap; }
.sx-mk__time { font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.sx-mk__dn { color: var(--text); white-space: nowrap; }
/* CRM: список записей на неделю слева, карточка клиента справа */
.sx-mk__crm { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.sx-mk__list { list-style: none; margin: 0; padding: 0; }
.sx-mk__row { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.sx-mk__row:last-child { border-bottom: 0; }
.sx-mk__who { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-mk__st { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); white-space: nowrap; }
.sx-mk__st i { width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; border: 1px solid var(--muted); }
.sx-mk__st.is-paid i { background: var(--draw); border-color: var(--draw); }
/* одна оранжевая строка — ближайшая запись */
.sx-mk__row.is-hot { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.sx-mk__row.is-hot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.sx-mk__row.is-hot .sx-mk__time { color: var(--accent); }
.sx-mk__card { padding: 14px 14px 12px; border-left: 1px solid var(--line); }
.sx-mk__who2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.sx-mk__av { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid color-mix(in srgb, var(--draw) 40%, transparent); border-radius: 50%; font: 400 13px/1 var(--f-mono); color: var(--text); }
.sx-mk__k { margin: 10px 0 2px; color: var(--muted); }
.sx-mk__v { margin: 0; color: var(--ink); }
/* ОС руководителя: таблица сделок полосками, без чисел */
.sx-mk__tbl { padding: 4px 0 2px; }
.sx-mk__th, .sx-mk__tr { display: grid; grid-template-columns: minmax(72px, 0.8fr) repeat(3, minmax(0, 1fr)); align-items: center; column-gap: 16px; padding: 0 14px; }
.sx-mk__th { height: 30px; color: var(--muted); }
.sx-mk__th > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-mk__sh { display: none; }
.sx-mk__tr { position: relative; min-height: 34px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.sx-mk__bc { position: relative; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--line) 80%, transparent); overflow: hidden; }
.sx-mk__bc i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: color-mix(in srgb, var(--draw) 62%, transparent); transform-origin: 0 50%; }
.sx-mk__bc:nth-child(2) i { background: color-mix(in srgb, var(--draw) 80%, transparent); }
.sx-mk__tr.is-hot { padding-top: 9px; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.sx-mk__tr.is-hot::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.sx-mk__tr.is-hot .sx-mk__dn { color: var(--ink); }
.sx-mk__tr.is-hot .sx-mk__bc:nth-child(3) i { background: var(--accent); }
.sx-mk__flag { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 2px 0 9px; color: var(--accent); }
.sx-mk__flag i { flex: none; width: 9px; height: 12px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 70% 32%, 100% 64%, 14% 64%, 14% 100%, 0 100%); }
.sx-mk__ft { display: flex; align-items: center; height: 34px; padding: 0 14px; border-top: 1px solid var(--line); color: var(--muted); }
/* главная (CRM) крупнее; макеты не выше 300 px */
.sx-mk--main { max-width: 880px; font-size: 14px; }
.sx-mk--main .sx-mk__row { height: 46px; grid-template-columns: 98px minmax(0, 1fr) auto; }
.sx-mk--main .sx-mk__time { font-size: 14px; }
.sx-mk--main .sx-mk__top { height: 42px; }
.sx-mk--main .sx-mk__card { padding: 16px 16px 14px; }
.sx-mk--sales:not(.sx-mk--m) { max-width: 560px; }
.sx-card .sx-mk { margin: 0 0 28px; }
/* при входе в экран макет собирается: контур → строки по очереди → оранжевая строка один раз пульсирует */
.sx-mk.is-armed::before { transition: clip-path 0.7s var(--ease); }
.sx-mk.is-armed:not(.is-in)::before { clip-path: inset(0 100% 100% 0 round 6px); }
/* 27.11f (дефект 4): подложка панели проявляется вместе с содержимым — иначе до порога на телефоне в экране стояла пустая тёмная рамка */
.sx-mk.is-armed { transition: background-color 0.5s var(--ease) 0.15s; }
.sx-mk.is-armed:not(.is-in) { background-color: transparent; }
.sx-mk.is-armed .sx-mk__top, .sx-mk.is-armed .sx-mk__card, .sx-mk.is-armed .sx-mk__th, .sx-mk.is-armed .sx-mk__ft { transition: opacity 0.5s var(--ease) 0.3s; }
.sx-mk.is-armed .sx-mk__card, .sx-mk.is-armed .sx-mk__ft { transition-delay: calc(0.5s + var(--i, 0) * 0.12s); }
.sx-mk.is-armed .sx-mk__row, .sx-mk.is-armed .sx-mk__tr { transition: opacity 0.45s var(--ease) calc(0.45s + var(--i, 0) * 0.12s), transform 0.45s var(--ease) calc(0.45s + var(--i, 0) * 0.12s); }
.sx-mk.is-armed .sx-mk__bc i { transition: transform 0.6s var(--ease) calc(0.6s + var(--i, 0) * 0.12s); }
.sx-mk.is-armed:not(.is-in) :is(.sx-mk__top, .sx-mk__card, .sx-mk__th, .sx-mk__ft, .sx-mk__row, .sx-mk__tr) { opacity: 0; }
.sx-mk.is-armed:not(.is-in) :is(.sx-mk__row, .sx-mk__tr) { transform: translateY(6px); }
.sx-mk.is-armed:not(.is-in) .sx-mk__bc i { transform: scaleX(0); }
.sx-mk__row.is-hot::after, .sx-mk__tr.is-hot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--accent); opacity: 0; }
.sx-mk.is-armed.is-in .sx-mk__row.is-hot::after { animation: sx-pulse 0.9s var(--ease) 1.05s both; }
.sx-mk.is-armed.is-in .sx-mk__tr.is-hot::after { animation: sx-pulse 0.9s var(--ease) 1.3s both; }
@keyframes sx-pulse { 0% { opacity: 0; } 35% { opacity: 0.2; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sx-mk.is-armed :is(.sx-mk__row, .sx-mk__tr) { transition-property: opacity; }
  .sx-mk.is-armed.is-in :is(.sx-mk__row, .sx-mk__tr).is-hot::after { animation: none; }
}
/* наведение на карточку — контур светлее */
@media (hover: hover) and (pointer: fine) {
  .sx-mk::before { transition: clip-path 0.7s var(--ease), border-color 0.25s var(--ease); }
  a.sx-card__a:hover .sx-mk::before { border-color: color-mix(in srgb, var(--draw) 48%, transparent); }
}
/* телефон: макет над своей строкой, тот же размер текста 13 px; карточка клиента — под списком */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-labm__mk { padding: 24px 0 4px; }
  .sx-labm__rows > li:first-child .sx-labm__mk { padding-top: 20px; }
  .sx-labm__rows > li + li .sx-labm__mk { padding-top: 28px; }
  .sx-mk--m .sx-mk__crm { grid-template-columns: minmax(0, 1fr); }
  .sx-mk--m .sx-mk__row { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 8px; height: 38px; padding: 0 12px; }
  .sx-mk--m .sx-mk__card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 10px 12px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .sx-mk--m .sx-mk__who2 { grid-column: 1 / -1; margin-bottom: 4px; }
  .sx-mk--m .sx-mk__k { margin: 4px 0 0; }
  .sx-mk--m .sx-mk__v { margin: 4px 0 0; }
  .sx-mk--m .sx-mk__top { height: 36px; padding: 0 12px; }
  .sx-mk--m .sx-mk__th, .sx-mk--m .sx-mk__tr { grid-template-columns: 66px repeat(3, minmax(0, 1fr)); column-gap: 10px; padding: 0 12px; }
  .sx-mk--m .sx-mk__lg { display: none; }
  .sx-mk--m .sx-mk__sh { display: inline; }
  .sx-mk--m .sx-mk__ft { padding: 0 12px; }
  .sx-labm__rows { border-top: 0; }
}
@media (max-width: 374px) {
  .sx-mk--m .sx-mk__row { grid-template-columns: 74px minmax(0, 1fr) auto; }
  .sx-mk--m .sx-mk__row { column-gap: 6px; padding: 0 10px; }
  .sx-mk--m .sx-mk__th, .sx-mk--m .sx-mk__tr { grid-template-columns: 60px repeat(3, minmax(0, 1fr)); column-gap: 8px; }
}

/* ---------- H7. «Как со мной работать»: указатель сам идёт по шагам, «Что мне важно» ---------- */
/* засечки шагов — по центру своих колонок; указатель стоит по центру активного шага и переезжает пружиной */
.sx-start__tk { left: calc((100% + var(--gap)) * (var(--k) + 0.5) / var(--n) - var(--gap) / 2); margin-left: -0.5px; }
.sx-start__ptr::before { left: -8px; }
.sx-start__ptr { transition: transform 0.6s cubic-bezier(0.34, 1.32, 0.64, 1); }
.sx-st__n, .sx-st__t { transition: color 0.35s var(--ease); }
.sx-start.is-live .sx-st.is-act .sx-st__n, .sx-start.is-live .sx-st.is-act .sx-st__t { color: var(--accent); }
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-start.is-live .sx-st:not(.is-act) { opacity: 0.6; }
  /* шаг стоит по центру своей колонки — как и указатель над ним */
  .sx-st__stop { align-items: center; padding: 0 12px; text-align: center; }
  .sx-st__body { padding: 0 12px; }
  .sx-st__x { margin-inline: auto; text-align: center; text-wrap: balance; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 700px) {
  .sx-start.is-live .sx-st:not(.is-act):hover { opacity: 0.85; }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-start__vptr { transition: transform 0.6s cubic-bezier(0.34, 1.32, 0.64, 1); }
}
/* «Что мне важно»: подзаголовок голосом заголовков с оранжевой чертой; три ячейки, слово на линии по центру, текст по центру */
.sx-cond { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; margin-top: 96px; padding-top: 0; border-top: 0; }
.sx-cond__lbl {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--f-head); font-size: 22px; line-height: 1.2; letter-spacing: -0.005em;
  font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
}
.sx-cond__lbl::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--accent); }
.sx-cond__list li { align-items: center; gap: 14px; padding: 0; text-align: center; }
.sx-cond__w { display: flex; align-items: center; gap: 16px; align-self: stretch; }
.sx-cond__w::before, .sx-cond__w::after { content: ""; flex: 1 1 0; min-width: 16px; height: 1px; background: var(--line); }
.sx-cond__w > span { flex: none; }
.sx-cond__l { max-width: min(100%, 32ch); font: 400 16px/1.5 var(--f-text); color: var(--text); text-wrap: balance; }
@media (max-width: 1359px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-cond { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-cond { display: block; margin-top: 56px; }
  .sx-cond__lbl { margin-bottom: 20px; font-size: 20px; }
  .sx-cond__list li { padding: 0; border-top: 0; gap: 8px; }
  .sx-cond__list li + li { margin-top: 24px; }
  .sx-cond__w { font-size: 18px; }
  .sx-cond__l { font-size: var(--s-ui, 15px); max-width: 30ch; }
}

/* «26 %» в колонке числа: колонка шире у всех трёх строк одинаково (компьютер 140, планшет 104, телефон 112 px) */
.sx-proof__it { grid-template-columns: 140px minmax(0, 1fr); }
@media (max-width: 1359px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) { .sx-proof__it { grid-template-columns: 104px minmax(0, 1fr); } }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) { .sx-proof__it { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; } .sx-proof__n { font-size: 38px; } }

/* ---------- Дополнение к H (ночь): «Чем полезен» и «Подход» ---------- */
/* заголовок дорожки: строки выровнены по длине — «с нуля» не остаётся одно на строке */
.sx-track__title > span { text-wrap: balance; }
/* подпись под дорожкой — отдельным блоком: 56 px от ячеек на компьютере; на телефоне между ячейками 32 px */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-cols { margin-bottom: 56px; }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-cols { row-gap: 32px; }
}
/* «Подход»: вводная тихая — обычный текст, цвет --muted */
.sx-appr .sx-head__lead { font: 400 var(--s-text)/1.55 var(--f-text); letter-spacing: 0; color: var(--muted); }
/* подписи шагов — подзаголовки голосом заголовков сайта */
.sx-node__lbl { font-family: var(--f-head); font-size: 24px; line-height: 1.2; font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; letter-spacing: -0.005em; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-node:not(.sx-node--end) .sx-node__lbl { font-size: 22px; }
}
/* итог «Масштаб» на компьютере — по центру внизу: линия маршрута приходит в его узел, подпись и текст под ним по центру */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-node--end, .sx-node--end:nth-child(even) { --sx-jx: 0px; display: flex; flex-direction: column; align-items: center; padding-top: 168px; padding-bottom: 24px; text-align: center; }
  .sx-node--end .sx-node__mk { align-self: center; margin: 0; transform: none; }
  .sx-node--end .sx-node__a { padding-top: 28px; max-width: 34em; }
  .sx-node--end .sx-node__lbl { margin-inline: auto; }
  .sx-node--end .sx-node__t { margin: 12px auto 0; max-width: 34em; text-wrap: balance; }
}

/* ---------- Круг 26.11 (ночь 2), Часть W2 ---------- */
/* W2-4. ОС руководителя: столбец «цикл, дней» — пять точек без чисел (закрашено = дольше), подпись про портфель менеджера */
.sx-mk__th, .sx-mk__tr { grid-template-columns: minmax(72px, 0.8fr) repeat(3, minmax(0, 1fr)) minmax(54px, 0.7fr); }
.sx-mk__cy { display: flex; align-items: center; gap: 4px; }
.sx-mk__cy i { flex: none; width: 6px; height: 6px; border-radius: 50%; box-sizing: border-box; border: 1px solid color-mix(in srgb, var(--draw) 45%, transparent); }
.sx-mk__cy i.on { background: color-mix(in srgb, var(--draw) 80%, transparent); border-color: transparent; }
.sx-mk__tr.is-hot .sx-mk__cy i.on { background: var(--ink); }
.sx-mk__ft { justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; height: auto; min-height: 34px; padding-block: 7px; }
.sx-mk__pf { color: var(--text); }
.sx-mk.is-armed .sx-mk__cy i { transition: opacity 0.3s var(--ease) calc(0.7s + var(--i, 0) * 0.12s); }
.sx-mk.is-armed:not(.is-in) .sx-mk__cy i { opacity: 0; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-mk--m .sx-mk__th, .sx-mk--m .sx-mk__tr { grid-template-columns: 58px repeat(3, minmax(0, 1fr)) 44px; column-gap: 8px; }
  .sx-mk--m .sx-mk__cy { gap: 3px; }
  .sx-mk--m .sx-mk__cy i { width: 5px; height: 5px; }
  .sx-mk--m .sx-mk__calls { display: none; }
}
@media (max-width: 374px) {
  .sx-mk--m .sx-mk__th, .sx-mk--m .sx-mk__tr { grid-template-columns: 54px repeat(3, minmax(0, 1fr)) 40px; column-gap: 6px; }
}
/* W2-5. «Как начнём» — подзаголовок тем же голосом, что «Что мне важно»: заголовочный шрифт 650, 22 px, оранжевая черта 20 px */
.sx-start .sx-start__lbl {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-family: var(--f-head); font-size: 22px; line-height: 1.2; letter-spacing: -0.005em;
  font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
}
.sx-start .sx-start__lbl::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--accent); }
.sx-start__top { align-items: center; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-start .sx-start__lbl { font-size: 20px; }
  .sx-start__top { margin-bottom: 20px; }
}
/* W2-6. «Обо мне» на телефоне: нажатие на фото — фото плавно растягивается на всю ширину плашки (3:4 сохраняется, плашка растёт вниз),
   статусы сначала гаснут (0,2 с), затем их колонка сворачивается; движение одно — 0,46 с, cubic-bezier(0.7, 0, 0.2, 1).
   Нажатие мимо фото, повторное по фото или Esc — обратно: колонка раскрывается, затем статусы проявляются. Уголки — у плашки.
   Пока колонка узкая (.is-shut), статусы не переносятся по буквам и не растят строку (contain: size), содержимое обрезано.
   Ширина колонок — переход grid-template-columns (одна плашка; так текст под ней едет плавно, а не прыгает). sections.js: initPhotoBtn */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-about__card { transition: grid-template-columns 0.46s cubic-bezier(0.7, 0, 0.2, 1) 0.12s, column-gap 0.46s cubic-bezier(0.7, 0, 0.2, 1) 0.12s; }
  .sx-about__card.is-wide { grid-template-columns: minmax(0, 100fr) minmax(0, 0fr); column-gap: 0px; }
  .sx-about__card:not(.is-wide) { transition-delay: 0s; }
  .sx-about__card.is-shut .sx-about__st { contain: size; overflow: hidden; }
  .sx-about__card.is-shut .sx-about__st li { white-space: nowrap; }
  .sx-about__st.is-in { transition: opacity 0.2s var(--ease) 0.5s; }
  .sx-about__card.is-wide .sx-about__st { opacity: 0; transition: opacity 0.2s var(--ease) 0s; }
  .sx-about__card.is-wide .sx-photo__fr { cursor: zoom-out; }
}
@media (max-width: 699px) and (prefers-reduced-motion: reduce), (max-height: 500px) and (pointer: coarse) and (prefers-reduced-motion: reduce) {
  .sx-about__card, .sx-about__card.is-wide .sx-about__st, .sx-about__st.is-in { transition: none; }
}

/* ===================================================================================================================
   Круг 27.11, Часть X — главная на телефоне. Правила ниже перекрывают прежние там, где блок переделан.
   =================================================================================================================== */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  /* X6 / X9: от верхней линейки раздела до названия — 32 px у всех разделов (было 40; ритм общий) */
  .rule.sx-rule { margin-bottom: 32px; }

  /* X3. «Обо мне»: подзаголовки «О работе» (перед вводной) и «Путь» (перед абзацами пути) видны и на телефоне */
  .sx-sp__lbl { display: flex; grid-column: 1 / -1; margin: 48px 0 0; padding-top: 0; border-top: 0; font-size: 20px; }
  .sx-sp__lbl--a { grid-row: 4; }
  .sx-about__lead { grid-row: 5; margin-top: 16px; }
  .sx-sp__lbl--b { grid-row: 6; margin-top: 40px; }
  .sx-about__text { grid-row: 7; margin-top: 16px; }
  .sx-off { grid-row: 8; }

  /* X4. «Вне работы»: подпись раздела — под сеткой значков, по центру, подзаголовком с оранжевой чертой над словом */
  .sx-off { display: flex; flex-direction: column; margin-top: 48px; }
  .sx-off__lbl {
    order: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 32px 0 0; text-align: center;
    font-family: var(--f-head); font-size: 20px; line-height: 1.2; letter-spacing: -0.005em;
    font-variation-settings: "wdth" 100, "wght" 650; font-weight: 650; color: var(--ink);
  }
  .sx-off__lbl::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--accent); }

  /* X5. «Лаборатория»: шкала ближе к вводной (24 px воздуха), каждая вещь — столбец по центру: номер → название → макет →
     строка → «Страница продукта →»; вся строка — ссылка */
  .sx-lab .sx-head { margin-bottom: 24px; }
  .sx-labm__stage { padding-top: 22px; }
  .sx-labm__rows { margin: 40px 0 0; border-top: 0; }
  .sx-labm__rows > li + li { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
  .sx-labm__r {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    min-height: 0; padding: 0; border-bottom: 0; border-radius: var(--r-key);
  }
  .sx-labm__k { align-self: center; padding: 0; margin: 0 0 6px; line-height: 1; }
  .sx-labm__n { font-size: 22px; line-height: 1.15; text-wrap: balance; }
  .sx-labm__rows .sx-labm__mk, .sx-labm__rows > li:first-child .sx-labm__mk, .sx-labm__rows > li + li .sx-labm__mk { align-self: stretch; padding: 16px 0 0; }
  .sx-labm__l { margin-top: 16px; max-width: 30ch; }
  .sx-labm__go { display: inline-flex; margin-top: 10px; min-height: 44px; align-items: center; font-size: var(--s-text); transition: none; }
  a.sx-labm__r:active { background: none; }
  a.sx-labm__r:active .sx-labm__go { transform: none; }
  a.sx-labm__r:active .sx-labm__go::after { transform: translateX(4px); }
  a.sx-labm__r:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }

  /* X6. «Как со мной работать»: блоки ближе друг к другу — ритм как у соседних разделов (между блоками 40 px) */
  .sx-contact .sec-title { margin-bottom: 24px; }
  .sx-start__top { margin-bottom: 12px; }
  .sx-cond { margin-top: 40px; }
  .sx-cond__lbl { margin-bottom: 16px; }
  .sx-refs { margin-top: 40px; }
  .sx-final { margin-top: 56px; }
  .sx-final__row { gap: 32px; margin-top: 32px; }

  /* X7. Финальная клавиша на телефоне: во всю ширину (лицо на 3 px уже — с кромкой ровно в поле), 56 px */
  .sx-final__key, .sx-final.sx-mv .sx-final__key { width: calc(100% - 3px); min-height: 56px; padding: 0 24px; font-size: 18px; }
  .sx-final.sx-mv .sx-final__key { transition: transform 0.45s var(--ease) 0.45s, color 0.2s linear 0.8s, box-shadow 0.3s var(--ease) 1.05s; }
  .sx-final.sx-mv:not(.is-in) .sx-final__key { box-shadow: 0 0 0 var(--key-edge); }
  .sx-final.sx-mv.is-in .sx-final__key:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--key-edge); transition: transform 0.1s ease-out, box-shadow 0.1s ease-out; }
}
/* X5. ОС руководителя получила страницу — на компьютере и её карточка ссылка; живые макеты (sections.js, initMockLive):
   оранжевая строка переходит плавно */
.sx-mk__row { transition: background-color 0.5s var(--ease); }
.sx-mk__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: 0; transition: opacity 0.5s var(--ease); }
.sx-mk__row.is-hot::before { opacity: 1; }
.sx-mk__row .sx-mk__time { transition: color 0.5s var(--ease); }
.sx-mk__st i { transition: background-color 0.3s, border-color 0.3s; }

/* X7. Финальная клавиша «Написать в Telegram»: та же главная клавиша, что на первом экране (hero.css, «Главная клавиша»), крупнее —
   64 px на компьютере; стрелка оживает: при наведении пробегает по кругу, при входе в экран — один раз (sections.js, initKeyWake) */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-final__key { min-height: 64px; padding: 0 36px; font-size: 19px; }
}
@keyframes key-arrow {
  0% { transform: none; opacity: 1; }
  38% { transform: translateX(14px); opacity: 0; }
  39% { transform: translateX(-12px); opacity: 0; }
  76%, 100% { transform: none; opacity: 1; }
}
.sx-final__key.is-wake svg { animation: key-arrow 0.75s cubic-bezier(0.5, 0, 0.2, 1) 2; }
@media (hover: hover) and (pointer: fine) {
  .sx-final__key:hover svg, .hx-act .key--accent:hover svg { animation: key-arrow 1.1s cubic-bezier(0.5, 0, 0.2, 1) infinite; }
}
@media (prefers-reduced-motion: reduce) { .sx-final__key svg, .hx-act .key--accent svg { animation: none !important; } }
/* X9. Телефон: нижнее поле разделов 72 px вместо 96 — между концом раздела и линейкой следующего 136 px, а не 160 (без пустых
   экранов); у «Как со мной работать» — прежние 96 до подвала */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab { padding-bottom: 72px; }
}

/* ===================================================================================================================
   Круг 27.11: ритм и клавиша (R1, R3–R5). Правила ниже перекрывают прежние там, где блок переделан.
   Шкала отступов (шаг 8 px):
   · компьютер — низ содержимого раздела → линейка следующего 128 (64 + 64), линейка → название 48, название (шапка раздела) →
     первый блок 64, между блоками внутри раздела 96;
   · телефон — низ содержимого → линейка 64 (32 + 32), линейка → название 32, название → вводная 24, название/вводная →
     первый блок 32–48, между блоками 40–48, связанные элементы 16–24.
   Исключения: первый экран → «Работы» (48, первый экран), финал → подвал (96 до линии подвала).
   =================================================================================================================== */
.sec.wk { padding-bottom: 64px; }
.sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab, .sec.sx-contact { padding-top: 64px; }
.sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab { padding-bottom: 64px; }
.rule.sx-rule { margin-bottom: 48px; }
.sx-head, .sx-use__hd { margin-bottom: 64px; }
.sx-contact .sec-title { margin-bottom: 64px; }
.sx-head .sec-title, .sx-use__hd .sec-title { align-self: flex-start; }   /* название всегда 48 px под линейкой, вводная по-прежнему у низа шапки */
.sx-appr .sx-node:last-child { padding-bottom: 0; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sec.wk { padding-bottom: 32px; }
  .sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab, .sec.sx-contact { padding-top: 32px; }
  .sec.sx-path, .sec.sx-use, .sec.sx-appr, .sec.sx-about, .sec.sx-lab { padding-bottom: 32px; }
  .rule.sx-rule { margin-bottom: 32px; }
  .sx-head { margin-bottom: 48px; }
  .sx-use__hd { margin-bottom: 48px; }
  .sx-appr .sx-node:last-child { padding-bottom: 0; }
  .sx-about .sec-title { margin-bottom: 32px; }
  .sx-contact .sec-title { margin-bottom: 32px; }
  .sx-final { margin-top: 64px; }
}

/* R3. Финальная клавиша — тот же компонент, что на первом экране (css/base.css): надпись 18 px, стрелка при наведении
   уезжает на 4 px без кругового пробега */
.sx-final__key { font-size: 18px; }
@media (hover: hover) and (pointer: fine) {
  .sx-final__key:hover svg, .hx-act .key--accent:hover svg { animation: none; transform: translateX(4px); }
}

/* R4. «Лаборатория»: названия белые; перед ними оранжевый номер «01», «02» (моноширинный), рядом плашка стадии оранжевым
   контуром, под названием короткая оранжевая черта — дочерчивается слева направо, когда вещь входит в экран (.sx-draw) */
.sx-card__hd { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 10px; }
.sx-card__k, .sx-labm .sx-labm__k, .sx-labm .sx-labm__r.is-main .sx-labm__k {
  font-family: var(--f-mono); font-size: 15px; line-height: 1; letter-spacing: 0.02em; color: var(--accent);
}
.sx-card__hd .sx-card__n { margin: 0; }
.sx-stg {
  display: inline-flex; align-items: center; align-self: center; min-height: 24px; padding: 0 8px; box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, transparent); border-radius: var(--r-key);
  font-size: 13px; line-height: 1; letter-spacing: 0.02em; color: var(--accent); white-space: nowrap;
}
.sx-card__ln { display: block; flex: none; width: 32px; height: 2px; margin: 16px 0 16px; background: var(--accent); transform-origin: 0 50%; }
.sx-card__ln.is-armed { transition: transform 0.7s var(--ease) 0.25s; }
.sx-card__ln.is-armed:not(.is-in) { transform: scaleX(0); }
.sx-card__b .sx-card__l { margin-top: 0; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-labm__hd { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; }
  .sx-labm .sx-labm__k { margin: 0; padding: 0; font-size: 14px; }
  .sx-labm__ln { margin: 14px auto 0; transform-origin: 50% 50%; }
}

/* R5. «Как со мной работать».
   · Шаги: пройденные — оранжевый контур, активный — оранжевая заливка (квадраты на линейке телефона, засечки на линейке компьютера).
   · «Как начнём» — шаги прямо на линейке, без плашек; «Что мне важно» — другая фактура: три ячейки на приподнятой светлой плашке
     с тонкой рамкой. От подзаголовка до содержимого у обоих блоков одинаково: 24 px (компьютер), 16 px (телефон). */
.sx-start__tk { transition: background-color 0.3s var(--ease), opacity 0.3s var(--ease); }
.sx-start__tk.is-past, .sx-start__tk.is-act { background: var(--accent); opacity: 1; }
.sx-start__top { margin-bottom: 24px; }
.sx-cond { display: block; margin-top: 96px; }
.sx-cond__lbl { margin: 0 0 24px; }
.sx-cond__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: color-mix(in srgb, var(--ink) 5%, var(--bg-soft));
  border: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); border-radius: var(--r-key);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 14px 32px -18px rgb(0 0 0 / 0.75);
}
.sx-cond__list li { gap: 12px; padding: 32px 32px 36px; }
.sx-cond__list li + li { border-left: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.sx-cond__w { justify-content: center; }
.sx-cond__w::before, .sx-cond__w::after { content: none; }
@media (max-width: 1359px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-cond__list li { padding: 28px 24px 32px; }
}
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-st.is-past::before { background: var(--bg); border-color: var(--accent); }
  .sx-st.is-act::before { background: var(--accent); border-color: var(--accent); }
  .sx-start__top { margin-bottom: 16px; }
  .sx-cond { margin-top: 32px; }                     /* + 12 px нижнего поля последнего шага ≈ 48 */
  .sx-cond__lbl { margin: 0 0 16px; }
  .sx-cond__list { display: block; }
  .sx-cond__list li { gap: 8px; padding: 20px 20px 22px; border-top: 0; }
  .sx-cond__list li + li { margin-top: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
  .sx-refs { margin-top: 48px; }
}

/* R6. «Обо мне → Путь»: третий абзац — вывод из двух первых; цветом текста-заголовка и чуть плотнее, без нового размера */
.sx-about__text p:last-child { color: var(--ink); font-weight: 500; }

/* ===================================================================================================================
   Круг 27.11d: «Обо мне» (A), «Лаборатория» (L), «Что мне важно» (V). Задание — design/owner-feedback-2026-11-27d.md.
   =================================================================================================================== */

/* A. «Обо мне», компьютер и планшет: строки статусов посередине больше нет — статусы вместе с фото стали карточкой-пропуском
   («штамп чертежа» в правом углу разворота), той же, что на телефоне: роль → фото → подпись → «где / формат / планы».
   Вид плашки — общий блок «Карточка-пропуск» выше; здесь место в сетке и порядок. Верх плашки — на линии верхних волосяных
   линий «О работе» и «Путь» (тот же отступ 64 px от цитаты). Пропорция фото подобрана так, чтобы на 1440×900 низ плашки
   совпал с низом колонки «О работе» (три числа). */
/* Плашка стоит в ряду текста и поднята на высоту подзаголовка (48 px, задана явно): так её верх — на линии подзаголовков,
   а лишняя высота плашки (если она выше колонок) растит только ряд текста и отодвигает «Вне работы», не раздувая ряд
   подзаголовков (иначе под «О работе» и «Путь» появлялась дыра). */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-sp__lbl { box-sizing: border-box; height: 48px; }
  .sx-about__card { grid-column: 10 / span 3; grid-row: 4; align-self: start; margin-top: -48px; display: flex; flex-direction: column; gap: 12px; }
  .sx-about__role { text-wrap: balance; }
  .sx-about__role { order: 0; }
  .sx-photo { order: 1; }
  .sx-about__st { order: 2; }
  /* пропорция под низ колонки «О работе» на 1440: 4:5 давало +35…+56 px; русская вводная на строку длиннее английской,
     поэтому у английской рамка квадратная */
  .sx-photo__fr { width: 100%; aspect-ratio: 6 / 7; }
  html[lang="en"] .sx-photo__fr { aspect-ratio: 1 / 1; }
  .sx-photo__c { display: none; }          /* уголки рисует сама плашка */
  .sx-photo__cap { margin-top: 10px; }
  .sx-about__st li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 10px 0; font-size: 16px; line-height: 1.3; }
}
/* широко (от 1600): колонка плашки шире, а колонки текста ниже — рамка шире высоты, чтобы плашка не уходила на 70–110 px ниже */
@media (min-width: 1600px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-photo__fr { aspect-ratio: 5 / 4; }
  html[lang="en"] .sx-photo__fr { aspect-ratio: 3 / 2; }
}
/* узко (700–1023): «О работе» во всю ширину, плашка — колонки 9–12 рядом с «Путём», верх на его линии */
@media (max-width: 1023px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-about__card { grid-column: 9 / span 4; grid-row: 6; }
}

/* L. «Лаборатория», компьютер: выноска кончается на верхней границе плашки-макета (полки-линии над карточками нет),
   обе плашки одной высоты (подсетка: макеты — в общем ряду) и на одной линии сверху; заголовки — одной конструкции:
   строка «номер + плашка стадии», под ней название. */
.sx-card__hd { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; row-gap: 10px; }
.sx-card__meta { display: inline-flex; align-items: center; gap: 12px; }
@media (min-width: 1024px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-lab__grid .sx-card__a { padding-top: 0; border-top: 0; }
  .sx-lab__grid .sx-mk { max-width: none; }
  .sx-cards { grid-template-rows: auto auto; }
  .sx-cards > .sx-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .sx-cards .sx-card__a { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .sx-lab__grid .sx-mk { display: flex; flex-direction: column; }
  .sx-lab__grid .sx-mk__crm { flex: 1 1 auto; }
  .sx-lab__grid .sx-mk__ft { margin-top: auto; }
}

/* V. «Что мне важно»: три отдельные таблички-шильдика 4 / 4 / 4 — рамка 1 px, прежняя подложка, поля 24 px; слева рисунок-чертёж
   56 px (манера «Вне работы»: дочерчивается при появлении, оживает при наведении), справа заголовок и текст по левому краю.
   Это не кнопки: при наведении светлеет только рамка и оживает рисунок, плашка не поднимается. */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) { .sx-cond { margin-top: 80px; } }
.sx-cond__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); background: none; border: 0; border-radius: 0; box-shadow: none; }
.sx-cond__list .sx-cond__it {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; align-items: start;
  margin: 0; padding: 24px; text-align: left;
  background: color-mix(in srgb, var(--ink) 5%, var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--r-key);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
  transition: border-color 0.25s var(--ease);
}
.sx-cond__art { display: block; width: 56px; height: 56px; }
.sx-cond__art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sx-cond__art path { fill: none; stroke: var(--draw); stroke-opacity: 0.8; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: stroke-opacity 0.25s var(--ease); }
.sx-cond__art path.o { stroke: var(--accent); stroke-opacity: 1; stroke-width: 1.4; }
.sx-cond__art circle.sx-cfa-hp { fill: var(--draw); stroke: none; }
.sx-cond__b { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sx-cond__list .sx-cond__w { display: block; font-size: 24px; line-height: 1.15; }
.sx-cond__list .sx-cond__l { max-width: none; font: 400 16px/1.5 var(--f-text); color: var(--text); text-wrap: pretty; }
/* живые части: стрелка прибора качается от нуля к краю и успокаивается; минутная стрелка делает оборот; точка поднимается по ступеням */
.sx-cond__art .sx-cfa-nd, .sx-cond__art .sx-cfa-hd { transform-box: view-box; }
.sx-cond__art .sx-cfa-nd { transform-origin: 28px 40px; }
.sx-cond__art .sx-cfa-hd { transform-origin: 28px 27px; }
.sx-cond__it.is-play .sx-cfa-nd { animation: sx-needle 1.5s cubic-bezier(0.4, 0, 0.3, 1) both; }
.sx-cond__it.is-play .sx-cfa-hd { animation: sx-spin 1.6s cubic-bezier(0.45, 0, 0.25, 1) both; }
.sx-cond__it.is-play .sx-cfa-hp { animation: sx-hop 1.8s linear both; }
@keyframes sx-needle {
  0% { transform: none; }
  28% { transform: rotate(-112deg); }
  62% { transform: rotate(44deg); }
  80% { transform: rotate(-6deg); }
  100% { transform: none; }
}
@keyframes sx-hop {
  0% { transform: none; opacity: 1; animation-timing-function: ease-out; }
  9% { transform: translate(5px, -12px); animation-timing-function: ease-in; }
  18% { transform: translate(10px, -8px); animation-timing-function: ease-out; }
  27% { transform: translate(15px, -20px); animation-timing-function: ease-in; }
  36% { transform: translate(20px, -16px); animation-timing-function: ease-out; }
  45% { transform: translate(25px, -28px); animation-timing-function: ease-in; }
  54%, 80% { transform: translate(30px, -24px); opacity: 1; }
  90% { transform: translate(30px, -24px); opacity: 0; }
  91% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .sx-cond__list .sx-cond__it:hover { border-color: color-mix(in srgb, var(--draw) 42%, transparent); }
  .sx-cond__it:hover .sx-cond__art path:not(.o) { stroke-opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-cond__it.is-play * { animation: none !important; }
}
/* воздух: от табличек до линии над «Рекомендациями» — 64 px */
@media (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-refs { margin-top: 64px; }
}
/* узко (700–1023): три таблички в ряд не помещают текст — рисунок над текстом, тот же вид */
@media (max-width: 1023px) and (min-width: 700px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-cond__list .sx-cond__it { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 20px; }
  .sx-cond__list .sx-cond__w { font-size: 22px; }
}
/* телефон: таблички столбцом, тот же вид — рисунок слева */
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-cond__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sx-cond__list .sx-cond__it { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .sx-cond__art { width: 48px; height: 48px; }
  .sx-cond__art path { stroke-width: 1.3; }
  .sx-cond__art path.o { stroke-width: 1.6; }
  .sx-cond__list .sx-cond__w { font-size: 20px; }
  .sx-cond__list .sx-cond__l { font-size: var(--s-ui, 15px); }
}

/* Круг 27.11d, доводка арт-директора: 1024–1199 px. Колонка плашки и таблички узкие — ключ статуса встаёт над значением
   (как на телефоне), рисунок таблички — над текстом (как на 700–1023), иначе значения и тексты ломаются на 3–6 строк. */
@media (min-width: 1024px) and (max-width: 1199px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-about__st li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .sx-cond__list .sx-cond__it { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 20px; }
}
/* рисунок над текстом (700–1199): содержимое табличек — от верха, чтобы заголовки трёх табличек стояли на одной линии */
@media (min-width: 700px) and (max-width: 1199px) and (not ((max-height: 500px) and (pointer: coarse))) {
  .sx-cond__list .sx-cond__it { align-content: start; align-items: start; }
}

/* «Подход», телефон (27.11e): бегунок ведёт браузер. Оранжевая линия и стрелка стоят на линии чтения (середина устойчивой
   высоты экрана) через position: sticky — скрипт их не двигает, поэтому нет рывков и расхождения линии со стрелкой.
   Устройство: дорожка .sx-route__run по всей длине маршрута; в ней два одинаковых «якоря» высотой 1 px, прилипающих к линии
   чтения. К первому снизу вверх подвешена оранжевая линия (обрезана дорожкой — видна от начала маршрута до якоря),
   ко второму — стрелка (не обрезается). Размеры дорожки (--rt-x, --rt-y0, --rt-h) один раз кладёт скрипт при раскладке. */
.sx-route__run { display: none; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-route.is-sticky .sx-route__line, .sx-route.is-sticky .sx-route__ptr { visibility: hidden; }
  .sx-route.is-sticky .sx-route__run {
    display: block; position: absolute; z-index: 2; pointer-events: none;
    left: calc(var(--rt-x, 16px) - 7px); top: var(--rt-y0, 0px); width: 14px; height: var(--rt-h, 0px);
  }
  .sx-route__clip, .sx-route__tipbox { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
  .sx-route__clip { clip-path: inset(0); }
  .sx-route__a { display: block; position: sticky; top: 50vh; top: 50svh; width: 100%; height: 1px; }
  .sx-route__bar { position: absolute; left: 50%; bottom: 1px; width: 1.4px; height: var(--rt-h, 0px); margin-left: -0.7px; background: var(--accent); }
  .sx-route__tip { position: absolute; left: 0; bottom: 1px; width: 14px; height: 18px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
}

/* «Опыт», телефон (27.11e): указатель у вертикальной линейки ведёт браузер. Дорожка .sx-lvls__run по всей высоте линейки;
   распорка высотой --y ставит «якорь» напротив цифры активного года, якорь прилипает под шапкой (--lv-top) и над низом
   экрана — то же поведение, что раньше считал скрипт на каждое событие прокрутки. Пружину при смене уровня даёт скрипт. */
.sx-lvls__run { display: none; }
@media (max-width: 699px), (max-height: 500px) and (pointer: coarse) {
  .sx-lvls.is-sticky .sx-lvls__ptr { visibility: hidden; }
  .sx-lvls.is-sticky .sx-lvls__run { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; z-index: 1; pointer-events: none; }
  .sx-lvls__gap { display: block; height: var(--y, 0px); }
  .sx-lvls__pin { display: block; position: sticky; top: var(--lv-top, 80px); bottom: 24px; height: 1px; }
  .sx-lvls__tip { position: absolute; left: 0; top: -5.5px; width: 16px; height: 12px; background: var(--accent); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%); }
  .sx-lvls__tip.is-jump { transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
  .sx-lvls__tip.is-click { animation: sx-click 0.3s var(--ease); }
}

/* «Рекомендации» (27.11f T): рисунок писем — ссылка; оживание — листы чуть расходятся и возвращаются (~0,8 с), подпись дочерчивается
   (sections.js, initRefs). На телефоне после первого нажатия ссылка под текстом подсвечена как следующий шаг */
a.sx-refs__sheets { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; border-radius: 2px; }
a.sx-refs__sheets:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.sx-refs__s1, .sx-refs__s2 { transform-box: fill-box; transform-origin: 50% 100%; }
.sx-refs__sheets.is-play .sx-refs__s1 { animation: sx-ref-a 0.8s cubic-bezier(0.3, 0, 0.3, 1) both; }
.sx-refs__sheets.is-play .sx-refs__s2 { animation: sx-ref-b 0.8s cubic-bezier(0.3, 0, 0.3, 1) both; }
@keyframes sx-ref-a { 0%, 100% { transform: none; } 35% { transform: translate(-4px, 1px) rotate(-4deg); } 70% { transform: translate(1px, 0) rotate(1deg); } }
@keyframes sx-ref-b { 0%, 100% { transform: none; } 35% { transform: translate(5px, -2px) rotate(4deg); } 70% { transform: translate(-1px, 0) rotate(-1deg); } }
.sx-refs__b .link.is-next { color: var(--accent); text-decoration-color: var(--accent); }
.sx-refs__b .link.is-next::after { animation: sx-ref-go 1.1s cubic-bezier(0.5, 0, 0.2, 1) 2; }
@keyframes sx-ref-go { 0%, 100% { transform: none; } 45% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) {
  .sx-refs__sheets.is-play *, .sx-refs__b .link.is-next::after { animation: none !important; }
}
/* «Что мне важно», «Вне работы»: на телефоне рисунок оживает от нажатия (sections.js) — без серой подсветки нажатия */
.sx-cond__it, .sx-off__it { -webkit-tap-highlight-color: transparent; }
