/* ============================================================
   Dima & Stacy · kolesim.diko.top
   Тон: премиальный, тёплый, кинематографичный
   ============================================================ */

:root {
  --bg: #0d0a08;
  --bg-2: #15100c;
  --bg-3: #1d1611;
  --ink: #f3eadf;
  --ink-2: #c9bcad;
  --ink-3: #8c7e70;
  --line: rgba(243, 234, 223, 0.12);
  --line-2: rgba(243, 234, 223, 0.22);
  --accent: #e9b48a;
  --accent-2: #d9825b;
  --wine: #6e2a24;
  --cream: #f3eadf;
  --cream-ink: #1a130e;

  --serif: 'Cormorant', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --section: clamp(88px, 12vw, 180px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--accent); color: var(--cream-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--accent); color: var(--cream-ink); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.h2 {
  margin: 0;
  font: 500 clamp(40px, 6.2vw, 92px)/0.98 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(48px, 7.6vw, 120px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.shead { margin-bottom: clamp(40px, 6vw, 80px); max-width: 980px; }
.shead--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; flex-wrap: wrap; }
.shead__aside { margin: 0; color: var(--ink-3); max-width: 32ch; font-size: 15px; }
.section { padding: var(--section) 0; position: relative; }

/* Слова заголовков — для анимации */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.w__i { display: inline-block; }
.js .w__i { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.is-in .w__i, .is-ready .hero .w__i { transform: none; }

/* ---------- Кнопки ---------- */
.btn {
  --bh: 48px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--cream-ink);
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  transition: color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--cream);
  border-radius: inherit;
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 18px 50px -18px rgba(233, 180, 138, 0.7); }
.btn svg { font-size: 18px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 58px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream-ink); box-shadow: none; }
.btn--light { background: var(--cream); color: var(--cream-ink); }
.btn--light::before { background: var(--accent); }

