:root {
  --bg: #090c12; --bg-2: #11151c; --bg-3: #171c25; --ink: #f2f2ef; --muted: #9aa0aa; --line: rgba(242,242,239,.12);
  --accent: #fb5e28; --accent-hi: #ff7a4d; --accent-ink: #090c12;
  --m: clamp(16px, 2.2vw, 32px); --r: clamp(12px, 1.35vw, 22px);
  --s-display: clamp(58px, 11vw, 200px); --s-head: clamp(30px, 2.4vw + 14px, 52px); --s-lead: clamp(18px, .9vw + 11px, 24px);
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; font-size: clamp(15px, .2vw + 14.5px, 17px); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--m); }

/* fixed 3D canvas */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; transition: opacity .6s ease; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' 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%{background-position:0 0} 20%{background-position:-37px 23px} 40%{background-position:29px -41px} 60%{background-position:-19px -13px} 80%{background-position:43px 31px} 100%{background-position:0 0} }

/* header */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--m); pointer-events: none; mix-blend-mode: difference; }
.top > * { pointer-events: auto; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand i, .intro__title i { font-style: normal; color: var(--accent); }
.top__nav { display: flex; gap: clamp(18px, 3vw, 48px); font-size: 15px; font-weight: 500; }
.top__nav a, .top__right { position: relative; }
.top__nav a::after, .top__right::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.top__nav a:hover::after, .top__right:hover::after { transform: scaleX(1); transform-origin: left; }
.top__right { justify-self: end; font-size: 15px; font-weight: 500; }

/* dock */
.dock { position: fixed; z-index: 30; left: var(--m); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(17,21,28,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.dock__lang { display: flex; }
.dock__lang button { padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.dock__lang button.on { color: var(--ink); background: var(--bg-3); }
.dock__sound { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; transition: background .2s; }
.dock__sound:hover { background: var(--bg-3); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 2.5px; height: 30%; background: var(--muted); border-radius: 2px; transition: background .2s; }
.sound-on .bars i { background: var(--accent); animation: eq .9s ease-in-out infinite alternate; }
.sound-on .bars i:nth-child(2) { animation-delay: -.3s; } .sound-on .bars i:nth-child(3) { animation-delay: -.6s; } .sound-on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17,21,28,.6); font-weight: 600; font-size: 15px; transition: transform .14s var(--ease-out), background .2s, border-color .2s, color .2s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.pill:hover { border-color: rgba(242,242,239,.35); }
.pill:active { transform: scale(.96); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pill--accent:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.pill--accent i { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.pill--small { padding: 8px 14px; font-size: 13px; }
.cta-float { position: fixed; z-index: 30; right: var(--m); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; box-shadow: 0 10px 40px rgba(251,94,40,.35); transition: transform .14s var(--ease-out), background .2s, opacity .4s, translate .4s var(--ease-out); }
.cta-float:hover { background: var(--accent-hi); }
.cta-float:active { transform: scale(.96); }
.cta-float i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
.cta-float.hide { opacity: 0; translate: 0 20px; pointer-events: none; }
.has-badge .cta-float { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); } /* над значком Netlify */

/* 1. intro */
.intro { position: relative; z-index: 2; height: 160vh; }
.intro__inner { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--m); }
.tuner { display: grid; justify-items: center; gap: 6px; margin-bottom: clamp(12px, 3vh, 30px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tuner__freq { font-family: "Instrument Serif", serif; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.tuner__freq b { font-weight: 400; font-variant-numeric: tabular-nums; }
.tuner__scale { position: relative; width: min(280px, 70vw); height: 14px; background: repeating-linear-gradient(90deg, rgba(242,242,239,.35) 0 1px, transparent 1px 10px); -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.tuner__scale i { position: absolute; top: -3px; bottom: -3px; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.intro__title { font-weight: 700; font-size: var(--s-display); line-height: .9; letter-spacing: -.045em; }
.intro__title .line { display: block; overflow: hidden; padding: 0 .04em .06em; }
.intro__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out) .15s; }
.ready .intro__title .line > span { transform: none; }
.intro__lead { margin-top: clamp(14px, 2.5vh, 26px); font-size: var(--s-lead); color: var(--muted); max-width: 34ch; opacity: 0; transform: translateY(14px); transition: opacity 1s .5s, transform 1s var(--ease-out) .5s; }
.intro__actions { margin-top: clamp(18px, 3.5vh, 34px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity 1s .7s, transform 1s var(--ease-out) .7s; }
.ready .intro__lead, .ready .intro__actions { opacity: 1; transform: none; }
.scroll-hint { position: absolute; left: 50%; top: calc(100vh - 54px); width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(242,242,239,.4); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* 2. vault */
.vault { position: relative; z-index: 2; /* height set by JS */ height: 600vh; }
.vault__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; pointer-events: none; }
.vault__caption { position: absolute; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(620px, calc(100% - 2 * var(--m))); text-align: center; pointer-events: auto; }
.vault__caption > * { transition: opacity .45s ease, transform .6s var(--ease-out); }
.vault__caption.swap > * { opacity: 0; transform: translateY(10px); }
.vault__index { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: pre; }
.vault__title { margin-top: 6px; font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.01em; }
.vault__title em { font-style: italic; color: var(--accent); }
.vault__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.vault__meta { margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 600; }
.tag--ref { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.tag:empty, .pill:empty { display: none; }
.vault__dashes { position: absolute; left: 50%; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 6px; pointer-events: auto; }
.vault__dashes button { width: 22px; height: 14px; position: relative; }
.vault__dashes button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(242,242,239,.25); transition: background .3s; }
.vault__dashes button.on::after { background: var(--accent); }

/* shared section */
.services, .about { position: relative; z-index: 2; background: var(--bg); padding: clamp(90px, 14vh, 160px) 0; }
.services { border-top-left-radius: var(--r); border-top-right-radius: var(--r); box-shadow: 0 -40px 80px rgba(9,12,18,.9); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.sec-title { font-weight: 700; font-size: var(--s-head); letter-spacing: -.03em; line-height: 1.05; }
.currency { display: flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }
.currency button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.currency button.on { background: var(--ink); color: var(--bg); }

/* services: list left, animated screen right */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sec-title--small { font-size: clamp(22px, 1.2vw + 14px, 30px); display: flex; align-items: center; gap: 14px; }
.squiggle { width: 88px; height: 22px; flex: none; }
.squiggle path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 2.4s var(--ease-out) forwards .2s; }
.squiggle circle { fill: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.svc { list-style: none; margin-top: clamp(20px, 3vh, 34px); border-top: 1px solid var(--line); }
.svc__item { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.svc__num { font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.svc__name { font-size: clamp(24px, 1.8vw + 10px, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; color: rgba(242,242,239,.5); transition: color .35s; }
.svc__name small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.svc__item:hover .svc__name, .svc__item.on .svc__name, .svc__item.open .svc__name { color: var(--ink); }
.svc__item.on .svc__num, .svc__item.open .svc__num { color: var(--accent); }
.svc__price { text-align: right; white-space: nowrap; align-self: center; }
.svc__price b { display: block; font-size: clamp(15px, .6vw + 10px, 19px); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.svc__price span { font-size: 12px; color: var(--muted); }
.svc__more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.svc__more > div { overflow: hidden; }
.svc__item.open .svc__more { grid-template-rows: 1fr; }
.svc__desc { padding-top: 12px; color: var(--ink); font-size: 15.5px; font-weight: 500; max-width: 46ch; }
.svc__more ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.svc__more li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; }
.svc__more .pill { margin: 14px 0 6px; }
.svc__note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.svc-right { position: sticky; top: 90px; }
.screen { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: #0b0f16; border: 1px solid var(--line); }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.screen__pill { position: absolute; left: 22px; bottom: 22px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; max-width: calc(100% - 110px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__pill span { color: #7d828c; font-weight: 500; margin-left: 6px; }
.screen__play { position: absolute; right: 22px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease-out), background .2s; }
.screen__play:hover { transform: scale(1.08); background: var(--accent); }
.screen__play svg { width: 20px; height: 20px; fill: var(--bg); margin-left: 3px; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; transition: opacity .9s ease, visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader__name { font-weight: 700; font-size: clamp(46px, 8vw, 120px); letter-spacing: -.045em; line-height: 1; overflow: hidden; }
.loader__name i { font-style: normal; color: var(--accent); }
.loader__row { width: min(420px, 80vw); display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.loader__pct b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 20px; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.loader__bar { width: min(420px, 80vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* 4. about dial */
.about { padding-top: clamp(40px, 8vh, 90px); }
.dial { position: relative; margin: clamp(30px, 6vh, 60px) auto 0; width: min(760px, 100%); aspect-ratio: 1; }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__ring circle { fill: none; stroke: var(--line); stroke-width: 1; }
.dial__ring line { stroke: rgba(242,242,239,.25); stroke-width: 1; }
.dial__ring line.big { stroke: var(--accent); stroke-width: 2; }
.dial__steps { position: absolute; inset: 0; }
.dial__step { position: absolute; width: clamp(150px, 22vw, 210px); transform: translate(-50%, -50%); text-align: center; cursor: pointer; transition: opacity .4s; }
.dial__step .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-family: "Instrument Serif", serif; font-size: 20px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.dial__step b { display: block; margin-top: 8px; font-weight: 600; font-size: 16px; }
.dial__step.on .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.12); }
.dial__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; text-align: center; }
.dial__center h3 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; }
.dial__center p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.dial__center > * { transition: opacity .35s, transform .5s var(--ease-out); }
.dial__center.swap > * { opacity: 0; transform: translateY(8px); }
.dial__hand { position: absolute; left: 50%; top: 50%; width: 2px; height: 44%; margin-left: -1px; transform-origin: 50% 0; background: linear-gradient(transparent 35%, var(--accent)); transition: transform .8s var(--ease-out); pointer-events: none; opacity: .55; }
.tools { margin-top: clamp(40px, 7vh, 70px); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 24px; }
.tools__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tools__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tools__list span { padding: 7px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }

/* 5. outro */
.outro { position: relative; z-index: 2; background: var(--bg); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 12vh, 120px) 0 clamp(110px, 16vh, 150px); overflow: hidden; }
.outro__name { display: block; width: 100%; height: clamp(150px, 26vw, 360px); cursor: crosshair; }
.outro__body { max-width: 760px; margin: clamp(10px, 3vh, 30px) auto 0; padding: 0 var(--m); text-align: center; }
.outro__lead { font-size: var(--s-lead); line-height: 1.4; }
.outro__facts { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14px; }
.outro__facts div { display: flex; gap: 8px; }
.outro__facts dt { color: var(--muted); }
.outro__facts dd { font-weight: 600; }
.outro__links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.link { font-weight: 600; font-size: 15px; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease-out); }
.link:hover::after { transform: scaleX(1); }
.link--muted { color: var(--muted); font-weight: 500; font-size: 14px; }
.outro__foot { margin-top: 30px; color: var(--muted); font-size: 14px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform 1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }


/* имя: имя тонко, фамилия жирно */
.brand { font-weight: 400; }
.brand b { font-weight: 700; }
.loader__name { font-weight: 300; }
.loader__name b { font-weight: 700; }

/* 1. циферблат «настройтесь на волну» */
#dial-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro__inner { overflow: hidden; }
.tune { position: relative; width: min(86vmin, 760px); aspect-ratio: 1; will-change: transform, opacity; }
.tune__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#tune-ticks line { stroke: rgba(242,242,239,.55); stroke-width: 1.2; opacity: 0; transition: opacity .5s ease; }
#tune-ticks line.big { stroke: rgba(242,242,239,.9); stroke-width: 1.6; }
#tune-ticks circle { fill: rgba(242,242,239,.5); opacity: 0; transition: opacity .5s ease; }
.ready #tune-ticks line, .ready #tune-ticks circle { opacity: 1; }
#tune-labels text { fill: rgba(242,242,239,.8); font: 600 12.5px Onest, sans-serif; letter-spacing: .16em; opacity: 0; transition: opacity .6s ease, fill .25s; cursor: pointer; }
.ready #tune-labels text { opacity: 1; }
#tune-labels text.on { fill: #fff; }
.tune__hint { fill: var(--accent); font: 600 12px Onest, sans-serif; letter-spacing: .22em; opacity: 0; transition: opacity .6s ease 1.2s; }
.ready .tune__hint { opacity: 1; }
.tune__knob { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.tune__halo { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: .6; animation: halo 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 50% { transform: scale(1.35); opacity: .15; } }
#tune-knob { opacity: 0; transition: opacity .6s ease 1s; }
.ready #tune-knob { opacity: 1; }
@media (max-width: 640px) { .brand { font-size: 15px; } .top__right { font-size: 14px; } #tune-labels text { font-size: 17px; } .tune__hint { font-size: 15px; } .tune { width: 94vw; } }
.tune__name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-weight: 400; font-size: clamp(17px, 4.4vmin, 50px); letter-spacing: -.02em; text-align: center; }
.tune__name b { font-weight: 700; }
.tune__name span, .tune__name b { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity 1s ease .5s, transform 1.2s var(--ease-out) .5s; }
.tune__name b { transition-delay: .65s; }
.ready .tune__name span, .ready .tune__name b { opacity: 1; transform: none; }
.tune__hit { position: absolute; inset: 22%; border-radius: 50%; }
.tune__name { pointer-events: none; z-index: 1; }

/* срочно */
.urgent { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 600; }
.urgent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.svc__price b { color: var(--ink); }

/* свой курсор */
@media (pointer: fine) {
  html.has-cur, html.has-cur * { cursor: none !important; }
}
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur__dot { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(251,94,40,.7); }
.cur__ring { position: fixed; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(242,242,239,.45); display: grid; place-items: center; will-change: transform; transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out), background .25s, border-color .25s; }
.cur.hover .cur__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--accent); background: rgba(251,94,40,.08); }
.cur.label .cur__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--ink); border-color: var(--ink); }
.cur__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--bg); opacity: 0; transition: opacity .2s; text-transform: uppercase; }
.cur.label .cur__label { opacity: 1; }
.cur.down .cur__ring { transform: scale(.85); }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-right { position: relative; top: 0; order: -1; }
}
@media (max-width: 560px) {
  .svc__item { grid-template-columns: 34px minmax(0, 1fr); }
  .svc__price { grid-column: 2; text-align: left; margin-top: 6px; }
  .svc__price b { display: inline; margin-right: 6px; }
  .screen { aspect-ratio: 4 / 3; }
  .screen__pill { left: 14px; bottom: 14px; font-size: 13px; }
  .screen__play { right: 14px; bottom: 10px; width: 46px; height: 46px; }
}
@media (max-width: 640px) {
  .top { grid-template-columns: 1fr auto; }
  .top__nav { display: none; }
  .cta-float span { display: none; }
  .cta-float { padding: 14px; }
  .has-badge .dock { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); } /* над значком Netlify на телефоне */
  .cta-float i { width: 9px; height: 9px; }
  .dial { aspect-ratio: auto; width: 100%; }
  .dial__ring, .dial__hand { display: none; }
  .dial__steps { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dial__step { position: static; width: auto; transform: none; padding: 16px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
  .dial__center { position: static; transform: none; width: 100%; margin-top: 18px; padding: 22px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
  .tools { grid-template-columns: 1fr; }
  .vault__caption { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .vault__dashes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* Подпись под именем в циферблате — сразу понятно, чем я занимаюсь */
.tune__role { display: block; margin-top: .55em; font-size: .36em; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #9aa0aa); opacity: 0; transition: opacity 1s ease 1.1s; }
.ready .tune__role { opacity: 1; }

/* Видеоплеер */
.player { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 64px 16px 24px; background: rgba(5,7,10,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s ease; }
.player.open { opacity: 1; }
.player[hidden] { display: none; }
.player__box { width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: calc(100vh - 110px); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 120px rgba(0,0,0,.6); transform: scale(.94); transition: transform .45s var(--ease-out); }
.player.vertical .player__box { width: auto; height: min(calc(100vh - 110px), 860px); aspect-ratio: 9 / 16; }
.player.open .player__box { transform: none; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.player__x { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; padding: 10px 18px; border-radius: 999px; background: rgba(242,242,239,.12); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.player__x:hover { background: var(--accent); color: var(--accent-ink); }
html.has-cur .player video { cursor: auto; }

/* Кнопки на первом экране — сразу понятно, куда нажать */
.intro__cta { position: absolute; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; z-index: 3; opacity: 0; transition: opacity .8s ease 1.4s; }
.ready .intro__cta { opacity: 1; }
@media (max-width: 640px) { .intro__cta { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 32px); } .intro__cta .pill { padding: 11px 16px; font-size: 14px; } }

/* Форма заявки */
.brief { margin: 46px auto 0; max-width: 680px; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: rgba(17,21,28,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left; scroll-margin-top: 80px; }
.brief__title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.brief__sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.brief__grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.fld--wide { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); background: var(--bg-3); }
.brief__agree { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.4; cursor: pointer; }
.brief__agree input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.brief__agree a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.brief__send { margin-top: 18px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.brief__send:disabled { opacity: .6; }
.brief__status { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
.brief__status.ok { color: #9be37a; }
.brief__status.err { color: #ff8a65; }
@media (max-width: 640px) { .brief__grid { grid-template-columns: 1fr; } }
html.has-cur .brief input, html.has-cur .brief textarea, html.has-cur .brief select { cursor: text; }

/* Раздел «Видео» */
.videos { position: relative; z-index: 2; padding: clamp(60px, 10vh, 120px) 0 clamp(30px, 6vh, 70px); background: var(--bg); }
.vgrid { margin-top: 28px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.vcard { position: relative; display: block; width: 100%; border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; text-align: left; }
.vcard--wide { aspect-ratio: 16 / 9; }
.vcard--tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.vcard:not(.vcard--wide):not(.vcard--tall) { aspect-ratio: 16 / 9; grid-column: 1; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s; filter: saturate(.9) brightness(.8); }
.vcard:hover img { transform: scale(1.04); filter: none; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 40px rgba(251,94,40,.45); transition: transform .3s var(--ease-out); }
.vcard__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid var(--accent-ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vcard:hover .vcard__play { transform: scale(1.1); }
.vcard__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; background: linear-gradient(transparent, rgba(6,8,12,.85)); }
.vcard__meta b { font-size: 17px; font-weight: 600; }
.vcard__meta small { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .vgrid { grid-template-columns: 1fr; } .vcard--tall { grid-row: auto; aspect-ratio: 9 / 13; } .vcard:not(.vcard--wide):not(.vcard--tall) { grid-column: auto; } }
