/* pechka.dev — общий вид всех страниц (14.10.2026).
   Меню-каталог слева, справа жемчужный лист; у каждого проекта свой перелив в огромном названии.
   Источник — Pechka/sites/pechka-2026-10/site, сборка build.py → dist. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/manrope-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/manrope-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-600-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-800-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #EDEFF1;
  --ink: #0F1114;
  --ink-2: #474C54;
  --ink-3: #7B818A;
  --hair: rgba(15, 17, 20, .12);
  --paper: #FFFFFF;
  --o1: #2F3CF0; --o2: #7B3FF2; --o3: #E2367A; --o4: #E07A12; --o5: #0FA89A;
  --opal: linear-gradient(100deg, var(--o1) 0%, var(--o2) 10%, var(--o3) 20%, var(--o4) 30%, var(--o5) 40%, var(--o1) 50%, var(--o2) 60%, var(--o3) 70%, var(--o4) 80%, var(--o5) 90%, var(--o1) 100%);
  --t1: var(--o1); --t2: var(--o3); --t3: var(--o5);
  --f: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --gx: clamp(16px, 3.6vw, 56px);
  --rail: 268px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
.t-cms { --t1: #2F3CF0; --t2: #E2367A; --t3: #0FA89A; }
.t-dropcrop { --t1: #2F3CF0; --t2: #7B5CFF; --t3: #1FA9E0; }
.t-travel { --t1: #E07A12; --t2: #E2367A; --t3: #0FA89A; }
.t-journest { --t1: #0BB3C6; --t2: #2F6BFF; --t3: #19C79B; }
.t-innerway { --t1: #A88A62; --t2: #6E5638; --t3: #CFAE7E; }
.t-fintrack { --t1: #12985F; --t2: #0E7C8C; --t3: #6FBF5A; }
.t-dom { --t1: #EE8F1C; --t2: #DD4B26; --t3: #E9B640; }
.t-fasting { --t1: #3AAE93; --t2: #1F7A6B; --t3: #F2A08A; }
.t-dictate { --t1: #5A4CF0; --t2: #1FA9C4; --t3: #2B2D33; }
.t-tropa { --t1: #2E8B57; --t2: #6EA83A; --t3: #1F5A3A; }
.t-life { --t1: #A4213A; --t2: #E0563A; --t3: #0BB3C6; }
.t-lastofai { --t1: #B08A5E; --t2: #2C4A78; --t3: #5C7FB0; }
.t-hub { --t1: #E2551F; --t2: #F08A4B; --t3: #5A5F6E; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/caveat-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/caveat-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@view-transition { navigation: auto; }
.rail { view-transition-name: rail; }
.mtop { view-transition-name: mtop; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--o1); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mega { font-size: clamp(56px, 10vw, 184px); font-size: clamp(56px, 13.4cqi, 200px); font-weight: 800; letter-spacing: -.058em; line-height: .9; }
.hmega { font-size: clamp(46px, 8vw, 168px); font-size: clamp(44px, 10.6cqi, 172px); font-weight: 800; letter-spacing: -.058em; line-height: .9; }
.big { font-size: clamp(42px, 6.4vw, 124px); font-size: clamp(42px, 9cqi, 132px); font-weight: 800; letter-spacing: -.052em; line-height: .92; text-wrap: balance; }
.mid { font-size: clamp(30px, 3.8vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.lead b { color: var(--ink); font-weight: 700; }
.prose { display: grid; gap: 14px; max-width: 62ch; color: var(--ink-2); font-size: 16.5px; }
.prose b { color: var(--ink); }
.small { font-size: 14px; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.opal, .tint { -webkit-background-clip: text; background-clip: text; color: transparent; }
/* градиент красит текст только в рамке элемента: хвосты «у», «y», «р» и верхушки выходили за неё и срезались.
   Рамку расширяем, отрицательный отступ возвращает вёрстку на место */
