/* V³ Studio — main page (v3art.ru/). The v3studiosmm structure in the v3art style; builds on styles.css tokens and components. */
.lh { position: sticky; top: 0; z-index: 20; height: var(--header-h); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lh .header-in { gap: 14px; }
.lh-nav { display: flex; gap: 20px; margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lh-nav a, .lh-nav button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.lh-nav a:hover, .lh-nav button:hover { color: var(--text); }
.lh-act { display: flex; gap: 8px; }
.lh .pill { min-height: 40px; padding: 9px 16px; }
.lh-tel { margin-left: 12px; white-space: nowrap; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; color: var(--text); }
.lh-tel:hover { color: var(--muted); }
.menu-btn { display: none; flex: none; width: 40px; height: 40px; }
@media (max-width: 380px) { .lh .header-in { gap: 8px; } .lh-tel { letter-spacing: 0; } .lh .hh-link { padding-inline: 12px; } }
@media (max-width: 1240px) { .lh-nav { display: none; } .menu-btn { display: inline-grid; } .lh .lh-tel { margin-left: auto; } }

/* the √3 mark that replaces arrows and asterisks */
.v3i { width: 1.35em; height: 1.2em; flex: none; display: inline-block; vertical-align: -.2em; transition: transform .4s var(--ease); }
a:hover > .v3i, .link-more:hover .v3i, a:hover .dir-top .v3i, .concept:hover .icon-btn .v3i { transform: translate(2px, -2px); }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--text); vertical-align: .1em; }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text); cursor: pointer; padding: 10px 0; }
.link-more:hover { color: var(--muted); }

