/* Главная на белом (07.11, по согласованию с клиентом): всё белое, кроме первого экрана с раздевалкой */
body[data-page="story"], .hw { background: #fff; }
.hw .sc-magazine, .hw .jr3, .hw .hb-fd { background: #fff; }
.hw .hb-fd::after, .hw .hb-fd::before { display: none; content: none; }

.hw-phrase { padding: clamp(72px, 11vw, 150px) 20px clamp(40px, 6vw, 80px); text-align: center; color: #1b1a2e; }
.hw-phrase-brand { margin: 0 0 18px; font: 800 clamp(40px, 7vw, 92px)/1 "Unbounded", "Montserrat", sans-serif; letter-spacing: -0.02em; }
.hw-phrase-line { margin: 0 auto; max-width: 21em; font: 500 clamp(18px, 2.2vw, 28px)/1.3 "Montserrat", sans-serif; text-wrap: balance; }

/* Сочетай позиции */
.lk { padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 64px) clamp(56px, 8vw, 110px); color: #1b1a2e; }
.lk-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; max-width: 1320px; margin: 0 auto clamp(20px, 3vw, 36px); }
.lk-title { margin: 0; max-width: 15em; font: 800 clamp(26px, 3.6vw, 52px)/1.06 "Montserrat", sans-serif; letter-spacing: -0.02em; text-transform: uppercase; }
.lk-who { display: inline-flex; padding: 4px; border: 1.5px solid #1b1a2e; border-radius: 999px; }
.lk-who button { min-width: 92px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: inherit; font: 600 15px/1 "Montserrat", sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.lk-who button[aria-checked="true"] { background: #1b1a2e; color: #fff; }
.lk-body { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(150px, 210px); grid-template-areas: "top stage bottom" "sum sum sum"; gap: 20px clamp(16px, 3vw, 48px); max-width: 1320px; margin: 0 auto; align-items: center; }
.lk-rail[data-slot="top"] { grid-area: top; }
.lk-rail[data-slot="bottom"] { grid-area: bottom; }
.lk-stage { grid-area: stage; position: relative; aspect-ratio: 2 / 3; height: min(82vh, 860px); max-width: 100%; margin-inline: auto; }
.lk-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lk-rail { display: grid; gap: 10px; }
.lk-rail button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border: 1.5px solid transparent; border-radius: 12px; background: #f6f5f8; color: inherit; font: 600 13px/1.2 "Montserrat", sans-serif; text-align: left; cursor: pointer; transition: border-color .2s; }
.lk-rail button img { flex: none; width: 52px; height: 64px; object-fit: contain; }
.lk-rail button[aria-pressed="true"] { border-color: #1b1a2e; background: #fff; }
@media (hover: hover) { .lk-rail button:hover { border-color: #b9b6c6; } .lk-rail button[aria-pressed="true"]:hover { border-color: #1b1a2e; } }
.lk-sum { grid-area: sum; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; font: 500 14px/1.3 "Montserrat", sans-serif; }
.lk-sum a { display: inline-flex; gap: 10px; color: inherit; text-decoration: none; }
.lk-sum a b { font-weight: 700; }
.lk-sum .lk-all { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .lk-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "top" "bottom" "sum"; gap: 12px; }
  .lk-stage { height: auto; width: min(100%, 62svh); }
  .lk-rail { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
  .lk-rail::-webkit-scrollbar { display: none; }
  .lk-rail button { flex: 0 0 auto; width: auto; flex-direction: column; gap: 4px; padding: 6px 10px; font-size: 12px; text-align: center; scroll-snap-align: start; }
  .lk-sum { flex-direction: column; align-items: stretch; }
  .lk-sum a { justify-content: space-between; }
  .lk-sum .lk-all { justify-content: center; margin-top: 6px; }
}

/* Технологии: стили — в конце файла («15.11 Технологии v4») */

/* О создателях: цитата длиннее прежней — спокойнее кегль, без верхнего регистра */
.hw .fd-quote p { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.35; text-transform: none; font-weight: 600; letter-spacing: 0; }

/* Первый экран — как на текущем сайте: от самого верха, капсула шапки лежит на фото */
.reel--hero3d { padding-top: 0; }
.reel--hero3d .reel-pin { top: 0; height: 100vh; height: 100svh; }
.reel--hero3d .reel-copy { display: none; }
@media (max-width: 767px) {
  .reel--hero3d,
  .reel--hero3d .reel-pin { height: calc(118vw + 56px); }
  .reel--hero3d .reel-view { bottom: 0; background: #dcd8e8; }
  .reel--hero3d .reel-ui { top: auto; bottom: 0; background: none; padding: 0 16px 16px; }
  .reel--hero3d .reel-still,
  .reel--hero3d .reel-clip {
    inset: auto;
    top: 56px;
    left: -42.4vw;
    width: 210vw;
    max-width: none;
    height: 118.2vw;
    max-height: none;
    object-fit: cover;
    object-position: 50% 50%;
  }
}
.lk-sum a b { white-space: nowrap; }
@media (min-width: 768px) { .lk-stage { height: min(calc(100svh - 90px), 820px); } }

/* Причёсывание 07.11 ---------------------------------------------------------------- */
:root { --hw-ease: cubic-bezier(0.23, 1, 0.32, 1); }

/* Примерочная: слои по порядку и мягкая смена вещи */
.lk-base { z-index: 1; } .lk-b { z-index: 2; } .lk-t { z-index: 3; }
.lk-layer { transition: opacity 320ms var(--hw-ease), filter 320ms var(--hw-ease), transform 320ms var(--hw-ease); }
.lk-layer.is-in { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.lk-layer.is-out { opacity: 0; transition: opacity 200ms ease 150ms; }
.lk-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0.6%; height: 2.4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 26, 46, 0.16), transparent); z-index: 0; pointer-events: none; }

/* Отклик на нажатие */
.lk-who button, .lk-rail button, .lk-sum .lk-all { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 140ms var(--hw-ease); }
.lk-who button:active, .lk-rail button:active { transform: scale(0.97); }
.lk-rail button img { transition: transform 260ms var(--hw-ease); }
@media (hover: hover) and (pointer: fine) {
  .lk-rail button:hover img { transform: translateY(-2px) scale(1.04); }
  .lk-sum a:hover span { text-decoration: underline; text-underline-offset: 3px; }
}
.lk-who button:focus-visible, .lk-rail button:focus-visible { outline: 2px solid #1b1a2e; outline-offset: 2px; }

/* Появление блоков при прокрутке (js/home/reveal.js ставит .rv и .is-shown) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--hw-ease), transform 700ms var(--hw-ease); transition-delay: var(--rv-d, 0ms); }
.rv.is-shown { opacity: 1; transform: none; }

/* KAIJU во фразе: буквы поднимаются по очереди, строка — следом */
.hw-phrase-brand .ch { display: inline-block; transform: translateY(0.9em); opacity: 0; clip-path: inset(0 0 0 0); transition: transform 900ms var(--hw-ease), opacity 600ms ease; transition-delay: calc(var(--i) * 60ms); }
.hw-phrase-brand.is-shown .ch { transform: none; opacity: 1; }
.hw-phrase-line.rv { transition-delay: 380ms; }

/* Технологии: линии характеристик прочерчиваются слева направо */
.ts-specs li { border-top: 0; position: relative; }
.ts-specs li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: #1b1a2e; transform-origin: left; transform: scaleX(var(--ln, 1)); transition: transform 900ms var(--hw-ease); transition-delay: var(--rv-d, 0ms); }
.ts-specs li.rv { --ln: 0; }
.ts-specs li.rv.is-shown { --ln: 1; }

@media (prefers-reduced-motion: reduce) {
  .rv, .hw-phrase-brand .ch { opacity: 1; transform: none; transition: none; }
  .ts-specs li.rv { --ln: 1; }
  .lk-layer { transition: none; }
}

/* 12.11 «Собери свой образ»: блок целиком помещается в экран.
   Десктоп: шапка в одну строку, слева «1 Верх», в центре модель, справа «2 Низ» + итог комплекта.
   Мобильный: шапка → модель → верх → низ → итог. */
.lk-intro { display: grid; gap: 8px; }
.lk-hint { margin: 0; max-width: 34em; font: 500 15px/1.4 "Montserrat", sans-serif; color: #5b5a6e; }
.lk-side { display: grid; gap: 10px; align-content: center; }
.lk-side--top { grid-area: top; } .lk-side--bottom { grid-area: bottom; }
.lk-side .lk-rail, .lk-side .lk-sum { grid-area: auto; }
.lk-cap { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 13px/1 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.lk-cap span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1b1a2e; color: #fff; font-size: 11px; letter-spacing: 0; }
.lk-total { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding-top: 8px; border-top: 1.5px solid #1b1a2e; font: 700 15px/1.3 "Montserrat", sans-serif; }
@media (min-width: 768px) {
  .lk { min-height: 100svh; box-sizing: border-box; padding-top: clamp(88px, 11vh, 110px); padding-bottom: clamp(20px, 3vh, 40px); }
  .lk-head { align-items: center; margin-bottom: clamp(12px, 2vh, 24px); }
  .lk-title { max-width: none; font-size: clamp(26px, 2.8vw, 44px); }
  .lk-body { grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) minmax(200px, 280px); grid-template-areas: "top stage bottom"; align-items: start; }
  .lk-side { padding-top: clamp(8px, 4vh, 40px); }
  /* шапка ~ 90–120px + отступы — модель занимает остаток экрана */
  .lk-stage { height: min(calc(100svh - clamp(88px, 11vh, 110px) - clamp(20px, 3vh, 40px) - 130px), 760px); min-height: 420px; }
  .lk-rail { gap: 8px; }
  .lk-rail button { padding: 4px 8px 4px 4px; }
  .lk-rail button img { width: 44px; height: 54px; }
  .lk-sum { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; margin-top: 14px; font-size: 13px; }
  .lk-sum a { justify-content: space-between; }
  .lk-sum .lk-all { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .lk-body { grid-template-areas: "stage" "top" "bottom"; }
  .lk-hint { font-size: 14px; }
  .lk-side--bottom .lk-sum { margin-top: 8px; }
}

/* Собери свой образ v2 (13.11): готовые образы, видео-поворот, чек справа */
.lk2-nav { display: flex; gap: 8px; }
.lk2-nav button { width: 48px; height: 48px; border: 1.5px solid #1b1a2e; border-radius: 50%; background: #fff; color: #1b1a2e; font: 600 18px/1 "Montserrat", sans-serif; cursor: pointer; transition: background .2s, color .2s, transform .14s; }
.lk2-nav button:active { transform: scale(.94); }
@media (hover: hover) { .lk2-nav button:hover { background: #1b1a2e; color: #fff; } }
.lk2-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "stage bill" "cap bill"; gap: 8px clamp(16px, 3vw, 40px); max-width: 1320px; margin: 0 auto; align-items: center; }
.lk2-stage { grid-area: stage; position: relative; height: min(calc(100svh - clamp(88px, 11vh, 110px) - clamp(20px, 3vh, 40px) - 170px), 720px); min-height: 420px; outline: none; overflow: hidden; }
.lk2-fig { --o: 0; --a: 0; position: absolute; left: 50%; bottom: 0; height: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateX(-50%) translateX(calc(var(--o) * min(19vw, 250px))) translateY(calc(min(var(--a), 1) * -16% - max(var(--a) - 1, 0) * 6%)) scale(calc(1 - min(var(--a), 1) * .46 - max(var(--a) - 1, 0) * .14));
  transform-origin: 50% 100%; z-index: calc(10 - var(--a)); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s;
  mix-blend-mode: multiply; will-change: transform; }
.lk2-fig.is-cur { cursor: default; }
.lk2-fig.is-far { opacity: 0; pointer-events: none; }
.lk2-fig img, .lk2-fig video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.lk2-fig video { opacity: 0; transition: opacity .35s; }
.lk2-fig.is-video video { opacity: 1; }
.lk2-fig:focus-visible { outline: 2px solid #1b1a2e; outline-offset: -2px; border-radius: 12px; }
.lk2-cap { grid-area: cap; display: grid; gap: 2px; margin: 0; font: 500 12px/1.3 "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6b6a7e; }
.lk2-cap b { font: 800 clamp(18px, 1.8vw, 26px)/1.1 "Montserrat", sans-serif; letter-spacing: -0.01em; text-transform: none; color: #1b1a2e; }
@media (prefers-reduced-motion: reduce) { .lk2-fig { transition: none; } }
@media (max-width: 767px) {
  .lk2-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "cap" "bill"; gap: 12px; }
  .lk2-stage { height: 64svh; min-height: 380px; margin-inline: -16px; }
  .lk2-fig { transform: translateX(-50%) translateX(calc(var(--o) * 46vw)) translateY(calc(min(var(--a), 1) * -12%)) scale(calc(1 - min(var(--a), 1) * .5)); }
  .lk2-nav button { width: 42px; height: 42px; }
}

/* 13.11 чек v3: термобумага — рваные края, логотип, отточия, итог, штрихкод; при смене образа печатается заново */
.lk2-bill { --paper: #fffdf8; --ink: #1b1a2e; --mute: #8b8a99; --pink: #e46a9b; grid-area: bill; align-self: center; position: relative; padding: 10px 0;
  filter: drop-shadow(0 18px 26px rgba(27, 26, 46, .13)) drop-shadow(0 2px 3px rgba(27, 26, 46, .08)); transform: rotate(-1.2deg); }
.lk2-paper { position: relative; padding: 22px 20px 20px; background: var(--paper) linear-gradient(180deg, rgba(27,26,46,.025), transparent 18%, transparent 82%, rgba(27,26,46,.03));
  color: var(--ink); font: 500 12px/1.45 "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .01em; }
.lk2-paper::before, .lk2-paper::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background-size: 14px 9px; background-repeat: repeat-x; }
.lk2-paper::before { top: -9px; background-image: linear-gradient(45deg, var(--paper) 50%, transparent 50%), linear-gradient(-45deg, var(--paper) 50%, transparent 50%); }
.lk2-paper::after { bottom: -9px; background-image: linear-gradient(135deg, var(--paper) 50%, transparent 50%), linear-gradient(-135deg, var(--paper) 50%, transparent 50%); }
.lk2-bill.is-print .lk2-paper { animation: lk2-print .75s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes lk2-print { 0% { clip-path: inset(0 -20px 100% -20px); transform: translateY(-18px); } 60% { clip-path: inset(0 -20px 20% -20px); } 100% { clip-path: inset(-12px -20px -12px -20px); transform: none; } }
.lk2-bh { margin: 0; display: flex; justify-content: center; font: 800 22px/1 "Montserrat", sans-serif; }
.lk2-bh svg { height: 30px; width: auto; fill: var(--ink); overflow: visible; }
.lk2-sub { margin: 6px 0 14px; text-align: center; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.lk2-meta { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 11px; text-transform: uppercase; color: var(--mute); }
.lk2-wait { margin: 18px 0 6px; text-align: center; color: var(--mute); }
.lk2-paper ol { margin: 12px 0 0; padding: 4px 0 0; list-style: none; border-top: 1.5px dashed #cfcdd6; }
.lk2-paper li { display: grid; grid-template-columns: auto auto minmax(12px, 1fr) auto; column-gap: 8px; row-gap: 6px; align-items: start; padding: 12px 0; border-bottom: 1px dashed #e2e0e7; }
.lk2-no { color: var(--mute); padding-top: 1px; }
.lk2-paper li a { color: inherit; text-decoration: none; min-width: 0; }
.lk2-paper li a b { display: block; font: 700 14px/1.2 "Montserrat", sans-serif; letter-spacing: -.005em; }
.lk2-paper li a small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--mute); }
@media (hover: hover) { .lk2-paper li a:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; } }
.lk2-dots { align-self: start; margin-top: 11px; border-bottom: 2px dotted #c9c7d2; }
.lk2-pr { white-space: nowrap; font-weight: 700; font-size: 13px; padding-top: 1px; }
.lk2-sz, .lk2-sold { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lk2-sz em { margin-right: 2px; font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.lk2-sz button { min-width: 40px; height: 30px; padding: 0 9px; border: 1.5px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 700 11px/1 "IBM Plex Mono", ui-monospace, monospace; cursor: pointer; transition: background .15s, color .15s, transform .12s; }
.lk2-sz button:active { transform: scale(.94); }
.lk2-sz button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lk2-sz button[aria-pressed="true"]::before { content: "✓ "; }
@media (hover: hover) { .lk2-sz button:hover { background: #f1eff5; } .lk2-sz button[aria-pressed="true"]:hover { background: var(--ink); } }
.is-need .lk2-sz button, .lk2-sz.is-need button { animation: lk2-need .5s; border-color: var(--pink); }
@keyframes lk2-need { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.lk2-sold { color: #c0396b; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.lk2-paper li.is-sold a b, .lk2-paper li.is-sold .lk2-pr { opacity: .45; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.lk2-paper li.is-sold .lk2-dots { opacity: .4; }
.lk2-note { margin-top: 10px; text-transform: none; }
.lk2-tot { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding-top: 12px; border-top: 3px double var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lk2-tot b { font: 800 28px/1 "Montserrat", sans-serif; letter-spacing: -.01em; text-transform: none; }
.lk2-add { width: 100%; height: 50px; margin-top: 16px; border: 0; background: var(--ink); color: #fff; font: 700 12px/1 "Montserrat", sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, transform .12s; }
.lk2-add:active { transform: translateY(1px) scale(.99); }
@media (hover: hover) { .lk2-add:not(:disabled):hover { background: #2c2a47; } }
.lk2-add.is-done { background: var(--pink); }
.lk2-add:disabled { opacity: .45; cursor: default; }
.lk2-bar { display: block; height: 34px; margin-top: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }
.lk2-code { margin: 5px 0 0; text-align: center; font-size: 10px; letter-spacing: .38em; color: var(--mute); }
.lk2-thx { margin: 12px 0 0; text-align: center; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.lk2-all { display: block; margin-top: 8px; text-align: center; color: var(--ink); font: 700 12px/1 "Montserrat", sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.lk2-fig.is-jump { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .lk2-bill.is-print .lk2-paper { animation: none; } }
@media (max-width: 767px) { .lk2-bill { transform: none; filter: drop-shadow(0 10px 18px rgba(27, 26, 46, .1)); } }

/* 13.11 Фраза-ленты: две перекрещенные ленты ограждения (js/home/tape.js) */
.hw-tape { position: relative; padding: clamp(64px, 8vw, 120px) 0 clamp(20px, 3vw, 44px); overflow: hidden; overflow: clip; }
.tp-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tp { position: relative; left: -10vw; width: 120vw; overflow: hidden; box-shadow: 0 10px 28px rgba(27, 26, 46, .14); }
.tp--a { z-index: 2; margin-top: calc(-1 * clamp(34px, 4vw, 56px)); transform: rotate(-3.2deg); background: #f6bfd5; color: #1b1a2e; overflow: visible; }
.tp--b { z-index: 1; transform: rotate(2.4deg); background: #1b1a2e; color: #fff; }
.tp::before, .tp::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; z-index: 1; background: repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 22px); opacity: .55; }
.tp::before { top: 7px; } .tp::after { bottom: 7px; }
.tp--a { clip-path: inset(-200px 0 0 0); }
.tp-run { display: flex; width: max-content; will-change: transform; }
.tp-chunk { display: flex; align-items: center; flex: none; gap: clamp(16px, 2vw, 30px); padding: clamp(18px, 2.2vw, 30px) clamp(8px, 1vw, 15px); }
.tp-chunk span { font: 800 clamp(22px, 3.4vw, 50px)/1 "Unbounded", "Montserrat", sans-serif; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.tp--b .tp-chunk span { font: 600 clamp(13px, 1.4vw, 19px)/1 "IBM Plex Mono", "Cousine", monospace; letter-spacing: .28em; }
.tp-logo { height: clamp(28px, 3.2vw, 46px); width: auto; fill: currentColor; flex: none; overflow: visible; }
.tp-star { font-style: normal; font: 800 clamp(20px, 2.6vw, 38px)/1 "Montserrat", sans-serif; color: #e0558f; }
.tp--b .tp-star { color: #f6bfd5; font-size: clamp(16px, 1.8vw, 26px); }
.tp-rider { position: absolute; left: 0; bottom: calc(100% - 12px); width: clamp(78px, 8.5vw, 132px); height: auto; z-index: 3; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(27, 26, 46, .18)); transform: translate3d(12vw, 0, 0) rotate(-6deg); transform-origin: 50% 100%; }
@media (max-width: 767px) { .tp--a { transform: rotate(-4deg); } .tp--b { transform: rotate(3deg); } }

/* 15.11 Технологии v4: ролик + объяснение «что это → что тебе даёт» с мини-схемой (js/home/tech-scan.js).
   Десктоп: блок в один экран — ролик 16:9 слева (ширина от доступной высоты), справа панель на высоту ролика и глав.
   Сдержанно: без HUD-уголков, таймкодов и декоративной нумерации. */
.ts { --ts-ink: #1b1a2e; --ts-pink: #d9578f; --ts-mute: #6b6a7e; --ts-line: #e4e2ea; --ts-water: #8ea3c8; --ts-warm: #e8a37f;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 64px) clamp(48px, 7vw, 96px); color: var(--ts-ink); }
.ts-hud { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "film" "line" "panel"; max-width: 1480px; margin: 0 auto; }
.ts-title { grid-area: title; margin: 0 0 14px; font: 800 clamp(26px, 3.2vw, 44px)/1.06 "Montserrat", sans-serif; letter-spacing: -0.02em; text-transform: uppercase; }

/* ролик */
.ts-film { grid-area: film; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(10px, 1.1vw, 16px); background: #8c4f86; }
.ts-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts-frame { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.ts-chap { position: absolute; left: clamp(12px, 1.4vw, 20px); bottom: clamp(12px, 1.4vw, 20px); margin: 0; padding: 6px 10px; border-radius: 999px;
  background: rgba(27, 26, 46, .5); font: 600 12px/1 "Montserrat", sans-serif; letter-spacing: .02em; }

/* управление роликом: назад / пауза-плей / вперёд — справа внизу кадра */
.ts-ctl { position: absolute; right: clamp(10px, 1.4vw, 20px); bottom: clamp(10px, 1.4vw, 20px); display: flex; gap: 6px; }
.ts-b { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(27, 26, 46, .5); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .25s ease, transform .25s ease; -webkit-tap-highlight-color: transparent; }
.ts-b svg { width: 16px; height: 16px; display: block; }
.ts-b--play { width: 44px; height: 38px; background: rgba(255, 255, 255, .92); color: #1b1a2e; }
.ts-b .i-play { display: none; }
.ts.is-paused .ts-b .i-play { display: block; }
.ts.is-paused .ts-b .i-pause { display: none; }
@media (hover: hover) { .ts-b:hover { background: rgba(27, 26, 46, .72); transform: translateY(-1px); } .ts-b--play:hover { background: #fff; } }
.ts-b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* на паузе полоска текущей главы приглушена */
.ts.is-paused .ts-line button.is-on .ts-bar span { opacity: .55; }

/* главы под роликом */
.ts-line { grid-area: line; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 5px; margin: 16px 0 0; padding: 0; list-style: none; }
.ts-line button { display: grid; width: 100%; padding: 0 0 2px; border: 0; background: none; color: var(--ts-mute); text-align: left; cursor: pointer; }
.ts-nm { overflow: hidden; font: 600 11px/1.2 "Montserrat", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.ts-bar { position: relative; height: 2px; margin-top: 7px; overflow: hidden; background: var(--ts-line); border-radius: 2px; }
.ts-bar span { position: absolute; inset: 0; background: var(--ts-ink); transform: scaleX(0); transform-origin: left; }
.ts-line button.is-past, .ts-line button.is-on { color: var(--ts-ink); }
.ts-line button.is-on .ts-bar span { background: var(--ts-pink); }
@media (hover: hover) { .ts-line button:hover { color: var(--ts-ink); } }
.ts-line button:focus-visible { outline: 2px solid var(--ts-ink); outline-offset: 4px; }

/* панель */
.ts-panel { grid-area: panel; display: grid; align-content: start; margin-top: 24px; }
.ts-read { display: grid; margin-bottom: 18px; }
/* карточки сцен лежат в одной ячейке. Фикс наложения заголовков: уходящая гаснет за 160 мс,
   новая проявляется с задержкой 170 мс — в один момент на экране только одна */
.ts-cue { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms; }
.ts-cue.is-on { opacity: 1; visibility: visible; transform: none;
  transition: opacity 380ms ease 170ms, transform 480ms var(--hw-ease, ease) 170ms, visibility 0s linear 0s; }
.ts-cue p { margin: 0; }
.ts-cue-k { font: 600 11px/1.3 "Montserrat", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ts-pink); }
.ts-cue-t { margin-top: 6px !important; font: 800 clamp(20px, 1.7vw, 26px)/1.1 "Montserrat", sans-serif; letter-spacing: -0.01em; text-wrap: balance; }
.ts-cue-x, .ts-cue-g { margin-top: 10px !important; font: 500 14px/1.42 "Montserrat", sans-serif; color: #3d3b50; text-wrap: pretty; }
.ts-cue-x span, .ts-cue-g span { display: block; margin-bottom: 2px; font: 600 10.5px/1.3 "Montserrat", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ts-mute); }
.ts-cue-g { padding-left: 12px; border-left: 2px solid var(--ts-pink); color: var(--ts-ink); font-weight: 600; }
.ts-cue ul { display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
.ts-cue li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ts-line); font: 500 13px/1.25 "Montserrat", sans-serif; }
.ts-cue li b { font-weight: 700; text-align: right; }

/* 15.11 Технологии v6: схемы глав (js/home/tech-figs.js) — сами анимации в css/tech-figs.css */
.tg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ts-fig { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 12px; overflow: visible; }

/* характеристики с бирки и конструкция (строки видны сразу — подсветка идёт от ролика, а не от появления при скролле) */
.ts .ts-specs li.rv { opacity: 1; transform: none; }
.ts-lab { margin: 0 0 4px; font: 600 10.5px/1.3 "Montserrat", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ts-mute); }
.ts-specs { display: grid; margin: 0 0 14px; padding: 0; list-style: none; }
.ts-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0 6px 10px; }
.ts-specs li::after { content: ""; position: absolute; left: 0; top: 7px; bottom: 6px; width: 2px; background: var(--ts-pink); transform: scaleY(0); transform-origin: top; transition: transform 360ms var(--hw-ease, ease); }
.ts-specs li.is-on::after { transform: none; }
.ts-specs span { font: 500 12px/1.3 "Montserrat", sans-serif; color: var(--ts-mute); }
.ts-specs b { font: 700 13px/1.25 "Montserrat", sans-serif; text-align: right; }
.ts-specs li > *, .ts-build li { transition: opacity 320ms ease; }
.ts.is-focus .ts-specs li:not(.is-on) > *, .ts.is-focus .ts-build li:not(.is-on) { opacity: .4; }
.ts-build { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.ts-build li { position: relative; z-index: 0; padding: 6px 10px; border: 1px solid #d8d6df; border-radius: 999px; font: 600 12px/1.2 "Montserrat", sans-serif; }
.ts-build li::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ts-ink); opacity: 0; transition: opacity 320ms ease; }
.ts-build li.is-on { color: #fff; }
.ts-build li.is-on::before { opacity: 1; }

/* планшет: ролик на всю ширину, под ним объяснение и характеристики в две колонки */
@media (min-width: 768px) and (max-width: 1023px) {
  .ts-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 32px; }
  .ts-read { grid-column: 1; grid-row: 1 / 5; }
  .ts-lab, .ts-specs, .ts-build { grid-column: 2; }
}

/* десктоп: заголовок + ролик + главы в один экран (шапка ~90px), панель справа на высоту ролика и глав */
@media (min-width: 1024px) {
  .ts { --ts-g: clamp(28px, 2.6vw, 44px); box-sizing: border-box; min-height: 100svh; display: grid; align-content: center; padding-top: 96px; padding-bottom: 24px; }
  .ts-hud { width: 100%; grid-template-columns: minmax(0, calc((100svh - 292px) * 16 / 9)) clamp(290px, 23vw, 360px);
    grid-template-areas: "title ." "film panel" "line panel"; grid-template-rows: auto auto 1fr; justify-content: center; column-gap: var(--ts-g); }
  .ts-panel { margin-top: 0; align-self: stretch; }
  .ts-read { margin-bottom: 16px; }
  .ts-fig { max-width: 270px; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .ts-fig { max-width: 290px; margin-top: 6px; }
  .ts-cue-x span { display: none; }
  .ts-cue-t { font-size: 21px; }
  .ts-cue-x, .ts-cue-g { font-size: 13px; margin-top: 7px !important; }
  .ts-specs li { padding-block: 5px 4px; }
  .ts-build li { padding: 5px 9px; font-size: 11.5px; }
  /* низкий экран: конструкцию и так называет текущая сцена — чипы прячем, чтобы панель не вылезала за ролик */
  .ts-lab--build, .ts-build { display: none; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .ts-fig { display: none; }
}

/* телефон: ролик (кроп 960) на всю ширину, под ним главы полосками, объяснение и характеристики */
@media (max-width: 767px) {
  .ts-film { aspect-ratio: 720 / 762; }
  .ts-line { gap: 3px; margin-top: 12px; }
  .ts-nm { display: none; }
  .ts-bar { margin-top: 0; height: 3px; }
  .ts-line button { padding: 8px 0; }
  .ts-b { width: 40px; height: 40px; }
  .ts-b--play { width: 48px; height: 40px; }
  .ts-panel { margin-top: 18px; }
  .ts-cue-t { font-size: 22px; }
  .ts-fig { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-cue, .ts-cue.is-on, .ts-specs li::after, .ts-specs li > *, .ts-build li, .ts-build li::before { transition: none; }
  /* схемы — стоп-кадр (css/tech-figs.css) */
}

/* 14.11 Первый экран не на весь экран: снизу выглядывает следующий блок; плашка со слоганом убрана */
@media (min-width: 768px) {
  .reel--hero3d,
  .reel--hero3d .reel-pin { height: 86vh; height: 86svh; min-height: 560px; }
  .reel--hero3d .reel-still { object-position: 50% 12%; }
}

/* 14.11 журнал: живой слой (тест, ползунок, стикеры) прячется мгновенно, как только лист сдвинулся, —
   раньше он 0,18 с гас поверх уже летящей страницы и «висел» прямоугольником над бумагой */
.jr3-ov { transition: none; }