.opal, .tint, .card:hover .cap b, .prow:hover h2, .next:hover b, .bigmail:hover { padding: .08em .06em .26em; margin: -.08em -.06em -.26em; }
.opal { background-image: var(--opal); background-size: 400% 100%; animation: flow 14s linear infinite; }
.tint { background-image: linear-gradient(100deg, var(--t1) 0%, var(--t2) 16.66%, var(--t3) 33.33%, var(--t1) 50%, var(--t2) 66.66%, var(--t3) 83.33%, var(--t1) 100%); background-size: 200% 100%; animation: tflow 12s linear infinite; }
@keyframes flow { from { background-position: 0% 0; } to { background-position: 66.667% 0; } }
@keyframes tflow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.ln { display: block; overflow: hidden; padding-block: .1em .3em; margin-block: -.1em -.3em; }
.ln > span { display: inline-block; }
/* выход на страницу: строки заголовка поднимаются, остальное проявляется (только при живом JS) */
.js .rv-lines .ln > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.js .rv { animation: fadeUp .9s var(--ease) both; animation-delay: var(--d, .25s); }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } }
@supports (animation-timeline: view()) {
  .sr { animation: srIn linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  @keyframes srIn { from { transform: translateY(56px) scale(.985); } }
}

/* ---------- кнопки, чипы ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; border: 0; cursor: pointer; font: 700 16px/1 var(--f); padding: 17px 26px; border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--opal); background-size: 400% 100%; opacity: 0; transition: opacity .35s; animation: flow 6s linear infinite; }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn.light { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.btn.light:hover { color: var(--paper); }
.btn.sm { font-size: 14px; padding: 12px 18px; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link { font-weight: 700; text-decoration: none; border: 0; background: none; padding: 0 0 2px; border-bottom: 1.5px solid var(--hair); cursor: pointer; font-size: 16px; }
.link:hover { border-color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.plats { display: flex; flex-wrap: wrap; gap: 6px; }
.plats li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-2); white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--paper); color: var(--ink); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.st.sale::before { background: var(--opal); background-size: 400% 100%; animation: flow 4s linear infinite; }
.st.order::before { background: var(--o4); }
.st.wip::before { background: #C9A270; }
.st.free::before { background: var(--o5); }
.st.own::before { background: var(--ink-3); }
/* эксперимент: кольцо вместо точки — «работает, но без обещаний» */
.st.exp::before { background: transparent; box-shadow: inset 0 0 0 1.6px #C9A270; }
.ext::after { content: " ↗"; }

/* ---------- меню-каталог слева ---------- */
.rail { position: fixed; z-index: 50; top: 0; bottom: 0; left: 0; width: var(--rail); background: var(--bg); border-right: 1px solid var(--hair); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 26px) 14px calc(env(safe-area-inset-bottom, 0px) + 18px); overflow-y: auto; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
/* логотип: «Печка» оранжевым, по буквам медленно проходит едва заметный отблеск, как от огня (владелец, 14.10).
   Поля .08/.26em с таким же отрицательным отступом — чтобы градиент по тексту не срезал хвосты букв */
.brand { display: block; width: fit-content; font: 800 36px/1 var(--f); letter-spacing: -.05em; text-decoration: none; padding: .08em .1em .26em 10px; margin: -.08em 0 -.26em; -webkit-background-clip: text; background-clip: text; color: transparent;
  background-image: linear-gradient(100deg, #DE561D 0%, #E8661F 35%, #F38A36 50%, #E8661F 65%, #DE561D 100%); background-size: 260% 100%; background-position: 100% 0; animation: glint 9s ease-in-out infinite alternate; }
@keyframes glint { to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .brand { animation: none; background-position: 50% 0; } }
.brand-sub { padding: 8px 10px 0; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
/* логотип и кнопка темы одной строкой; кнопка — тихий значок, как в шапке dropcrop.ru (15.10) */
.rhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 4px; }
.thm { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ink-3); cursor: pointer; transition: color .25s, background .25s, transform .5s var(--ease); }
.thm:hover { color: var(--ink); background: rgba(15, 17, 20, .05); }
.thm:active { transform: scale(.92) rotate(-14deg); }
.thm svg { grid-area: 1 / 1; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .35s, transform .6s var(--ease); }
.thm .thm-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.mtop-r { display: flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) { .rail .thm { display: none; } }
.rnav { display: grid; gap: 2px; margin-top: 22px; }
.rg { margin: 18px 10px 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
/* пункты меню — как в редакторе DropCrop: заглавные, Manrope 500, разрядка .04em */
.ri { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 6px 10px; border-radius: 12px; text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s; }
.ri:hover { color: var(--ink); background: rgba(15, 17, 20, .045); }
.ri[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px rgba(15, 17, 20, .05), 0 6px 16px -10px rgba(15, 17, 20, .35); }
.ri em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
/* подменю под пунктом (17.10): модули CMS «Хаб» и «Публикации» — с отступом под текст пункта и линией слева */
.ri.rsub { position: relative; grid-template-columns: minmax(0, 1fr); padding: 4px 10px 4px 47px; font-size: 11px; color: var(--ink-3); }
.ri.rsub::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.ri.rsub:hover { color: var(--ink); }
.ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: -.02em; color: #fff; background: linear-gradient(140deg, var(--t1), var(--t2)); object-fit: cover; overflow: hidden; }
.ic.glyph { background: none; color: var(--ink-2); }
.ic.glyph svg { width: 18px; height: 18px; }
img.ic { background: var(--paper); }
.rail-foot { margin-top: auto; padding: 26px 10px 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.rail-foot .ri { margin-inline: -10px; }
.mail { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 14.5px; text-align: left; }
.mail i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-3); transition: color .2s; }
.mail:hover i { color: var(--o2); }

.peek { position: fixed; z-index: 60; left: calc(var(--rail) + 14px); top: 0; width: 300px; background: var(--paper); border-radius: 16px; padding: 10px; box-shadow: 0 0 0 1px rgba(15, 17, 20, .06), 0 40px 70px -34px rgba(15, 17, 20, .55); pointer-events: none; opacity: 0; transform: translateX(-8px) scale(.98); transition: opacity .22s, transform .35s var(--ease), top .35s var(--ease); }
.peek.on { opacity: 1; transform: none; }
.peek img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; background: var(--bg); }
.peek b { display: block; margin: 10px 4px 2px; font-size: 15px; letter-spacing: -.02em; }
.peek span { display: block; margin: 0 4px 4px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }

.mtop { display: none; position: fixed; z-index: 45; top: 0; left: 0; right: 0; align-items: center; justify-content: space-between; gap: 16px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--hair); }
.mtop .brand { font-size: 28px; padding-left: 0; }
.menu-btn { border: 0; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.scrim { position: fixed; inset: 0; z-index: 48; background: rgba(15, 17, 20, .32); opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (max-width: 1000px) {
  .rail { transform: translateX(-102%); transition: transform .45s var(--ease); box-shadow: 30px 0 60px -30px rgba(15, 17, 20, .45); width: min(300px, 86vw); }
  .rail.open { transform: none; }
  .rail.open ~ .scrim { opacity: 1; pointer-events: auto; }
  .mtop { display: flex; }
  .peek { display: none; }
}

/* ---------- лист ---------- */
main { --pad: max(var(--gx), calc((100vw - var(--rail) - 1760px) / 2)); margin-left: var(--rail); padding-inline: var(--pad); padding-block: 0; overflow-x: clip; container-type: inline-size; min-height: 100vh; }
@media (max-width: 1000px) { main { margin-left: 0; padding-top: 64px; } }
.page { padding-bottom: clamp(40px, 6vw, 80px); }
.sec { padding-top: clamp(84px, 11vw, 176px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px 56px; align-items: end; }
.sec-head .lead { padding-bottom: .5em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.foot { margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--hair); padding-block: 26px 34px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-3); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- телефоны и окна ---------- */
/* телефон — как Galaxy S26 Ultra: почти прямые углы, тонкая рамка, титановый кант; iOS-версий нет, поэтому только он */
.phone { display: block; container-type: inline-size; }
.phone .scr { display: block; position: relative; padding: 1.9cqi; border-radius: 5.6cqi; background: #0B0C0F; box-shadow: inset 0 0 0 .55cqi #3B3F47, inset 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 70px -40px rgba(15, 17, 20, .6), 0 0 0 1px rgba(15, 17, 20, .14); }
.phone img { width: 100%; aspect-ratio: 560 / 1212; object-fit: cover; object-position: top; border-radius: 3.4cqi; background: #16181C; }
/* планшет — как Galaxy Tab S11 в альбомной ориентации */
.tablet { display: block; container-type: inline-size; }
.tablet .tscr { display: block; position: relative; padding: 1.35cqi; border-radius: 2.6cqi; background: #0B0C0F; box-shadow: inset 0 0 0 .3cqi #3B3F47, inset 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 90px -60px rgba(15, 17, 20, .65), 0 0 0 1px rgba(15, 17, 20, .14); }
.tablet .tscr::before { content: ""; position: absolute; top: .45cqi; left: 50%; width: .45cqi; height: .45cqi; border-radius: 50%; background: #23262c; transform: translateX(-50%); }
.tablet .tv { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 1.3cqi; overflow: hidden; background: #EFEDE8; }
.tablet .tv > img, .tablet .tv > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: top; }
.tablet.port .tv { aspect-ratio: 10 / 14.3; }
.win { display: block; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 17, 20, .07), 0 50px 80px -46px rgba(15, 17, 20, .55); }
.win .bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--hair); background: #F6F7F8; }
.win .bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5D8DD; }
.win .bar span { margin: 0 auto; font-size: 11.5px; color: var(--ink-3); background: var(--bg); padding: 2px 12px; border-radius: 999px; transform: translateX(-12px); }
.win .view { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.win .view > img, .win .view > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.win.tall .view { aspect-ratio: auto; background: var(--paper); }
.win.tall .view > img { position: static; height: auto; }

/* ---------- главная: первый экран ---------- */
.hero { padding-top: clamp(56px, 9vh, 110px); }
.hero .eyebrow { margin-bottom: clamp(18px, 2.4vw, 28px); }
.hero-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(26px, 3vw, 44px); }
.hero-copy { display: grid; gap: 26px; align-content: start; }
.facts { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 2.6vw, 38px); }
.facts div { display: grid; gap: 2px; }
.facts dt { font: 800 clamp(28px, 2.6vw, 42px)/1 var(--f); letter-spacing: -.04em; }
.facts dd { font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }

.fan { position: relative; height: clamp(340px, 38cqi, 540px); }
.fp { position: absolute; left: 50%; bottom: 8%; width: 25%; margin-left: -12.5%; text-decoration: none; transform-origin: 50% 120%; transition: transform 1.1s var(--ease), filter .6s; z-index: calc(10 - var(--a)); }
.fan.in .fp { transform: translateX(calc(var(--k) * 74%)) translateY(calc(var(--a) * 5%)) rotate(calc(var(--k) * 6deg)); }
.fan.in .fp.on { transform: translateX(calc(var(--k) * 74%)) translateY(calc(var(--a) * 5% - 7%)) rotate(calc(var(--k) * 6deg)) scale(1.06); z-index: 20; }
.fan.in .fp:not(.on) { filter: saturate(.85) brightness(.97); }
@media (max-width: 900px) {
  .fan { height: 78cqi; }
  .fp { width: 30%; margin-left: -15%; }
  .fan.in .fp { transform: translateX(calc(var(--k) * 60%)) translateY(calc(var(--a) * 5%)) rotate(calc(var(--k) * 6deg)); }
  .fan.in .fp.on { transform: translateX(calc(var(--k) * 60%)) translateY(calc(var(--a) * 5% - 7%)) rotate(calc(var(--k) * 6deg)) scale(1.06); }
}
.fan-cap { display: flex; gap: 12px; align-items: baseline; justify-content: center; margin-top: 6px; font-size: 15px; min-height: 1.6em; }
.fan-cap b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.fan-cap span { color: var(--ink-3); }

/* ---------- постер анимации Journest ---------- */
.feature { display: grid; gap: clamp(26px, 3vw, 40px); }
.poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #F1EFEA; text-decoration: none; box-shadow: 0 0 0 1px rgba(15, 17, 20, .06), 0 60px 90px -60px rgba(15, 17, 20, .55); }
.poster-sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: pfade 18s infinite; }
.poster-sl img:nth-child(2) { animation-delay: -13.5s; }
.poster-sl img:nth-child(3) { animation-delay: -9s; }
.poster-sl img:nth-child(4) { animation-delay: -4.5s; }
@keyframes pfade { 0% { opacity: 0; transform: scale(1); } 5%, 25% { opacity: 1; } 30%, 100% { opacity: 0; transform: scale(1.05); } }
.play { position: absolute; right: clamp(12px, 2.2%, 30px); bottom: clamp(12px, 4%, 34px); display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: clamp(15px, 1.4vw, 19px); background: #0F1114; color: #fff; padding: 12px 20px 12px 12px; border-radius: 999px; transition: transform .4s var(--ease); box-shadow: 0 14px 30px -12px rgba(15, 17, 20, .6); }
.play::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%230F1114'/%3E%3C/svg%3E") center / 18px no-repeat; }
.poster:hover .play, .poster:focus-visible .play { transform: scale(1.05); }
.pcap { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); max-width: 70ch; }
.stats { display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 3.6vw, 56px); }
.stats div { display: grid; gap: 2px; }
.stats b { font: 800 clamp(32px, 3.8vw, 60px)/1 var(--f); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--ink-3); max-width: 18ch; }

/* ---------- карточки проектов ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 2.6vw, 40px) 16px; margin-top: clamp(36px, 4vw, 64px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: grid; gap: 12px; align-content: start; text-decoration: none; min-width: 0; }
.card.wide { grid-column: span 2; }
.stage { position: relative; aspect-ratio: 4 / 3.3; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 80% at 18% 0%, color-mix(in srgb, var(--t1) 20%, transparent), transparent 70%), radial-gradient(80% 80% at 100% 100%, color-mix(in srgb, var(--t2) 22%, transparent), transparent 70%), var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); isolation: isolate; }
.card.wide .stage { aspect-ratio: 8.3 / 3.3; }
.cards.two .stage { aspect-ratio: 16 / 9; }
.stage .phone { position: absolute; transition: transform .8s var(--ease); }
.card:hover .stage .phone, .card:focus-visible .stage .phone { transform: translateY(-10px); }
.card:hover .stage .phone + .phone { transform: translateY(-16px); }
.cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap b { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.card:hover .cap b { -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(100deg, var(--t1), var(--t2), var(--t3), var(--t1)); background-size: 200% 100%; animation: tflow 6s linear infinite; }
.card > p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.card.full { grid-column: 1 / -1; }
.card.full .stage { aspect-ratio: 12.6 / 4.2; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card.wide { grid-column: 1 / -1; } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr); } .card.wide .stage, .card.full .stage { aspect-ratio: 4 / 3.3; } }
/* Journest во всю ширину: окно браузера и три телефона */
.s-full .win { position: absolute; width: 50%; left: 5%; top: 12%; transition: transform .9s var(--ease); }
.s-full .phone { width: 13%; top: 16%; }
.s-full .phone:nth-child(2) { left: 59%; } .s-full .phone:nth-child(3) { left: 72.5%; top: 10%; } .s-full .phone:nth-child(4) { left: 86%; top: 20%; }
@media (max-width: 620px) { .s-full .win { width: 84%; left: 8%; top: 10%; } .s-full .phone { width: 26%; top: 44%; } .s-full .phone:nth-child(2) { left: 8%; } .s-full .phone:nth-child(3) { left: 37%; top: 40%; } .s-full .phone:nth-child(4) { left: 66%; top: 46%; } }
/* окно + телефон (Life) */
.s-lw .win { position: absolute; width: 80%; left: 6%; top: 12%; }
.s-lw .phone { width: 27%; right: 7%; top: 34%; }
/* Дом: телефоны и предметы из сцены «Как устроено» */
.s-dom .phone { width: 19%; top: 14%; }
.s-dom .phone:nth-of-type(1) { left: 30%; } .s-dom .phone:nth-of-type(2) { left: 51%; top: 22%; }
.s-dom .obj { position: absolute; width: 20%; left: 6%; top: 0; filter: drop-shadow(0 20px 18px rgba(15, 17, 20, .25)); transition: transform .8s var(--ease); }
.s-dom .obj.o2 { left: auto; right: 5%; top: 48%; width: 22%; }
.card:hover .s-dom .obj { transform: translateY(-8px) rotate(-2deg); }
@media (max-width: 620px) { .s-dom .phone { width: 30%; } .s-dom .phone:nth-of-type(1) { left: 18%; } .s-dom .phone:nth-of-type(2) { left: 52%; } .s-dom .obj { width: 26%; left: 2%; } }

.s-wins .win { position: absolute; width: 74%; left: 13%; top: 14%; transition: transform .9s var(--ease); }
.s-wins .win:nth-child(1) { transform: translate(-14%, 8%) rotate(-5deg); }
.s-wins .win:nth-child(2) { transform: translate(14%, 8%) rotate(5deg); }
.s-wins .win:nth-child(3) { transform: translateY(-2%); }
.card:hover .s-wins .win:nth-child(1) { transform: translate(-20%, 10%) rotate(-8deg); }
.card:hover .s-wins .win:nth-child(2) { transform: translate(20%, 10%) rotate(8deg); }
.s-wins .win .bar { height: 18px; } .s-wins .win .bar span { display: none; } .s-wins .win .bar i { width: 6px; height: 6px; }
.s-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-video .phone { width: 27%; right: 7%; top: 30%; }
.s-brand .win { position: absolute; width: 84%; left: 8%; top: 12%; }
.s-brand img, .hue { animation: hue 10s ease-in-out infinite; }
@keyframes hue { 0%, 18% { filter: none; } 34%, 50% { filter: hue-rotate(150deg) saturate(1.2); } 66%, 82% { filter: hue-rotate(250deg) saturate(1.1); } 100% { filter: none; } }
.brandchip { position: absolute; z-index: 3; left: 12%; top: 19%; font-size: 12.5px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: #fff; color: #0F1114; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.brandchip span { display: inline-block; min-width: 7.5em; }
.s-trio .phone { width: 24%; top: 20%; }
.s-trio .phone:nth-child(1) { left: 14%; } .s-trio .phone:nth-child(2) { left: 38%; top: 11%; } .s-trio .phone:nth-child(3) { left: 62%; }
.s-duo .phone { width: 38%; top: 16%; }
.s-duo .phone:nth-child(1) { left: 12%; } .s-duo .phone:nth-child(2) { left: 50%; top: 26%; }
@media (max-width: 620px) { .s-trio .phone { width: 29%; } .s-trio .phone:nth-child(1) { left: 6%; } .s-trio .phone:nth-child(2) { left: 35.5%; } .s-trio .phone:nth-child(3) { left: 65%; } }
.watch { position: absolute; width: 36%; filter: drop-shadow(0 22px 26px rgba(15, 17, 20, .32)); transition: transform .8s var(--ease); }
.watch img { width: 100%; height: auto; }
.s-iw .phone { width: 38%; left: 12%; top: 14%; }
.s-iw .watch { right: 8%; top: 8%; }
.card:hover .s-iw .watch { transform: rotate(-6deg) scale(1.04); }
.ring { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from -90deg, var(--t1), var(--t2) var(--p, 68%), rgba(15, 17, 20, .07) 0); display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(15, 17, 20, .05); }
.ring div { position: relative; text-align: center; display: grid; gap: 2px; }
.ring b { font: 800 clamp(26px, 3.4cqi, 44px)/1 var(--f); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring small { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.s-dict { background: radial-gradient(80% 80% at 30% 20%, #3A3D45, #1B1D22); }
.s-dict img { position: absolute; left: 50%; top: 46%; width: 76%; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); }
.keys { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .5); font-weight: 700; font-size: 14px; }
.key { display: inline-grid; place-items: center; min-width: 46px; height: 38px; padding: 0 12px; border-radius: 9px; background: #F4F4F6; color: #1B1D22; font-weight: 800; font-size: 14px; box-shadow: 0 4px 0 #A9ACB3, 0 10px 20px -8px rgba(0, 0, 0, .6); animation: press 4.5s infinite; }
.key.sp { min-width: 120px; }
@keyframes press { 0%, 6% { transform: translateY(3px); box-shadow: 0 1px 0 #A9ACB3, 0 4px 10px -6px rgba(0, 0, 0, .6); } 10%, 100% { transform: none; } }
.s-tropa .win { position: absolute; width: 48%; left: 26%; top: 9%; }
.s-tropa .win .view { aspect-ratio: 1132 / 1616; }

/* ---------- готовые сайты ---------- */
.ribbon { display: grid; gap: 14px; margin-top: clamp(36px, 4vw, 60px); margin-inline: calc(-1 * var(--pad)); margin-bottom: -70px; padding-bottom: 90px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.trk { display: flex; gap: 14px; width: max-content; animation: run 70s linear infinite; }
.trk.rev { animation-direction: reverse; animation-duration: 84s; }
.ribbon:hover .trk { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.store { width: clamp(250px, 26cqi, 400px); margin: 0; }
.store .view { aspect-ratio: 16 / 10; }
.store .view img { object-position: 50% 0%; transition: object-position 7s linear; }
.store:hover .view img { object-position: 50% 100%; }
.store figcaption { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: 14px; }
.store figcaption b { font-weight: 800; letter-spacing: -.02em; }
.store figcaption span { color: var(--ink-3); }
.sites { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 14px; margin-top: clamp(36px, 4vw, 60px); }
.sites .store { width: auto; }
@media (max-width: 1200px) { .sites { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- студия ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.promise { border-top: 1px solid var(--hair); }
.promise li { padding-block: 18px; border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.promise b { font-size: 19px; letter-spacing: -.02em; }
.promise span { color: var(--ink-2); font-size: 15.5px; }
.contact { display: grid; gap: 14px; align-content: start; }
.bigmail { font: 800 clamp(30px, 4.6cqi, 64px)/1 var(--f); letter-spacing: -.045em; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; word-break: break-all; color: var(--ink); }
.bigmail:hover { -webkit-background-clip: text; background-clip: text; color: transparent; background-image: var(--opal); background-size: 400% 100%; animation: flow 8s linear infinite; }
.copied { font-size: 14px; color: var(--ink-3); min-height: 1.4em; }
@media (max-width: 860px) { .studio { grid-template-columns: minmax(0, 1fr); } }

/* ---------- каталог ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: clamp(30px, 3.4vw, 48px); }
.seg { display: flex; flex-wrap: wrap; gap: 3px; background: rgba(15, 17, 20, .06); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 17, 20, .14); }
.flabel { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.plist { margin-top: 28px; border-top: 1px solid var(--hair); }
.prow { display: grid; grid-template-columns: 52px minmax(0, 1.1fr) minmax(0, 1.3fr) 210px; gap: 10px 28px; align-items: center; padding-block: clamp(16px, 1.8vw, 24px); border-bottom: 1px solid var(--hair); text-decoration: none; }
.prow .ic { width: 52px; height: 52px; border-radius: 15px; font-size: 22px; }
.prow h2 { font-size: clamp(26px, 3.2vw, 46px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.prow:hover h2 { -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(100deg, var(--t1), var(--t2), var(--t3), var(--t1)); background-size: 200% 100%; animation: tflow 6s linear infinite; }
.prow p { color: var(--ink-2); font-size: 15.5px; }
.prow .plats { margin-top: 8px; }
.prow .st { justify-self: end; }
@media (max-width: 860px) { .prow { grid-template-columns: 44px minmax(0, 1fr); } .prow .ic { width: 44px; height: 44px; font-size: 18px; } .prow > div:nth-of-type(2) { grid-column: 1 / -1; } .prow .st { grid-column: 1 / -1; justify-self: start; } }
.cpeek { position: fixed; z-index: 55; left: 0; top: 0; width: 280px; pointer-events: none; border-radius: 14px; overflow: hidden; opacity: 0; transition: opacity .25s; box-shadow: 0 40px 70px -30px rgba(15, 17, 20, .6); background: var(--paper); }
.cpeek.on { opacity: 1; }
.cpeek img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.matrix-wrap { overflow-x: auto; margin-top: clamp(30px, 3.4vw, 48px); }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td { padding: 12px 10px; border-bottom: 1px solid var(--hair); text-align: center; }
.matrix th { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.matrix th:first-child, .matrix td:first-child { text-align: left; padding-left: 0; }
.matrix td:first-child { font-weight: 800; letter-spacing: -.02em; }
.matrix td:first-child a { text-decoration: none; }
.matrix td:first-child a:hover { text-decoration: underline; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--hair); }
.dot.on { background: linear-gradient(140deg, var(--t1), var(--t2)); box-shadow: none; }
/* iOS — веб-приложением (значок на экране «Домой»): кольцо цвета проекта вместо полной точки */
.dot.pwa { box-shadow: inset 0 0 0 2.5px var(--t1); }
.matrix th small { display: block; margin-top: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: none; color: var(--ink-3); opacity: .8; }
.mnote { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; max-width: 76ch; }
.mnote .dot { flex: none; position: relative; top: 1px; --t1: var(--ink-3); }

/* ---------- страница проекта ---------- */
.ph { padding-top: clamp(48px, 8vh, 100px); }
.ph .eyebrow { margin-bottom: clamp(16px, 2vw, 24px); }
.ph-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 72px); align-items: center; margin-top: clamp(26px, 3vw, 44px); }
.ph-copy { display: grid; gap: 24px; align-content: start; }
.ph-vis { position: relative; min-height: clamp(320px, 40cqi, 560px); }
.ph-vis.v-trio { min-height: 0; aspect-ratio: 1 / .86; }
@media (max-width: 900px) { .ph-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- знак продукта в заголовке страницы (14.10) ----------
   Шрифты знаков ужаты до букв названия: Unbounded — «dropcrop», Inter Thin — «Journest». */
@font-face { font-family: "Unbounded DC"; font-style: normal; font-weight: 600; font-display: block; src: url(/media/fonts/unbounded-600-dropcrop.woff2) format("woff2"); }
@font-face { font-family: "Inter JR"; font-style: normal; font-weight: 100; font-display: block; src: url(/media/fonts/inter-100-journest.woff2) format("woff2"); }
.lock, .ln > .lock { display: inline-flex; align-items: center; gap: .18em; max-width: 100%; }
.lock > .tint { min-width: 0; }
/* строка заголовка режет всё за своей рамкой (для подъёма букв) — знакам с тенью и свечением даём запас по бокам */
.ln:has(.lock, .dcmark) { padding-inline: .3em; margin-inline: -.3em; }
.lock-ic { flex: none; width: .8em; height: .8em; border-radius: .2em; box-shadow: 0 .05em .12em -.05em rgba(15, 17, 20, .45); }
/* Travel — метка без подложки, тень нарисована в самом SVG */
.pin-ic { flex: none; width: auto; height: 1em; margin-block: -.06em; }
/* DropCrop — как в шапке dropcrop.ru: строчные Unbounded и две скобки кадра электриком */
.dcmark { position: relative; display: inline-block; font-family: "Unbounded DC", var(--f); font-weight: 600; font-size: .86em; letter-spacing: -.045em; line-height: 1; padding: .3em .26em; color: #111318; }
.dcmark .cr { position: absolute; width: .4em; height: .4em; border: .1em solid #2B3BFF; }
.dcmark .cr.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.dcmark .cr.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.js .dcmark .cr.tl { animation: dcTl .9s cubic-bezier(.16, 1, .3, 1) .55s both; }
.js .dcmark .cr.br { animation: dcBr .9s cubic-bezier(.16, 1, .3, 1) .55s both; }
@keyframes dcTl { from { transform: translate(-.5em, -.5em); opacity: 0; } 45% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes dcBr { from { transform: translate(.5em, .5em); opacity: 0; } 45% { opacity: 1; } to { transform: none; opacity: 1; } }
/* Journest — знак J (волна накатывает на песок) и тонкий Inter, как в шапке journest.app */
.jlock { gap: .2em; }
.jlock svg { flex: none; width: .92em; height: .92em; overflow: visible; filter: drop-shadow(0 .05em .08em rgba(14, 108, 158, .35)); }
.jword { font-family: "Inter JR", var(--f); font-weight: 100; letter-spacing: .02em; color: #111827; }
/* Innerway — орб из иконки приложения. Без тени и свечения за ним (владелец, 15.10): объём орб рисует сам */
.orb-ic { position: relative; flex: none; width: .86em; height: .86em; border-radius: 50%; }
.orb-ic > img, .orb-ic > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-ic > canvas { opacity: 0; transition: opacity .6s; }
.orb-ic.drawn > canvas { opacity: 1; }
.orb-ic.drawn > img { opacity: 0; transition: opacity .6s; }
.v-trio .phone { position: absolute; width: 31%; top: 6%; }
.v-trio .phone:nth-child(1) { left: 2%; transform: rotate(-6deg) translateY(8%); }
.v-trio .phone:nth-child(2) { left: 34.5%; z-index: 2; }
.v-trio .phone:nth-child(3) { left: 67%; transform: rotate(6deg) translateY(8%); }
.v-desk .win { width: 88%; }
.v-desk .phone { position: absolute; width: 25%; right: 0; bottom: -4%; z-index: 2; }
.v-desk .phone:nth-of-type(2) { right: 22%; bottom: -10%; }
.v-watch .phone { width: 28%; }
.v-watch .phone:nth-child(1) { left: 16%; } .v-watch .phone:nth-child(2) { left: 44%; } .v-watch .phone:nth-child(3) { left: 72%; }
.v-watch .watch { width: 25%; left: 0; top: 40%; z-index: 3; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 44px; margin-top: clamp(40px, 4.6vw, 70px); }
.feat h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.feat h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(140deg, var(--t1), var(--t2)); }
.feat ul { display: grid; gap: 9px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.feat li b { color: var(--ink); font-weight: 700; }
.feat.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .feat.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .feat { grid-template-columns: minmax(0, 1fr); } }
.strip-wrap { position: relative; margin-top: clamp(36px, 4vw, 60px); margin-inline: calc(-1 * var(--pad)); }
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 10px var(--pad) 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip > :last-child { margin-right: max(0px, calc(var(--pad) - 22px)); }
/* своя полоска прокрутки без подложки и тонкие стрелки по краям (появляются при наведении) */
.strip-bar { position: relative; height: 2px; margin: 0 var(--pad); }
.strip-bar i { position: absolute; top: 0; height: 2px; border-radius: 2px; background: var(--ink); opacity: .5; }
.sarr { position: absolute; z-index: 3; top: calc(50% - 46px); width: 52px; height: 72px; border: 0; padding: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.sarr svg { width: 20px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--bg)); }
.sarr.s-prev { left: 4px; } .sarr.s-next { right: 4px; }
/* с мышью ленту листает колесо (site.js) — привязка к кадрам там мешала бы плавному ходу */
@media (hover: hover) and (pointer: fine) { .strip { scroll-snap-type: none; } }
.strip-wrap:hover .sarr.on, .sarr.on:focus-visible { opacity: .75; pointer-events: auto; }
.sarr.on:hover { opacity: 1; }
@media (hover: none) { .sarr { display: none; } }
.strip > figure { flex: none; width: clamp(180px, 19cqi, 250px); scroll-snap-align: start; }
.strip > figure.wide { width: clamp(300px, 46cqi, 640px); }
.strip figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); font-weight: 600; max-width: 30ch; }
.sbtns { display: flex; gap: 8px; }
.sbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-weight: 800; font-size: 17px; box-shadow: 0 0 0 1px rgba(15, 17, 20, .08); }
.sbtn:hover { background: var(--ink); color: var(--paper); }
.hood { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hood li { font: 500 13px/1 var(--mono); padding: 9px 12px; border-radius: 8px; background: rgba(15, 17, 20, .05); color: var(--ink-2); }
.next { display: grid; gap: 6px; margin-top: clamp(90px, 11vw, 170px); padding-top: 28px; border-top: 1px solid var(--hair); text-decoration: none; }
.next small { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.next b { font-size: clamp(44px, 9cqi, 140px); font-weight: 800; letter-spacing: -.055em; line-height: .95; transition: letter-spacing .6s var(--ease); }
.next b::after { content: " →"; }
.next:hover b { letter-spacing: -.035em; -webkit-background-clip: text; background-clip: text; color: transparent; background-image: linear-gradient(100deg, var(--t1), var(--t2), var(--t3), var(--t1)); background-size: 200% 100%; animation: tflow 6s linear infinite; }
.bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); text-decoration: none; }
.bridge h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.bridge p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
@media (max-width: 760px) { .bridge { grid-template-columns: minmax(0, 1fr); } }

/* текст + картинка рядом (разворот) */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-copy { display: grid; gap: 20px; align-content: start; }
.split-copy .big { font-size: clamp(38px, 5.4vw, 92px); font-size: clamp(38px, 6.4cqi, 92px); }
.split-vis { position: relative; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: linear-gradient(140deg, var(--t1), var(--t2)); }
.ticks li b { color: var(--ink); }
.pair-vis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .36fr); gap: 18px; align-items: end; }
@media (max-width: 600px) { .pair-vis { grid-template-columns: minmax(0, 1fr); } .pair-vis .phone { width: 60%; justify-self: center; } }

/* три карточки с картинкой: погода, карта, помощник */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 60px); }
.tcard { background: var(--paper); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); }
.tcard .tv { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: radial-gradient(90% 80% at 20% 0%, color-mix(in srgb, var(--t1) 18%, transparent), transparent 70%), radial-gradient(80% 80% at 100% 100%, color-mix(in srgb, var(--t2) 18%, transparent), transparent 70%), #F7F6F3; }
.tcard .tv .phone { position: absolute; width: 46%; left: 27%; top: 10%; }
.tcard .tv > img.shot { position: absolute; left: 6%; top: 8%; width: 94%; border-radius: 12px 0 0 0; box-shadow: 0 30px 60px -36px rgba(15, 17, 20, .55); }
.tcard .tv > img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }
.tcard .tb { padding: 22px 22px 26px; display: grid; gap: 8px; align-content: start; }
.tcard h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.tcard p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 980px) { .trio { grid-template-columns: minmax(0, 1fr); } .tcard { grid-template-rows: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); } .tcard .tv { aspect-ratio: auto; min-height: 260px; } }
@media (max-width: 600px) { .tcard { grid-template-columns: minmax(0, 1fr); } }

/* языки флажками */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 60px); }
.lang { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--paper) 70%, transparent); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); }
.lang img { width: 44px; height: 44px; border-radius: 50%; flex: none; filter: drop-shadow(0 6px 10px rgba(15, 17, 20, .18)); }
.lang b { display: block; font-size: 16px; letter-spacing: -.01em; }
.lang small { display: block; font: 500 12px var(--mono); color: var(--ink-3); text-transform: uppercase; }

