/* «Штат» — реклама, которая продаёт. Light paper, graphite, cobalt, one orange signal.
   Display: Unbounded · text: Onest · labels: JetBrains Mono. */
@font-face { font-family: 'Unbounded'; src: url('../fonts/Unbounded-var-cyrillic.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/Unbounded-var-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; src: url('../fonts/Onest-var-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('../fonts/Onest-var-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JB Mono'; src: url('../fonts/JetBrainsMono-500-cyrillic.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JB Mono'; src: url('../fonts/JetBrainsMono-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2212; }

:root {
  --paper: #e9eae5; --paper-2: #dfe0d9; --card: #f3f3ef; --ink: #121214; --ink-2: #2b2c31; --muted: #585a63;
  --line: rgba(18, 18, 20, .14); --cobalt: #1f3dff; --cobalt-2: #1530d8; --cobalt-soft: #dfe3ff; --signal: #ff6a1a;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif; --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JB Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(20px, 4vw, 64px); --section: clamp(88px, 10vw, 148px); --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
em { font-style: normal; color: var(--cobalt); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); transition: background-color .25s, transform .25s var(--ease); }
.btn:hover { background: var(--cobalt); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 64px; padding: 0 40px; font-size: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; border-bottom: 1px solid currentColor; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateY(2px); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 32px; height: 76px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top, 0px); transition: transform .45s var(--ease), background-color .3s, box-shadow .3s; }
.top.is-solid { background: rgba(233, 234, 229, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brand-mark { display: inline-flex; align-items: baseline; gap: 4px; font: 800 21px/1 var(--display); letter-spacing: .02em; }
.brand-mark i { width: 8px; height: 8px; background: var(--signal); border-radius: 1px; }
.brand-sub { width: 0; min-width: 100%; font: 500 9.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .68; }
.top-nav { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; }
.top-nav a { position: relative; padding: 6px 0; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top-nav a:hover::after { transform: none; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: 110px var(--gutter) 40px; }
.menu nav { display: grid; gap: 8px; }
.menu a { font: 800 30px/1.3 var(--display); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-stage canvas { width: 100%; height: 100%; opacity: 0; transition: opacity .3s linear; }
.hero-stage.is-ready canvas { opacity: 1; }
.hero-grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-rows: auto 1fr auto auto; padding-top: 120px; padding-bottom: 56px; gap: 24px; }
.hero-kicker { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); }
.hero-kicker span:first-child { color: var(--ink); }
.hero-title { align-self: center; min-width: 0; }
.ht { display: flex; flex-direction: column; }
.ht-line { display: block; white-space: nowrap; font: 800 min(12vw, 19vh)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; color: var(--ink); transition: color .25s linear .28s; }
.ht-3 { align-self: flex-end; color: var(--cobalt); }
.ht-2 { margin: .5em 0 .55em 34%; font-size: 15px; color: var(--muted); letter-spacing: .3em; }
.ch { display: inline-block; }
.ch-bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
/* The 3D layer takes over: the DOM word «ПРОДАЁТ» stays as faint slots until the agents fill them. */
.hero-title.letters-ready .ht-line { color: transparent; }
.hero-title.letters-ready .ht-3 { color: rgba(31, 61, 255, .12); }
.letters-done .hero-title.letters-ready .ht-3 { color: transparent; transition: color .6s linear; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 520px) auto; justify-content: space-between; align-items: end; gap: 24px 48px; }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-hint { justify-self: end; color: var(--muted); opacity: 0; transition: opacity .6s; }
.letters-done .hero-hint { opacity: 1; }
.on-touch { display: none; }
@media (hover: none), (max-width: 760px) { .on-fine { display: none; } .on-touch { display: inline; } }

.agent-cursor { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 2px; opacity: 0; transition: opacity .25s; pointer-events: none; will-change: transform; }
.agent-cursor svg { width: 18px; height: 18px; fill: var(--c); stroke: #fff; stroke-width: 1.2; margin-top: -2px; }
.agent-cursor b { margin-top: 12px; padding: 4px 9px; border-radius: 999px; background: var(--c); color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.agent-cursor.agent-0 { --c: var(--signal); } .agent-cursor.agent-1 { --c: var(--ink); } .agent-cursor.agent-2 { --c: #0f8f6a; }
.agent-cursor.is-on { opacity: 1; }
.agent-cursor.is-gone { opacity: 0; transition: opacity .5s; }

/* ---------- Work log ---------- */
.log { border-block: 1px solid var(--line); background: var(--paper-2); }
.log-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 22px; }
.log-head { display: grid; gap: 8px; }
.log-live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.log-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.log-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.log-list li { display: grid; gap: 4px; font-size: 15px; line-height: 1.4; min-width: 0; }
.log-list time { color: var(--muted); }
.log-list b { font-weight: 700; color: var(--cobalt); }

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .label { grid-column: 1 / -1; color: var(--muted); }
.h2 { font: 800 clamp(34px, 5.2vw, 78px)/.98 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.note { color: var(--ink-2); font-size: 17px; }

/* ---------- Staff ---------- */
.staff-sec, .task, .bp, .skills, .services, .reel, .cases { padding-block: var(--section) 0; }
.staff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.org { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.org-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.org-lines line { stroke: var(--line); stroke-width: .5; }
.org-lines line.is-on { stroke: var(--cobalt); stroke-width: .8; }
.org-lines circle.ring { fill: none; stroke: var(--line); stroke-width: .4; stroke-dasharray: 1.4 2.2; }
.org-lines circle.pulse { fill: var(--cobalt); }
.org-core { position: absolute; left: 50%; top: 50%; width: 30cqw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-content: center; text-align: center; gap: 4px; }
.org-core .mono { color: #a9abb3; font-size: 11px; }
.org-core b { font: 800 clamp(15px, 3.4cqw, 20px)/1 var(--display); }
.org-node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateX(40cqw) rotate(calc(var(--a) * -1)); min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: clamp(12px, 2.6cqw, 15px); white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.org-node:hover { border-color: var(--cobalt); }
.org-node.is-on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.agent-panel { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.agent-kicker, .agent-sub { color: var(--muted); }
.agent-panel h3 { font: 800 clamp(28px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.02em; }
.agent-does { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt-2); font-weight: 600; font-size: 15px; }
.agent-human { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.agent-human .mono { color: var(--signal); }

/* ---------- One task ---------- */
.task-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.task-now { position: sticky; top: 120px; align-self: start; display: grid; gap: 16px; }
.task-day { color: var(--signal); font-size: 15px; }
.task-count { font: 800 clamp(96px, 13vw, 200px)/.85 var(--display); letter-spacing: -.04em; color: var(--cobalt); }
.task-count small { font-size: .28em; color: var(--muted); letter-spacing: 0; margin-left: .15em; }
.task-bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.task-bar i { display: block; height: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(.1667); transition: transform .5s var(--ease); }
.task-steps { display: grid; }
.step { display: grid; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); transition: opacity .4s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.js:not(.reduced) .task-steps .step { opacity: .56; }
.js:not(.reduced) .task-steps .step.is-active { opacity: 1; }
.step h3 { font: 800 clamp(24px, 2.6vw, 36px)/1.05 var(--display); letter-spacing: -.02em; }
.step > p { font-size: 18px; color: var(--ink-2); }
.step dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 8px 0 0; }
.step dt { color: var(--muted); margin-bottom: 4px; }
.step dd { margin: 0; font-size: 16px; }

/* ---------- Brandformance ---------- */

/* ---------- Skills ---------- */
.skill-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.skill-filter button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; }
.skill-filter button:hover { border-color: var(--ink); }
.skill-filter button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.skill-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill-grid li { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, transform .35s var(--ease); }
.skill-grid li:hover { border-color: var(--cobalt); transform: translateY(-4px); }
.skill-grid .mono { color: var(--cobalt); font-size: 12px; }
.skill-grid h3 { font: 700 20px/1.2 var(--sans); }
.skill-grid p:last-child { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-list > li { border-bottom: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) 170px; align-items: center; gap: 24px; padding: 26px 16px; margin: 0 -16px; border-radius: 14px; transition: background-color .3s, color .3s; }
.svc-name { font: 800 clamp(22px, 2.5vw, 36px)/1.05 var(--display); letter-spacing: -.02em; }
.svc-tags, .svc-inc { grid-column: 2; grid-row: 1; font-size: 16px; color: var(--muted); transition: opacity .3s; }
.svc-inc { opacity: 0; color: #fff; }
.svc-price { justify-self: end; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) {
  .svc:hover { background: var(--cobalt); color: #fff; }
  .svc:hover .svc-tags { opacity: 0; }
  .svc:hover .svc-inc { opacity: 1; }
}

/* ---------- Reel ---------- */
.reel-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--ink); cursor: pointer; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.reel-play-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }

/* ---------- Cases ---------- */
.case { display: grid; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.case h3 { font: 800 clamp(26px, 3.2vw, 46px)/1.02 var(--display); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.case-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.case-cols .mono { color: var(--muted); margin-bottom: 10px; }
.did { display: grid; gap: 10px; }
.did li { display: grid; gap: 2px; }
.did b { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt); }

/* ---------- CTA ---------- */
.cta { margin-top: var(--section); background: var(--cobalt); color: #fff; }
.cta-inner { display: grid; gap: 32px; padding-block: clamp(88px, 10vw, 140px); }
.cta .label { color: rgba(255, 255, 255, .7); }
.cta-title { font: 800 clamp(44px, 9vw, 150px)/.92 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.cta-title em { color: var(--ink); }
.cta-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-row > p { max-width: 460px; font-size: 19px; color: rgba(255, 255, 255, .88); }
.cta-actions { display: flex; align-items: center; gap: 28px; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.foot { padding-top: 40px; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; color: var(--muted); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.foot-row nav a:hover { color: var(--cobalt); }
.foot-mark { margin-top: 32px; padding-inline: var(--gutter); font: 800 20vw/.8 var(--display); letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
.foot-mark span { display: inline-block; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #000; color: #f1f1ec; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 12, 30, .86); backdrop-filter: blur(8px); }
.lightbox video { width: 100%; aspect-ratio: 16 / 9; background: #000; cursor: pointer; display: block; }
.lightbox-close { position: absolute; right: 12px; top: 12px; z-index: 2; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; }
.lb-bar { display: flex; align-items: center; gap: 20px; padding: 10px 20px; background: #0c0c10; }
.lb-toggle { min-width: 96px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.lb-toggle:hover { border-color: var(--signal); }
.lb-track { position: relative; flex: 1; height: 44px; cursor: pointer; touch-action: none; }
.lb-track::before, .lb-fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.lb-track::before { background: rgba(255, 255, 255, .18); }
.lb-fill { background: var(--signal); transform-origin: left center; transform: scaleX(0); }
.lb-time { color: #9a9ca5; min-width: 110px; text-align: right; }

/* ---------- Reveal (starts visible without JS) ---------- */
.js:not(.reduced) [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .top-nav { display: none; }
  .burger { display: block; margin-left: 0; }
  .top-cta { margin-left: auto; }
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-list li:nth-child(n+3) { display: none; }
  .svc { grid-template-columns: minmax(0, 1fr) 150px; }
  .svc-tags, .svc-inc { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { height: 64px; }
  .top-cta { display: none; }
  .burger { margin-left: auto; }
  .hero { min-height: 0; }
  .hero-grid { padding-top: 96px; padding-bottom: 40px; grid-template-rows: auto auto auto auto; gap: 20px; }
  .hide-sm { display: none; }
  .ht-2 { font-size: 13px; margin: .6em 0 .6em 30%; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-lede { font-size: 17px; }
  .hero-hint { justify-self: start; }
  .log-inner { grid-template-columns: 1fr; gap: 12px; }
  .log-list { grid-template-columns: 1fr; }
  .log-list li:nth-child(n+2) { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .staff { grid-template-columns: 1fr; }
  .org { width: min(100%, 380px); }
  .task-grid { grid-template-columns: 1fr; }
  .task-now { display: none; }
  .step::before { content: attr(data-day); font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
  .step dl { grid-template-columns: 1fr; }
  .js:not(.reduced) .task-steps .step { opacity: 1; }
  .skill-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; margin: 0; }
  .svc-price { justify-self: start; color: var(--cobalt); }
  .reel-frame { border-radius: 16px; aspect-ratio: 4 / 5; }
  .reel-play { left: 16px; bottom: 16px; }
  .case-cols { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .lb-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tools of each step: the services the agents actually work in */
.step-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.step-tools li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cobalt); color: var(--cobalt); font: 500 13px/1.3 var(--mono); letter-spacing: .02em; }
.task-tools li { background: var(--cobalt); color: #fff; font-size: 14px; padding: 7px 14px; }

/* ---------- Round 2 ---------- */
[hidden] { display: none !important; }
/* Tools inside a step: plain mono text; the pill lives only in the sticky column. */
.step .step-tools { gap: 4px 14px; }
.step .step-tools li { padding: 0; border: 0; border-radius: 0; color: var(--cobalt); font-size: 13px; }
.step .step-tools li + li::before { content: "+ "; color: var(--muted); }
/* Before the 3D layer arrives «ПРОДАЁТ» already waits as faint slots, so there is one hand-over, not two. */
@media (min-width: 761px) and (hover: hover) { .js:not(.reduced):not(.letters-done) .ht-3 { color: rgba(31, 61, 255, .12); } }
/* Wide heads for prices and cases: the title runs across the measure, the note sits under it. */
.sec-head--wide { grid-template-columns: minmax(0, 1fr); }
.sec-head--wide .h2 { font-size: clamp(38px, 6.6vw, 104px); max-width: 16ch; }
.sec-head--wide .note { max-width: 560px; }
/* Cases: a big number as the anchor, content to its right. */
.case { grid-template-columns: minmax(120px, 2fr) minmax(0, 10fr); column-gap: clamp(24px, 4vw, 64px); }
.case > * { grid-column: 2; }
.case > .case-n { grid-column: 1; grid-row: 1 / span 3; font: 800 clamp(56px, 7vw, 112px)/.85 var(--display); letter-spacing: -.04em; color: var(--cobalt); }
.case-n small { font-size: .3em; color: var(--muted); letter-spacing: 0; }
.foot-mark span { margin-left: -.055em; }
.skill-more { display: none; }
@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; }
  .case > *, .case > .case-n { grid-column: 1; grid-row: auto; }
  .case > .case-n { font-size: 56px; }
  .svc-tags { display: block; grid-column: 1; grid-row: auto; font-size: 14px; }
  .org-node { transform: translate(-50%, -50%) rotate(var(--a)) translateX(36cqw) rotate(calc(var(--a) * -1)); font-size: 12px; padding: 7px 11px; min-height: 36px; }
  .foot-row nav a { display: inline-flex; align-items: center; min-height: 44px; }
  /* Phones: four skills, the rest behind one button. */
  .skill-grid:not(.is-open):not(.is-filtered) li:nth-child(n+5) { display: none; }
  .skill-more { display: inline-flex; margin-top: 16px; }
  .skill-grid.is-open + .skill-more, .skill-grid.is-filtered + .skill-more { display: none; }
}

/* ---------- Round 3 ---------- */
.cta-title em { color: rgba(255, 255, 255, .62); }
.sec-head .label { color: var(--ink-2); }
.log-list { align-items: start; }
.case-n { font-variant-numeric: tabular-nums; }
.menu-cta { margin-top: 32px; display: grid; gap: 12px; justify-items: start; }
@media (max-width: 760px) {
  .org-node { min-height: 44px; }
}
.org-core b { font-size: clamp(22px, 6cqw, 38px); letter-spacing: .02em; }

/* ---------- Round 4 ---------- */
:root { --signal-ink: #b43c07; }
.task-day, .agent-human .mono { color: var(--signal-ink); }
@media (max-width: 760px) { .step::before { color: var(--signal-ink); } }
/* Tools once: in the sticky column on desktop, inside the step on phones. */
@media (min-width: 761px) { .step .step-tools { display: none; } }
.js:not(.reduced) .task-steps .step { opacity: .62; }
/* Dark brandformance box: dimmed side stays legible */
/* Centred heads */
.sec-head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head--center .note { max-width: 620px; }
/* Skills as rows, like the price list */
.skill-rows { display: block; border-top: 1px solid var(--line); }
.skill-rows li { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.skill-rows li:hover { transform: none; border-color: var(--line); }
.skill-rows h3 { font: 700 clamp(20px, 1.9vw, 26px)/1.2 var(--display); letter-spacing: -.01em; }
.skill-rows .skill-what { color: var(--muted); font-size: 16px; }
.skill-rows .skill-who { color: var(--cobalt); }
/* Cases: number | text | metric panel */
.case { grid-template-columns: minmax(96px, 1.3fr) minmax(0, 7fr) minmax(260px, 3.4fr); }
.case > * { grid-column: 2; }
.case > .case-metric { grid-column: 3; grid-row: 1 / span 3; align-self: stretch; display: grid; align-content: space-between; gap: 24px; padding: 28px; border-radius: 20px; background: var(--cobalt); color: #fff; }
.case-metric .mono { color: rgba(255, 255, 255, .78); }
.case-metric-big { font: 800 clamp(28px, 2.8vw, 42px)/1.02 var(--display); letter-spacing: -.02em; }
.case-metric-ch { font-size: 15px; color: rgba(255, 255, 255, .85); }
.case-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; }
/* Hero: lede and actions together, no dead band in the bottom third */
.hero-foot { grid-template-columns: minmax(0, 520px) auto; justify-content: start; column-gap: 56px; }
/* Price row highlight runs to the window edges instead of 16 px past the grid */
.svc { margin: 0; padding: 26px 0; border-radius: 0; background: none !important; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--cobalt); opacity: 0; transition: opacity .3s; }
@media (hover: hover) { .svc:hover::before { opacity: 1; } }
.agent-cursor.is-gone { transition: opacity .2s; }
@media (max-width: 1100px) {
  .case { grid-template-columns: minmax(80px, 1fr) minmax(0, 5fr); }
  .case > .case-metric { grid-column: 2; grid-row: auto; }
  .case-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-title { margin-inline: -10px; }
  .hero-foot { grid-template-columns: 1fr; }
  .skill-rows li { grid-template-columns: 1fr; gap: 6px; }
  .case { grid-template-columns: 1fr; }
  .case > .case-metric { grid-column: 1; }
  .case-cols { grid-template-columns: 1fr; }
}
/* Case number column wide enough for «01/03» at full size */
@media (min-width: 1101px) {
  .case { grid-template-columns: 176px minmax(0, 7fr) minmax(260px, 3.4fr); }
  .case > .case-n { font-size: clamp(56px, 5.4vw, 84px); white-space: nowrap; }
}

/* ---------- Round 5: deep violet + mint ---------- */
:root {
  --paper: #f3f2ef; --paper-2: #e9e7ef; --card: #faf9f7; --ink: #17131f; --ink-2: #2d2838; --muted: #5a5667;
  --line: rgba(23, 19, 31, .14); --cobalt: #4c1d95; --cobalt-2: #3b1577; --cobalt-soft: #ece5f8;
  --signal: #10b981; --signal-ink: #047857; --violet-deep: #2a0f5c; --mint-soft: #d1f5e6;
}
.mono { font-size: 13.5px; letter-spacing: .07em; }
/* Hero on deep violet: white graphite-free headline, mint «ПРОДАЁТ» */
.hero { background: var(--cobalt); color: #fff; }
.hero-kicker { color: rgba(255, 255, 255, .72); }
.hero-kicker span:first-child { color: #fff; }
.ht-line { color: #fff; }
.ht-3 { color: var(--signal); }
.ht-2 { color: rgba(255, 255, 255, .7); }
.hero-lede { color: rgba(255, 255, 255, .86); }
.hero-hint { color: rgba(255, 255, 255, .6); }
.hero .btn { background: var(--signal); color: var(--violet-deep); }
.hero .btn:hover { background: #fff; color: var(--violet-deep); }
.hero .link { color: #fff; }
.hero-title.letters-ready .ht-3 { color: rgba(16, 185, 129, .16); }
@media (min-width: 761px) and (hover: hover) { .js:not(.reduced):not(.letters-done) .ht-3 { color: rgba(16, 185, 129, .16); } }
/* Header: white over the violet hero, paper once it becomes solid */
.top { color: #fff; }
.top .burger span { background: currentColor; }
.top .top-cta { background: #fff; color: var(--violet-deep); }
.top.is-solid { color: var(--ink); background: rgba(243, 242, 239, .88); }
.top.is-solid .top-cta { background: var(--ink); color: var(--paper); }
.top-nav a::after { background: var(--signal); }
.brand i { background: var(--signal); }
.menu { color: var(--ink); }
/* Work log band */
.log { background: var(--violet-deep); color: #efeaf8; border-color: transparent; }
.log-list time, .log-live { color: #b7aed0; }
.log-list b { color: var(--signal); }
.log-head .mono:first-child { color: #fff; }
/* Accents */
.chips li { background: var(--cobalt-soft); color: var(--cobalt); }
.task-day, .agent-human .mono { color: var(--signal-ink); }
.task-tools li { background: none; color: var(--cobalt); border: 0; padding: 0; font-size: 15px; }
.task-tools li + li::before { content: "+ "; color: var(--muted); }
.js:not(.reduced) .task-steps .step { opacity: 1; color: #6a6676; }
.js:not(.reduced) .task-steps .step.is-active { color: var(--ink); }
.step dt { color: var(--ink-2); }
.org-lines line.is-on { stroke: var(--cobalt); }
.org-lines circle.pulse { fill: var(--signal); }
.case > .case-metric { background: var(--cobalt); }
.cta { background: var(--cobalt); }
.cta-title em { color: var(--signal); }
.cta .btn { background: var(--signal); color: var(--violet-deep); }
.cta .btn:hover { background: #fff; }
.agent-cursor.agent-0 { --c: var(--signal); } .agent-cursor.agent-1 { --c: #fff; } .agent-cursor.agent-2 { --c: #f59e0b; }
.agent-cursor.agent-1 b { color: var(--violet-deep); }
.agent-cursor.agent-1 svg { stroke: var(--violet-deep); }
.lb-fill { background: var(--signal); }
/* Names in the price list and skills in the text face: the extra-wide display stays for headings and numbers. */
.svc-name { font: 700 clamp(22px, 2.1vw, 30px)/1.15 var(--sans); letter-spacing: -.01em; }
.skill-rows h3 { font: 700 clamp(19px, 1.6vw, 23px)/1.25 var(--sans); letter-spacing: 0; }
.svc-group { padding: 34px 0 12px; color: var(--signal-ink); border-bottom: 1px solid var(--line); }
.svc-list > li.svc-group:first-child { padding-top: 18px; }
/* Section heads: the note sits at the top, next to the title */
.sec-head { align-items: start; }
.sec-head .note { padding-top: 10px; }
/* Case metric panel: the figure stays inside its padding */
@media (min-width: 1101px) { .case { grid-template-columns: 176px minmax(0, 7fr) minmax(300px, 3.4fr); } }
.case-metric-big { font-size: clamp(24px, 2.2vw, 34px); overflow-wrap: anywhere; hyphens: auto; }
.case-metric-ch { overflow-wrap: anywhere; }
.org-lines line { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (max-width: 760px) {
  .case > *, .case > .case-n, .case > .case-metric { grid-column: 1; grid-row: auto; }
}

/* ---------- Palette B: graphite black + electric cyan (?p=cyan) ---------- */
:root[data-palette="cyan"] {
  --paper: #f2f4f6; --paper-2: #e6eaee; --card: #fafbfc; --ink: #111827; --ink-2: #1f2937; --muted: #545d6b;
  --line: rgba(17, 24, 39, .14); --cobalt: #0e7490; --cobalt-2: #155e75; --cobalt-soft: #dff6fa;
  --signal: #06b6d4; --signal-ink: #0e7490; --violet-deep: #0b1220;
}
[data-palette="cyan"] .hero { background: #111827; }
[data-palette="cyan"] .ht-3 { color: var(--signal); }
[data-palette="cyan"] .hero .btn { background: var(--signal); color: #0b1220; }
[data-palette="cyan"] .hero-title.letters-ready .ht-3 { color: rgba(6, 182, 212, .16); }
@media (min-width: 761px) and (hover: hover) { [data-palette="cyan"].js:not(.reduced):not(.letters-done) .ht-3 { color: rgba(6, 182, 212, .16); } }
[data-palette="cyan"] .top .top-cta { background: var(--signal); color: #0b1220; }
[data-palette="cyan"] .top.is-solid { background: rgba(242, 244, 246, .88); }
[data-palette="cyan"] .top.is-solid .top-cta { background: var(--ink); color: #fff; }
[data-palette="cyan"] .log { background: #0b1220; }
[data-palette="cyan"] .case > .case-metric { background: #111827; }
[data-palette="cyan"] .case-metric-big { color: var(--signal); }
[data-palette="cyan"] .cta { background: #111827; }
[data-palette="cyan"] .cta .btn { background: var(--signal); color: #0b1220; }
[data-palette="cyan"] .agent-cursor.agent-2 { --c: #f59e0b; }


/* ---------- Round 6 ---------- */
/* Hero foot: lede, actions and hint on one baseline */
.hero-foot { grid-template-columns: minmax(0, 520px) auto 1fr; align-items: end; }
.hero-foot .hero-hint { justify-self: end; align-self: end; margin-bottom: 14px; }
.hero-hint { color: rgba(255, 255, 255, .82); }
/* Process: inactive steps legible */
.js:not(.reduced) .task-steps .step { color: #595564; }
/* Labels in the text face; mono stays for time codes, counters and tags */
.step dt, .case-cols > div > .mono { font: 600 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
/* Agent skills as a line, not pills */
.agent-panel .chips { gap: 4px 0; }
.agent-panel .chips li { padding: 0; background: none; border-radius: 0; color: var(--cobalt); font-weight: 600; font-size: 17px; }
.agent-panel .chips li + li::before { content: "·"; margin: 0 10px; color: var(--muted); }
/* Cases: two readable columns, the metric panel as tall as its content */
.case-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; }
.case-cols > div:nth-child(1) { grid-column: 1; grid-row: 1; }
.case-cols > div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.case-cols > div:nth-child(3) { grid-column: 1; grid-row: 2; }
.case > .case-metric { align-self: start; align-content: start; gap: 18px; padding: 26px; }
/* Skills: six rows first on every width */
.skill-more { display: inline-flex; margin-top: 20px; }
.skill-grid:not(.is-open):not(.is-filtered) li:nth-child(n+7) { display: none; }
.skill-grid.is-open + .skill-more, .skill-grid.is-filtered + .skill-more { display: none; }
@media (max-width: 1100px) { .hero-foot { grid-template-columns: minmax(0, 1fr) auto; } .hero-foot .hero-hint { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 760px) {
  .hero-foot { grid-template-columns: 1fr; }
  .ht-line { letter-spacing: -.04em; }
  .skill-grid:not(.is-open):not(.is-filtered) li:nth-child(n+5) { display: none; }
  .case-cols > div:nth-child(n) { grid-column: 1; grid-row: auto; }
  .case > .case-metric { order: 5; }
  .case { display: flex; flex-direction: column; gap: 16px; }
}

/* ---------- Round 7 ---------- */
/* Open menu: the header sits on paper, so logo and cross turn dark */
.top.menu-open { color: var(--ink); background: var(--paper); box-shadow: none; }
.top.menu-open .top-cta { display: none; }
.menu nav a { font: 800 30px/1.3 var(--display); }
.menu a:not(nav a) { font: 600 16px/1 var(--sans); }
.menu .btn-lg { min-height: 56px; font-size: 17px; }
/* Mobile process: step numbers back next to the step title */
.task-steps { counter-reset: step; }
@media (max-width: 760px) {
  .case-cols { grid-template-columns: 1fr; }
  .case-cols > div:nth-child(n) { grid-column: 1; grid-row: auto; }
  .case h3 { font-size: clamp(19px, 5.4vw, 26px); overflow-wrap: anywhere; hyphens: auto; }
  .task-steps .step { counter-increment: step; }
  .step h3::before { content: "0" counter(step); display: block; margin-bottom: 4px; font: 800 44px/1 var(--display); color: var(--cobalt); letter-spacing: -.03em; }
}

/* ---------- Round 8 ---------- */
/* Heading volume: the extra-bold giant only for the hero, the staff title and the contact */
.h2 { font-size: clamp(30px, 3.8vw, 56px); }
.h2--xl, .sec-head--wide .h2--xl { font-size: clamp(36px, 5.6vw, 84px); }
.sec-head--wide .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.sec-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.staff-sec, .task, .bp, .skills, .services, .reel, .cases { padding-block: clamp(72px, 8vw, 120px) 0; }
/* Process: a narrow counter column, more room for the steps (desktop only) */
@media (min-width: 761px) { .task-grid { grid-template-columns: minmax(220px, 3fr) minmax(0, 8fr); column-gap: clamp(40px, 5vw, 96px); } }
/* Brandformance tags are tags: outlined, the leading side coloured */
/* Case schematics inside the metric panels */
.case-metric .case-diagram { width: 100%; height: auto; margin-bottom: 4px; }
.case-metric .dg-l, .case-metric .dg-n, .case-metric .dg-dot, .case-metric .dg-bar { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.case-metric .dg-accent, .case-metric .dg-dot:first-of-type { stroke: var(--signal); }
.case-metric .dg-bar.dg-accent { fill: var(--signal); }
.case-metric .dg-dash { stroke-dasharray: 5 5; }
.case-metric .dg-t { fill: rgba(255, 255, 255, .72); stroke: none; font: 500 11px var(--mono); letter-spacing: .06em; }
.case-metric .dg-accent-t { fill: var(--signal); }
@media (max-width: 760px) {
  .agent-panel .chips { flex-direction: column; }
  .agent-panel .chips li + li::before { content: none; }
}

/* ---------- Round 9 ---------- */
.task-now { max-width: 100%; overflow: hidden; }
.task-count { font-size: clamp(72px, 8.4vw, 136px); white-space: nowrap; }
/* «которая» reads as part of the phrase */
.ht-2 { font: 600 clamp(18px, 1.7vw, 24px)/1 var(--sans); letter-spacing: .01em; text-transform: none; }
/* Price list: the main product on a dark plate; a call to action after the list */
.svc-main .svc { color: #fff; }
.svc-main .svc::before { opacity: 1; background: var(--ink); }
.svc-main .svc-tags { color: rgba(255, 255, 255, .72); }
.svc-main .svc-name { font-size: clamp(24px, 2.5vw, 34px); }
.svc-tags { color: var(--ink-2); }
.svc-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 28px 0 0; }
.svc-cta p { font-size: 18px; max-width: 520px; }
/* Brandformance channels as text, not pills */
.skill-rows .skill-who, .case-meta, .step-tools li { font-size: 13px; }
/* Case schematics draw themselves when the case comes in */
.js:not(.reduced) .case-metric .dg-l, .js:not(.reduced) .case-metric .dg-n, .js:not(.reduced) .case-metric .dg-dot, .js:not(.reduced) .case-metric .dg-bar { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.js:not(.reduced) .case.is-in .case-metric .dg-l, .js:not(.reduced) .case.is-in .case-metric .dg-n, .js:not(.reduced) .case.is-in .case-metric .dg-dot, .js:not(.reduced) .case.is-in .case-metric .dg-bar { stroke-dashoffset: 0; }
.case.is-in .case-metric .dg-n { transition-delay: .25s; } .case.is-in .case-metric .dg-bar { transition-delay: .5s; }
@media (max-width: 760px) {
  .task-grid { grid-template-columns: 1fr; }
  .hero-title { margin-inline: 0; }
  .ht-3 { align-self: flex-start; }
  .ht-2 { margin-left: 0; font-size: 17px; }
  .svc-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Round 10 ---------- */
/* Lists without separators: no dot can hang at the start of a line */
.bp-chips li + li::before, .agent-panel .chips li + li::before { content: none; }
.agent-panel .chips { gap: 6px 22px; }
.bp-chips li, .agent-panel .chips li { white-space: nowrap; }
/* «которая» is part of the headline: the display face, white, a third of the size */
.ht-2 { font: 800 var(--ht2, 40px)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: #fff; margin: .35em 0 .4em 34%; }
/* «ПРОДАЁТ»: less WordArt — see the 3D module for depth and shadow */
/* One blue in big type: accent words carry a cyan marker instead of a second blue */
[data-palette="cyan"] .h2 em, [data-palette="cyan"] .cta-title em { color: inherit; background: linear-gradient(transparent 60%, rgba(6, 182, 212, .55) 60%, rgba(6, 182, 212, .55) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-palette="cyan"] .cta-title em { color: var(--signal); background: none; }
[data-palette="cyan"] .case-n { color: var(--ink); }
/* A dark section in the middle of the page */
.sec-dark { --paper: #111827; --ink: #f3f4f6; --ink-2: #d1d5db; --muted: #9ca3af; --line: rgba(255, 255, 255, .14); --cobalt: #06b6d4; --signal-ink: #f5b54a; background: #111827; color: var(--ink); padding-bottom: clamp(72px, 8vw, 120px); margin-top: clamp(72px, 8vw, 120px); }
.sec-dark.task { padding-top: clamp(72px, 8vw, 120px); }
.sec-dark .h2 em { background: none; color: var(--signal); }
.js:not(.reduced) .sec-dark .task-steps .step { color: #8b93a3; }
.js:not(.reduced) .sec-dark .task-steps .step.is-active { color: #f3f4f6; }
.sec-dark .task-tools li { color: var(--signal); }
.sec-dark .task-bar { background: rgba(255, 255, 255, .14); }
.sec-dark + .bp { padding-top: clamp(72px, 8vw, 120px); }
/* Labels: one style for small captions — the text face, 14 px, semibold */
.step dt, .case-cols > div > .mono { font-size: 14px; }
/* Header: no 1 px line while hidden */
.top.is-hidden { box-shadow: none; }
@media (max-width: 760px) {
  .ht-2 { margin: .4em 0 .45em 0; }
  .hero-grid { padding-bottom: 24px; gap: 16px; }
  .skill-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .skill-filter::-webkit-scrollbar { display: none; }
  .skill-filter button { flex: none; }
}

/* ---------- Round 11 ---------- */
/* Price rows: the fill stays inside the grid, graphite with a cyan price — one blue on the page */
.svc::before { inset: 0 -16px; border-radius: 12px; background: var(--ink) !important; }
.svc-main .svc::before { background: var(--ink) !important; }
@media (hover: hover) { .svc:hover { color: #fff; } .svc:hover .svc-price, .svc-main .svc-price { color: var(--signal); } }
.svc-main .svc-price { color: var(--signal); }
/* Hero foot: lede and actions stacked on the left, hint on the right */
.hero-foot { grid-template-columns: minmax(0, 560px) 1fr; grid-template-areas: "lede hint" "actions hint"; row-gap: 24px; }
.hero-lede { grid-area: lede; }
.hero-actions { grid-area: actions; }
.hero-foot .hero-hint { grid-area: hint; color: rgba(255, 255, 255, .9); }
/* Process: one caption line, one colour; inactive steps legible on dark */
.task-tools { display: none; }
.task-day { color: var(--signal) !important; }
.js:not(.reduced) .sec-dark .task-steps .step { color: #a3aab8; }
@media (max-width: 760px) {
  .step .step-tools { display: none; }
  .step::before { color: var(--signal) !important; }
  .ht-2 { margin-bottom: .7em; }
  .hero-grid { padding-bottom: 8px; }
  .hero-foot { grid-template-columns: 1fr; grid-template-areas: "lede" "actions" "hint"; }
}
.foot { padding-bottom: 28px; }

/* ---------- CMO photo ---------- */
/* The human in «человек + агенты»: the CMO sits in the centre of the staff schematic. */
.org-core { overflow: visible; box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--cobalt); }
.org-core picture, .org-core img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.org-core b { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--signal); color: #0b1220; font: 800 clamp(12px, 3cqw, 17px)/1.1 var(--display); letter-spacing: .04em; white-space: nowrap; }
/* Hero: a small face next to the call to action */
.hero-cmo { grid-area: cmo; justify-self: end; align-self: end; display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.hero-cmo picture, .hero-cmo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-cmo img { box-shadow: 0 0 0 2px var(--signal); }
.hero-cmo span { display: grid; }
.hero-cmo b { color: #fff; font-weight: 600; }
.hero-foot { grid-template-areas: "lede cmo" "actions hint"; }
@media (max-width: 760px) {
  .hero-foot { grid-template-areas: "lede" "cmo" "actions" "hint"; }
  .hero-cmo { justify-self: start; }
}

/* Hero without the kicker line: the headline takes the free height, the foot sits at the bottom */
.hero-grid { grid-template-rows: 1fr auto; }
@media (max-width: 760px) { .hero-grid { grid-template-rows: auto auto; padding-top: 104px; } }

/* Hero foot without the lede: actions on the left, the CMO and the hint on the right */
.hero-foot { grid-template-columns: auto 1fr; grid-template-areas: "actions cmo" "actions hint"; align-items: end; row-gap: 16px; }
.hero-actions { align-self: end; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; grid-template-areas: "cmo" "actions" "hint"; } }

/* Process orbit: a planet and three tilted rings of service logos under the step counter. The step in view lights
   the logos it uses. --os is the outer ring diameter, every ring is a fraction (--k) of it, --tilt is how far the
   plane leans back. The tilt wrapper keeps a 3D context: rings spin inside it, chips and the planet are turned
   back to face the viewer, so the logos pass in front of and behind the planet. */
.task-scene { container-type: inline-size; position: relative; aspect-ratio: 1 / .7; margin-top: 8px; }
.orbit { --os: 112cqw; --chip: clamp(40px, 10cqw, 56px); --tilt: 64deg; position: absolute; left: 50%; top: 50%; width: var(--os); height: var(--os); translate: calc(-50% + 4cqw) -50%; pointer-events: none; perspective: calc(var(--os) * 1.8); }
.orbit-tilt { position: absolute; inset: 0; transform: rotateX(var(--tilt)); transform-style: preserve-3d; }
.orbit-globe { position: absolute; left: 50%; top: 50%; width: calc(var(--os) * .3); height: calc(var(--os) * .3); border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--cobalt); transform: translate(-50%, -50%) rotateX(calc(var(--tilt) * -1)); }
.orbit-ring { position: absolute; left: calc(50% - var(--k) * 50%); top: calc(50% - var(--k) * 50%); width: calc(var(--k) * 100%); height: calc(var(--k) * 100%); border: 1px solid var(--line); border-radius: 50%; transform-style: preserve-3d; animation: orbit-spin var(--t) linear infinite; }
.orbit-ring--rev { animation-direction: reverse; }
.orbit-item { position: absolute; left: 50%; top: 50%; width: var(--chip); height: var(--chip); margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2); transform: rotate(var(--a)) translateY(calc(var(--os) * var(--k) * -.5)) rotate(calc(var(--a) * -1)); transform-style: preserve-3d; }
.orbit-chip { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(0, 0, 0, .4); transform: rotateX(calc(var(--tilt) * -1)); animation: orbit-spin var(--t) linear infinite reverse; transition: opacity .4s, box-shadow .4s; }
.orbit-ring--rev .orbit-chip { animation-direction: normal; }
.orbit-chip img { display: block; width: 58%; height: 58%; object-fit: contain; }
.orbit-chip.is-lg img { width: 82%; height: 82%; }
.orbit-chip.is-full img { width: 100%; height: 100%; }
.orbit.has-lit .orbit-chip { opacity: .3; }
.orbit.has-lit .orbit-chip.is-lit { opacity: 1; box-shadow: 0 0 0 2px var(--signal), 0 0 22px rgba(6, 182, 212, .6); }
@keyframes orbit-spin { to { rotate: 360deg; } }
.orbit.is-paused .orbit-ring, .orbit.is-paused .orbit-chip { animation-play-state: paused; }
.reduced .orbit-ring, .reduced .orbit-chip { animation: none; }
@media (min-width: 761px) { .task-grid { grid-template-columns: minmax(300px, 6fr) minmax(0, 7fr); column-gap: clamp(40px, 7.6vw, 110px); } .task-now { overflow: visible; } }

/* ---------- Round 12: the hero fits a 14" laptop, one vertical rhythm ---------- */
:root { --section: clamp(56px, 6vw, 88px); --head: clamp(24px, 2.8vw, 40px); }
.hero-grid { grid-template-rows: 1fr auto; padding-top: 92px; padding-bottom: 28px; gap: 16px; }
.hero-main { align-self: center; min-width: 0; display: grid; gap: 14px; }
.hero-main .hero-title { align-self: auto; }
@media (max-height: 760px) { .ht-line { font-size: min(12vw, 16vh); } }
.hero-hint { justify-self: start; align-self: start; margin: 0; color: rgba(255, 255, 255, .82); }
.hero-foot { grid-template-columns: auto 1fr; grid-template-areas: "actions cmo"; align-items: center; gap: 16px 32px; }
.hero-cmo { justify-self: end; align-self: center; }
@media (max-width: 760px) {
  .hero-grid { grid-template-rows: auto auto; padding-top: 88px; padding-bottom: 24px; gap: 12px; }
  .hero-foot { grid-template-columns: 1fr; grid-template-areas: "cmo" "actions"; }
  .hero-cmo { justify-self: start; }
}
.sec-head { margin-bottom: var(--head); }
.staff-sec, .task, .bp, .skills, .services, .reel, .cases { padding-block: var(--section) 0; }
.staff-sec { padding-top: clamp(36px, 4vw, 56px); }
.staff-sec .sec-head { margin-bottom: 16px; }
.sec-dark { margin-top: var(--section); padding-bottom: var(--section); }
.sec-dark.task, .sec-dark + .bp { padding-top: var(--section); }
.cta-inner { padding-block: var(--section); }

/* ---------- Round 13 ---------- */
[hidden] { display: none !important; }
@media (max-width: 760px) {
  /* Mobile hero: a full screen with air between the hint, the headline and the actions; the photo sits bottom right */
  .hero { min-height: 100svh; }
  .hero-grid { grid-template-rows: 1fr auto; padding-top: 96px; padding-bottom: 28px; gap: 28px; }
  .hero-main { gap: 28px; }
  .hero-foot { grid-template-columns: 1fr auto; grid-template-areas: "actions cmo"; align-items: end; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-cmo { justify-self: end; flex-direction: column; align-items: center; gap: 8px; }
}

/* ---------- Brandformance: budget mix, curves over a year, channel priorities ---------- */
.bf { --sales: #06b6d4; --brand: #f59e0b; --mute: #8b93a3; padding: clamp(20px, 3.6vw, 48px); border-radius: 28px; color: #e8eaf0; background: #0b1220; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .1); }
.bf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.bf-mix { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 420px); padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bf-pill { position: absolute; left: 4px; top: 4px; width: calc((100% - 8px) / 3); height: calc(100% - 8px); border-radius: 999px; background: var(--sales); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); will-change: transform; }
.bf-mix button { position: relative; z-index: 1; min-height: 44px; border-radius: 999px; font: 600 15px/1 var(--sans); color: #aab1c0; transition: color .3s; }
.bf-mix button[aria-checked="true"] { color: #0b1220; }
.bf-mix button:focus-visible, .bf-tabs button:focus-visible, .bf-more:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bf-tabs { display: flex; gap: 24px; }
.bf-tabs button { min-height: 44px; padding: 0; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.bf-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--sales); }
.bf-body { display: grid; gap: 24px; margin-top: clamp(20px, 3vw, 36px); }
.bf-stage { position: relative; height: clamp(340px, 29vw, 410px); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bf-view { height: 100%; }
.bf-view[hidden] { display: none; }
.bf-time { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.bf-legend { display: flex; gap: 22px; margin: 0 0 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.bf-legend span { display: inline-flex; align-items: center; gap: 8px; }
.bf-legend span::before { content: ""; width: 18px; height: 0; border-top: 2px solid var(--sales); }
.bf-legend .is-brand::before { border-top: 2px dashed var(--brand); }
.bf-plot { position: relative; margin-right: 10px; border-left: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bf-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bf-grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bf-area { fill: url(#bf-fill); }
.bf-curve { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bf-curve--sales { stroke: var(--sales); }
.bf-curve--brand { stroke: var(--brand); stroke-dasharray: 2 7; }
.bf-dot { position: absolute; left: 100%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #0b1220; }
.bf-dot--sales { --c: var(--sales); }
.bf-dot--brand { --c: var(--brand); }
.bf-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--c); animation: bf-ping 2.4s var(--ease) infinite; }
@keyframes bf-ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.bf-axis { display: flex; justify-content: space-between; margin: 10px 10px 0 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.bf-rows { --row: 56px; position: relative; height: calc(var(--n) * var(--row)); margin: 0; padding: 0; list-style: none; }
.bf-rows li { position: absolute; left: 0; right: 0; top: 0; height: var(--row); display: grid; grid-template-columns: 36px minmax(0, 132px) minmax(0, 1fr) 56px; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(calc(var(--y, 0) * var(--row))); transition: transform .7s var(--ease); }
.bf-logo { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #fff; }
.bf-logo img { display: block; width: 58%; height: 58%; object-fit: contain; }
.bf-logo.is-full img { width: 100%; height: 100%; }
.bf-name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bf-track i { display: block; width: 100%; height: 100%; border-radius: 6px; transform-origin: left; transform: scaleX(var(--w, .5)); transition: transform .7s var(--ease); background: var(--sales); }
.bf-rows li[data-kind="brand"] .bf-track i { background: var(--brand); }
.bf-rows li[data-kind="both"] .bf-track i { background: #cbd5e1; }
.bf-kind { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); text-align: right; }
.bf-verdict { min-height: 5.4em; margin: 0; font: 500 clamp(21px, 2.1vw, 28px)/1.3 var(--sans); letter-spacing: -.01em; color: #f3f4f6; }
.bf-verdict.is-in { animation: bf-in .5s var(--ease); }
@keyframes bf-in { from { opacity: 0; transform: translateY(6px); } }
.bf-verdict .is-sales { color: var(--sales); } .bf-verdict .is-mid { color: #fff; } .bf-verdict .is-brand { color: var(--brand); }
.bf-more { display: none; min-height: 44px; margin-top: 4px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sales); text-align: left; }
.bf-more::after { content: " +"; }
.bf-more[aria-expanded="true"]::after { content: " –"; }
.bf-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bf-lists > div { display: grid; align-content: start; gap: 8px; color: #9aa2b1; transition: color .4s; }
.bf-lists > div.is-lead { color: #eef0f5; }
.bf-cap { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.bf-cap:nth-of-type(2) { margin-top: 10px; }
.bf-work { margin: 0; font-size: 16px; line-height: 1.5; }
.bf-kpi { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; }
.bf-kpi li { position: relative; padding-left: 16px; }
.bf-kpi li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--sales); }
.bf-lists [data-side="brand"] .bf-kpi li::before { background: var(--brand); }
.bf-note { margin: 24px 0 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
@media (min-width: 761px) {
  .bf-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .bf-copy { order: -1; }
}
@media (max-width: 760px) {
  .bf { border-radius: 22px; }
  .bf-bar { gap: 8px; }
  .bf-tabs { width: 100%; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); }
  .bf-rows { --row: 48px; }
  .bf-stage { height: 340px; }
  .bf-rows li { grid-template-columns: 34px minmax(0, 124px) minmax(0, 1fr); gap: 10px; }
  .bf-name { font-size: 15px; }
  .bf-kind { display: none; }
  .bf-verdict { min-height: 7.2em; font-size: 20px; }
  .bf-more { display: block; }
  .bf-lists { display: none; grid-template-columns: 1fr; margin-top: 8px; }
  .bf-lists.is-open { display: grid; }
  .bf-note { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .bf-dot::after { animation: none; } .bf-rows li, .bf-track i { transition: none; } .bf-verdict.is-in { animation: none; } }

/* ---------- Round 14: the photo is a link, the lead block sits in the middle of the page ---------- */
a.hero-cmo { color: rgba(255, 255, 255, .78); transition: color .25s; }
a.hero-cmo img { transition: box-shadow .25s; }
a.hero-cmo:hover { color: #fff; }
a.hero-cmo:hover img { box-shadow: 0 0 0 3px var(--signal), 0 0 0 7px rgba(6, 182, 212, .25); }
a.hero-cmo:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 12px; }
.mid-cta { padding-block: var(--section) 0; }
.mid-cta .svc-cta { margin-top: 0; padding: clamp(24px, 3vw, 40px) 0; border-block: 1px solid var(--line); }
.mid-cta .svc-cta p { max-width: 38ch; font: 600 clamp(20px, 2.2vw, 28px)/1.3 var(--sans); letter-spacing: -.01em; }