section { padding-block: clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.row { max-width: none; gap: 18px; align-items: end; }
@media (min-width: 980px) { .sec-head.row { grid-template-columns: 1fr 1fr; } .sec-head.row .lead { justify-self: end; max-width: 42ch; } }
.eyebrow .sep { margin-left: 14px; color: var(--faint); }
@media (max-width: 640px) { .eyebrow .sep { display: none; } }
h2 { font-size: var(--text-xl); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; }
.dim { color: var(--muted); }
.lead { color: var(--muted); font-size: var(--text-lg); line-height: 1.5; max-width: 52ch; }
.mono { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* hero: brand, statement, the spring */
.hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-frame { position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none; }
.hero-top { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-bottom: clamp(24px, 4vw, 48px); }
.hero-grid { position: relative; display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { display: grid; gap: clamp(14px, 2vw, 26px); margin: 0 0 24px; font-weight: 300; }
.h1-brand { font-size: clamp(3.2rem, 1.2rem + 7vw, 7.6rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.h1-line { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.4rem); letter-spacing: -.05em; line-height: 1; }
.h1-line .dim { white-space: nowrap; }
.hero .lead { margin-bottom: 30px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.core { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; aspect-ratio: 1; max-height: 560px; }
.core canvas { width: 100%; height: 100%; min-height: 0; display: block; }
.core-cap { display: flex; justify-content: space-between; gap: 12px; font-size: .58rem; }
.core-cap .dot { width: 6px; height: 6px; margin-right: 8px; }
@media (max-width: 979px) { .core { aspect-ratio: auto; height: min(92vw, 420px); } }

/* strip + band under the hero */
.strip { padding-block: 26px; display: grid; gap: 16px; }
@media (min-width: 900px) { .strip { grid-template-columns: auto 1fr; align-items: center; gap: 48px; } .strip .path { justify-content: flex-end; } }
.strip-l { color: var(--muted); font-size: var(--text-sm); line-height: 1.4; } .strip-l b { color: var(--text); font-weight: 500; }
.path { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: var(--text-sm); }
.path b { font-weight: 500; } .path .mono { margin-right: 8px; }
.band { border-block: 1px solid var(--line); background: var(--surface); }
.band-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 18px; padding-block: 16px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.band-in .v3i { color: var(--muted); }
@media (max-width: 760px) { .band-in .v3i { display: none; } .band-in { justify-content: flex-start; gap: 10px 22px; } }

/* 01: six directions in one grid */
.dirs { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .dirs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .dirs { grid-template-columns: repeat(3, 1fr); } }
.dir { display: grid; align-content: start; gap: 14px; min-height: 260px; padding: 26px; margin: 0 -1px -1px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.dir:hover { background: var(--surface); }
.dir-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); letter-spacing: .12em; }
.dir-top .v3i { color: var(--text); font-size: 1.1rem; }
.dir h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.8rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; margin-top: 18px; }
.dir h3 .dim { display: block; }
.dir p { color: var(--muted); font-size: .92rem; line-height: 1.5; max-width: 36ch; }
.dir .mono { margin-top: auto; padding-top: 18px; }
.dirs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: var(--text-sm); }

/* 02: solutions — filter + concept cards */
.filters { margin-bottom: 22px; }
.filters small { margin-left: 6px; font-family: var(--font-mono); font-size: .66rem; opacity: .7; }
.concepts { display: grid; gap: 26px 14px; }
@media (min-width: 900px) { .concepts { grid-template-columns: 1fr 1fr; } }
.concept { display: grid; gap: 16px; }
.concept[hidden] { display: none; }
.cv { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: grid; place-items: center; padding: 22px; transition: border-color .3s; }
.concept:hover .cv { border-color: var(--line-strong); }
.cv .tag { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 5px 10px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 70%, transparent); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.cc { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.cc h3 { font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); letter-spacing: -.03em; margin: 8px 0 4px; }
.cc p { color: var(--muted); font-size: .9rem; }
.cc .icon-btn { width: 46px; height: 46px; } .cc .icon-btn .v3i { width: 20px; height: 18px; }
/* collage of works */
.collage-shot { padding: 0; }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.45fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--bg); }
.collage img { width: 100%; height: 100%; object-fit: cover; object-position: left top; min-height: 0; transition: transform .8s var(--ease); }
.collage img:first-child { grid-row: span 2; object-position: center; }
.concept:hover .collage img { transform: scale(1.03); }
/* mini app */
.mini-app { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: 4%; padding-top: 14%; }
.mini-app img { width: 27%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 18px; border: 4px solid #232323; box-shadow: 0 18px 40px rgba(0,0,0,.35); transition: transform .8s var(--ease); }
.mini-app img:nth-child(1) { transform: translateY(10%) rotate(-5deg); }
.mini-app img:nth-child(2) { transform: translateY(-4%); z-index: 1; }
.mini-app img:nth-child(3) { transform: translateY(10%) rotate(5deg); }
.concept:hover .mini-app img:nth-child(1) { transform: translateY(6%) rotate(-7deg); }
.concept:hover .mini-app img:nth-child(2) { transform: translateY(-8%); }
.concept:hover .mini-app img:nth-child(3) { transform: translateY(6%) rotate(7deg); }
/* mini CRM */
.mini-crm2 { width: 100%; display: grid; gap: 12px; padding-top: 22px; }
.mc-head { display: flex; justify-content: space-between; align-items: baseline; }
.mc-head b { font-size: 1.3rem; font-weight: 400; letter-spacing: -.03em; }
.mc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc-cols > div { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 12px; border: 1px solid var(--line); min-height: 128px; }
.mc-cols .mono { font-size: .5rem; }
.mc-cols i { position: relative; display: grid; gap: 2px; padding: 8px 9px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); font-style: normal; overflow: hidden; }
.mc-cols i b { font-weight: 500; font-size: .68rem; } .mc-cols i small { color: var(--muted); font-size: .58rem; }
.mc-cols i u { position: absolute; left: 0; bottom: 0; height: 2px; width: 55%; background: var(--text); }
.mc-cols i.done { background: var(--solid-bg); color: var(--solid-text); } .mc-cols i.done small { color: rgba(12,12,12,.6); }
/* mini AI */
.mini-ai { width: 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; align-items: center; padding-top: 18px; }
.orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.orbit .r1 { inset: 8%; } .orbit .r2 { inset: 26%; border-style: dashed; }
.orbit .core-mark { width: 34px; height: 30px; }
.orbit .orb-node { position: absolute; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--font-mono); font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.orbit .n1 { top: 4%; left: 50%; transform: translateX(-50%); } .orbit .n2 { bottom: 18%; left: -2%; } .orbit .n3 { bottom: 18%; right: 2%; }
.ai-chat { display: grid; gap: 8px; font-size: .7rem; line-height: 1.35; }
.ai-chat .q { justify-self: end; max-width: 90%; padding: 8px 10px; border-radius: 12px 12px 4px 12px; background: var(--solid-bg); color: var(--solid-text); }
.ai-chat .a { padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); border: 1px solid var(--line); }
.ai-chat .a span { font-family: var(--font-mono); color: var(--muted); margin-right: 4px; }
.ai-chat .src { font-size: .5rem; }