/* утилиты приложения */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); }
.tool i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--t1)) 14%, transparent); color: var(--c, var(--t1)); }
.tool i svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.tool span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 460px) { .tools { grid-template-columns: minmax(0, 1fr); } }

/* встроенная анимация Journest */
/* анимация Journest — в рамке планшета: у неё своя прокрутка, рядом с прокруткой страницы она должна читаться отдельным экраном */
.motion { position: relative; max-width: 1180px; margin: clamp(30px, 3.6vw, 52px) auto 0; }
.motion iframe { pointer-events: none; }
.motion.live iframe { pointer-events: auto; }
.mctl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.mctl button, .mctl a { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 700 14px/1 var(--f); padding: 11px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(15, 17, 20, .08), 0 10px 26px -14px rgba(15, 17, 20, .5); }
.mctl .mplay { background: var(--ink); color: var(--paper); }
.mctl svg { width: 16px; height: 16px; fill: currentColor; }
.mctl .mplay .i-pause { display: none; }
.mctl .mplay.on .i-play { display: none; }
.mctl .mplay.on .i-pause { display: inline; }

/* Финтрекер: четыре экрана */
.ft { display: grid; justify-items: center; gap: 22px; }
.ft .phone { width: min(300px, 70%); }
.ftscr { position: relative; display: block; }
.ftscr img + img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ftscr img { opacity: 0; transition: opacity .5s; }
.ftscr img.on { opacity: 1; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: rgba(15, 17, 20, .06); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: none; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 17, 20, .14); }

