@font-face{font-family:Inter;src:url(inter.ttf) format("truetype");font-weight:100 900;font-display:swap}
:root{font-family:Inter,Arial,sans-serif;color:var(--paper);background:#0a0a0a;color-scheme:dark;scroll-behavior:smooth}
*{box-sizing:border-box}
body,h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,textarea:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.shell{width:min(100% - 100px,1392px);margin-inline:auto}
.header,.footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.header{min-height:96px;border-bottom:1px solid #343434}
.brand{font-size:2.65rem;font-weight:850;line-height:1;letter-spacing:-.045em}
.brand span{margin-left:.04em;color:#aaa}
nav{display:flex;gap:36px}
nav a:hover{text-decoration:underline;text-underline-offset:5px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:49px;padding:0 21px;border:1px solid transparent;border-radius:5px;font:inherit;font-weight:620;cursor:pointer}
.outline{border-color:#777}
.outline:hover{background:#232323}
.light{background:var(--paper);color:#111}
.light:hover{background:#d9d9d9}
.hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  row-gap: 12px;
  min-height: clamp(570px, 49vw, 730px);
  padding: clamp(28px, 4vw, 68px);
  margin-block: 25px 0;
  border-radius: 13px;
  overflow: hidden;
  color: #161616;
  background: var(--paper);
  color-scheme: light;
}
h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.25rem);
  font-weight: 665;
  line-height: .97;
  letter-spacing: -.048em;
  justify-self: start;
}
.intro { grid-row: 3; justify-self: start; }
.intro p {
  font-size: clamp(1.05rem, 1.52vw, 1.35rem);
  line-height: 1.42;
  max-width: 26em;
  margin-bottom: 18px;
}
.hero .button { background: #161616; color: var(--paper); }
.hero .button:hover { background: #383838; }
.hero-wordmark {
  display: block;
  width: min(100%, 920px);
  height: auto;
  justify-self: center;
}
.section{padding-block:70px;scroll-margin-top:12px}
h2{font-size:clamp(2.25rem,5vw,4.9rem);line-height:.99;letter-spacing:-.05em;font-weight:680}
h3{font-size:clamp(1.4rem,2.45vw,2.35rem);font-weight:620;letter-spacing:-.032em;line-height:1.08}
.services{display:grid;grid-template-columns:repeat(2,1fr);gap:0 7%;margin-top:37px}
.services article{padding:29px 0 34px;border-top:1px solid #555}
article p,.contact p{max-width:37em;font-size:1.06rem;line-height:1.55;margin-top:14px;color:#ccc}
.cases{background:var(--paper);color:#111;color-scheme:light}
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px}
.case p{color:#363636}
.case-art{aspect-ratio:1.8;display:grid;place-items:center;margin-bottom:20px;overflow:hidden;border-radius:4px}
.calendar{background:#d9d9d9}
.pricing{background:#202020}
.mock{width:min(84%,340px);padding:19px;background:var(--paper);border-radius:8px;box-shadow:0 15px 32px #0003}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:14px}
.slots span,.flow span{background:var(--soft);padding:8px;border-radius:3px;text-align:center;font-size:.875rem}
.slots span:nth-child(2),.flow span:last-child{background:#151515;color:var(--paper)}
.flow{display:grid;gap:5px;margin-top:14px}
.contact{display:grid;grid-template-columns:1fr .7fr;gap:40px}
form{display:grid;gap:12px;align-content:start}
textarea{font:inherit;padding:12px;resize:vertical;border:1px solid #777;background:#151515;color:var(--paper);border-radius:4px;width:100%}
form .button{justify-self:start}
.footer{border-top:1px solid #373737;min-height:95px;color:#bbb}
.footer .brand{color:var(--paper)}
@media(max-width:850px){.shell{width:calc(100% - 44px)}.section{padding-block:48px}}
@media(max-width:620px){.header{min-height:74px}.header nav{display:none}.brand{font-size:2.1rem}.button{min-height:44px;padding-inline:15px;font-size:.92rem}.contact,.case-grid,.services{grid-template-columns:1fr}.hero{min-height:0;padding:24px 20px;margin-top:14px;row-gap:21px}
.hero h1{font-size:clamp(2.1rem,9.5vw,2.65rem)}
.hero-wordmark{width:calc(100% + 24px);max-width:none}
.intro p{margin-bottom:14px}.case-grid{gap:30px}.services article{padding-block:20px}.footer span{font-size:.87rem}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

:root {
  --section-space: clamp(48px, 6.5vw, 96px);
  --heading-gap: clamp(20px, 3vw, 38px);
  --paper: #f7f5f0;
  --soft: #edeae3;
  --lime: #cbff38;
  --ink: #171a11;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1); /* долгое мягкое торможение для появлений */
  --panel-radius: clamp(24px, 4vw, 54px);
}
::selection { background: var(--lime); color: var(--ink); }
.brand span { color: var(--lime); }
nav { gap: clamp(16px, 2.7vw, 36px); }
nav a {
  text-decoration: underline transparent;
  text-underline-offset: .35em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
nav a:hover { color: var(--lime); text-decoration-color: currentColor; }
.button {
  border-radius: 999px;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:active { transform: scale(.97); }
.button:hover { transform: translateY(-2px); }
.button:hover:active { transform: scale(.97); }
.hero {
  border-radius: var(--panel-radius);
  background: var(--paper);
  gap: clamp(22px, 3vw, 42px);
}
.hero h1 { max-width: 14ch; text-wrap: balance; font-size: clamp(2.45rem, 5.3vw, 5.25rem); }
.hero-wordmark { width: min(100%, 790px); }
.intro p { max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button.lime, .hero .lime { background: var(--lime); color: var(--ink); }
.button.lime:hover, .hero .lime:hover { background: #dbff76; }
.hero .secondary { background: transparent; color: var(--ink); border-color: #a5a99a; }
.hero .secondary:hover { background: #e0e4d6; }
.section { padding-block: var(--section-space); }
.split, .contact { display: grid; align-items: start; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 92px); }
.split { border-bottom: 1px solid #343434; }
.about-intro { align-self: center; }

.about-intro p {
  color: var(--paper);
  font-size: clamp(1.85rem, 3.55vw, 4rem);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.04em;
  max-width: 18ch;
  margin: 0;
}

.about-origin { display: block; }

.section-copy, .contact > div { display: grid; align-content: start; gap: 14px; }
.section-copy p, .contact p { color: #ccc; font-size: 1.08rem; line-height: 1.55; margin: 0; }
.section-copy .lead, .contact .lead { color: var(--paper); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.25; }
.contact h2 { margin-bottom: 0; text-wrap: balance; font-size: clamp(2.1rem, 4.2vw, 3.9rem); line-height: 1.02; }
/* вторая часть заголовка формы — с новой строки; обёртки слов анимации (.mw) не трогаем */
@media (min-width: 1050px) { #feedback-title > span:not(.mw) { display: block; } }
.services { gap: 12px; margin-top: var(--heading-gap); }
.services article { background: #161715; border: 1px solid #2c3026; border-radius: 16px; padding: clamp(20px, 3.3vw, 38px); }
.approach {
  background: var(--paper); color: var(--ink); border-radius: var(--panel-radius);
  padding: clamp(24px, 4.5vw, 68px);
}
.process-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.7fr); gap: clamp(16px,4vw,58px); margin-top: var(--heading-gap); align-items: start; }
.process-tabs { display: grid; gap: 7px; }
.process-tabs button {
  text-align: left; border: 0; background: transparent; color: inherit; font: inherit;
  font-weight: 650; border-radius: 14px; cursor: pointer; padding: 13px 16px; min-height: 44px;
  transition: background-color .2s ease;
}
.process-tabs button:hover { background: #e9e8e0; }
.process-tabs button[aria-selected="true"] { background: var(--lime); }
.process-panel {
  color: var(--paper); background: #171916; border-radius: 22px;
  display: grid; grid-template-rows: auto 1fr; min-height: 445px; overflow: hidden;
}
.process-panel[hidden] { display: none; }
.process-panel img { display: block; width: 100%; height: clamp(150px, 22vw, 275px); object-fit: contain; }
.process-panel div { padding: 10px clamp(20px,4vw,40px) 28px; }
.process-panel p { margin-top: 12px; color: #d1d4c9; line-height: 1.55; max-width: 49ch; }
@media (max-width: 720px) { .process-layout { grid-template-columns: 1fr; } .process-panel { min-height: 310px; } }
@media (prefers-reduced-motion: no-preference) {
  .process-panel:not([hidden]) { animation: process-in .28s var(--ease-out) both; }
  @keyframes process-in { from { opacity: .45; transform: translateY(5px); } }
}
.cases { border-radius: var(--panel-radius); background: var(--paper); }
.case-art { border-radius: 16px; }
.calendar { background: #dfe5d2; }
.mock { border-radius: 14px; }
.slots span, .flow span { border-radius: 7px; }
.slots span:nth-child(2), .flow span:last-child { background: var(--lime); color: var(--ink); }
.reviews { gap: 12px; margin-top: var(--heading-gap); }
.reviews figure { margin: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid #3b4134; border-radius: 16px; }
blockquote { margin: 0 0 18px; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.35; }
figcaption, .muted, .contact .muted { color: #b7bcb0; font-size: .95rem; }
.section-note { margin-top: 12px; }
.contact { border-top: 1px solid #343434; }
textarea { border-radius: 16px; padding: 16px; caret-color: var(--lime); transition: border-color 180ms ease, background-color 180ms ease; }
textarea:hover { border-color: #aaa; }
textarea:focus { border-color: var(--lime); background: #1c2017; }
.contact .form-status { font-size: .95rem; color: var(--lime); }
.footer .brand { transition: opacity 180ms ease; }
.footer .brand:hover { opacity: .78; }

@media (prefers-reduced-motion: no-preference) {
  .hero > :not(.hero-wordmark) { animation: enter 450ms var(--ease-out) both; }

  .hero .intro { animation-delay: 100ms; }
  .revealed { animation: enter 750ms var(--ease-soft) both; }
  .reveal-ready { opacity: 0; transform: translateY(36px); }
  .reveal-ready.revealed, .reveal-ready:focus-within {
    opacity: 1; transform: none; transition: opacity .6s var(--ease-soft), transform .75s var(--ease-soft);
    animation: none;
  }
  .revealed .services article, .revealed .featured-project { animation: enter .75s var(--ease-soft) both; }
  .revealed .m-rise { animation: none; } /* их поднимает motion.js */
  .revealed .services article:nth-child(2), .revealed .featured-project:nth-child(2) { animation-delay: .09s; }
  .revealed .services article:nth-child(3) { animation-delay: .16s; }
  .revealed .services article:nth-child(4) { animation-delay: .23s; }
  @keyframes enter { from { opacity: 0; transform: translateY(28px); } }
}
@media (max-width: 720px) {
  .split, .contact { grid-template-columns: 1fr; }
  .header nav { display: none; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .hero-wordmark { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .button, nav a, textarea, .footer .brand { transition: none; }
  .button:hover, .button:active, .button:hover:active { transform: none; }
}

.hero-wordmark { mix-blend-mode: multiply; }
@media (min-width: 851px) {
  .hero { padding-block: clamp(28px, 3.2vw, 48px); gap: 24px; }
  .hero-wordmark { width: min(100%, 680px); }
}

.hero-wordmark { aspect-ratio: 2170 / 725; overflow: visible; }

@media (prefers-reduced-motion: no-preference) {
  /* Буквы падают сверху по очереди слева направо: видны всё время, влетают из-за верхнего края карточки
     (у .hero overflow: hidden), разгоняются, мягко оседают при касании, чуть подпрыгивают и успокаиваются.
     Буквы — обычные картинки, а не SVG: браузер двигает их видеокартой, без перерисовки и дрожания.
     Высота падения в cqw — долях ширины логотипа, одинаково на любом экране. */
  /* Буквы — надувные: падают с лёгким вытягиванием и у пола тормозятся о воздух, при касании не останавливаются разом, а продавливаются
     (амортизация ~0,1 с), пружинят вверх и затухают в маленьком покачивании. Тень растёт и сжимается в такт.
     Потом падает мяч: мягкое касание, один отскок, мягкая посадка. Каждый отрезок со своим плавным ускорением. */
  .hero-wordmark.is-ready > .letter { animation: letter-fall 1100ms linear calc((4 - var(--order)) * 75ms) both; }
  .hero-wordmark.is-ready > .wm-shadow.letter { animation-name: shadow-fall; }
  .hero-wordmark.is-ready > .ball { animation: ball-fall 1500ms linear 620ms both; }
  .hero-wordmark.is-ready > .wm-shadow.ball { animation-name: ball-shadow-fall; }

  @keyframes letter-fall {
    0%   { transform: translate3d(0, -60cqw, 0) scale(.98, 1.02); opacity: 0; animation-timing-function: cubic-bezier(.32, 0, .5, .86); }
    0.1% { opacity: 1; }
    34%  { transform: translate3d(0, -1cqw, 0) scale(.965, 1.05); animation-timing-function: cubic-bezier(.3, .3, .55, 1); }
    44%  { transform: translate3d(0, 0, 0) scale(1.075, .9); animation-timing-function: cubic-bezier(.4, 0, .45, 1); }
    59%  { transform: translate3d(0, -1.1cqw, 0) scale(.975, 1.035); animation-timing-function: cubic-bezier(.45, 0, .5, 1); }
    73%  { transform: translate3d(0, 0, 0) scale(1.028, .972); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    87%  { transform: translate3d(0, -.15cqw, 0) scale(.994, 1.008); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: translate3d(0, 0, 0); opacity: 1; }
  }
  @keyframes shadow-fall {
    0%   { transform: scale(.25); opacity: 0; animation-timing-function: cubic-bezier(.32, 0, .5, .86); }
    34%  { transform: scale(.95, 1); opacity: .9; animation-timing-function: cubic-bezier(.3, .3, .55, 1); }
    44%  { transform: scale(1.14, 1.05); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .45, 1); }
    59%  { transform: scale(.93, 1); opacity: .85; animation-timing-function: cubic-bezier(.45, 0, .5, 1); }
    73%  { transform: scale(1.04, 1); opacity: 1; }
    100% { transform: none; opacity: 1; }
  }
  @keyframes ball-fall {
    0%   { transform: translate3d(0, -60cqw, 0) scale(.96, 1.05); opacity: 0; animation-timing-function: cubic-bezier(.32, 0, .5, .86); }
    0.1% { opacity: 1; }
    32%  { transform: translate3d(0, -.6cqw, 0) scale(.94, 1.08); animation-timing-function: cubic-bezier(.3, .3, .55, 1); }
    39%  { transform: translate3d(0, 0, 0) scale(1.17, .83); animation-timing-function: cubic-bezier(.35, 0, .4, 1); }
    46%  { transform: translate3d(0, -1.6cqw, 0) scale(.93, 1.09); animation-timing-function: cubic-bezier(.2, .5, .4, 1); }
    63%  { transform: translate3d(0, -6.5cqw, 0) scale(1, 1); animation-timing-function: cubic-bezier(.45, 0, .6, .85); }
    79%  { transform: translate3d(0, -.4cqw, 0) scale(.96, 1.05); animation-timing-function: cubic-bezier(.3, .3, .55, 1); }
    84%  { transform: translate3d(0, 0, 0) scale(1.09, .91); animation-timing-function: cubic-bezier(.4, 0, .45, 1); }
    93%  { transform: translate3d(0, -.3cqw, 0) scale(.985, 1.015); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: translate3d(0, 0, 0); opacity: 1; }
  }
  @keyframes ball-shadow-fall {
    0%   { transform: scale(.2); opacity: 0; animation-timing-function: cubic-bezier(.32, 0, .5, .86); }
    32%  { transform: scale(.95); opacity: .9; animation-timing-function: cubic-bezier(.3, .3, .55, 1); }
    39%  { transform: scale(1.2, 1.05); opacity: 1; animation-timing-function: cubic-bezier(.2, .5, .4, 1); }
    63%  { transform: scale(.6); opacity: .4; animation-timing-function: cubic-bezier(.45, 0, .6, .85); }
    84%  { transform: scale(1.1, 1.03); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: none; opacity: 1; }
  }


}

.hero { container-type: inline-size; }
.hero h1 { max-width: none; font-size: clamp(1rem, 7.1cqw, 5.25rem); text-wrap: initial; }
.services article { transition: border-color .24s ease, box-shadow .24s ease; }
@media (hover: hover) {
  .services article:hover { border-color: var(--lime); box-shadow: 0 0 14px #cbff381c, inset 0 0 12px #cbff380b; }
}
.review-heading, .review-controls { display: flex; align-items: center; gap: 10px; }
.review-heading { justify-content: space-between; }
.review-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #626659;
  background: transparent; color: var(--paper); font: inherit; font-size: 1.3rem; cursor: pointer;
  transition: background-color .18s, color .18s;
}
.review-controls button:hover:not(:disabled) { background: var(--lime); color: var(--ink); }
.review-controls button:disabled { opacity: .35; cursor: default; }
.reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #74796c transparent; padding-bottom: 14px; margin-bottom: -14px; }
.reviews figure { flex: 0 0 min(84%, 480px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; }


.partnership {
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  gap: clamp(22px, 6vw, 92px);
}
.partnership h2 { max-width: 10ch; }
@media (max-width: 680px) {
  .partnership { grid-template-columns: 1fr; gap: var(--heading-gap); }
}
.project-list { margin-top: var(--heading-gap); }
.project-summary { display: grid; gap: 13px; }
.project-summary p, .secondary-project p, .project-detail p { color: #42463d; margin: 0; }
.project-summary .button { justify-self: start; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 38px); }
.featured-project { display: grid; grid-template-rows: auto 1fr; }
.project-scene {
  display: block; width: 100%; padding: 0; aspect-ratio: 1.32; overflow: hidden;
  background: #23261f; border: 0; border-radius: 22px; cursor: pointer; margin-bottom: 20px;
}
.project-scene img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.project-scene:hover img, .project-scene:focus-visible img { transform: scale(1.035); }
.project-summary { grid-template-rows: auto 1fr auto; }
.project-dialog {
  width: min(1100px, 96vw); max-height: 92dvh; padding: 0; border: 0; border-radius: 22px;
  background: var(--paper); color: var(--ink); color-scheme: light;
}
.project-dialog::backdrop { background: #111b; }
body:has(.project-dialog[open]) { overflow: hidden; }
.project-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 5vw, 65px); background: var(--paper); border-bottom: 1px solid #d6d5c9; font-weight: 650; }
.project-dialog .outline:hover, .cases .outline:hover { background: #e5e5d9; }
.project-detail { padding: clamp(20px, 5vw, 65px); }
.project-detail .case-lead { margin: 18px 0 32px; max-width: 63ch; font-size: 1.15rem; }
.case-chapter { display: grid; grid-template-columns: 1fr 1.45fr; align-items: start; gap: clamp(15px, 4vw, 45px); border-top: 1px solid #d6d5c9; padding: 25px 0; }
.case-chapter p { margin-top: 10px; line-height: 1.55; }
.case-chapter img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #d6d5c9; }
.case-flow { display: grid; gap: 7px; }
.case-flow span { padding: 12px 16px; border-radius: 9px; background: var(--soft); }
.case-flow span:last-child { background: var(--lime); }
@media (max-width: 680px) {
  .case-chapter { grid-template-columns: 1fr; }
  .project-list { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .project-scene img { transition: none; } }

.brand-dot { color: var(--lime); }

.case-screens { display: grid; gap: 14px; }
.case-screens img { display: block; }

#feedback-form > input {
  width: 100%; min-height: 46px; border: 1px solid #777; border-radius: 12px;
  padding: 10px 14px; background: #151515; color: var(--paper); font: inherit;
}
#feedback-form input:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
#feedback-form > label:not(:first-child) { margin-top: 5px; }
.feedback-checks { display: grid; gap: 10px; padding-block: 5px; }
.feedback-checks div { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: .94rem; line-height: 1.45; }
.feedback-checks input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lime); }
.feedback-checks a, .legal-document > a { color: var(--lime); text-decoration: underline; text-underline-offset: .2em; }
.contact #feedback-mode { font-size: .87rem; }
.legal-document { width: min(100% - 40px, 760px); margin-inline: auto; padding-block: 40px 70px; }
.legal-document h1 { font-size: clamp(2rem, 5vw, 3.65rem); margin-block: 24px 16px; }
.legal-document h2 { font-size: 1.4rem; margin-bottom: 9px; }
.legal-document section { margin-top: 28px; }
.legal-document p { line-height: 1.6; color: #d2d2ca; }
.legal-document .legal-draft { color: var(--lime); }

/* 25.11.2026: контакты, реквизиты и документы в подвале, ловушка для ботов в форме */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact .contact-direct { color: #ccc; }
.contact-direct a, .footer a { color: var(--paper); text-decoration: none; }
.contact-direct a { color: var(--lime); white-space: nowrap; }
.contact-direct a:hover, .footer-contacts a:hover, .footer-legal a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer { flex-wrap: wrap; align-items: flex-start; padding-block: 28px 36px; row-gap: 22px; }
.footer-main, .footer-contacts { display: grid; gap: 6px; }
.footer-contacts a { font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.footer-legal { flex-basis: 100%; display: grid; gap: 6px; color: #8d9188; font-size: .87rem; line-height: 1.45; }
.footer-legal p { margin: 0; }
.footer-legal a { color: #b7bcb0; }

/* плашка cookie (cookies.js) */
.cookie-bar { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(100% - 32px, 760px); display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; border: 1px solid #373737; border-radius: 18px; background: #161715; color: #d2d2ca; box-shadow: 0 18px 50px rgb(0 0 0 / .45); }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.45; }
.cookie-bar a { color: var(--lime); }
.cookie-bar div { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .button { min-height: 42px; }

/* кейс Clover: карточки агентов и автоматизаций */
.case-agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.case-agents article { display: grid; align-content: start; gap: 8px; padding: 16px 18px; border-radius: 12px; background: var(--soft); }
.case-agents h4 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.case-agents p { margin: 0; font-size: .95rem; line-height: 1.45; }
.case-agents small { justify-self: start; margin-top: 2px; padding: 3px 9px; border-radius: 999px; background: var(--lime); color: #171a11; font-size: .8rem; font-weight: 600; }

/* логотип на главной: буквы и тени — картинки и блоки поверх общей подложки (координаты из исходного SVG 2170×725) */
.hero-wordmark { position: relative; display: block; container-type: inline-size; }
.hero-wordmark > img { position: absolute; height: auto; transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden; }
.hero-wordmark > .wm-shadow { position: absolute; top: 85%; height: 7%; border-radius: 50%; transform-origin: 50% 50%;
  background: radial-gradient(closest-side, rgb(38 34 26 / .5), rgb(38 34 26 / .2) 55%, rgb(38 34 26 / 0)); }
/* тень — только этот блок: нарисованные в картинках букв тени убраны 26.11.2026, иначе тень падала вместе с буквой */

/* motion.js: заголовки по словам из-под маски, подъём карточек, параллакс картинок кейсов */
@media (prefers-reduced-motion: no-preference) {
  .m-words .mw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
  .m-words .mw-i { display: inline-block; transform: translate3d(0, 135%, 0); transition: transform .75s var(--ease-soft) calc(var(--i, 0) * 30ms); }
  .m-words.is-in .mw-i { transform: none; }
  .m-rise { opacity: 0; transform: translate3d(0, 36px, 0); }
  .m-rise.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease-soft) var(--d, 0ms), transform .8s var(--ease-soft) var(--d, 0ms); }
  .m-parallax .project-scene img { scale: 1.08; translate: 0 var(--py, 0); }
}