/* ---------- Шум и курсор ---------- */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; opacity: 0.07; }
.grain::before {
  content: ''; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, -2%); }
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.3s, opacity 0.3s;
  opacity: 0;
}
.cursor__label { opacity: 0; color: var(--cream-ink); font-size: 22px; transition: opacity 0.3s; display: grid; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--cream); }
.cursor.is-play { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--accent); mix-blend-mode: normal; }
.cursor.is-play .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: flex; align-items: baseline; gap: 14px; font: 400 clamp(40px, 7vw, 84px)/1 var(--serif); overflow: hidden; }
.loader__inner > * { display: inline-block; animation: loaderUp 0.9s var(--ease) both; }
.loader__inner i { color: var(--accent); animation-delay: 0.08s; }
.loader__inner span:last-child { animation-delay: 0.16s; }
.loader__bar { width: min(220px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: loaderBar 1.1s var(--ease-io) both; }
@keyframes loaderUp { from { transform: translateY(110%); } }
@keyframes loaderBar { from { transform: scaleX(0); } }
.is-ready .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .loader { display: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.header.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(13, 10, 8, 0.62);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: baseline; gap: 12px; }
.logo__mark { font: 500 28px/1 var(--serif); letter-spacing: -0.02em; }
.logo__mark i { color: var(--accent); font-style: italic; margin: 0 1px; }
.logo__word { font: 600 11px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(243, 234, 223, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { position: relative; padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color 0.3s, background 0.3s; }
.nav a:hover, .nav a.is-active { color: var(--ink); background: rgba(243, 234, 223, 0.08); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; gap: 6px; font: 600 12px/1 var(--sans); letter-spacing: 0.14em; color: var(--ink-3); padding: 10px 4px; }
.lang b { color: var(--ink); font-weight: 600; }
.lang:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 0.5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path 0.8s var(--ease-io);
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a { font: 500 clamp(40px, 11vw, 64px)/1.1 var(--serif); }
.mmenu nav a:hover { color: var(--accent); font-style: italic; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 10, 8, 0.55) 0%, rgba(13, 10, 8, 0.1) 35%, rgba(13, 10, 8, 0.4) 65%, var(--bg) 100%),
    radial-gradient(120% 80% at 80% 20%, transparent 0%, rgba(13, 10, 8, 0.5) 70%);
}
.aurora { position: absolute; inset: 0; overflow: hidden; filter: blur(70px) saturate(130%); }
.aurora i { position: absolute; border-radius: 50%; opacity: 0.65; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 60vmax; height: 60vmax; left: -10vmax; top: -20vmax; background: radial-gradient(circle, #b85a3a 0%, transparent 65%); animation: drift1 22s var(--ease-io) infinite alternate; }
.aurora i:nth-child(2) { width: 55vmax; height: 55vmax; right: -15vmax; top: 0; background: radial-gradient(circle, #e9b48a 0%, transparent 60%); opacity: 0.45; animation: drift2 26s var(--ease-io) infinite alternate; }
.aurora i:nth-child(3) { width: 50vmax; height: 50vmax; left: 25vmax; bottom: -25vmax; background: radial-gradient(circle, #6e2a24 0%, transparent 65%); animation: drift3 30s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-12vmax, -18vmax) scale(1.2); } }
.hero__content { position: relative; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title { margin: 0; font: 500 clamp(46px, 7vw, 112px)/0.94 var(--serif); letter-spacing: -0.03em; max-width: 17ch; }
.hero__title .line { display: block; }
.hero__title .line--italic { font-style: italic; font-weight: 400; color: var(--accent); --base: 260ms; }
.hero__lead { margin: 32px 0 0; max-width: 46ch; font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats { list-style: none; margin: clamp(36px, 6vh, 72px) 0 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats b { font: 500 clamp(36px, 4.4vw, 64px)/1 var(--serif); letter-spacing: -0.02em; }
.hero__stats span { color: var(--ink-3); font-size: 14px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 80px); display: flex; flex-direction: column; align-items: center; gap: 14px; font: 600 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; right: 0; height: 40%; background: var(--accent); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Появление элементов hero */
.js .hero__eyebrow, .js .hero__lead, .js .hero__ctas, .js .hero__stats li, .js .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: 0.7s; }
.is-ready .hero__ctas { opacity: 1; transform: none; transition-delay: 0.85s; }
.is-ready .hero__stats li { opacity: 1; transform: none; }
.is-ready .hero__stats li:nth-child(1) { transition-delay: 1s; }
.is-ready .hero__stats li:nth-child(2) { transition-delay: 1.08s; }
.is-ready .hero__stats li:nth-child(3) { transition-delay: 1.16s; }
.is-ready .hero__stats li:nth-child(4) { transition-delay: 1.24s; }
.is-ready .hero__scroll { opacity: 1; transform: none; transition-delay: 1.4s; }
.is-ready .hero .w__i { transition-delay: calc(var(--i) * 55ms + var(--base, 0ms) + 250ms); }

/* ---------- Бегущие строки ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(40px, 6vw, 96px); width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--slow .marquee__track { animation-duration: 60s; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(20px, 3vw, 48px))); } }
.brands { padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.brands__title { text-align: center; margin: 0 0 36px; color: var(--ink-3); font-size: 14px; letter-spacing: 0.08em; }
.brand { height: 44px; display: grid; place-items: center; opacity: 0.6; transition: opacity 0.3s; }
.brand:hover { opacity: 1; }
.brand img { max-height: 44px; width: auto; filter: grayscale(1) brightness(0) invert(0.92); }
.brand--text { font: 500 italic 30px/1 var(--serif); color: var(--ink-2); white-space: nowrap; }

/* ---------- Три уровня ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.tier {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 520px; padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.tier:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.tier__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 180, 138, 0.18), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.tier:hover .tier__glow { opacity: 1; }
.tier--hot { background: linear-gradient(160deg, #3a1f16 0%, #1d1410 55%, var(--bg-2) 100%); box-shadow: inset 0 0 0 1px rgba(233, 180, 138, 0.35); }
.tier__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.tier__num { font: 400 italic 20px/1 var(--serif); color: var(--ink-3); }
.tier__badge { padding: 7px 12px; border-radius: 999px; background: var(--accent); color: var(--cream-ink); font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.tier__name { margin: 80px 0 16px; font: 500 clamp(34px, 3.2vw, 46px)/1 var(--serif); letter-spacing: -0.02em; }
.tier__text { margin: 0 0 26px; color: var(--ink-2); }
.tier__points { list-style: none; margin: 0 0 32px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.tier__points li { display: flex; gap: 10px; align-items: center; }
.tier__points svg { color: var(--accent); font-size: 18px; }
.tier__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--accent); }
.tier__link svg { transition: transform 0.4s var(--ease); }
.tier__link:hover svg { transform: translateX(5px); }
.services__note { margin: 40px 0 0; text-align: center; font: 400 italic clamp(22px, 2.2vw, 30px)/1.3 var(--serif); color: var(--ink-2); }

/* ---------- Ниша ---------- */
.niche { background: var(--cream); color: var(--cream-ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.niche .eyebrow { color: var(--accent-2); }
.niche .shead__aside { color: #6b5d50; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(26, 19, 14, 0.15); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 200px; padding: 26px 22px; text-align: left;
  border-bottom: 1px solid rgba(26, 19, 14, 0.15); border-right: 1px solid rgba(26, 19, 14, 0.15);
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease);
}
.cat:nth-child(4n) { border-right: 0; }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cream-ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.cat:hover { color: var(--cream); }
.cat:hover::before { transform: none; }
.cat__icon { font-size: 40px; color: var(--accent-2); transition: transform 0.6s var(--ease); }
.cat:hover .cat__icon { transform: translateY(-4px) rotate(-6deg); color: var(--accent); }
.cat__name { font: 500 clamp(24px, 2.2vw, 32px)/1.05 var(--serif); }
.cat__arrow { position: absolute; top: 24px; right: 22px; font-size: 22px; opacity: 0.4; transition: transform 0.5s var(--ease), opacity 0.3s; }
.cat:hover .cat__arrow { transform: rotate(45deg); opacity: 1; color: var(--accent); }
.cats::after { content: 'Dima & Stacy'; display: flex; align-items: center; justify-content: center; font: 400 italic 26px/1 var(--serif); color: rgba(26, 19, 14, 0.35); border-bottom: 1px solid rgba(26, 19, 14, 0.15); }

/* ---------- Портфолио ---------- */
.portfolio { background: var(--cream); color: var(--cream-ink); padding-top: 0; }
.portfolio .eyebrow { color: var(--accent-2); }
.portfolio .shead { padding-top: var(--section); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(26, 19, 14, 0.2); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--cream-ink); }
.chip.is-active { background: var(--cream-ink); color: var(--cream); box-shadow: none; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard { margin: 0; cursor: pointer; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.vcard:nth-child(4n + 2), .vcard:nth-child(4n + 4) { transform: translateY(48px); }
.vcard.is-hidden { display: none; }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #2a201a; }
.vcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard__video { transform: scale(1.05); }
.vcard__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(80% 60% at 30% 20%, hsl(calc(14 + var(--h) * 0.04) 55% 45% / 0.9), transparent 70%),
    radial-gradient(70% 60% at 80% 90%, hsl(calc(350 + var(--h) * 0.05) 45% 25%), transparent 70%),
    #1d1410;
  color: rgba(243, 234, 223, 0.85);
  background-size: 160% 160%;
  animation: phShift 12s var(--ease-io) infinite alternate;
}
.vcard__ph span { font-size: 54px; opacity: 0.9; }
.vcard__ph em { font: 400 italic 18px/1 var(--serif); opacity: 0.7; }
@keyframes phShift { to { background-position: 100% 100%; } }
.vcard__cat { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(13, 10, 8, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--cream); font-size: 12px; font-weight: 500; }
.vcard__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; font-size: 14px; }
.vcard__cap b { font-weight: 600; }
.vcard__cap span { color: #6b5d50; white-space: nowrap; }
.portfolio { padding-bottom: calc(var(--section) + 48px); }

/* ---------- Живая аналитика ---------- */
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 0 rgba(95, 211, 141, 0.6); animation: pulse 2s infinite; }
.live .eyebrow::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 211, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, 0); } }
.live__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { padding: 30px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 32px; }
.metric span { color: var(--ink-3); font-size: 14px; }
.metric b { font: 500 clamp(52px, 6vw, 92px)/0.9 var(--serif); letter-spacing: -0.03em; }
.live__sub { margin: 56px 0 20px; font: 500 28px/1.1 var(--serif); }
.live__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reel--skel { pointer-events: none; }
.reel--skel .reel__ph, .reel--skel i { background: linear-gradient(90deg, var(--bg-3), #2a201a, var(--bg-3)); background-size: 200% 100%; animation: skel 1.8s linear infinite; }
.reel--skel i { display: block; height: 12px; border-radius: 6px; margin-top: 10px; width: 140px; }
.reel--skel i:first-child { height: 26px; width: 80px; margin-top: 0; }
@keyframes skel { to { background-position: -200% 0; } }
.reel { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.4s var(--ease); }
.reel:hover { box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-3px); }
.reel img, .reel__ph { width: 72px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--bg-3); flex: none; }
.reel b { display: block; font: 500 30px/1 var(--serif); }
.reel p { margin: 6px 0 0; color: var(--ink-3); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Кейсы ---------- */
.cases__list { display: grid; gap: 20px; }
.case { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.case__visual { position: relative; min-height: 380px; overflow: hidden; background: radial-gradient(80% 70% at 20% 10%, hsl(calc(15 + var(--h) * 0.06) 50% 40%), transparent 70%), radial-gradient(70% 70% at 90% 100%, #4a1d18, transparent 70%), var(--bg-3); }
.case__visual img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.case__metric { position: absolute; left: 28px; bottom: 26px; display: flex; flex-direction: column; }
.case__metric b { font: 500 clamp(64px, 8vw, 120px)/0.85 var(--serif); letter-spacing: -0.03em; }
.case__metric span { color: var(--ink-2); margin-top: 8px; }
.case__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.case__brand { margin: 0 0 28px; font: 500 italic 34px/1 var(--serif); color: var(--accent); }
.case dl { margin: 0; display: grid; gap: 20px; }
.case dl div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.case dt { color: var(--ink-3); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.case dd { margin: 0; color: var(--ink-2); }

/* ---------- Что вы получаете ---------- */
.benefits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.benefit { padding: 36px 28px 36px 0; border-right: 1px solid var(--line); }
.benefit + .benefit { padding-left: 28px; }
.benefit:last-child { border-right: 0; }
.benefit__num { font: 400 italic 18px/1 var(--serif); color: var(--accent); }
.benefit h3 { margin: 56px 0 12px; font: 500 30px/1.05 var(--serif); }
.benefit p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Кто мы ---------- */
.about { padding-bottom: 0; }
.about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about__img, .person__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.ph-photo { display: flex; align-items: flex-end; padding: 24px; background: radial-gradient(90% 70% at 30% 20%, #8a4a32, transparent 70%), radial-gradient(70% 60% at 80% 90%, #3c1814, transparent 70%), var(--bg-3); }
.ph-photo span { font: 400 italic 26px/1 var(--serif); color: rgba(243, 234, 223, 0.7); }
.about__text .lead { margin-top: 28px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(64px, 8vw, 120px); }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 26px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.person__photo { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; }
.person__body { padding: 10px 10px 10px 0; }
.person h3 { margin: 0 0 14px; font: 500 34px/1 var(--serif); }
.person h3 em { display: block; margin-top: 8px; font-size: 18px; color: var(--accent); font-weight: 400; }
.person p { margin: 0; color: var(--ink-2); font-size: 15px; }
.person__params { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3) !important; font-size: 13px !important; letter-spacing: 0.06em; }
.countries { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px); }
.countries__title { text-align: center; margin: 0 0 28px; color: var(--ink-3); font-size: 14px; letter-spacing: 0.08em; }
.marquee__track--text { gap: clamp(20px, 3vw, 40px); }
.marquee__track--text li { font: 400 clamp(48px, 7vw, 104px)/1 var(--serif); white-space: nowrap; }
.marquee__track--text li[aria-hidden='true']:not(:has(*)) { font-size: clamp(20px, 2vw, 30px); color: var(--accent); }
.countries .marquee__track li:nth-child(4n + 3) { font-style: italic; color: var(--accent); }

/* ---------- ContentMe ---------- */
.agency__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: clamp(32px, 6vw, 80px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2b1611 0%, #160f0b 60%);
  box-shadow: inset 0 0 0 1px rgba(233, 180, 138, 0.25);
}
.agency__orb { position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; top: -240px; border-radius: 50%; background: conic-gradient(from 0deg, #e9b48a, #b85a3a, #6e2a24, #e9b48a); filter: blur(80px); opacity: 0.45; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agency__text p:not(.eyebrow) { color: var(--ink-2); max-width: 52ch; margin: 24px 0 32px; }
.agency .h2 { font-size: clamp(36px, 4.6vw, 68px); }
.agency__stat { text-align: right; }
.agency__stat b { display: block; font: 500 clamp(80px, 12vw, 180px)/0.85 var(--serif); letter-spacing: -0.04em; background: linear-gradient(180deg, var(--cream), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agency__stat span { color: var(--ink-2); }

/* ---------- Как мы работаем ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps__line { position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 0; }
.step__num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font: 400 italic 22px/1 var(--serif); color: var(--accent); transition: background 0.5s, color 0.5s; }
.step.is-in .step__num { background: var(--accent); color: var(--cream-ink); box-shadow: none; transition-delay: var(--d, 0ms); }
.step h3 { margin: 36px 0 10px; font: 500 34px/1 var(--serif); }
.step p { margin: 0; color: var(--ink-2); max-width: 28ch; }

/* ---------- Отзывы + FAQ ---------- */
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 34px; border-radius: var(--radius-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.review blockquote { margin: 0; font: 400 italic clamp(22px, 2vw, 28px)/1.3 var(--serif); }
.review figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.review figcaption span { color: var(--ink-3); }
.faq { margin-top: var(--section); display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq .shead { margin: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font: 500 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 18px; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.qa[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--cream-ink); box-shadow: none; }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0 0 26px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Заявка ---------- */
.contact { background: var(--cream); color: var(--cream-ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.contact .eyebrow { color: var(--accent-2); }
.contact .lead { color: #5a4b3e; margin-top: 24px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro { position: sticky; top: 120px; }
.contact__or { margin: 48px 0 16px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #8a7a6b; }
.clinks { display: grid; gap: 4px; margin-bottom: 32px; }
.clink { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(26, 19, 14, 0.12); font-weight: 500; transition: color 0.3s, padding 0.4s var(--ease); }
.clink svg { font-size: 22px; color: var(--accent-2); }
.clink:hover { color: var(--accent-2); padding-left: 8px; }
.contact .btn--ghost { color: var(--cream-ink); box-shadow: inset 0 0 0 1px rgba(26, 19, 14, 0.25); }
.contact .btn--ghost::before { background: var(--cream-ink); }
.contact .btn--ghost:hover { color: var(--cream); }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fbf6f0; box-shadow: 0 40px 100px -50px rgba(26, 19, 14, 0.45), inset 0 0 0 1px rgba(26, 19, 14, 0.08); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: #6b5d50; padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 0;
  background: #f1e8de; color: var(--cream-ink);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.3s, background 0.3s;
  font-size: 16px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231a130e' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-2); }
.field input::placeholder, .field textarea::placeholder { color: #a8998a; }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #c0392b; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #f1e8de; cursor: pointer; transition: background 0.3s, color 0.3s; }
.pill input:checked + span { background: var(--cream-ink); color: var(--cream); }
.pill input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 8px; background: var(--cream-ink); color: var(--cream); }
.form .btn::before { background: var(--accent-2); }
.form .btn:hover { color: var(--cream); }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form__status { margin: 0; min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: #2f7d4f; }
.form__status.is-err { color: #b03a2e; }
.form.is-sent > *:not(.form__status) { opacity: 0.35; pointer-events: none; transition: opacity 0.5s; }

/* ---------- Подвал ---------- */
.footer { background: var(--cream); color: var(--cream-ink); padding-bottom: 28px; overflow: hidden; }
.footer__big { padding: 40px 0 30px; border-top: 1px solid rgba(26, 19, 14, 0.12); }
.marquee--big .marquee__track li { font-size: clamp(80px, 16vw, 240px); line-height: 0.9; letter-spacing: -0.04em; }
.marquee--big .marquee__track li i { color: var(--accent-2); }
.marquee--big .marquee__track li:nth-child(even) { font-size: clamp(30px, 4vw, 60px); color: var(--accent-2); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #6b5d50; }
.footer__row p { margin: 0; }
.footer__row nav { display: flex; gap: 22px; }
.footer__row a:hover { color: var(--accent-2); }

/* ---------- Лайтбокс ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(13, 10, 8, 0.92); backdrop-filter: blur(10px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__video { max-height: 88dvh; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--cream-ink); display: grid; place-items: center; font-size: 24px; transform: rotate(45deg); z-index: 2; }

/* ---------- Появление при скролле ---------- */
.js [data-reveal='up'] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal='up'].is-in { opacity: 1; transform: none; }
.js .vcard[data-reveal='up'].is-in:nth-child(4n + 2), .js .vcard[data-reveal='up'].is-in:nth-child(4n + 4) { transform: translateY(48px); }
.js [data-reveal='clip'] { clip-path: inset(18% 18% 18% 18% round var(--radius-lg)); transition: clip-path 1.5s var(--ease); }
.js [data-reveal='clip'].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; }
  .tier__name { margin-top: 48px; }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .vcard:nth-child(n) { transform: none; }
  .vcard:nth-child(3n + 2) { transform: translateY(40px); }
  .js .vcard[data-reveal='up'].is-in:nth-child(n) { transform: none; }
  .js .vcard[data-reveal='up'].is-in:nth-child(3n + 2) { transform: translateY(40px); }
  .benefits__list { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(3) { padding-left: 0; }
  .benefit:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .people { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line { display: none; }
  .faq { grid-template-columns: 1fr; }
  .agency__card { grid-template-columns: 1fr; }
  .agency__stat { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .header__actions .btn { display: none; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(42px, 12.4vw, 72px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .hero__scroll { display: none; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat { min-height: 160px; padding: 20px 16px; }
  .cat:nth-child(n) { border-right: 1px solid rgba(26, 19, 14, 0.15); }
  .cat:nth-child(2n) { border-right: 0; }
  .cats::after { display: flex; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vcard:nth-child(n) { transform: none; }
  .vcard:nth-child(2n) { transform: translateY(32px); }
  .js .vcard[data-reveal='up'].is-in:nth-child(n) { transform: none; }
  .js .vcard[data-reveal='up'].is-in:nth-child(2n) { transform: translateY(32px); }
  .vcard__cap { flex-direction: column; gap: 2px; font-size: 13px; }
  .live__grid, .live__top, .reviews__list { grid-template-columns: 1fr; }
  .metric { gap: 20px; padding: 24px; }
  .case { grid-template-columns: 1fr; }
  .case__visual { min-height: 260px; }
  .case dl div { grid-template-columns: 1fr; gap: 6px; }
  .benefits__list { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .benefit h3 { margin-top: 24px; }
  .about__intro { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person__photo { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .form__row { grid-template-columns: 1fr; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
  .grain { display: none; }
}