/* Innerway: модули */
.mods { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 4vw, 60px); align-items: start; }
@media (max-width: 860px) { .mods { grid-template-columns: minmax(0, 1fr); } }
.modbox { background: var(--paper); border-radius: 20px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); display: grid; gap: 18px; }
.modbox h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .chips span { font-size: 14.5px; font-weight: 700; padding: 10px 15px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink-3); cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.chips span { background: var(--ink); color: var(--paper); cursor: default; }
.chips button[aria-pressed="true"] { background: linear-gradient(140deg, var(--t1), var(--t2)); color: #fff; }
.chips button:active { transform: scale(.96); }
.modcount { font-size: 15px; color: var(--ink-2); }
.modcount b { color: var(--ink); }

/* CMS: смена витрин */
.wipe { position: relative; }
.wipe .win { position: relative; }
.lay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; clip-path: circle(0% at 70% 40%); z-index: 0; }
.lay.under { clip-path: circle(150% at 70% 40%); z-index: 1; }
.lay.on { clip-path: circle(150% at 70% 40%); z-index: 2; transition: clip-path 1.25s cubic-bezier(.65, 0, .35, 1); }
.wcap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.wcap b { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.wcap span { color: var(--ink-3); }

/* DropCrop: до и после */
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 4vw, 60px); }
.pair .pp { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper); }
.pp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp .af { opacity: 0; transition: opacity .8s ease; }
.pair.flip .af, .pair:hover .af { opacity: 1; }
.pp::after { content: "до"; position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .92); color: #0F1114; padding: 4px 9px; border-radius: 99px; }
.pair.flip .pp::after, .pair:hover .pp::after { content: "после"; background: #0F1114; color: #fff; }
.pair figcaption { margin-top: 10px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.duo figure { border-radius: 14px; overflow: hidden; background: var(--paper); position: relative; }
.duo img { width: 100%; aspect-ratio: 2000 / 1091; object-fit: cover; }
.duo figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0F1114; }
@media (max-width: 900px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Travel: цена и шаги */
.price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.pr-num { display: flex; align-items: baseline; gap: .1em; white-space: nowrap; font: 800 clamp(52px, 9cqi, 170px)/.86 var(--f); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.pr-num .from { font-size: .3em; letter-spacing: -.02em; color: var(--ink-3); align-self: center; margin-right: .12em; }
.pr-num .cur { font-size: .42em; letter-spacing: -.02em; }
.steps { counter-reset: st; border-top: 1px solid var(--hair); }
.steps li { counter-increment: st; padding: 14px 0; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.steps li::before { content: counter(st); font-weight: 800; color: var(--ink-3); }
.steps li b { color: var(--ink); }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); } }

/* Дом: схема и устройства */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 60px); position: relative; }
.flow > div { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 0 10px; position: relative; z-index: 1; align-content: start; }
.flow .node { width: clamp(64px, 8cqi, 96px); aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; background: var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .06), 0 24px 40px -28px rgba(15, 17, 20, .5); }
.flow .node svg { width: 46%; height: 46%; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow b { font-size: 17px; letter-spacing: -.02em; margin-top: 8px; }
.flow span { font-size: 14px; color: var(--ink-3); max-width: 26ch; }
.flow svg.wire { position: absolute; left: 16.66%; top: calc(clamp(64px, 8cqi, 96px) / 2); width: 66.68%; height: 4px; overflow: visible; z-index: 0; }
.wire line { stroke: var(--t1); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@media (max-width: 640px) { .flow { grid-template-columns: minmax(0, 1fr); gap: 28px; } .flow svg.wire { display: none; } }
.hubtags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.hubtags li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.devs { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--hair); }
.devs li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) auto; gap: 8px 24px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--hair); }
.devs b { font-size: 19px; letter-spacing: -.02em; }
.devs span { color: var(--ink-2); font-size: 15.5px; }
.devs em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; justify-self: end; background: var(--paper); color: var(--ink-2); }
.devs em.on { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .devs li { grid-template-columns: minmax(0, 1fr); } .devs em { justify-self: start; } }

