@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  src: url("../fonts/RobotoFlex-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  src: url("../fonts/RobotoFlex-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   Морф — стили сайта студии. Токены сверху, секции по порядку.
   ============================================================ */
:root {
  --blue: #2A35FF;
  --blue-d: #1C25D6;
  --ink: #0C0E2A;
  --ink-2: #15183C;
  --ink-3: #20245A;
  --paper: #F1F2F7;
  --white: #FFFFFF;
  --lav: #D9D6FF;
  --lav-2: #E9E7FF;
  --signal: #FF5B37;
  --mute: #54587C;        /* на светлом */
  --mute-d: #A9ACD4;      /* на тёмном */
  --line: rgba(12, 14, 42, .12);
  --line-d: rgba(255, 255, 255, .14);
  --disp: 'Roboto Flex', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --r: clamp(20px, 2vw, 28px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.ul { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.ul:hover { text-decoration-color: var(--blue); }

/* ── типографика ── */
.h2 { font-family: var(--disp); font-weight: 800; font-stretch: 118%; font-size: clamp(34px, 5.4vw, 88px); line-height: .98; letter-spacing: -.022em; text-wrap: balance; }
.h2--xl { font-size: clamp(40px, 6.4vw, 108px); }
.h3 { font-family: var(--disp); font-weight: 700; font-stretch: 110%; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.1; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; max-width: 50ch; color: var(--mute); text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 600; }
.note { margin-top: 28px; font-size: 15px; color: var(--mute); max-width: 70ch; }

/* ── секции ── */
.sec { padding-block: clamp(72px, 10vw, 168px); position: relative; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--blue { background: var(--blue); color: #fff; }
.sec--lav { background: var(--lav); }
.sec--ink .lede, .sec--blue .lede { color: var(--mute-d); }
.sec--blue .lede { color: rgba(255, 255, 255, .82); }
.sec__head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(32px, 4.5vw, 72px); }
@media (min-width: 900px) { .sec__head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px; } }

/* ── кнопки ── */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px; line-height: 1.1; white-space: nowrap; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .5s var(--ease); will-change: transform; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ink:hover { --bg: var(--blue); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white:hover { --bg: var(--ink); --fg: #fff; }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: #fff; --fg: var(--ink); }
.calc__res .btn--blue:hover { --bg: var(--ink); --fg: #fff; }
.btn--ghost-w { --bg: transparent; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-w:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.lnk { display: inline; text-align: left; font-weight: 500; font-size: 15px; color: var(--blue); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s; }
.lnk:hover { text-decoration-color: currentColor; }
.lnk--w { color: #fff; }

/* ── шапка ── */
.hdr { position: fixed; z-index: 100; top: 12px; left: 50%; translate: -50% 0; width: min(1560px - 2 * var(--pad), 100% - 2 * var(--pad)); height: var(--hdr-h); display: flex; align-items: center; gap: 16px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(12, 14, 42, .06), 0 12px 40px -18px rgba(12, 14, 42, .35); transition: translate .5s var(--ease); }
.hdr.is-hidden { translate: -50% -90px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 900; font-stretch: 135%; font-size: 22px; letter-spacing: -.02em; }
.logo__dot { width: 16px; height: 16px; background: var(--blue); border-radius: 4px; animation: dot 7s var(--ease) infinite; }
@keyframes dot { 0%, 20% { border-radius: 4px; rotate: 0deg; } 33%, 53% { border-radius: 50%; rotate: 90deg; } 66%, 86% { border-radius: 50% 50% 50% 0; rotate: 225deg; } 100% { border-radius: 4px; rotate: 360deg; } }
.hdr__nav { display: none; margin-inline: auto; gap: 4px; }
.hdr__nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .2s; }
.hdr__nav a:hover { background: var(--lav-2); }
.hdr__cta { margin-left: auto; }
.hdr__burger { width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 6px; background: var(--paper); }
.hdr__burger i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.hdr__burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1000px) { .hdr__nav { display: flex; } .hdr__burger { display: none; } .hdr__cta { margin-left: 0; } }
@media (max-width: 380px) { .hdr { padding-left: 16px; gap: 8px; } .hdr__cta { padding-inline: 14px; } }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 110px var(--pad) 40px; overflow: auto; }
.mnav nav { display: grid; }
.mnav a { font-family: var(--disp); font-weight: 800; font-stretch: 125%; font-size: clamp(30px, 9vw, 52px); line-height: 1.05; padding: 12px 0; border-bottom: 1px solid var(--line-d); letter-spacing: -.02em; }

/* ── герой ── */
.hero { position: relative; background: var(--blue); color: #fff; min-height: 100vh; min-height: 100svh; display: flex; overflow: clip; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { position: absolute; right: 8%; top: 18%; width: min(34vw, 46vh); color: #fff; opacity: .9; display: none; }
.no-gl .hero__fallback { display: block; }
.no-gl .hero__gl { display: none; }
.hero__in { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 104px; padding-bottom: clamp(16px, 2.4vw, 32px); }
.hero__kicker { font-size: clamp(14px, 1.1vw, 17px); font-weight: 500; max-width: 34ch; margin-bottom: auto; padding-top: 8px; }
.hero__h { font-family: var(--disp); margin-top: 24px; }
.hero__h1 { display: block; font-weight: 500; font-stretch: 112%; font-size: clamp(30px, 4.6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.hero__word { display: block; width: min(100%, 1500px); font-weight: 900; font-size: clamp(64px, min(15.5vw, 33vh), 300px); line-height: .92; letter-spacing: -.035em; white-space: nowrap; margin-left: -.035em; padding-bottom: .06em; }
.hero__word-in { display: inline-block; transform-origin: 0 60%; font-variation-settings: "wdth" 151, "wght" 900; transition: font-variation-settings .7s var(--ease), opacity .3s, filter .3s; }
.hero__word-in.is-out { opacity: 0; filter: blur(8px); transition-duration: .32s; }
.hero__foot { display: grid; gap: 20px; margin-top: clamp(14px, 1.6vw, 28px); }
.hero__lede { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.45; max-width: 48ch; color: rgba(255, 255, 255, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__list { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-top: clamp(18px, 2.4vw, 36px); padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: clamp(13px, 1vw, 16px); font-weight: 500; }
.hero__list li { opacity: .72; cursor: pointer; transition: opacity .3s; display: flex; align-items: center; gap: 8px; }
.hero__list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; scale: 0; transition: scale .4s var(--ease); margin-left: -15px; }
.hero__list li.is-on { opacity: 1; }
.hero__list li.is-on::before { scale: 1; margin-left: 0; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 48ch) auto; align-items: end; justify-content: space-between; }
  .hero__word { width: 64%; }
}
@media (max-width: 899px) {
  .hero__word { font-size: clamp(64px, min(25vw, 17vh), 200px); }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__fallback { right: 50%; translate: 50% 0; top: 16%; width: min(52vw, 26vh); }
}
@media (max-width: 520px) { .hero__cta .btn--lg { min-height: 54px; padding-inline: 20px; font-size: 16px; } .hero__list { gap: 4px 16px; } }

/* ── услуги: бенто ── */
.bento { display: grid; gap: clamp(12px, 1.2vw, 20px); grid-template-columns: 1fr; }
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 34px); border-radius: var(--r); background: var(--white); min-width: 0; }
.svc > p, .svc > div > p { color: var(--mute); font-size: 16px; }
.svc__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.svc__price { font-family: var(--disp); font-weight: 700; font-stretch: 110%; font-size: 19px; white-space: nowrap; }
.svc__price small { display: block; font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--mute); }
.svc--3d { background: var(--lav); }
.svc--3d > p { color: #3d4070; }
.svc--move { background: var(--blue); color: #fff; }
.svc.svc--move > div > p { color: rgba(255, 255, 255, .9); max-width: 60ch; margin-top: 14px; }
.svc--move .lnk, .svc--care .lnk { color: #fff; }
.svc--move .svc__price small, .svc--care .svc__price small { color: rgba(255, 255, 255, .75); }
.svc--care { background: var(--ink); color: #fff; }
.svc--care > p { color: var(--mute-d); }
.move__nums { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.move__nums b { display: block; font-family: var(--disp); font-weight: 900; font-stretch: 140%; font-size: clamp(40px, 5vw, 84px); line-height: .95; letter-spacing: -.03em; }
.move__nums span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .85); max-width: 22ch; }
.care { display: grid; gap: 0; font-size: 16px; }
.care li { padding: 11px 0 11px 28px; border-top: 1px solid var(--line-d); position: relative; }
.care li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid #8f96ff; border-bottom: 2px solid #8f96ff; rotate: -45deg; }
@media (max-width: 560px) { .move__nums { grid-template-columns: 1fr; gap: 14px; } .move__nums li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; } .move__nums span { margin: 0; max-width: none; } }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc--move { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-template-areas: "a a a a bot bot bot bot shop shop shop shop" "b b b b bot bot bot bot shop shop shop shop" "c c c c d d d d td td td td" "move move move move move move move move care care care care"; }
  .svc--a { grid-area: a; } .svc--b { grid-area: b; } .svc--c { grid-area: c; } .svc--d { grid-area: d; }
  .svc--bot { grid-area: bot; } .svc--shop { grid-area: shop; } .svc--3d { grid-area: td; } .svc--move { grid-area: move; } .svc--care { grid-area: care; }
  .svc--move { display: grid; grid-template-columns: 1fr; align-content: space-between; }
}

/* демо: чат */
.chat { display: flex; flex-direction: column; border-radius: 20px; background: #E4E7F6; overflow: hidden; height: 372px; margin-top: 4px; }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); margin: 6px 6px 0; border-radius: 15px; }
.chat__ava { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; }
.chat__bar b { display: block; font-size: 14px; line-height: 1.2; }
.chat__bar span { display: block; font-size: 12px; color: var(--mute); line-height: 1.2; }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px; overflow: hidden; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 16px 16px 16px 5px; background: #fff; font-size: 14.5px; line-height: 1.35; align-self: flex-start; animation: msg .35s var(--ease) both; flex: none; }
.msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 16px 16px 5px 16px; }
.msg--typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #8d91b5; animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes msg { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.chat__opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; min-height: 50px; align-content: flex-end; }
.chat__opts button { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--blue); color: var(--blue); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; min-height: 38px; }
.chat__opts button:hover { background: var(--blue); color: #fff; }

/* демо: магазин */
.shop { border-radius: 20px; background: #E4E7F6; padding: 6px; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; min-height: 372px; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 15px; padding: 8px 8px 8px 16px; }
.shop__bar b { font-family: var(--disp); font-weight: 800; font-stretch: 120%; }
.shop__cart { position: relative; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.shop__cart.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.shop__list { display: grid; gap: 6px; flex: 1; }
.shop__list li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; background: #fff; border-radius: 15px; padding: 8px 10px 8px 8px; }
.shop__pic { width: 56px; height: 56px; border-radius: 11px; display: grid; place-items: center; }
.shop__pic i { display: block; }
.shop__list b { display: block; font-size: 15px; line-height: 1.2; font-weight: 600; }
.shop__list span { font-size: 14px; color: var(--mute); }
.shop__add { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.shop__add:hover { background: var(--blue); color: #fff; }
.shop__add:active { transform: scale(.9); }
.shop__sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 15px; padding: 8px 8px 8px 16px; font-size: 14.5px; font-weight: 500; min-height: 56px; }
.shop__pay { height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; transition: opacity .2s; }
.shop__pay:disabled { opacity: .35; cursor: default; }
.fly { position: fixed; z-index: 200; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); pointer-events: none; }

/* демо: куб */
.cube { height: 170px; display: grid; place-items: center; perspective: 700px; cursor: grab; touch-action: pan-y; margin-block: 6px; }
.cube:active { cursor: grabbing; }
.cube__in { --s: 96px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(38deg); }
.cube__in i { position: absolute; inset: 0; border-radius: 10px; border: 2px solid var(--ink); background: rgba(42, 53, 255, .86); }
.cube__in i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube__in i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: rgba(12, 14, 42, .9); }
.cube__in i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: rgba(255, 255, 255, .9); }
.cube__in i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: rgba(255, 91, 55, .92); }
.cube__in i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: rgba(143, 150, 255, .92); }
.cube__in i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: rgba(12, 14, 42, .9); }

/* ── работы ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 44px); }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line-d); font-size: 15px; font-weight: 500; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #fff; }
.chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 699px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } }
.works { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 48px) clamp(14px, 1.4vw, 24px); }
@media (min-width: 700px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .works { grid-template-columns: repeat(12, 1fr); } .work { grid-column: span 4; } .works:not(.is-filtered) .work--8 { grid-column: span 8; } }
.work { display: block; min-width: 0; color: #fff; text-align: left; }
.work[hidden] { display: none; }
.work__stage { position: relative; height: clamp(230px, 62vw, 420px); border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 110%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 70%), var(--ink-2); }
@media (min-width: 700px) { .work__stage { height: clamp(240px, 30vw, 330px); } }
@media (min-width: 1100px) { .work__stage { height: clamp(250px, 23vw, 400px); } }
.work__meta { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px 0; }
.work__name { font-family: var(--disp); font-weight: 700; font-stretch: 112%; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.work__name small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--mute-d); white-space: nowrap; }
.work__type { font-size: 15px; color: var(--mute-d); line-height: 1.4; }

/* рамка браузера */
.bro { position: absolute; left: 7%; right: 7%; top: 10%; bottom: -1px; border-radius: 12px 12px 0 0; background: #1d2046; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease); }
.work:hover .bro, .work:focus-visible .bro { transform: translateY(-6px); }
.bro__bar { flex: none; height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #272b5c; }
.bro__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.bro__bar span { margin-left: 10px; font-size: 11px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bro__vp { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #fff; }
.bro__vp img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.shot-long { opacity: 0; transition: opacity .4s, transform .8s var(--ease); will-change: transform; }
.shot-long.is-ready { opacity: 1; }
.work--8 .bro { right: 30%; left: 5%; }
/* рамка телефона */
.pho { position: absolute; border-radius: 9% / 4.4%; background: #0a0b1c; padding: 1.6%; box-shadow: 0 0 0 1.5px #3a3f7a, 0 30px 60px -18px rgba(0, 0, 0, .7); overflow: hidden; }
.pho__vp { position: relative; width: 100%; height: 100%; border-radius: 7.5% / 3.6%; overflow: hidden; background: #fff; }
.pho__vp img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.work .pho { aspect-ratio: 1170 / 2532; height: 86%; bottom: -14%; right: 7%; padding: 5px; transition: transform .6s var(--ease); }
.work:hover .pho { transform: translateY(-10px); }
.work--phone .pho, .work--mock .pho { right: auto; left: 50%; translate: -50% 0; height: 112%; top: 9%; bottom: auto; }
.work--mock .work__nums { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: space-between; padding: 18px 20px; font-size: 12.5px; line-height: 1.25; color: var(--mute-d); }
.work__nums div:nth-child(even) { text-align: right; }
.work__nums b { display: block; font-family: var(--disp); font-weight: 800; font-stretch: 125%; font-size: clamp(24px, 2.2vw, 36px); color: #fff; letter-spacing: -.02em; line-height: 1.05; }
/* схема интерфейса фитнес-студии (не скриншот) */
.fit { position: absolute; inset: 0; background: #F4F2FB; color: #1b1740; font-size: 10px; line-height: 1.25; padding: 12% 7% 0; display: flex; flex-direction: column; gap: 5%; container-type: inline-size; }
.fit * { font-size: 5.6cqw; }
.fit__h { font-weight: 700; font-size: 7.4cqw; }
.fit__card { border-radius: 8cqw; padding: 7cqw; background: #7A5CFF; color: #fff; display: grid; gap: 2cqw; }
.fit__card b { font-size: 12cqw; line-height: 1; font-family: var(--disp); font-weight: 800; }
.fit__bar { height: 3cqw; border-radius: 3cqw; background: rgba(255, 255, 255, .3); overflow: hidden; }
.fit__bar i { display: block; height: 100%; width: 62%; background: #fff; }
.fit__row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 6cqw; padding: 5cqw 6cqw; }
.fit__row span { color: #6f6a94; }
.fit__row em { font-style: normal; background: #E8E3FF; color: #4a2fe0; padding: 1.5cqw 4cqw; border-radius: 4cqw; font-weight: 600; }
.mock-note { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 12px; line-height: 1.3; padding: 6px 10px; border-radius: 10px; background: rgba(12, 14, 42, .82); color: #fff; max-width: 15em; }

/* ── концепты ── */
.concepts { display: grid; gap: clamp(28px, 3vw, 44px) clamp(14px, 1.4vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .concepts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .concepts { grid-template-columns: repeat(4, 1fr); } }
.cpt { display: flex; flex-direction: column; min-width: 0; }
.cpt__cover { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--c0); color: var(--c1); display: grid; place-items: center; width: 100%; isolation: isolate; }
.cpt__cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 82% 110%, color-mix(in srgb, var(--c2) 70%, transparent), transparent 70%), radial-gradient(40% 50% at 8% -10%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 70%); transition: transform 1s var(--ease); }
.cpt__cover:hover::before { transform: scale(1.25) rotate(6deg); }
.cpt__mark { font-family: var(--disp); font-size: clamp(30px, 9cqw, 64px); line-height: 1; white-space: nowrap; transition: font-variation-settings .7s var(--ease), letter-spacing .7s var(--ease); }
.cpt__cover { container-type: inline-size; }
.cpt__mark { font-size: 13cqw; }
.cpt__badge { position: absolute; left: 12px; top: 12px; z-index: 3; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); }
.cpt__sw { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 0; z-index: 1; }
.cpt__sw i { width: 14px; height: 14px; border-radius: 50%; margin-left: -4px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c1) 40%, transparent); }
.cpt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 2; opacity: 0; transition: opacity .6s, transform 1.2s var(--ease); }
.cpt__img.is-ready { opacity: 1; }
.cpt__cover:hover .cpt__img { transform: scale(1.04); }
.cpt__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 4px 0; flex: 1; }
.cpt__type { font-size: 14px; color: var(--mute); }
.cpt__tag { font-size: 15.5px; line-height: 1.4; color: var(--mute); margin-bottom: 10px; }
.cpt__body .lnk { margin-top: auto; align-self: flex-start; font-size: 16px; font-weight: 600; min-height: 32px; }

/* ── процесс ── */
.steps { display: grid; gap: 0 clamp(14px, 1.4vw, 24px); grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 22px 0 clamp(28px, 3.4vw, 52px); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-content: start; border-top: 2px solid var(--line); }
.step::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--blue); transform-origin: 0 50%; }
.step__n { grid-row: span 3; font-family: var(--disp); font-weight: 900; font-stretch: 151%; font-size: clamp(54px, 5vw, 88px); line-height: .84; color: var(--blue); min-width: 1.05em; letter-spacing: -.04em; }
.step p { color: var(--mute); font-size: 16px; max-width: 38ch; }
.step__t { justify-self: start; margin-top: 8px; font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--lav); }

/* ── калькулятор ── */
.calc { display: grid; gap: clamp(24px, 3vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); } .calc__res { position: sticky; top: 96px; } }
.calc__q { display: grid; gap: clamp(28px, 3vw, 44px); min-width: 0; }
.calc__set legend { font-family: var(--disp); font-weight: 700; font-stretch: 110%; font-size: clamp(20px, 1.6vw, 26px); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 0; }
.calc__set legend span { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 16px; font-weight: 800; flex: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: flex; flex-direction: column; justify-content: center; text-align: left; min-height: 52px; padding: 9px 18px; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, .42); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.opt small { display: block; font-weight: 400; font-size: 13px; opacity: .82; margin-top: 2px; }
.opt:hover { border-color: #fff; }
.opt:active { transform: scale(.97); }
.opt[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.opts--checks .opt { padding-left: 46px; }
.opts--checks .opt::before { content: ''; position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid currentColor; }
.opts--checks .opt[aria-pressed="true"]::before { background: var(--blue); border-color: var(--blue); }
.opts--checks .opt[aria-pressed="true"]::after { content: ''; position: absolute; left: 21px; top: 50%; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -80%; }
@media (max-width: 560px) { .opts--checks { display: grid; grid-template-columns: 1fr; } }
.calc__res { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.4vw, 36px); display: grid; gap: 16px; }
.calc__lbl { font-weight: 600; font-size: 16px; color: var(--mute); }
.calc__price { font-family: var(--disp); font-weight: 900; font-stretch: 100%; font-size: clamp(30px, 3.1vw, 50px); line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.calc__price span { display: block; }
.calc__dl { display: grid; gap: 0; }
.calc__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.calc__dl dt { color: var(--mute); }
.calc__dl dd { font-weight: 600; text-align: right; white-space: nowrap; }
.calc__fine, .form__fine { font-size: 13.5px; color: var(--mute); line-height: 1.4; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .5); margin: 0; display: grid; place-content: center; cursor: pointer; background: transparent; }
.check input::after { content: ''; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { opacity: 1; }
.check--inv input { border-color: var(--mute); }

/* ── FAQ ── */
.faq { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: start; } .faq__head { position: sticky; top: 110px; } }
.faq__head { display: grid; gap: 20px; }
.qa { border-top: 1.5px solid var(--ink); }
.qa:last-child { border-bottom: 1.5px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 1.8vw, 26px) 0; font-family: var(--disp); font-weight: 600; font-stretch: 105%; font-size: clamp(19px, 1.7vw, 27px); line-height: 1.2; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white) linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat, var(--white); transition: rotate .4s var(--ease), background-color .2s; }
.qa[open] summary::after { rotate: 45deg; }
.qa summary:hover::after { background-color: var(--lav); }
.qa__a { padding: 0 60px 26px 0; color: var(--mute); max-width: 64ch; font-size: 17px; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 560px) { .qa__a { padding-right: 0; } }

/* ── контакты ── */
.contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.contact__l { display: grid; gap: 24px; }
.contact__ways { display: grid; margin-top: 12px; }
.contact__ways li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-d); flex-wrap: wrap; }
.contact__ways li:last-child { border-bottom: 1px solid var(--line-d); }
.contact__ways span { color: var(--mute-d); font-size: 15px; }
.contact__ways a { font-family: var(--disp); font-weight: 600; font-stretch: 108%; font-size: clamp(20px, 2vw, 30px); transition: color .2s; }
.contact__ways a:hover { color: #9aa0ff; }
.form { position: relative; display: grid; gap: 14px; background: var(--ink-2); border-radius: var(--r); padding: clamp(20px, 2.4vw, 36px); }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 7px; font-size: 14.5px; color: var(--mute-d); min-width: 0; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid transparent; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; transition: border-color .2s, background .2s; outline: 0; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.fld select option { color: #111; }
.fld ::placeholder { color: rgba(255, 255, 255, .42); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { border-color: #8f96ff; background: rgba(255, 255, 255, .12); }
.fld .is-bad { border-color: var(--signal); }
.form__err { color: #ffb4a3; font-size: 14.5px; font-weight: 500; }
.form__fine { color: var(--mute-d); text-align: center; }
.form__ok { position: absolute; inset: 0; z-index: 2; background: var(--ink-2); border-radius: inherit; padding: inherit; display: flex; flex-direction: column; justify-content: center; gap: 16px; outline: 0; animation: msg .4s var(--ease) both; }
.form__ok .h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; }
.form__ok p { color: var(--mute-d); max-width: 40ch; }
.form__ok-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px; }

/* ── подвал ── */
.ftr { background: #070818; color: #fff; padding-top: 44px; overflow: clip; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; font-size: 15px; color: var(--mute-d); }
.ftr__top p { max-width: 40ch; }
.ftr__top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__top a { color: #fff; padding-block: 6px; }
.ftr__top a:hover { text-decoration: underline; text-underline-offset: .2em; }
.ftr__mark { font-family: var(--disp); font-weight: 900; font-size: 23.4vw; line-height: 1.04; letter-spacing: -.04em; white-space: nowrap; margin: 1vw 0 0 -.04em; color: var(--blue); font-variation-settings: "wdth" var(--mw, 151), "wght" 900; }
.step--js::before { display: none; }
@media (min-width: 1560px) { .ftr__mark { font-size: 365px; } }
.ftr__c { padding-block: 22px 26px; font-size: 14px; color: var(--mute-d); }

/* ── диалоги ── */
.dlg { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: #fff; overflow: hidden; }
.dlg::backdrop { background: var(--ink); }
.dlg__x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, rotate .4s var(--ease); }
.dlg__x:hover { background: var(--blue); color: #fff; rotate: 90deg; }
.dlg__x--in { position: static; width: 44px; height: 44px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); gap: 2px; }
.seg button { min-height: 38px; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; transition: background .2s, color .2s; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-d); color: #d5d7f2; }

.case { height: 100%; display: grid; grid-template-columns: 1fr; overflow-y: auto; overscroll-behavior: contain; }
.case__stage { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px var(--pad) 10px; min-width: 0; height: 74dvh; min-height: 420px; background: radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--tone, #2A35FF) 45%, transparent), transparent 75%), var(--ink-2); }
.case__tools { display: flex; flex-wrap: wrap; gap: 8px; padding-right: 60px; min-height: 48px; align-items: center; }
.case__view { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.case__hint { text-align: center; font-size: 13px; color: var(--mute-d); }
.case .bro { position: relative; inset: auto; width: min(100%, 1180px); height: 100%; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.case .bro__bar { height: 34px; padding: 0 14px; gap: 7px; }
.case .bro__bar i { width: 10px; height: 10px; }
.case .bro__bar span { font-size: 12.5px; background: rgba(255, 255, 255, .08); padding: 3px 14px; border-radius: 999px; margin-left: 14px; }
.case .bro__vp, .case .pho__vp { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.case .bro__vp img, .case .pho__vp img { position: static; display: block; width: 100%; height: auto; background-size: 100% auto; background-repeat: no-repeat; }
.case .pho { position: relative; height: 100%; aspect-ratio: 1170 / 2400; max-width: 100%; padding: 7px; border-radius: 34px; }
.case .pho__vp { border-radius: 28px; }
.case .fit { position: relative; height: 100%; }
.case__mock { display: grid; gap: 24px; justify-items: center; height: 100%; grid-template-rows: 1fr auto; }
.case__mock .mock-note { position: static; max-width: none; background: rgba(255, 255, 255, .1); }
.case__info { padding: 28px var(--pad) 40px; display: flex; flex-direction: column; gap: 16px; background: var(--ink); }
.case__type { font-size: 15px; color: #b9bcff; font-weight: 500; }
.case__name { font-family: var(--disp); font-weight: 900; font-stretch: 125%; font-size: clamp(34px, 3.2vw, 52px); line-height: .98; letter-spacing: -.025em; }
.case__client { color: var(--mute-d); margin-top: -6px; }
.case__facts { display: grid; margin-top: 6px; }
.case__facts li { padding: 13px 0; border-top: 1px solid var(--line-d); font-size: 15.5px; line-height: 1.45; color: #e3e4f6; }
.case__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.case__btns .btn { flex: 1 1 auto; }
.case__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--mute-d); }
.case__nav .lnk { min-height: 44px; }
@media (min-width: 1000px) {
  .case { grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 460px); overflow: hidden; }
  .case__stage { height: 100dvh; padding: 18px 28px 12px; }
  .case__info { height: 100dvh; overflow-y: auto; padding: 84px 32px 24px; }
  .case__tools { padding-right: 0; }
}

.cv { height: 100%; display: flex; flex-direction: column; }
.cv__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px var(--pad); min-height: 60px; }
.cv__ttl { min-width: 0; }
.cv__ttl b { display: block; font-family: var(--disp); font-weight: 800; font-stretch: 120%; font-size: 18px; line-height: 1.15; }
.cv__ttl span { display: block; font-size: 12.5px; color: var(--mute-d); line-height: 1.2; }
.cv__act { display: flex; align-items: center; gap: 16px; }
.cv__act .lnk { font-size: 14px; }
.cv__stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 10px 10px; background: var(--ink); }
.cv__frame { position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; transition: width .6s var(--ease), height .6s var(--ease), border-radius .6s; box-shadow: 0 0 0 1px var(--line-d); }
.cv__frame iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.cv__stage[data-w="tablet"] .cv__frame { width: min(768px, 100%); border-radius: 22px; }
.cv__stage[data-w="phone"] .cv__frame { width: min(390px, 100%); height: min(844px, 100%); border-radius: 34px; }
.cv__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: var(--ink-2); color: #fff; padding: 24px; }
@media (max-width: 820px) { .cv .seg { display: none; } .cv__act .lnk { font-size: 13px; max-width: 9em; line-height: 1.2; } .cv__stage { padding: 0; } .cv__frame { border-radius: 0; } }

/* ── курсор ── */
.cur { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; display: none; }
.has-cur .cur { display: block; }
.cur span { position: absolute; left: 0; top: 0; translate: -50% -50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; mix-blend-mode: difference; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: transparent; white-space: nowrap; transition: width .35s var(--ease), height .35s var(--ease), background .25s, color .2s, opacity .3s; opacity: 0; }
.cur.is-live span { opacity: 1; }
.cur.is-link span { width: 44px; height: 44px; }
.cur.is-label span { width: 92px; height: 92px; background: var(--blue); color: #fff; mix-blend-mode: normal; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }

/* ── View Transitions ── */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(case-shot) { animation-duration: .55s; animation-timing-function: var(--ease); z-index: 10; }
::view-transition-old(case-shot), ::view-transition-new(case-shot) { height: 100%; width: 100%; object-fit: cover; object-position: top; }
::view-transition-group(*) { animation-timing-function: var(--ease); }

/* ── анимации по скроллу: чистый CSS, запасной вариант на GSAP — в main.js ── */
@keyframes stageIn { from { transform: translateY(70px) scale(.93); } }
@keyframes heroOut { to { transform: translateY(14vh) scale(.97); opacity: .25; } }
@keyframes glOut { to { opacity: 0; transform: scale(1.12); } }
@keyframes markStretch { from { font-variation-settings: "wdth" 25, "wght" 900; } to { font-variation-settings: "wdth" 151, "wght" 900; } }
@keyframes barFill { from { transform: scaleX(0); } }
@keyframes thumbPan { from { transform: translateY(0); } to { transform: translateY(-14%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.no-sda) .work, html:not(.no-sda) .cpt { animation: stageIn linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    html:not(.no-sda) .hero__in { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    html:not(.no-sda) .hero__gl { animation: glOut linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    html:not(.no-sda) .ftr__mark { animation: markStretch linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    html:not(.no-sda) .step::before { animation: barFill linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @media (hover: none) { html:not(.no-sda) .work .bro__vp .shot-thumb { animation: thumbPan linear both; animation-timeline: view(); animation-range: cover 10% cover 90%; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .logo__dot { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ── мини-демо в карточках: оплата и схема зала ── */
.pay { margin-top: 4px; border-radius: 20px; background: #E4E7F6; padding: 6px; display: grid; gap: 6px; }
.pay__row { background: #fff; border-radius: 15px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.pay__row b { white-space: nowrap; }
.pay__btn { min-height: 46px; border-radius: 15px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; transition: background .3s; }
.pay__btn.is-wait { background: #8d91b5; }
.pay__btn.is-ok { background: #17865a; }
.hall { margin-top: 4px; border-radius: 20px; background: #E4E7F6; padding: 14px; display: grid; gap: 12px; }
.hall__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hall__t { aspect-ratio: 1.5; min-height: 40px; border-radius: 12px; background: #fff; border: 1.5px solid #b9bde0; font-size: 13px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.hall__t:nth-child(3n) { border-radius: 999px; }
.hall__t:hover { border-color: var(--blue); }
.hall__t:active { transform: scale(.94); }
.hall__t.is-busy { background: #cfd2e8; color: #6b6f96; border-color: transparent; cursor: default; }
.hall__t.is-mine { background: var(--blue); color: #fff; border-color: var(--blue); }
.hall__cap { font-size: 13.5px; color: var(--mute); min-height: 2.6em; line-height: 1.3; }

.case:focus, .cv:focus { outline: 0; }
.work__name small { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 1099px) { .work__name { flex-direction: column; gap: 2px; } .work__name small { white-space: normal; order: -1; } }

.case__tools .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; flex: none; }
.case__tools .seg button { flex: none; }
@media (max-width: 999px) { .case__tools { padding-right: 0; flex-direction: column; align-items: flex-start; } .case__tools .seg:first-child:not([hidden]) { max-width: calc(100% - 60px); } .case__tools .seg button { padding-inline: 13px; } .case__tools #caseDev:first-child, .case__tools [hidden] + #caseDev { margin-top: 0; } }
.check input.is-bad { border-color: var(--signal); }

.work .pho__vp .shot-thumb { height: 100%; object-fit: cover; object-position: top; }
.work .bro { bottom: auto; border-radius: 12px; }
.work .bro__vp { flex: none; aspect-ratio: 960 / 600; }
.work__name { flex-direction: column; gap: 2px; }
.work__name small { white-space: normal; order: -1; }
.calc__mini { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; box-shadow: 0 14px 40px -12px rgba(12, 14, 42, .55); }
.calc__mini b { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
@media (min-width: 1000px) { .calc__mini { display: none; } }

/* ════════════ ВТОРОЙ ПРОХОД: ритм, флагманы, манифест, цифры, лента услуг ════════════ */
:root { --rr: clamp(24px, 3.2vw, 48px); }
.sec { padding-top: clamp(56px, 9vw, 150px); padding-bottom: calc(clamp(56px, 9vw, 150px) + var(--rr)); }
.sec--round { border-radius: var(--rr) var(--rr) 0 0; margin-top: calc(-1 * var(--rr)); }
.sec__idx { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; margin-bottom: clamp(14px, 1.6vw, 26px); }
.sec__idx span { font-family: var(--disp); font-weight: 800; font-stretch: 140%; font-size: 13px; line-height: 1; padding: 6px 10px 5px; border-radius: 999px; border: 1.5px solid currentColor; }
.sec__idx::after { content: ''; flex: 0 0 48px; height: 1.5px; background: currentColor; opacity: .35; }
.hero__in { padding-bottom: calc(clamp(16px, 2.4vw, 32px) + var(--rr)); }

/* бегущая строка */
.mq { position: relative; z-index: 2; background: var(--ink); color: #fff; border-radius: var(--rr) var(--rr) 0 0; margin-top: calc(-1 * var(--rr)); overflow: hidden; padding-top: clamp(20px, 2.4vw, 38px); }
.mq__track { display: flex; align-items: center; width: max-content; animation: mq 48s linear infinite; font-family: var(--disp); font-size: clamp(30px, 5vw, 76px); line-height: 1.12; white-space: nowrap; }
.mq__track > * { margin-right: clamp(16px, 2.2vw, 38px); flex: none; }
.mq__track span { font-variation-settings: "wdth" var(--w, 100), "wght" 800; }
.mq__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px #8f96ff; }
.mq__track i { width: .3em; height: .3em; background: var(--blue); border-radius: 22%; rotate: 45deg; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq:hover .mq__track { animation-play-state: paused; }

/* флагманы */
.sec--flags { padding-top: clamp(36px, 5vw, 84px); }
.flags { display: grid; gap: 22px; }
.flag { position: sticky; top: calc(84px + var(--i) * 12px); height: clamp(540px, calc(100svh - 132px), 800px); }
.flag__in { position: relative; height: 100%; border-radius: var(--rr); overflow: hidden; color: #fff; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(20px, 3vw, 56px); padding: clamp(24px, 3.2vw, 56px);
  background: radial-gradient(80% 110% at 88% 108%, color-mix(in srgb, var(--tone) 80%, transparent), transparent 72%), linear-gradient(140deg, color-mix(in srgb, var(--tone) 36%, #10122f), #10122f 72%);
  transform: scale(calc(1 - var(--c, 0) * .06)); transform-origin: 50% 0; filter: brightness(calc(1 - var(--c, 0) * .55)); box-shadow: 0 -24px 60px -34px rgba(0, 0, 0, .8); }
.flag__txt { display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 2; }
.flag__type { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .82); max-width: 30ch; padding-right: 70px; }
.flag__name { font-family: var(--disp); font-weight: 900; font-stretch: 125%; font-size: clamp(36px, 5.2vw, 92px); line-height: .92; letter-spacing: -.03em; margin-top: 14px; text-wrap: balance; }
.flag__client { margin-top: 12px; color: rgba(255, 255, 255, .78); }
.flag__nums { margin-top: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 16px 22px; padding-top: 22px; }
.flag__nums b { display: block; font-family: var(--disp); font-weight: 900; font-stretch: 130%; font-size: clamp(30px, 3.3vw, 58px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.flag__nums span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.flag__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: clamp(18px, 2vw, 30px); }
.flag__n { position: absolute; right: clamp(20px, 2.4vw, 40px); top: clamp(18px, 2vw, 32px); z-index: 3; font-family: var(--disp); font-weight: 800; font-stretch: 140%; font-size: 15px; }
.flag__n small { font-size: inherit; opacity: .6; }
.flag__vis { position: relative; display: block; min-width: 0; perspective: 1600px; }
.flag .bro { position: absolute; left: 0; right: auto; top: 50%; bottom: auto; width: 90%; border-radius: 14px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7); transform: translateY(calc(-50% + var(--p, 0) * 60px)) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .35s ease-out; }
.flag .bro__vp { flex: none; aspect-ratio: 960 / 600; }
.flag .bro__vp .shot-thumb { height: 100%; object-fit: cover; object-position: top; }
.flag .pho { right: 0; top: 50%; width: 23%; aspect-ratio: 1170 / 2532; padding: 5px; border-radius: 24px; transform: translateY(calc(-32% + var(--p, 0) * -110px)) translateZ(70px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .35s ease-out; }
.flag .pho__vp { border-radius: 19px; }
.flag .pho__vp .shot-thumb { height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 899px) {
  .flag { top: calc(78px + var(--i) * 8px); height: clamp(500px, calc(100svh - 104px), 640px); }
  .flag__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 16px 16px 18px; gap: 14px; }
  .flag__vis { order: -1; height: clamp(170px, 30svh, 290px); }
  .flag .bro { top: 0; width: 80%; transform: translateY(calc(var(--p, 0) * 18px)); border-radius: 10px; }
  .flag .bro__bar { height: 20px; }
  .flag .pho { top: 8%; width: 25%; border-radius: 16px; padding: 3px; transform: translateY(calc(var(--p, 0) * -34px)); }
  .flag .pho__vp { border-radius: 13px; }
  .flag__type { font-size: 13.5px; line-height: 1.3; }
  .flag__name { font-size: clamp(32px, 9.4vw, 54px); margin-top: 8px; }
  .flag__client { display: none; }
  .flag__nums { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; }
  .flag__nums li:nth-child(n+3) { display: none; }
  .flag__nums b { font-size: 30px; }
  .flag__nums span { font-size: 12.5px; margin-top: 5px; }
  .flag__btns { margin-top: 16px; }
  .flag__btns .btn { flex: 1 1 auto; min-height: 46px; }
  .flag__n { top: auto; bottom: 12px; right: 16px; display: none; }
}

/* манифест и цифры */
.mani__t { font-family: var(--disp); font-weight: 800; font-stretch: 112%; font-size: clamp(27px, 4.5vw, 76px); line-height: 1.05; letter-spacing: -.022em; max-width: 21em; }
.mani__t.is-js span { opacity: .17; transition: opacity .5s; }
.mani__t.is-js span.is-on { opacity: 1; }
.nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 clamp(14px, 1.8vw, 28px); margin-top: clamp(40px, 6vw, 100px); }
.nums li { border-top: 1.5px solid var(--ink); padding-top: 16px; min-width: 0; }
.nums b { display: block; font-family: var(--disp); font-weight: 900; font-stretch: 128%; font-size: clamp(34px, 4.3vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.35; color: #34376a; max-width: 22ch; }
@media (max-width: 899px) { .nums { grid-template-columns: 1fr 1fr; gap: 22px 14px; } .nums li:last-child { grid-column: 1 / -1; } .nums span { font-size: 13.5px; } }

/* все проекты: флагманы показываем в сетке только при фильтре */
.works:not(.is-filtered) .work--flagged { display: none; }

/* ещё умеем: плитки с живыми иллюстрациями */
.lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 20px); }
.lab__tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(12px, 1.6vw, 26px); border-radius: var(--r); background: var(--ink-2); transition: background .4s; }
.lab__tile:hover, .lab__tile.is-live { background: var(--ink-3); }
.lab__art { border-radius: 16px; background: #090a20; padding: clamp(10px, 1.4vw, 22px); margin-bottom: 10px; color: #8f96ff; }
.lab__tile p { font-size: 15px; line-height: 1.4; color: var(--mute-d); }
.la { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.la * { animation-play-state: paused; transform-box: fill-box; }
.lab__tile:hover .la *, .lab__tile.is-live .la * { animation-play-state: running; }
.la--game .a { fill: #20245A; stroke: none; } .la--game .b { fill: #2A35FF; stroke: none; }
.la-hero { fill: #fff; stroke: none; animation: laHop 3.4s linear infinite alternate; }
.la-coin { fill: #FF5B37; stroke: none; transform-origin: center; animation: laCoin 1.1s linear infinite; }
@keyframes laHop { 0% { transform: translate(0, 0); } 13% { transform: translate(25px, -10px); } 26% { transform: translate(50px, -10px); } 39% { transform: translate(75px, -22px); } 52% { transform: translate(100px, -22px); } 65% { transform: translate(125px, -10px); } 78% { transform: translate(150px, 0); } 100% { transform: translate(172px, 0); } }
@keyframes laCoin { 50% { transform: scaleX(.15); } }
.la-scan { fill: #FF5B37; stroke: none; animation: laScan 2.6s linear infinite; }
.la-clip { fill: #2A35FF; stroke: none; transform-origin: center; animation: laPop 2.6s var(--ease) infinite; }
.la-clip.c2 { animation-delay: -.6s; fill: #8f96ff; } .la-clip.c3 { animation-delay: -1.2s; }
@keyframes laScan { 0% { transform: translateX(0); } 100% { transform: translateX(168px); } }
@keyframes laPop { 0%, 100% { transform: scale(1); } 12% { transform: scale(0); } 34% { transform: scale(1); } }
.la-fill { fill: #2A35FF; stroke: none; opacity: .3; animation: laFill 3s ease-in-out infinite; }
.la-sofa { fill: #FF5B37; stroke: none; animation: laSofa 3s ease-in-out infinite; }
@keyframes laFill { 50% { opacity: .95; } }
@keyframes laSofa { 50% { transform: translateX(12px); } }
.la-play { fill: #fff; stroke: none; }
.la-eq rect { fill: #2A35FF; stroke: none; transform-origin: 50% 100%; animation: laEq .9s ease-in-out infinite; }
.la-eq rect:nth-child(2) { animation-duration: .6s; } .la-eq rect:nth-child(3) { animation-duration: 1.1s; fill: #FF5B37; } .la-eq rect:nth-child(4) { animation-duration: .7s; } .la-eq rect:nth-child(5) { animation-duration: 1s; }
@keyframes laEq { 50% { transform: scaleY(.25); } }
.la-flow path { stroke: #2A35FF; stroke-width: 2.5; stroke-dasharray: 3 9; animation: laDash 1s linear infinite; }
@keyframes laDash { to { stroke-dashoffset: -24; } }
.la-nodes circle { fill: #090a20; } .la-nodes .hub { fill: #2A35FF; stroke: #fff; }
.la-row rect:not(.o) { fill: #2c3170; stroke: none; } .la-row path { stroke: #5EE6A0; stroke-width: 2.5; }
.la-row { animation: laRow 3s ease-in-out infinite; } .la-row.r2 { animation-delay: -2s; } .la-row.r3 { animation-delay: -1s; }
@keyframes laRow { 0%, 100% { opacity: 1; } 15% { opacity: .25; } 35% { opacity: 1; } }
@media (max-width: 899px) { .lab { grid-template-columns: 1fr 1fr; } .lab__tile .h3 { font-size: 16.5px; } .lab__tile p { font-size: 12.5px; } .lab__art { margin-bottom: 4px; border-radius: 12px; } }

/* лента услуг и компактные сетки на телефоне */
.rail-hint { display: none; }
@media (max-width: 699px) {
  .bento { display: flex; align-items: stretch; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .bento::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; padding: 18px; gap: 10px; }
  .svc > p, .svc > div > p { font-size: 14.5px; line-height: 1.45; }
  .chat { height: 288px; } .shop { min-height: 0; }
  .svc.svc--move > div > p { margin-top: 8px; }
  .move__nums { gap: 8px; } .move__nums li { grid-template-columns: 84px 1fr; } .move__nums b { font-size: 36px; } .move__nums span { font-size: 13px; }
  .cube { height: 150px; }
  .rail-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--mute); }
  .rail-hint span { font-weight: 600; color: var(--ink); padding: 4px 10px; border-radius: 999px; background: #fff; font-variant-numeric: tabular-nums; }
  .works { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .work__stage { height: 36vw; border-radius: 16px; }
  .work .bro { left: 6%; right: 6%; top: 9%; border-radius: 7px; } .work .bro__bar { height: 14px; gap: 3px; padding: 0 6px; } .work .bro__bar i { width: 4px; height: 4px; } .work .bro__bar span { display: none; }
  .work__meta { padding: 10px 2px 0; } .work__name { font-size: 16.5px; } .work__name small { display: none; } .work__type { font-size: 12.5px; line-height: 1.3; }
  .work--mock .work__nums { display: none; } .work .mock-note { font-size: 9.5px; padding: 3px 6px; left: 6px; bottom: 6px; border-radius: 6px; }
}
@media (max-width: 619px) {
  .concepts { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .cpt__cover { aspect-ratio: 4 / 3; border-radius: 16px; } .cpt__badge { font-size: 10.5px; padding: 3px 7px; left: 7px; top: 7px; } .cpt__sw { display: none; }
  .cpt__body { padding: 10px 2px 0; gap: 3px; } .cpt__body .h3 { font-size: 16.5px; } .cpt__type { font-size: 12.5px; line-height: 1.3; } .cpt__tag { display: none; } .cpt__body .lnk { font-size: 14px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .mq__track { animation: none; } .flag__in { transform: none; filter: none; } }
@media (max-width: 899px) {
  .flag { height: clamp(460px, calc(100svh - 104px), 548px); }
  .flag__vis { height: auto; aspect-ratio: 5 / 3; }
}
@media (max-width: 699px) {
  .chat { height: 252px; }
  .steps { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 76vw; scroll-snap-align: start; padding-bottom: 8px; }
  .note { margin-top: 18px; font-size: 13.5px; }
}
@media (max-width: 560px) {
  .opts--checks { grid-template-columns: 1fr 1fr; gap: 6px; }
  .opts--checks .opt { padding: 8px 10px 8px 38px; font-size: 14px; min-height: 50px; border-radius: 14px; }
  .opts--checks .opt small { display: none; }
  .opts--checks .opt::before { left: 10px; } .opts--checks .opt[aria-pressed="true"]::after { left: 15px; }
}

/* концепты: настоящие обложки */
.cpt__cover.has-img .cpt__mark, .cpt__cover.has-img .cpt__sw { visibility: hidden; }
.cpt__img--phone { inset: 7% auto auto 50%; translate: -50% 0; width: auto; height: 130%; aspect-ratio: 1170 / 2532; border-radius: 9% / 4.2%; box-shadow: 0 0 0 4px #14110e, 0 24px 50px -18px rgba(0, 0, 0, .55); }
.cpt__wow { display: none; font-size: 13.5px; line-height: 1.4; color: var(--mute); margin-bottom: 10px; }
.cpt__tag { color: var(--ink); }
@media (min-width: 620px) { .cpt__wow { display: block; } }
.cv__ttl span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.cv__ttl i { font-style: normal; }
@media (max-width: 1100px) { .cv__ttl i { display: none; } }
@media (min-width: 900px) {
  .flag__nums { display: flex; flex-wrap: wrap; gap: 18px 28px; }
  .flag__nums li { flex: 1 1 130px; min-width: min-content; max-width: 210px; }
  .flag__nums b { font-size: clamp(28px, 2.9vw, 50px); }
}