/* 03: approach */
.approach { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .approach { grid-template-columns: .8fr 1.2fr; } }
.ap-mark { display: grid; place-items: center; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.ap-mark svg { width: 48%; height: auto; }
.ap-text { display: grid; gap: 16px; }
.ap-text h2 { max-width: 18ch; }
.ap-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-points li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--text-sm); }
.ap-points li::before { content: "✓ "; }
.ap-text .link-more { justify-self: start; }

/* menu drawer: links + «Процесс» + «Вопросы» */
html.menu-open { overflow: hidden; }
.menu { position: fixed; inset: 0; z-index: 60; }
.menu-veil { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s ease; }
.menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-left: 1px solid var(--line); padding: 0 clamp(18px, 4vw, 36px) 48px; transform: translateX(100%); transition: transform .5s var(--ease); }
.menu.on .menu-veil { opacity: 1; } .menu.on .menu-panel { transform: none; }
.menu-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line); }
.menu-links { display: grid; padding: 12px 0 8px; }
.menu-links a { padding: 12px 0; font-size: 1.4rem; font-weight: 300; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.menu-links a:hover { color: var(--muted); }
.menu-sec { display: grid; gap: 14px; padding-top: 44px; scroll-margin-top: calc(var(--header-h) + 8px); }
.menu-sec h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 6px; }
.menu-sec > .pill { justify-self: start; }
.proc { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proc > div { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.proc > div:last-child { border-bottom: 0; }
.proc .num { grid-row: span 3; font-family: var(--font-mono); font-size: 1rem; color: var(--muted); }
.proc b { font-weight: 400; font-size: 1.15rem; letter-spacing: -.02em; }
.proc span:not(.num):not(.mono) { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.proc .mono { margin-top: 4px; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-size: 1.08rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; line-height: 1.55; }

/* 04: consultation — the form is as tall as the two rows of contact cards */
.consult { display: grid; gap: 14px; }
@media (min-width: 980px) { .consult { grid-template-columns: 1.2fr .8fr; align-items: stretch; } .ways { grid-auto-rows: 1fr; } }
.ways { display: grid; gap: 10px; }
@media (min-width: 640px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { display: grid; align-content: center; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.way:hover { border-color: var(--line-strong); }
.way .eyebrow { font-size: .64rem; } .way b { font-weight: 500; font-size: 1.1rem; } .way span { color: var(--muted); font-size: .86rem; }
.way.main { border-color: var(--line-strong); }
.way .dot { width: 8px; height: 8px; margin-right: 6px; background: #3ddc84; }
.callback { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); display: grid; gap: 10px; align-content: space-between; }
.callback h3 { font-weight: 400; font-size: 1.35rem; letter-spacing: -.03em; }
.callback input { width: 100%; min-height: 46px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 16px; }
.callback input.invalid { border-color: #e5484d; }
.callback .err { color: #e5484d; font-size: .86rem; }
.callback small { color: var(--muted); font-size: .76rem; } .callback small a { text-decoration: underline; }
.callback .sent { font-size: 1.1rem; }
.faq-link { margin-top: 18px; }

/* final */
.final { border-bottom: 0; }
.final .wrap { display: grid; gap: 22px; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.final h2 { font-size: clamp(3rem, 1.4rem + 6vw, 7rem); letter-spacing: -.06em; }
.final .lead { margin-top: 14px; }
.final-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lf { padding: 28px 0 calc(28px + 76px); border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.lf .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.lf b { color: var(--text); font-weight: 500; }
.lf a:hover { color: var(--text); }
.lf .up { margin-left: auto; color: var(--text); }
@media (min-width: 761px) { .lf { padding-bottom: 28px; } }

/* phone: the two main actions are always at hand */
.mbar { display: none; }
@media (max-width: 760px) {
  .lh-act { display: none; }
  .hero-frame { inset: 10px; }
  .hero-top .mono:last-child { display: none; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 30; padding: 8px; border-radius: 24px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
  .mbar .pill { flex: 1; min-height: 48px; padding-inline: 12px; }
  .cv { aspect-ratio: 4 / 3.4; padding: 16px; }
  .mini-ai { grid-template-columns: 1fr; } .orbit { display: none; }
  .dir { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .v3i, .collage img, .mini-app img, .menu-panel, .menu-veil { transition: none; } }