/* спецификация и скачивание */
.spec { border-top: 1px solid var(--hair); }
.spec div { display: grid; grid-template-columns: minmax(110px, .5fr) minmax(0, 1.5fr); gap: 6px 24px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.spec dt { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.spec dd { font-size: 15.5px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.spec code { font: 500 13.5px/1.5 var(--mono); }
@media (max-width: 560px) { .spec div { grid-template-columns: minmax(0, 1fr); } }
.dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(22px, 3.4vw, 48px); border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05), 0 50px 90px -60px rgba(15, 17, 20, .45); }
.dl-copy { display: grid; gap: 18px; align-content: start; }
.dl-note { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.dl-note code { font: 500 13px var(--mono); background: var(--bg); padding: 2px 6px; border-radius: 6px; color: var(--ink-2); }
@media (max-width: 860px) { .dl { grid-template-columns: minmax(0, 1fr); } }
.tbl-wrap { overflow-x: auto; margin-top: 22px; }
.tbl { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hair); }
.tbl th { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tbl td:first-child { font-family: var(--mono); font-size: 14px; }
.ok { color: #16A34A; font-weight: 700; }
.no { color: var(--o3); font-weight: 700; }
.news { display: grid; gap: 14px; counter-reset: n; }
.news li { display: grid; gap: 4px; padding-left: 26px; position: relative; color: var(--ink-2); font-size: 16px; }
.news li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(140deg, var(--t1), var(--t2)); }
.news b { color: var(--ink); }

/* Дом: путь команды — обычный умный дом против «Дома» */
.routes { display: grid; gap: 18px; margin-top: clamp(30px, 3.6vw, 52px); }
.route { display: grid; grid-template-columns: minmax(150px, .32fr) minmax(0, 1fr); gap: 14px 26px; align-items: center; padding: clamp(16px, 2vw, 26px); border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px rgba(15, 17, 20, .05); }
.route > p { display: grid; gap: 4px; }
.route > p b { font-size: 17px; letter-spacing: -.02em; }
.route > p span { font-size: 14px; color: var(--ink-3); }
.rt { display: flex; align-items: center; min-width: 0; }
.rn { flex: none; display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: center; width: 84px; }
.rn i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); }
.rn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rn.far i { background: #FFF1E6; }
.rn.far svg { stroke: #C2410C; }
.rl { flex: 1 1 0; min-width: 14px; height: 2px; margin-bottom: 22px; background: repeating-linear-gradient(90deg, var(--t1) 0 6px, transparent 6px 13px); background-size: 26px 2px; animation: rlrun 1s linear infinite; opacity: .7; }
.route.cloud .rl { --t1: #C2410C; animation-duration: 1.8s; }
@keyframes rlrun { to { background-position: 26px 0; } }
.rtag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #FFF1E6; color: #C2410C; }
.route.ours .rtag { background: color-mix(in srgb, var(--t1) 14%, transparent); color: var(--t2); }
@media (max-width: 760px) { .route { grid-template-columns: minmax(0, 1fr); } .rt { overflow-x: auto; padding-bottom: 4px; } .rn { width: 70px; } }

/* Дом: три звена — телефон, хаб (слайдер), устройства (слайдер) */
.hw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; margin-top: clamp(36px, 4vw, 60px); }
.hw-col { display: grid; justify-items: center; text-align: center; gap: 8px; align-content: start; position: relative; z-index: 1; }
.hw-vis { position: relative; width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.hw-vis .phone { width: 40%; }
.hw-col b { font-size: 18px; letter-spacing: -.02em; margin-top: 4px; }
.hw-col > span { font-size: 14.5px; color: var(--ink-2); max-width: 30ch; }
.slider { position: absolute; inset: 0; }
.slider img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; opacity: 0; transform: scale(.94) translateY(6px); transition: opacity .7s ease, transform .9s var(--ease); filter: drop-shadow(0 26px 26px rgba(15, 17, 20, .2)); }
.slider img.on { opacity: 1; transform: none; }
.scap { font-size: 13px; font-weight: 700; color: var(--t2); min-height: 1.4em; }
.hw-wire { position: absolute; top: calc(min(100%, 300px) / 2); left: 18%; right: 18%; height: 2px; z-index: 0; background: repeating-linear-gradient(90deg, var(--t1) 0 6px, transparent 6px 13px); background-size: 26px 2px; animation: rlrun 1.1s linear infinite; opacity: .6; }
@media (max-width: 760px) { .hw { grid-template-columns: minmax(0, 1fr); } .hw-wire { display: none; } }

/* Journest: живой глобус кабинета (отдельная страница /media/globe/ в рамке) */
.globebox { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.16; margin-inline: auto; }
.globebox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }

/* Journest: стол, рюкзак и сумка с наградами — как в кабинете */
.desk { position: relative; margin-top: clamp(36px, 4vw, 56px); padding-bottom: 6%; }
.desk-table { position: absolute; left: -4%; right: -4%; bottom: 0; height: 34%; background: url(/media/jr/acc/table.webp) center top / cover no-repeat; border-radius: 6px; }
.desk-row { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4%; align-items: end; padding-inline: 4%; }
.bagbox { position: relative; }
.bagbox > img:first-child { width: 100%; display: block; filter: drop-shadow(0 26px 22px rgba(15, 17, 20, .32)); }
.bagbox .pin { position: absolute; width: 11.5%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.bagbox.bag .pin { width: 13.5%; }

/* Journest: альбом со стикерами */
.album { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1.25; max-width: 1080px; margin: clamp(36px, 4vw, 56px) auto 0; border-radius: 10px; background: #F6F0E4; box-shadow: 0 0 0 1px rgba(80, 60, 30, .1), 0 50px 80px -50px rgba(60, 40, 10, .55); overflow: hidden; }
.album::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 60px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(80, 60, 30, .16) 45%, rgba(80, 60, 30, .22) 50%, rgba(80, 60, 30, .16) 55%, transparent); pointer-events: none; }
.apage { position: relative; }
.apage h4 { position: absolute; left: 8%; top: 6%; margin: 0; font: 500 clamp(26px, 3.4vw, 46px)/1 "Caveat", cursive; color: #5A4632; }
.apage h4 small { display: block; font-size: .55em; color: #8C7457; margin-top: 4px; }
.stk { position: absolute; width: var(--w, 24%); transform: translate(-50%, -50%) rotate(var(--r, 0deg)); filter: drop-shadow(0 6px 6px rgba(60, 40, 10, .28)); transition: transform .5s var(--ease); }
.stk:hover { transform: translate(-50%, -54%) rotate(0deg) scale(1.06); }
.stamp { position: absolute; font: 800 11px/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: rgba(164, 33, 58, .55); border: 2px solid rgba(164, 33, 58, .45); border-radius: 10px; padding: 6px 9px; transform: rotate(var(--r, -8deg)); text-align: center; }

/* CMS: десктоп + планшет + телефон одного магазина */
.devices { position: relative; padding: 0 0 12% 0; }
.devices .win { width: 86%; margin-left: 14%; }
.devices .tablet { position: absolute; width: 34%; left: 0; bottom: 0; z-index: 2; }
.devices .phone { position: absolute; width: 17%; right: 4%; bottom: -2%; z-index: 3; }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--hair); }
.reasons li { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 8px; align-content: start; }
.reasons li:not(:nth-child(3n)) { border-right: 1px solid var(--hair); }
.reasons li:not(:nth-child(3n+1)) { padding-left: 24px; }
.reasons b { font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.reasons span { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } .reasons li { border-right: 0 !important; padding-left: 0 !important; } }
@media (max-width: 600px) { .reasons { grid-template-columns: minmax(0, 1fr); } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) 18px; margin-top: clamp(36px, 4vw, 60px); }
.gallery .store { width: auto; }
.gallery .store .view { aspect-ratio: 16 / 11; }
.gallery .store figcaption { font-size: 15.5px; }
.gallery .store figcaption b { font-size: 18px; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.livetag { font-size: 11px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--o5) !important; margin-left: auto; }
.wins2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; margin-top: clamp(36px, 4vw, 60px); }
.wins2 figcaption { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.wins2 figcaption b { color: var(--ink); }
@media (max-width: 760px) { .wins2 { grid-template-columns: minmax(0, 1fr); } }
.tabrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; align-items: end; }
@media (max-width: 760px) { .tabrow { grid-template-columns: minmax(0, 1fr); } }

/* большое окно на всю ширину (настольные версии) */
.bigwin { margin-top: clamp(36px, 4vw, 60px); max-width: 1600px; }
.bigwin .win .view { aspect-ratio: 16 / 10; }

/* Диктовка: живой стенд в рамке */
.stand-frame { width: 100%; border: 0; display: block; height: 520px; border-radius: 22px; background: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .sr, .poster-sl img { animation: none !important; }
  .poster-sl img:first-child { opacity: 1; }
}

/* ---------- DropCrop: ИИ-фотосессия (как на cms.pechka.dev) ---------- */
.stg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: clamp(30px, 4vw, 52px); }
.stc { position: relative; margin: 0; }
.stc > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.stc .was { position: absolute; left: 8px; top: 8px; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, .25); background: #fff; }
.stc .was img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stc figcaption { margin-top: 8px; display: grid; gap: 1px; }
.stc figcaption b { font-size: 14.5px; font-weight: 700; }
.stc figcaption span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1100px) { .stg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; margin-top: clamp(64px, 8vw, 120px); }
.sub-head .lead { padding-bottom: .3em; }
@media (max-width: 860px) { .sub-head { grid-template-columns: minmax(0, 1fr); } }
.dchip { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0F1114; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dchip.ai { background: #0F1114; color: #fff; }
.dchip.ai::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--opal); background-size: 400% 100%; animation: flow 4s linear infinite; }
.ribbons { display: grid; gap: 14px; margin-top: clamp(30px, 4vw, 52px); margin-inline: calc(-1 * var(--pad)); }
.rib { --rw: clamp(120px, 14cqi, 220px); display: grid; grid-template-columns: var(--rw) minmax(0, 1fr); grid-template-rows: 100%; height: calc(var(--rw) * 4 / 3); gap: 14px; padding-left: var(--pad); }
.rib-src { position: relative; margin: 0; border-radius: 12px; overflow: hidden; height: 100%; background: #ddd; }
.rib-src img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rib-src figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; }
.rib-run { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.rib-trk { display: flex; gap: 14px; height: 100%; width: max-content; animation: rib 46s linear infinite; }
.rib:nth-child(even) .rib-trk { animation-direction: reverse; animation-duration: 54s; }
.rib-trk img { height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; display: block; }
@keyframes rib { to { transform: translateX(-50%); } }
.rib-cap { position: absolute; left: 18px; top: 12px; z-index: 2; }
.dcstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: clamp(34px, 4vw, 56px); border-top: 1px solid var(--hair); padding-top: 22px; }
.dcstats b { display: block; font-size: clamp(30px, 3.4cqi, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.dcstats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 860px) { .dcstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- DropCrop: бот в Telegram и стикербомбинг ---------- */
.tgbot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(30px, 4vw, 52px); }
.tgbot .tg-copy { display: grid; gap: 18px; align-content: start; }
.tgbot ol { counter-reset: tg; display: grid; gap: 12px; }
.tgbot ol li { counter-increment: tg; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.tgbot ol li::before { content: counter(tg); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #2AABEE, #229ED9); color: #fff; font-weight: 800; font-size: 14px; }
.tgbot ol li b { color: var(--ink); }
.tg-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.tg-shots img { width: 100%; border-radius: 22px; box-shadow: 0 0 0 1px rgba(15, 17, 20, .08), 0 40px 60px -36px rgba(15, 17, 20, .55); }
.tg-shots img:nth-child(2) { margin-top: 14%; }
@media (max-width: 900px) { .tgbot { grid-template-columns: minmax(0, 1fr); } .tg-shots { max-width: 560px; } }
.bomb { position: relative; margin-top: clamp(30px, 4vw, 52px); aspect-ratio: 16 / 7; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #FFF7EC, #F2E7D8 55%, #E9DCCB); container-type: inline-size; }
.bomb img { position: absolute; width: calc(var(--s) * 1cqi); left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%) rotate(calc(var(--r) * 1deg)); filter: drop-shadow(0 6px 10px rgba(60, 40, 20, .22)); transition: transform .5s var(--ease); }
.bomb img:hover { transform: translate(-50%, -50%) rotate(0deg) scale(1.12); z-index: 50; }
.bomb .bomb-src { position: absolute; z-index: 40; left: 3%; bottom: 6%; width: clamp(110px, 16cqi, 210px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #fff, 0 14px 30px rgba(0, 0, 0, .3); }
.bomb .bomb-src img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
.bomb .bomb-src span { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: #fff; color: #0F1114; white-space: nowrap; }
@media (max-width: 760px) { .bomb { aspect-ratio: 4 / 5; } .bomb img { width: calc(var(--s) * 2.1cqi); left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); } }
@media (prefers-reduced-motion: reduce) { .rib-trk { animation: none; } }

/* =====================================================================
   ТЁМНАЯ ТЕМА (15.10.2026) — не перевёрнутые цвета, а «обсидиан».
   Владелец: «не просто инверсию, а роскошную». Что делает её такой:
   - чёрный с тёплым отливом и слоновая кость вместо белого текста;
   - свет в комнате: от логотипа в левом верхнем углу тянет жаром печки,
     справа и снизу — свечение в цветах проекта (на главной — фиолет и синь);
     поверх — едва заметное зерно, как у плёнки;
   - карточки — дымчатое стекло: тонкая грань света по краю и блик сверху;
   - телефоны, планшеты и окна стоят на цветной подсветке своего проекта.
   Включает html[data-theme="dark"] (layout.html, site.js). Фото и снимки
   экранов не трогаем — это содержимое; плашки поверх фото одинаковы в
   обеих темах (заданы постоянным цветом выше).
   ===================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0B0D;
  --ink: #F3F0EA;
  --ink-2: #B5B0A8;
  --ink-3: #8A857E;          /* 5,3:1 на фоне, 4,9:1 на карточке */
  --hair: rgba(255, 244, 230, .11);
  --paper: #141416;
  --lift: #1D1D21;           /* поверхность над карточкой: выбранная вкладка, кнопки */
  --edge: rgba(255, 246, 235, .075);   /* грань стекла */
  --edge-hi: rgba(255, 255, 255, .06); /* блик по верхнему краю */
  --glow1: #7B3FF2; --glow2: #2F3CF0;
}
html[data-theme="dark"] body[class*=" t-"] { --glow1: var(--t1); --glow2: var(--t2); }
html[data-theme="dark"] ::selection { background: rgba(236, 104, 36, .38); color: #fff; }
html[data-theme="dark"] :focus-visible { outline-color: #8C95FF; }

/* свет в комнате и зерно — один неподвижный слой под всем содержимым */
html[data-theme="dark"] body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(46vw 40vw at -4% -6%, rgba(240, 110, 40, .17), rgba(240, 110, 40, .05) 45%, transparent 72%),
    radial-gradient(54vw 46vw at 106% -6%, color-mix(in srgb, var(--glow1) 14%, transparent), transparent 70%),
    radial-gradient(70vw 48vw at 72% 114%, color-mix(in srgb, var(--glow2) 11%, transparent), transparent 72%);
}

/* меню: на широком экране прозрачное — сквозь него виден тот же свет, что на листе */
@media (min-width: 1001px) {
  html[data-theme="dark"] .rail { background: linear-gradient(180deg, rgba(255, 255, 255, .014), transparent 40%); border-right-color: var(--edge); }
}
@media (max-width: 1000px) {
  html[data-theme="dark"] .rail { background: #0E0E11; border-right-color: var(--edge); box-shadow: 30px 0 80px -30px rgba(0, 0, 0, .9); }
}
html[data-theme="dark"] .brand { filter: drop-shadow(0 0 16px rgba(240, 110, 40, .34)); }
html[data-theme="dark"] .ri:hover { background: rgba(255, 255, 255, .045); }
html[data-theme="dark"] .ri[aria-current="page"] { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), 0 10px 24px -14px rgba(0, 0, 0, .85); }
html[data-theme="dark"] .thm:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .thm .thm-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
html[data-theme="dark"] .thm .thm-sun { opacity: 1; transform: none; }
html[data-theme="dark"] .scrim { background: rgba(0, 0, 0, .62); }
/* тёмные значки (Journest, Last of AI…) иначе сливаются с фоном — тонкая грань поверх картинки */
html[data-theme="dark"] img.ic { outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px; }
html[data-theme="dark"] :is(.peek, .cpeek) { box-shadow: 0 0 0 1px var(--edge), 0 40px 80px -30px rgba(0, 0, 0, .95); }

/* крупные заголовки — едва заметное тёплое сияние */
html[data-theme="dark"] :is(.mega, .hmega, .big) { text-shadow: 0 0 .6em rgba(255, 232, 206, .06); }

/* кнопки: главная — слоновая кость с мягким светом; по наведению перелив, надпись белая */
html[data-theme="dark"] .btn { box-shadow: 0 14px 34px -16px rgba(255, 232, 206, .32); }
html[data-theme="dark"] .btn:hover, html[data-theme="dark"] .btn:focus-visible { color: #fff; }
html[data-theme="dark"] .btn.light { box-shadow: inset 0 0 0 1px var(--hair); }
html[data-theme="dark"] .st { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--edge); }
html[data-theme="dark"] .st::before { background: #34D27A; }
html[data-theme="dark"] .st.sale::before { background: var(--opal); background-size: 400% 100%; }
html[data-theme="dark"] .st.order::before { background: var(--o4); }
html[data-theme="dark"] .st.wip::before { background: #D9B27E; }
html[data-theme="dark"] .st.free::before { background: var(--o5); }
html[data-theme="dark"] .st.own::before { background: var(--ink-3); }
html[data-theme="dark"] .st.exp::before { background: transparent; box-shadow: inset 0 0 0 1.6px #D9B27E; }
html[data-theme="dark"] :is(.seg, .tabs) { background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px var(--edge); }
html[data-theme="dark"] :is(.seg button[aria-pressed="true"], .tabs button[aria-selected="true"]) { background: var(--lift); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), 0 4px 12px -6px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .sbtn { background: var(--lift); box-shadow: inset 0 0 0 1px var(--edge); }
html[data-theme="dark"] .mctl :is(button, a):not(.mplay) { background: var(--lift); box-shadow: inset 0 0 0 1px var(--edge), 0 10px 26px -14px rgba(0, 0, 0, .85); }
html[data-theme="dark"] .hood li { background: rgba(255, 255, 255, .055); }
html[data-theme="dark"] .chips button { background: rgba(255, 255, 255, .055); }

/* дымчатое стекло: карточки, плашки, блоки скачивания */
html[data-theme="dark"] :is(.bridge, .tcard, .modbox, .route, .tool, .dl) {
  background: linear-gradient(180deg, #18181B, #121214);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), 0 40px 80px -56px rgba(0, 0, 0, .95);
}
html[data-theme="dark"] .lang { background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--edge); }
html[data-theme="dark"] :is(.hubtags li, .devs em:not(.on)) { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--edge); }
html[data-theme="dark"] .flow .node { background: linear-gradient(180deg, #1C1C20, #141417); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), 0 24px 50px -26px color-mix(in srgb, var(--t1) 45%, transparent); }
html[data-theme="dark"] .ring { background: conic-gradient(from -90deg, var(--t1), var(--t2) var(--p, 68%), rgba(255, 255, 255, .08) 0); }
html[data-theme="dark"] .ring::before { box-shadow: inset 0 0 0 1px var(--edge); }

/* сцены карточек проектов: цвет проекта светится из темноты */
html[data-theme="dark"] .stage {
  background:
    radial-gradient(90% 80% at 18% 0%, color-mix(in srgb, var(--t1) 30%, transparent), transparent 70%),
    radial-gradient(80% 80% at 100% 100%, color-mix(in srgb, var(--t2) 26%, transparent), transparent 70%),
    linear-gradient(180deg, #17171A, #101012);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi);
}
html[data-theme="dark"] .tcard .tv {
  background:
    radial-gradient(90% 80% at 20% 0%, color-mix(in srgb, var(--t1) 26%, transparent), transparent 70%),
    radial-gradient(80% 80% at 100% 100%, color-mix(in srgb, var(--t2) 24%, transparent), transparent 70%),
    #121214;
}

/* устройства: титановый кант ярче, тонкая грань и подсветка снизу цветом проекта */
html[data-theme="dark"] .phone .scr { box-shadow: inset 0 0 0 .55cqi #4C505A, inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 80px -44px rgba(0, 0, 0, .95), 0 40px 100px -50px color-mix(in srgb, var(--t1) 50%, transparent); }
html[data-theme="dark"] .tablet .tscr { box-shadow: inset 0 0 0 .3cqi #4C505A, inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 255, 255, .06), 0 60px 100px -60px rgba(0, 0, 0, .95), 0 50px 140px -70px color-mix(in srgb, var(--t1) 46%, transparent); }
html[data-theme="dark"] .win { background: #141416; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 50px 90px -50px rgba(0, 0, 0, .95), 0 40px 130px -70px color-mix(in srgb, var(--t1) 42%, transparent); }
html[data-theme="dark"] .win .bar { background: linear-gradient(180deg, #202024, #19191C); border-bottom-color: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .win .bar i { background: #3B3B42; }
html[data-theme="dark"] .win .bar span { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .poster { box-shadow: 0 0 0 1px var(--edge), 0 60px 120px -70px rgba(0, 0, 0, .95), 0 40px 140px -80px color-mix(in srgb, var(--t1) 40%, transparent); }
html[data-theme="dark"] .tg-shots img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -36px rgba(0, 0, 0, .9); }
html[data-theme="dark"] .rib-src { background: #1B1B1E; }

/* знаки продуктов в заголовках — их же тёмные варианты */
html[data-theme="dark"] .dcmark { color: #F1F3F7; }        /* как в тёмной теме dropcrop.ru */
html[data-theme="dark"] .jword { color: #E9EEF5; }

/* Дом: облачный путь — тёплый сигнал, читаемый на тёмном */
html[data-theme="dark"] :is(.rn.far i, .rtag) { background: rgba(234, 88, 12, .15); }
html[data-theme="dark"] .rn.far svg { stroke: #FF9B66; }
html[data-theme="dark"] .rtag { color: #FF9B66; }
html[data-theme="dark"] .route.cloud .rl { --t1: #FF7A3D; }
html[data-theme="dark"] .ok { color: #3DD47F; }

/* Journest: альбом — предмет на столе, остаётся бумажным; DropCrop: стикеры на тёмной коже */
html[data-theme="dark"] .album { box-shadow: 0 0 0 1px rgba(255, 240, 220, .06), 0 60px 100px -50px rgba(0, 0, 0, .95); }
html[data-theme="dark"] .bomb { background: radial-gradient(120% 90% at 30% 20%, #2B2118, #1A140F 55%, #110D0A); box-shadow: inset 0 0 0 1px var(--edge); }

/* смена темы кругом от кнопки (site.js): только корень, без перехода меню и шапки отдельно */
html.thm-vt::view-transition-old(root), html.thm-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.thm-vt .rail, html.thm-vt .mtop { view-transition-name: none; }

/* ---------- Journest: умная карта, ИИ-маршрут, «Всё под рукой» (15.10) ---------- */
/* два снимка карты внахлёст: большой Токио, Бангкок поверх правого нижнего угла */
.mapstack { position: relative; margin-top: clamp(36px, 4vw, 60px); max-width: 1600px; padding-bottom: 12%; }
.mapstack .win .view { aspect-ratio: 2988 / 1200; background: #F2EFE9; }
.mapstack .wa { width: 86%; }
.mapstack .wb { position: absolute; right: 0; bottom: 0; width: 50%; }
@media (max-width: 760px) { .mapstack { padding-bottom: 0; } .mapstack .wa { width: 100%; } .mapstack .wb { position: static; width: 100%; margin-top: 14px; } }

.feat.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 40px; }
@media (max-width: 1400px) { .feat.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat.four { grid-template-columns: minmax(0, 1fr); } }

/* ИИ-маршрут: шторка помощника поверх снимка чата на странице места */
.aivis { position: relative; display: flow-root; }   /* flow-root: иначе отступ карточки схлопывается и окно встаёт вровень с ней */
.aivis > .win { position: absolute; top: 0; right: 0; width: 72%; }
.aivis > .win .view { aspect-ratio: 975 / 798; }
.aicard { position: relative; z-index: 1; width: 64%; margin-top: 16%; background: var(--paper); border-radius: 22px; padding: 18px 18px 14px; display: grid; gap: 14px; box-shadow: 0 0 0 1px rgba(15, 17, 20, .06), 0 50px 90px -40px rgba(15, 17, 20, .5); }
@media (max-width: 1000px) { .aivis > .win { display: none; } .aicard { width: 100%; max-width: 560px; margin: 0 auto; } }
.ai-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.ai-head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ai-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hair); font-size: 14px; font-weight: 600; color: var(--ink-3); text-align: center; }
.ai-tabs span { padding-bottom: 10px; }
.ai-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--t2); }
.ai-q { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; font-size: 14px; }
.ai-q small { color: var(--ink-3); font-size: 12.5px; }
.ai-range { position: relative; height: 4px; border-radius: 4px; background: var(--hair); }
.ai-range::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--t1), var(--t2)); }
.ai-range::after { content: ""; position: absolute; top: 50%; left: var(--v); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 2px var(--t2), 0 2px 6px rgba(0, 0, 0, .2); }
.ai-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tags span { font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: var(--bg); color: var(--ink-2); }
.ai-tags .on { background: linear-gradient(140deg, var(--t1), var(--t2)); color: #fff; }
.ai-tags .gps { display: inline-flex; align-items: center; gap: 6px; }
.ai-tags .gps::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2.5px var(--t2); }
.ai-map { --water: #BFDDE8; --park: #D7EBD9; --street: rgba(15, 17, 20, .09); display: block; width: 100%; height: auto; border-radius: 14px; background: #F1F3EE; }
.ai-plan { display: grid; }
.ai-plan li { display: grid; grid-template-columns: 44px 24px minmax(0, 1fr); gap: 0 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--hair); }
.ai-plan time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.ai-plan i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(140deg, var(--t1), var(--t2)); color: #fff; font-size: 11.5px; font-weight: 800; }
.ai-plan .me i { background: #fff; box-shadow: inset 0 0 0 5px var(--t2); }
.ai-plan b { font-size: 14.5px; letter-spacing: -.01em; }
.ai-plan small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.35; }
.ai-note { font-size: 12px; color: var(--ink-3); }
html[data-theme="dark"] .aicard { background: linear-gradient(180deg, #19191C, #121214); box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 var(--edge-hi), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 40px 120px -60px color-mix(in srgb, var(--t1) 40%, transparent); }
html[data-theme="dark"] .ai-tags span:not(.on) { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .ai-plan .me i { background: #141416; }
html[data-theme="dark"] .ai-map { --water: rgba(70, 150, 185, .32); --park: rgba(90, 160, 110, .18); --street: rgba(255, 244, 230, .08); background: #17191A; }
html[data-theme="dark"] .mapstack .win .view { background: #1A1A1C; }

/* ---------- живые знаки (15.10) ---------- */
/* Пауза: подложка → полоски паузы падают сверху → круг рисуется, как стрелка по циферблату
   (светлое голодание, потом персиковое окно еды на 8–12 часах) → круг поворачивается на 120°,
   и окно еды опускается в улыбку. Геометрия — из генератора иконки приложения (tool/icon_gen_test.dart).
   Повтор — наведением (site.js). Без JS и при «меньше движения» — сразу готовый знак. */
.pz-ic { box-shadow: none; border-radius: 0; overflow: visible; }
.pz-ic .pz-bg, .pz-ic .pz-rot { transform-origin: 192px 192px; }
.js .pz-ic.pz-run .pz-bg { animation: pzBg .7s cubic-bezier(.2, .9, .3, 1.15) .25s both; }
.js .pz-ic.pz-run .pz-bar { animation: pzDrop .62s cubic-bezier(.3, .7, .4, 1) .7s both; }
.js .pz-ic.pz-run .pz-b2 { animation-delay: .82s; }
.js .pz-ic.pz-run .pz-fast, .js .pz-ic.pz-run .pz-eat { stroke-dasharray: 1 1; }
.js .pz-ic.pz-run .pz-fast { animation: pzDraw .62s cubic-bezier(.45, 0, .55, 1) 1.3s both; }
.js .pz-ic.pz-run .pz-eat { animation: pzDraw .34s cubic-bezier(.3, 0, .5, 1) 1.9s both; }
.js .pz-ic.pz-run .pz-rot { animation: pzTurn 1.05s cubic-bezier(.55, 0, .25, 1) 2.5s both; }
@keyframes pzBg { from { opacity: 0; transform: scale(.4); } 55% { opacity: 1; } }
@keyframes pzDrop { 0% { transform: translateY(-250px); } 68% { transform: translateY(9px); } 84% { transform: translateY(-3px); } 100% { transform: none; } }
@keyframes pzDraw { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes pzTurn { 0% { transform: rotate(120deg); } 82% { transform: rotate(-5deg); } 100% { transform: none; } }

/* Хаб (17.10): знак «Узел» из значка приложения (AndroidStudioProjects/hub/tool/icons).
   Сборка: подложка → загорается оранжевый центр → от него по очереди тянутся четыре линии,
   на концах «включаются» точки (сайт, QR, стол, почта подключаются к центру). Потом,
   раз в 2 с, от очередного угла к центру бежит искра — пришло сообщение, — центр
   вздрагивает и расходится волной. Повтор сборки — наведением (site.js); вне экрана
   цикл стоит (.hb-paused). Без JS и при «меньше движения» — сразу готовый знак. */
.hb-ic { box-shadow: none; border-radius: 0; overflow: visible; }
.hb-ic .hb-bg, .hb-ic .hb-core, .hb-ic .hb-ring, .hb-ic .hb-glow, .hb-ic .hb-sp { transform-origin: 192px 192px; }
.hb-ic .hb-n1 { transform-origin: 272.74px 111.26px; }
.hb-ic .hb-n2 { transform-origin: 272.74px 272.74px; }
.hb-ic .hb-n3 { transform-origin: 111.26px 272.74px; }
.hb-ic .hb-n4 { transform-origin: 111.26px 111.26px; }
.hb-ic .hb-ring, .hb-ic .hb-sp { opacity: 0; }
.hb-ic .hb-glow { opacity: .55; }
.hb-ic .hb-s1 { --dx: 80.74px; --dy: -80.74px; }
.hb-ic .hb-s2 { --dx: 80.74px; --dy: 80.74px; }
.hb-ic .hb-s3 { --dx: -80.74px; --dy: 80.74px; }
.hb-ic .hb-s4 { --dx: -80.74px; --dy: -80.74px; }
.js .hb-ic.hb-run .hb-bg { animation: pzBg .7s cubic-bezier(.2, .9, .3, 1.15) .25s both; }
.js .hb-ic.hb-run .hb-core { animation: hbPop .55s cubic-bezier(.3, 1.6, .5, 1) .65s both, hbBeat 2s ease-out 3.24s infinite; }
.js .hb-ic.hb-run .hb-glow { animation: hbGlow .9s ease-out .7s both; }
.js .hb-ic.hb-run .hb-ln { stroke-dasharray: 1 1; animation: pzDraw .36s cubic-bezier(.45, 0, .55, 1) both; }
.js .hb-ic.hb-run .hb-l1 { animation-delay: 1s; }
.js .hb-ic.hb-run .hb-l2 { animation-delay: 1.14s; }
.js .hb-ic.hb-run .hb-l3 { animation-delay: 1.28s; }
.js .hb-ic.hb-run .hb-l4 { animation-delay: 1.42s; }
.js .hb-ic.hb-run .hb-nd { animation: hbPop .42s cubic-bezier(.3, 1.6, .5, 1) both, hbSend 8s ease-out infinite; }
.js .hb-ic.hb-run .hb-n1 { animation-delay: 1.3s, 2.6s; }
.js .hb-ic.hb-run .hb-n2 { animation-delay: 1.44s, 4.6s; }
.js .hb-ic.hb-run .hb-n3 { animation-delay: 1.58s, 6.6s; }
.js .hb-ic.hb-run .hb-n4 { animation-delay: 1.72s, 8.6s; }
.js .hb-ic.hb-run .hb-sp { animation: hbSpark 8s cubic-bezier(.5, 0, .7, 1) infinite; }
.js .hb-ic.hb-run .hb-s1 { animation-delay: 2.6s; }
.js .hb-ic.hb-run .hb-s2 { animation-delay: 4.6s; }
.js .hb-ic.hb-run .hb-s3 { animation-delay: 6.6s; }
.js .hb-ic.hb-run .hb-s4 { animation-delay: 8.6s; }
.js .hb-ic.hb-run .hb-ring { animation: hbRing 2s ease-out 3.24s infinite; }
.hb-ic.hb-paused * { animation-play-state: paused !important; }
@keyframes hbPop { from { transform: scale(0); } 70% { transform: scale(1.18); } to { transform: none; } }
@keyframes hbGlow { from { opacity: 0; transform: scale(.3); } 60% { opacity: .9; } to { opacity: .55; transform: none; } }
/* искра: от угла к центру за ~0,6 с, дальше ждёт своей очереди (цикл 8 с на четыре угла) */
@keyframes hbSpark {
  0% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); }
  1.5% { opacity: 1; }
  8% { opacity: 1; transform: none; }
  9.5%, 100% { opacity: 0; transform: scale(.4); }
}
/* угол «отправляет»: точка на миг вспухает, когда из неё выходит искра */
@keyframes hbSend { 0% { transform: none; } 2.5% { transform: scale(1.28); } 7%, 100% { transform: none; } }
/* центр «принимает»: короткий толчок и волна */
@keyframes hbBeat { 0% { transform: none; } 7% { transform: scale(1.13); } 18%, 100% { transform: none; } }
@keyframes hbRing { 0% { opacity: .75; transform: none; } 45% { opacity: 0; transform: scale(2.05); } 100% { opacity: 0; transform: scale(2.05); } }

/* Last of AI: облако точек и визор с глазами рисует site.js, без тёмной подложки */
.lo-ic { position: relative; flex: none; width: .92em; height: .92em; margin-inline: -.04em; }
.lo-ic > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Дом: надпись проявляется серой, первой загорается «о», свет от неё расходится на «Д» и «м».
   Серый слой и слой свечения лежат поверх цветного; дыру в сером и пятно свечения
   открывает радиус --r из центра «о» (центр считает site.js, здесь — запасной). */
/* 🔴 анимация радиуса — на самих слоях: внешний span — это .ln > span, его анимация — подъём строки */
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
/* слои — в одной ячейке сетки: у всех одна строка и одна база, отступы .tint гасятся одинаково
   (абсолютный серый слой вставал на пару пикселей выше, из-под него торчали цветные ножки «Д») */
.ln > .domlit { display: inline-grid; --gx: 50%; --gy: 46%; }
.domlit > * { grid-area: 1 / 1; }
.dl-grey, .dl-glow { pointer-events: none; display: none; white-space: nowrap; }
.js .dl-grey, .js .dl-glow { display: block; }
/* 🔴 поля как у .tint: маска режет всё за рамкой элемента, без нижнего поля из-под серого торчали цветные ножки «Д» */
.dl-grey { color: #AEB2B8; padding: .08em .06em .26em; margin: -.08em -.06em -.26em; -webkit-mask-image: radial-gradient(circle at var(--gx) var(--gy), transparent var(--r), #000 calc(var(--r) + .2em)); mask-image: radial-gradient(circle at var(--gx) var(--gy), transparent var(--r), #000 calc(var(--r) + .2em)); }
.dl-glow.tint { filter: blur(.07em); opacity: 0; -webkit-mask-image: radial-gradient(circle at var(--gx) var(--gy), #000 var(--r), transparent calc(var(--r) + .35em)); mask-image: radial-gradient(circle at var(--gx) var(--gy), #000 var(--r), transparent calc(var(--r) + .35em)); }
.js .dl-grey { animation: domR 2.9s cubic-bezier(.4, 0, .3, 1) 1s both; }
.js .dl-glow { animation: domR 2.9s cubic-bezier(.4, 0, .3, 1) 1s both, domGlowLight 2.9s ease-out 1s both, tflow 12s linear infinite; }
html.js[data-theme="dark"] .dl-glow { animation-name: domR, domGlow, tflow; }
@keyframes domR { 0%, 18% { --r: 0px; } 38% { --r: .3em; } 54% { --r: .36em; } 100% { --r: 1.9em; } }
@keyframes domGlow { 0%, 18% { opacity: 0; } 40% { opacity: .95; } 62% { opacity: .8; } 100% { opacity: .32; } }
@keyframes domGlowLight { 0%, 18% { opacity: 0; } 40% { opacity: .6; } 100% { opacity: .16; } }
html[data-theme="dark"] .dl-grey { color: #45423E; }

/* Дом в меню: лампа под абажуром; при наведении загорается с мерцанием, на своей странице горит */
.ic.lamp { background: #8A3E12; }
.ic.lamp svg { display: block; width: 100%; height: 100%; }
.lamp .lm-on { opacity: 0; }
.ri:hover .lamp .lm-on, .ri:focus-visible .lamp .lm-on { opacity: 1; animation: lmOn .7s linear both; }
.ri[aria-current="page"] .lamp .lm-on { opacity: 1; animation: none; }
@keyframes lmOn { 0% { opacity: 0; } 12% { opacity: .85; } 20% { opacity: .15; } 34% { opacity: 1; } 44% { opacity: .55; } 58%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js .pz-ic .pz-bg, .js .pz-ic .pz-bar, .js .pz-ic .pz-fast, .js .pz-ic .pz-eat, .js .pz-ic .pz-rot { animation: none !important; }
  .js .hb-ic * { animation: none !important; }
  .js .dl-grey, .js .dl-glow { display: none; }
  .ri:hover .lamp .lm-on { animation: none; }
}
