/* about.timur — «жидкое стекло». Основа: размытие + насыщенность + блик по краю. В Chrome поверх добавляется
   настоящее преломление по краю (SVG-карта смещения, см. glass.js). В Safari/Firefox и на телефонах — матовое стекло без преломления. */

/* фон главной: еле заметные цветные пятна, чтобы стеклу было что преломлять */
body[data-view="home"] #v-home {
  background:
    radial-gradient(42vw 42vw at 12% 78%, rgba(170, 190, 255, .55), transparent 70%),
    radial-gradient(38vw 38vw at 90% 72%, rgba(255, 190, 212, .50), transparent 70%),
    radial-gradient(46vw 32vw at 50% 16%, rgba(180, 232, 222, .52), transparent 70%),
    radial-gradient(24vw 10vw at 86% 3%, rgba(196, 186, 255, .50), transparent 72%),
    #fff;
}
/* родитель видео не должен быть изолированным слоем, иначе multiply не растворит белый фон ролика */
.char-in { will-change: auto; }

.lg {
  position: relative; isolation: isolate; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -1px 1px rgba(255, 255, 255, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .5),
    inset 0 -12px 18px -12px rgba(255, 255, 255, .6),
    0 12px 32px -8px rgba(55, 65, 120, .20),
    0 2px 6px rgba(55, 65, 120, .07);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform var(--m-in, 150ms) var(--ease), translate .4s var(--ease), color .25s;
}
/* диагональный отсвет по всей поверхности */
.lg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(158deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, .34) 100%);
}
/* пятно света под курсором */
.lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%);
  opacity: 0; transition: opacity .3s;
}
@media (hover: hover) and (pointer: fine) {
  .lg:hover { background: rgba(255, 255, 255, .34); }
  .lg:hover::after { opacity: 1; }
}
.lg:active { transform: scale(.985); }

/* ---- кнопки в шапке ---- */
.snd.lg, .kbtn.lg { border: 0; height: 36px; background: rgba(255, 255, 255, .10); color: #55555c; }
@media (hover: hover) and (pointer: fine) { .snd.lg:hover, .kbtn.lg:hover { background: rgba(255, 255, 255, .24); } }
.snd.lg:hover, .kbtn.lg:hover { border: 0; color: var(--ink); }
.kbtn.lg kbd { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }

/* ---- слова-ссылки на главной ---- */
.nw.lg { position: absolute; padding: 8px 22px; font-size: clamp(18px, 1.7vw, 27px); letter-spacing: -.02em; }
.nw.lg .u { background: none; padding-bottom: 0; }
.nw.lg:hover .u { background-size: 0 0; }
.nw-p.lg { translate: -50% 0; }
.status.lg { padding: 7px 14px; font-size: 12px; }
@media (max-width: 760px) { .nw.lg { padding: 7px 16px; font-size: clamp(16px, 4.6vw, 20px); } .status.lg { padding: 8px 14px; } }

@media (prefers-reduced-transparency: reduce) { .lg { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- поиск ⌘K: стеклянная панель. Размытие снято с подложки, иначе вложенное стекло ничего не видит позади себя ---- */
#pal { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pal-box {
  position: relative; isolation: isolate; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .30);
  -webkit-backdrop-filter: blur(26px) saturate(1.9); backdrop-filter: blur(26px) saturate(1.9);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .55),
    0 40px 90px -20px rgba(55, 65, 120, .28), 0 4px 14px rgba(55, 65, 120, .08);
}
.pal-box::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(158deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, .28) 100%);
}
#palIn { border-bottom-color: rgba(255, 255, 255, .6); }
#palIn::placeholder { color: #7d7d84; }
#palList li.sel { background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.pal-foot { border-top-color: rgba(255, 255, 255, .6); }
@media (prefers-reduced-transparency: reduce) { .pal-box { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- «обо мне»: ролик внутри стеклянной панели, рамка видео растворяется в стекле ---- */
body[data-view="about"], body[data-view="contacts"], body[data-view="portfolio"], body[data-view="project"] {
  background:
    radial-gradient(40vw 40vw at 14% 30%, rgba(180, 196, 255, .50), transparent 70%),
    radial-gradient(36vw 36vw at 90% 82%, rgba(255, 196, 216, .46), transparent 70%),
    radial-gradient(34vw 24vw at 70% 6%, rgba(186, 234, 224, .46), transparent 70%),
    #fff fixed;
}
.vglass {
  position: relative; isolation: isolate; width: 100%; max-width: min(700px, 70vh); aspect-ratio: 1; margin: 0 auto;
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .22) 16%, rgba(255, 255, 255, .30) 50%, rgba(255, 255, 255, .22) 84%, rgba(255, 255, 255, .06) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: 0 40px 80px -28px rgba(55, 65, 120, .30), 0 4px 14px rgba(55, 65, 120, .08);
}
/* ролик чуть меньше панели, края растворяются в стекле */
.vglass video {
  position: absolute; inset: 5%; width: 90%; height: 90%; max-width: none; margin: 0; object-fit: cover; mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(0deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(0deg, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect;
}
/* кромка: преломление по краю и блик */
.vrim {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; display: block;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .42), inset 0 -24px 36px -28px rgba(255, 255, 255, .8);
  background: linear-gradient(158deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .25) 100%);
}
@media (max-width: 760px) { .vglass { max-width: min(88vw, 420px); border-radius: 26px; } }

/* ---- кнопки и теги ---- */
.btn.lg { border: 0; color: var(--ink); background: rgba(255, 255, 255, .18); }
.btn.lg:hover { background: rgba(255, 255, 255, .36); color: var(--ink); }
.btn.solid.lg {
  color: #fff; background: rgba(28, 28, 32, .90);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .38), inset 0 -1px 1px rgba(255, 255, 255, .10), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 16px 32px -12px rgba(30, 34, 60, .50), 0 2px 6px rgba(30, 34, 60, .12);
}
.btn.solid.lg::before { background: linear-gradient(158deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%); }
.btn.solid.lg:hover { background: rgba(14, 14, 18, .96); color: #fff; }
/* теги: цветное стекло, у каждого свой пастельный оттенок, обводка и тень, чтобы не терялись на фоне */
.skills li.lg, .svc .fp.lg {
  --t: 168, 186, 255; border: 0; font-weight: 400; color: #25252a; padding: 8px 16px;
  background: linear-gradient(160deg, rgba(var(--t), .50), rgba(var(--t), .24));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .35),
    inset 0 0 0 1px rgba(var(--t), .70),
    0 10px 20px -8px rgba(var(--t), .85), 0 2px 4px rgba(40, 46, 90, .10);
}
.skills li.lg:nth-child(4n+2), .svc .fp:nth-child(4n+2) { --t: 255, 178, 204; }
.skills li.lg:nth-child(4n+3), .svc .fp:nth-child(4n+3) { --t: 150, 224, 205; }
.skills li.lg:nth-child(4n+4), .svc .fp:nth-child(4n+4) { --t: 206, 184, 255; }
.skills li.lg:hover { background: linear-gradient(160deg, rgba(var(--t), .72), rgba(var(--t), .40)); color: #111; border: 0; }

/* оптическое выравнивание: крупная «Т» из-за бокового зазора шрифта стояла на ~3 px правее абзаца и тегов */
.duo-text .lead { margin-left: -.045em; }

/* ---- «контакты»: строки и стрелки — то же стекло, что и кнопки ---- */
.clist { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.clist li.lg { border: 0; border-radius: 22px; padding: 0 10px 0 24px; align-items: center; background: rgba(255, 255, 255, .26); }
.clist li.lg:hover { background: rgba(255, 255, 255, .42); }
.clist .crow { padding: 16px 0; }
.go.lg { width: 44px; height: 44px; margin-left: 8px; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .30); }
.go.lg:hover { translate: 2px -2px; color: var(--ink); background: rgba(255, 255, 255, .50); }

/* ---- ярлыки услуг над «портфолио» ---- */
.svc { position: absolute; left: 50%; top: 22%; width: 0; height: 0; z-index: 7; pointer-events: none; }
.svc .fp {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13px; padding: 8px 15px 8px 12px; letter-spacing: 0;
  translate: -50% 18px; scale: .55; rotate: 0deg; opacity: 0;
  transition: translate .6s var(--ease), rotate .6s var(--ease), scale .6s var(--ease), opacity .28s, background .25s;
}
.svc .fp svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.svc .fp svg circle { fill: currentColor; stroke: none; }
.svc .fp:nth-child(1) { --x: -158px; --y: -44px; --r: -7deg; }
.svc .fp:nth-child(2) { --x: -54px;  --y: -70px; --r: -2.5deg; transition-delay: .04s; }
.svc .fp:nth-child(3) { --x: 54px;   --y: -70px; --r: 2.5deg; transition-delay: .08s; }
.svc .fp:nth-child(4) { --x: 150px;  --y: -44px; --r: 7deg; transition-delay: .12s; }
.nw-p:hover ~ .svc .fp, .nw-p:focus-visible ~ .svc .fp { translate: calc(-50% + var(--x)) var(--y); rotate: var(--r); scale: 1; opacity: 1; }
@media (max-width: 760px) {
  .svc { top: max(120px, calc(100% - 107.3vw - 12vw)); }
  .svc .fp { font-size: 11.5px; padding: 6px 11px 6px 9px; gap: 5px; }
  .svc .fp svg { width: 13px; height: 13px; }
  .svc .fp:nth-child(1) { --x: -118px; --y: -36px; } .svc .fp:nth-child(2) { --x: -40px; --y: -58px; }
  .svc .fp:nth-child(3) { --x: 40px; --y: -58px; } .svc .fp:nth-child(4) { --x: 112px; --y: -36px; }
}
@media (prefers-reduced-motion: reduce) { .svc .fp { transition: opacity .2s; } }

/* ---- портфолио, шаг 1: только оболочка. Стол, предметы, анимация значков и логика остаются как есть ---- */
.dock {
  border: 0; background: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 18px 44px -10px rgba(55, 65, 120, .22), 0 2px 6px rgba(55, 65, 120, .07);
}
.chip:hover { background: rgba(255, 255, 255, .45); }
.chip.on { background: rgba(28, 28, 32, .90); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 18px -8px rgba(30, 34, 60, .5); }
.chip .ic { border-color: rgba(255, 255, 255, .8); box-shadow: 0 2px 6px rgba(55, 65, 120, .12); }

.seg {
  border: 0; background: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 10px 26px -8px rgba(55, 65, 120, .20), 0 2px 5px rgba(55, 65, 120, .07);
}
.seg .pill { background: rgba(28, 28, 32, .90); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 14px -6px rgba(30, 34, 60, .5); }

.shuffle {
  padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 10px 26px -8px rgba(55, 65, 120, .20), 0 2px 5px rgba(55, 65, 120, .07);
}
.shuffle:hover { background: rgba(255, 255, 255, .42); }
@media (prefers-reduced-transparency: reduce) { .dock, .seg, .shuffle { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- шапка: три раздела — одна стеклянная капсула с плавающей плашкой, звук — только значок ---- */
.topnav.lg { display: inline-flex; gap: 0; padding: 3px; height: 36px; align-items: stretch; background: rgba(255, 255, 255, .16); }
.topnav.lg a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 30px; padding: 0 16px; font-size: 13px; color: #6b6b72; border-radius: 999px; transition: color .3s; }
.topnav.lg a::after { display: none; }
.topnav.lg a:hover { color: var(--ink); }
.topnav.lg a.on, .topnav.lg a.on:hover { color: #fff; }
.tn-pill {
  position: absolute; z-index: 0; top: 3px; left: 0; height: 30px; width: 0; border-radius: 999px; pointer-events: none;
  background: rgba(28, 28, 32, .90);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 16px -8px rgba(30, 34, 60, .55);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s;
}
.tn-pill.first { transition: none; }

.snd.lg { width: 36px; padding: 0; justify-content: center; gap: 0; }
.snd.lg .snd-lbl { display: none; }
.shuffle.lg-ico { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; font-size: 16px; line-height: 1; }
.shuffle.lg-ico span { display: none; }

/* значок звука: динамик с волнами; выключен — динамик с крестиком */
.snd.lg { color: #4a4a50; }
.snd .snd-svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.snd .snd-svg .sp { fill: currentColor; fill-opacity: .14; }
.snd .snd-svg .w1, .snd .snd-svg .w2 { transition: opacity .25s, stroke-dashoffset .35s var(--ease); }
.snd .snd-svg .x { opacity: 0; transition: opacity .25s; }
.snd[aria-pressed="false"] .snd-svg .w1, .snd[aria-pressed="false"] .snd-svg .w2 { opacity: 0; }
.snd[aria-pressed="false"] .snd-svg .x { opacity: 1; }
.snd[aria-pressed="false"] { opacity: .85; }

/* ---- вкладки разделов портфолио: сайты · видео · мерч. Крупнее и с иконками, чтобы читались как главный переключатель ---- */
.cats.lg {
  flex: 0 0 auto; width: fit-content; margin-right: 100%; position: relative; left: 50%; transform: translateX(-50%); gap: 0; padding: 4px; height: 46px; align-items: stretch;
  background: rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .6),
    0 16px 36px -10px rgba(55, 65, 120, .28), 0 2px 6px rgba(55, 65, 120, .08);
}
.cats.lg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 22px 0 18px; font-size: 15px; color: #55555c; border-radius: 999px; transition: color .3s; }
.cats.lg button::after { display: none; }
.cats.lg button:hover { color: var(--ink); }
.cats.lg button.on, .cats.lg button.on:hover { color: #fff; }
.cats.lg button svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cats.lg button svg circle { fill: currentColor; stroke: none; }
.cats.lg button sup { display: none; }
.cats.lg .tn-pill { top: 4px; height: 38px; }
@media (max-width: 760px) { .cats.lg button { padding: 0 14px 0 12px; font-size: 13px; gap: 6px; } .cats.lg button svg { width: 15px; height: 15px; } }

/* ---- портфолио: заголовок крупнее, между заголовком и вкладками больше воздуха ---- */
.pf-title { font-size: clamp(34px, 3.6vw, 54px); }
.pf-head { row-gap: 24px; }
.pf-hint { font-size: 12.5px; }
.list { padding-top: calc(var(--head) + 156px); }
@media (max-width: 760px) { .pf-title { font-size: clamp(30px, 8.6vw, 38px); } .pf-head { row-gap: 14px; } .list { padding-top: calc(var(--head) + 170px); } }

/* ---- просмотр поверх стола: ссылка на страницу проекта ---- */
.lb-left { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.lb-proj { font-size: 12.5px; color: var(--gray); border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .25s; }
.lb-proj:hover { color: var(--ink); }
.lb-proj[hidden] { display: none; }
@media (max-width: 760px) { .lb-left { align-items: center; } }

/* ---- нижняя панель проектов: на столе и на страницах проектов, полноценное стекло ---- */
.dock.lg {
  position: fixed; left: 50%; bottom: calc(var(--pad) - 4px); translate: -50% 0; z-index: 30;
  background: rgba(255, 255, 255, .22);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s, visibility 0s .35s, background .25s;
}
body[data-view="portfolio"]:not([data-pfsel="list"]) .dock.lg, body[data-view="project"] .dock.lg { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s, background .25s; }
body.bw-full .dock.lg { opacity: 0; visibility: hidden; pointer-events: none; }
.dock.lg:hover { background: rgba(255, 255, 255, .22); }
#v-project { padding-bottom: 130px; }

/* ---- страница проекта: «стол» — предметы парят, как на столе портфолио; тянуть можно, клик открывает просмотр ---- */
.ptable { position: relative; width: 100%; min-height: 240px; --sz: 170px; touch-action: pan-y; }
.pobj {
  position: absolute; left: 0; top: 0; display: block; padding: 0; background: none; border: 0; cursor: grab; isolation: isolate;
  user-select: none; -webkit-user-select: none; will-change: transform;
  animation: pdrop .9s var(--ease) both; animation-delay: calc(min(var(--i), 20) * 45ms + .15s);
}
@keyframes pdrop { from { translate: 0 -70px; opacity: 0; } }
.pobj img {
  display: block; width: var(--sz); height: auto; max-height: calc(var(--sz) * 1.2); object-fit: contain; pointer-events: none;
  filter: drop-shadow(0 12px 12px rgba(40, 50, 90, .16));
  transition: scale .35s var(--ease), filter .35s var(--ease);
  animation: pfloat var(--fd, 6s) ease-in-out var(--fl, 0s) infinite alternate;
}
.pobj.small img { width: calc(var(--sz) * .62); }
@keyframes pfloat { from { translate: 0 -6px; rotate: -.7deg; } to { translate: 0 6px; rotate: .9deg; } }
/* мягкая тень на «полу»: когда предмет выше, она меньше и бледнее */
.pobj::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: -12px; height: 14px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(40, 50, 90, .26), transparent); filter: blur(2px);
  animation: pshadow var(--fd, 6s) ease-in-out var(--fl, 0s) infinite alternate;
}
@keyframes pshadow { from { scale: .78 1; opacity: .5; } to { scale: 1.06 1; opacity: .95; } }
.pobj:hover img { scale: 1.05; filter: drop-shadow(0 18px 16px rgba(40, 50, 90, .22)); }
.pobj.drag { cursor: grabbing; }
.pobj.drag img { scale: 1.09; filter: drop-shadow(0 28px 24px rgba(40, 50, 90, .26)); }
.pobj.drag::after { opacity: .3; }
.pobj span {
  position: absolute; left: 50%; top: 100%; translate: -50% 10px; white-space: nowrap; font-size: 11.5px; padding: 4px 11px; border-radius: 999px;
  color: var(--ink); background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 14px -6px rgba(55, 65, 120, .25);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.pobj:hover span, .pobj:focus-visible span { opacity: 1; }
.pobj.drag span { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .pobj, .pobj img, .pobj::after { animation: none; } }

/* =====================================================================
   СТРАНИЦЫ ПРОЕКТОВ: тот же материал, что и везде. Структура и логика те же.
   ===================================================================== */

/* — левая колонка — */
.back.lg { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; font-size: 13px; color: #55555c; background: rgba(255, 255, 255, .24); }
.back.lg:hover { color: var(--ink); translate: 0 0; background: rgba(255, 255, 255, .42); }
.plogo {
  height: auto; max-height: 76px; width: auto; max-width: 210px; padding: 14px 18px; margin-top: 4px; object-fit: contain; object-position: center; align-self: flex-start;
  border-radius: 20px; background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 30px -12px rgba(55, 65, 120, .24), 0 2px 5px rgba(55, 65, 120, .06);
}
.plogo.sq { max-height: 84px; }
.proj-side h1 { margin-left: -.04em; }

/* стеклянные карточки: итоговая таблица и строки описания */
.facts, .brow {
  border: 0; background: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 18px 40px -14px rgba(55, 65, 120, .20), 0 2px 6px rgba(55, 65, 120, .06);
}
.facts { margin-top: 10px; border-radius: 22px; padding: 4px 20px; }
.facts div { border-bottom: 1px solid rgba(255, 255, 255, .75); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: #7a7a82; }
.brief { border-top: 0; display: grid; gap: 14px; }
.brow { border-radius: 26px; padding: 24px 28px; gap: 28px; }
.brow h3 { color: #6b6b72; font-weight: 400; }
.brow li::before { color: #8d8d92; }

/* соседние проекты */
.pn { margin-top: 8px; gap: 10px; }
.pn a.lg { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; font-size: 12.5px; color: #55555c; background: rgba(255, 255, 255, .24); }
.pn a.lg:hover { color: var(--ink); background: rgba(255, 255, 255, .42); }

/* — видео-карточки — */
.vt { border-radius: 20px; background: rgba(255, 255, 255, .4); box-shadow: 0 18px 36px -14px rgba(55, 65, 120, .28), 0 2px 6px rgba(55, 65, 120, .08), 0 0 0 1px rgba(255, 255, 255, .55); }
.vt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.vt .play, .obj .play {
  background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 10px 24px -8px rgba(30, 34, 60, .45);
}
.vt em, .vt span {
  background: rgba(255, 255, 255, .5); color: var(--ink); -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 14px -6px rgba(30, 34, 60, .3);
}

/* — статистика и скриншоты — */
.statgrid button { border: 0; border-radius: 18px; box-shadow: 0 14px 30px -12px rgba(55, 65, 120, .24), 0 0 0 1px rgba(255, 255, 255, .6); }
.statgrid button:hover { border: 0; }

/* — окно браузера на страницах сайтов — */
.bwin {
  border: 0; border-radius: 24px; background: rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 30px 70px -20px rgba(55, 65, 120, .32), 0 3px 10px rgba(55, 65, 120, .08);
}
.bwin.full { border-radius: 0; }
.bbar { background: rgba(255, 255, 255, .4); border-bottom: 1px solid rgba(255, 255, 255, .7); }
.burl { border: 0; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 4px 10px -6px rgba(55, 65, 120, .25); color: #6b6b72; }
.bb { background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); color: #55555c; }
.bb:hover { background: rgba(255, 255, 255, .65); color: var(--ink); }
.bdev { border: 0; background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.bdev button.on { background: rgba(28, 28, 32, .90); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), 0 4px 10px -4px rgba(30, 34, 60, .5); }
.bnote {
  border: 0; border-radius: 18px; background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 16px 34px -12px rgba(55, 65, 120, .28);
}
.browser { border: 0; border-radius: 24px; box-shadow: 0 30px 70px -22px rgba(55, 65, 120, .3), 0 0 0 1px rgba(255, 255, 255, .6); }
.browser .bar { background: rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .7); }

@media (max-width: 900px) { .brow { padding: 20px 22px; } }
@media (prefers-reduced-transparency: reduce) { .facts, .brow, .bwin, .plogo { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- читаемость на страницах проектов: серый темнее, текст плотнее и чуть крупнее ---- */
#v-project { --gray: #5b5b63; }
.proj-side p, .brow, .facts, .pn a, .back { font-weight: 400; }
.proj-side p { font-size: 15.5px; line-height: 1.7; color: #1f1f23; }
.proj-side p.sub { font-size: 14px; color: #55555d; line-height: 1.6; }
.facts div { font-size: 14px; padding: 12px 0; }
.facts dt { color: #5b5b63; }
.facts dd { color: #1f1f23; }
.brow { font-size: 15px; line-height: 1.68; color: #1f1f23; }
.brow h3 { font-size: 13.5px; color: #55555d; font-weight: 500; }
.brow li::before { color: #55555d; }
.sect-h { font-size: 12.5px; color: #55555d; }
.pn a.lg, .back.lg { font-size: 13px; color: #3f3f46; }
.pobj span { font-size: 12.5px; }
.vt em, .vt span { font-size: 12px; color: #1f1f23; }
@media (max-width: 760px) {
  .proj-side p { font-size: 16px; }
  .brow { font-size: 15.5px; }
}
/* на телефоне шапка без ссылок разделов, как и было: переопределяло правило .topnav.lg */
@media (max-width: 760px) { .topnav.lg { display: none; } }

/* =====================================================================
   ПРОСМОТР И ПЛЕЕР: стеклянная подложка, круглые кнопки, подпись-капсула, свой плеер
   ===================================================================== */
#lb {
  background:
    radial-gradient(38vw 38vw at 10% 80%, rgba(170, 190, 255, .45), transparent 70%),
    radial-gradient(34vw 34vw at 92% 70%, rgba(255, 190, 212, .40), transparent 70%),
    radial-gradient(40vw 26vw at 55% 8%, rgba(180, 232, 222, .42), transparent 70%),
    rgba(248, 249, 253, .80);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
}
.lb-stage img.photo { border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(55, 65, 120, .45), 0 4px 14px rgba(55, 65, 120, .10), 0 0 0 1px rgba(255, 255, 255, .6); }
.lb-stage img.render { filter: drop-shadow(0 30px 34px rgba(55, 65, 120, .22)); }

.lb-x, .lb-nav {
  display: grid; place-items: center; color: #2a2a30; background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 28px -10px rgba(55, 65, 120, .3);
  transition: background .25s, transform .25s var(--ease), color .25s;
}
.lb-x { top: 18px; width: 46px; height: 46px; font-size: 26px; line-height: 1; padding-bottom: 2px; }
.lb-nav { width: 54px; height: 54px; font-size: 30px; line-height: 1; padding-bottom: 4px; color: #2a2a30; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, .7); color: #111; }
.lb-x:active, .lb-nav:active { transform: scale(.94); }
.lb-nav.prev:hover { transform: translateX(-2px); } .lb-nav.next:hover { transform: translateX(2px); }

/* подпись-капсула */
.lb-cap {
  width: min(1000px, calc(100% - 2 * var(--pad))); margin: 0 auto 24px; padding: 10px 12px 10px 24px; gap: 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 24px 50px -16px rgba(55, 65, 120, .32);
}
.lb-title { font-size: 14.5px; font-weight: 500; color: #1f1f23; }
.lb-proj { font-size: 12.5px; color: #55555d; }
.lb-tabs { gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.lb-tabs button { padding: 7px 16px; font-size: 13px; color: #55555d; border: 0; }
.lb-tabs button:hover { color: #111; }
.lb-tabs button.on { color: #fff; background: rgba(28, 28, 32, .9); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), 0 6px 14px -6px rgba(30, 34, 60, .5); }
.lb-count { align-self: center; justify-self: end; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; color: #3f3f46; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.lb-count:empty { display: none; }
@media (max-width: 760px) { .lb-cap { border-radius: 26px; padding: 14px 16px; margin-bottom: 14px; } .lb-count { justify-self: center; } }

/* — плеер — */
.vp { position: relative; display: block; width: fit-content; border-radius: 26px; overflow: hidden; background: #0d0d10; box-shadow: 0 40px 90px -30px rgba(30, 34, 70, .55), 0 4px 14px rgba(30, 34, 70, .16), 0 0 0 1px rgba(255, 255, 255, .5); }
.vp video { display: block; border-radius: 0; box-shadow: none; cursor: pointer; }
.vp-big {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; display: grid; place-items: center; color: #fff;
  border-radius: 50%; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .3), 0 14px 34px -8px rgba(0, 0, 0, .5);
  opacity: 0; scale: .8; pointer-events: none; transition: opacity .3s, scale .45s var(--ease);
}
.vp-big svg { width: 30px; height: 30px; fill: currentColor; margin-left: 3px; }
.vp.paused .vp-big { opacity: 1; scale: 1; pointer-events: auto; }
.vc {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 999px; color: #fff;
  background: rgba(24, 24, 30, .42); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 30px -10px rgba(0, 0, 0, .5);
  opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity .3s, translate .4s var(--ease);
}
.vp.show .vc, .vp:focus-within .vc { opacity: 1; translate: 0 0; pointer-events: auto; }
.vc-b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .25s; }
.vc-b:hover { background: rgba(255, 255, 255, .18); }
.vc-b svg { width: 18px; height: 18px; fill: currentColor; }
.vc-b svg.ln { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vc-t, .vc-d { flex: none; min-width: 34px; font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .9); }
.vc-d { text-align: right; color: rgba(255, 255, 255, .65); }
.vc-bar { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); cursor: pointer; touch-action: none; }
.vc-bar::before { content: ""; position: absolute; inset: -12px 0; }
.vc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: #fff; }
.vc-knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); scale: .9; transition: scale .25s var(--ease); }
.vc-bar:hover .vc-knob, .vc-bar:focus-visible .vc-knob { scale: 1.25; }
.vp:fullscreen { border-radius: 0; display: grid; place-items: center; width: 100%; }
.vp:fullscreen video { max-width: 100vw; max-height: 100vh; }
@media (max-width: 760px) { .vc { left: 8px; right: 8px; bottom: 8px; gap: 8px; } .vc-t { display: none; } .vp-big { width: 62px; height: 62px; margin: -31px; } }
@media (prefers-reduced-transparency: reduce) { #lb { background: rgba(250, 250, 253, .97); -webkit-backdrop-filter: none; backdrop-filter: none; } .lb-cap, .lb-x, .lb-nav { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* громкость: полоса выезжает рядом со значком звука */
.vc-vol { flex: none; display: flex; align-items: center; }
.vc-vbar { position: relative; width: 0; height: 4px; margin-left: 0; border-radius: 2px; background: rgba(255, 255, 255, .28); cursor: pointer; touch-action: none; opacity: 0; overflow: visible; transition: width .35s var(--ease), margin .35s var(--ease), opacity .25s; }
.vc-vbar::before { content: ""; position: absolute; inset: -12px -4px; }
.vc-vol:hover .vc-vbar, .vc-vol:focus-within .vc-vbar, .vc-vol.drag .vc-vbar { width: 68px; margin: 0 8px 0 2px; opacity: 1; }
.vc-vfill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: inherit; background: #fff; }
.vc-vknob { position: absolute; top: 50%; left: 100%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
@media (max-width: 760px) { .vc-vol:hover .vc-vbar, .vc-vol:focus-within .vc-vbar { width: 0; margin: 0; opacity: 0; } }

/* панель плеера в два ряда: сверху перемотка со временем, снизу кнопки; так хватает места и на узких вертикальных роликах */
.vc { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "t bar d" "pl vol fu"; align-items: center; gap: 2px 10px; padding: 10px 12px 6px; border-radius: 24px; }
.vc-t { grid-area: t; } .vc-bar { grid-area: bar; } .vc-d { grid-area: d; }
.vc-play { grid-area: pl; justify-self: start; } .vc-vol { grid-area: vol; justify-self: start; } .vc-full { grid-area: fu; justify-self: end; }
.vc-vol:hover .vc-vbar, .vc-vol:focus-within .vc-vbar { width: 84px; }
@media (max-width: 760px) { .vc-t { display: block; } .vc { gap: 2px 8px; } }

/* =====================================================================
   НИЖНЯЯ ПАНЕЛЬ ПРОЕКТОВ: понятнее, что это проекты, и связь с предметами на столе
   ===================================================================== */
.dock-title { flex: none; padding: 0 8px 0 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b72; white-space: nowrap; user-select: none; }
.dock.lg { gap: 6px; padding: 7px; }
.chip { height: 46px; }
.chip.all { padding: 0 16px; }
.chip .ic { width: 36px; height: 36px; background: rgba(255, 255, 255, .96); border: 0; box-shadow: 0 0 0 1px rgba(49, 49, 52, .14), 0 3px 8px rgba(55, 65, 120, .12); }
.chip .ic img { width: 24px; height: 24px; }
.chip .ic b { font-size: 15px; }
.chip.on .ic { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
/* подсветка значка, когда курсор на предмете этого проекта */
.chip.hint .ic { transform: scale(1.16) translateY(-3px); box-shadow: 0 0 0 2px var(--ink), 0 10px 18px -6px rgba(55, 65, 120, .45); }
.chip.hint { background: rgba(255, 255, 255, .5); }

/* плашка с названием проекта над значком */
.dock-tip {
  position: fixed; z-index: 36; translate: -50% 6px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #1f1f23; white-space: nowrap; pointer-events: none;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .65), 0 14px 30px -10px rgba(55, 65, 120, .4);
  opacity: 0; transition: opacity .2s, translate .3s var(--ease);
}
.dock-tip.on { opacity: 1; translate: -50% 0; }

/* наводишь на значок: предметы проекта приподнимаются, остальные притихают */
.stage.hl-on .obj:not(.gone):not(.hl) { opacity: .28; }
.stage.hl-on .obj.hl { z-index: 6; }
.stage.hl-on .obj.hl img { scale: 1.07; filter: drop-shadow(0 20px 20px rgba(40, 50, 90, .28)); }
@media (max-width: 760px) { .dock-title { display: none; } .chip .ic { width: 34px; height: 34px; } }

/* значок «Первого человека» — квадратная иконка сайта, заполняет круг целиком */
.chip .ic img[src$="1chelovek.png"], .row .lg img[src$="1chelovek.png"] { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* =====================================================================
   СПИСОК ПРОЕКТОВ: стеклянные строки, цветной значок при наведении
   ===================================================================== */
.rows { max-width: 1240px; border-bottom: 0; display: grid; gap: 12px; }
.row {
  position: relative; border-top: 0; border-radius: 28px; padding: 16px 22px 16px 20px; column-gap: 20px;
  background: rgba(255, 255, 255, .30);
  -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 18px 40px -16px rgba(55, 65, 120, .20), 0 2px 6px rgba(55, 65, 120, .06);
  transition: opacity .35s, translate .35s var(--ease), background .25s, box-shadow .3s;
}
.row .n { justify-self: start; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; color: #55555d; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.row .t { font-size: clamp(22px, 2.5vw, 38px); color: #1f1f23; font-weight: 300; }
.row .c, .row .f { font-size: 12.5px; color: #55555d; }
.row .lg { width: 48px; height: 48px; justify-self: end; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 1px rgba(49, 49, 52, .12), 0 6px 14px -4px rgba(55, 65, 120, .22); transition: transform .35s var(--ease); }
.row .lg img { max-width: 62%; max-height: 62%; filter: grayscale(1); opacity: .62; }
.row .lg b { font-size: 20px; color: #55555d; }
.row:hover .lg, .row:focus-visible .lg { transform: scale(1.1) rotate(-4deg); }
.row:hover, .row:focus-visible { translate: 0 -2px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 24px 50px -16px rgba(55, 65, 120, .32), 0 3px 8px rgba(55, 65, 120, .08); }
.row:hover .t, .row:focus-visible .t { translate: 10px 0; }
.rows:hover .row:not(:hover) { opacity: .5; }
.peek img.poster { border-radius: 18px; }
@media (max-width: 760px) { .row { border-radius: 22px; padding: 14px 16px; } .row .lg { width: 40px; height: 40px; } }
@media (prefers-reduced-transparency: reduce) { .row { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* список без нумерации: колонки пересчитаны */
.row { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 290px) 48px; padding-left: 28px; }
@media (max-width: 1100px) { .row { grid-template-columns: minmax(0, 1fr) 90px 48px; } }
@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) 40px; padding-left: 18px; }
  .row .c { grid-column: 1; grid-row: 2; }
  .row .lg { grid-column: 2; grid-row: 1 / span 2; }
}

/* шапка: прокручиваемое содержимое уходит под матовую вуаль, а не налезает на название и кнопки */
.chrome::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -22px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .72) 55%, rgba(255, 255, 255, 0) 100%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  opacity: 0; transition: opacity .3s;
}
body[data-view="about"] .chrome::before, body[data-view="contacts"] .chrome::before, body[data-view="project"] .chrome::before { opacity: 1; }
/* кнопка музыки: нота; когда играет — мягкая точка-пульс */
.mus { position: relative; }
.mus-dot { position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #2fa86b; opacity: 0; scale: .4; transition: opacity .3s, scale .4s var(--ease); pointer-events: none; }
.mus-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #2fa86b; opacity: 0; }
.mus.playing .mus-dot { opacity: 1; scale: 1; }
.mus.playing .mus-dot::after { animation: ping 2.4s ease-out infinite; }
.mus[aria-expanded="true"] { background: rgba(255, 255, 255, .6); }
/* панель Timur Radio */
.mp {
  position: fixed; z-index: 70; padding: 16px 18px 18px; border-radius: 28px; color: #1f1f23;
  background: rgba(255, 255, 255, .56); -webkit-backdrop-filter: blur(28px) saturate(1.9); backdrop-filter: blur(28px) saturate(1.9);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 36px 80px -22px rgba(55, 65, 120, .42), 0 4px 14px rgba(55, 65, 120, .1);
  opacity: 0; translate: 0 -10px; scale: .98; transform-origin: 90% 0; transition: opacity .25s, translate .4s var(--ease), scale .4s var(--ease);
}
.mp[hidden] { display: none; }
.mp.on { opacity: 1; translate: 0 0; scale: 1; }
.mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mp-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b72; }
.mp-live { width: 7px; height: 7px; border-radius: 50%; background: #b9b9c0; transition: background .3s; }
.mp.is-playing .mp-live { background: #e0463a; animation: mp-blink 1.8s ease-in-out infinite; }
@keyframes mp-blink { 50% { opacity: .35; } }
.mp-x { width: 28px; height: 28px; border-radius: 50%; font-size: 20px; line-height: 1; color: #55555d; transition: background .25s; }
.mp-x:hover { background: rgba(255, 255, 255, .7); }
.mp-now { display: flex; flex-direction: column; gap: 3px; }
.mp-title { font-size: 28px; font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
.mp-desc { font-size: 12.5px; color: #55555d; }
/* эквалайзер: двигается, пока играет, и замирает на паузе */
.mp-eq { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin: 16px 0 14px; }
.mp-eq i { flex: 1; min-width: 0; height: 22%; border-radius: 3px; background: linear-gradient(to top, rgba(28, 28, 32, .88), rgba(28, 28, 32, .35)); transform-origin: bottom; transition: height .4s var(--ease); }
.mp.is-playing .mp-eq i { animation: mp-eq 1.3s ease-in-out infinite alternate; }
.mp-eq i:nth-child(3n) { animation-duration: 1.7s !important; } .mp-eq i:nth-child(4n) { animation-duration: 1.05s !important; } .mp-eq i:nth-child(5n) { animation-duration: 2.1s !important; }
.mp-eq i:nth-child(2n) { animation-delay: -.5s; } .mp-eq i:nth-child(3n) { animation-delay: -.9s; } .mp-eq i:nth-child(7n) { animation-delay: -1.3s; }
@keyframes mp-eq { from { height: 14%; } to { height: 100%; } }
.mp-ctl { display: flex; align-items: center; gap: 14px; }
.mp-b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(28, 28, 32, .92); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 24px -10px rgba(30, 34, 60, .6); transition: background .25s, transform .2s var(--ease); }
.mp-b:hover { background: rgba(14, 14, 18, .96); }
.mp-b:active { transform: scale(.94); }
.mp-b svg { width: 22px; height: 22px; fill: none; stroke: none; }
.mp-b svg path.f { fill: currentColor; }
.mp-vol { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.mp-vol svg { flex: none; width: 19px; height: 19px; fill: none; stroke: #55555d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mp-vbar { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(49, 49, 52, .16); cursor: pointer; touch-action: none; }
.mp-vbar::before { content: ""; position: absolute; inset: -12px -4px; }
.mp-vfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: #1c1c20; }
.mp-vknob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #1c1c20; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); scale: .9; transition: scale .25s var(--ease); }
.mp-vbar:hover .mp-vknob, .mp-vbar:focus-visible .mp-vknob { scale: 1.25; }
@media (prefers-reduced-motion: reduce) { .mp.is-playing .mp-eq i { animation: none; height: 55%; } }
@media (prefers-reduced-transparency: reduce) { .mp { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* =====================================================================
   «СОБЕРИ ЗАКАЗ» на странице контактов
   ===================================================================== */
.ord {
  padding: 20px 22px 22px; border-radius: 28px; display: grid; gap: 16px;
  background: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 26px 56px -20px rgba(55, 65, 120, .28), 0 3px 8px rgba(55, 65, 120, .07);
}
.ord-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ord-h { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; letter-spacing: -.03em; color: #1f1f23; }
.ord-hint { font-size: 12.5px; color: #55555d; }
.ord-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.oc {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; font-size: 14px; color: #1f1f23;
  background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 18px -10px rgba(55, 65, 120, .3);
  transition: background .25s var(--ease), color .25s, transform .2s var(--ease), box-shadow .25s;
}
.oc svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.oc svg circle { fill: currentColor; stroke: none; }
.oc:hover { background: rgba(255, 255, 255, .8); }
.oc:active { transform: scale(.96); }
.oc.on { color: #fff; background: rgba(28, 28, 32, .92); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 24px -10px rgba(30, 34, 60, .55); }
.ord-note { display: grid; gap: 6px; }
.ord-note span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #55555d; }
.ord-note textarea {
  width: 100%; resize: none; padding: 12px 16px; border: 0; border-radius: 18px; font: inherit; font-size: 14px; line-height: 1.5; color: #1f1f23;
  background: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 2px rgba(55, 65, 120, .12), inset 0 0 0 1px rgba(255, 255, 255, .7); outline: none; transition: box-shadow .25s, background .25s;
}
.ord-note textarea::placeholder { color: #7d7d84; }
.ord-note textarea:focus { background: rgba(255, 255, 255, .75); box-shadow: inset 0 1px 2px rgba(55, 65, 120, .12), inset 0 0 0 1.5px rgba(28, 28, 32, .5); }

/* чек */
.ord-bill {
  padding: 14px 18px 16px; border-radius: 18px; background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75); background-image: radial-gradient(circle at 6px 0, transparent 5px, rgba(255, 255, 255, .5) 5.5px); background-size: 14px 100%;
}
.ord-bh { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b72; }
.ord-lines { list-style: none; display: grid; gap: 6px; margin: 10px 0 0; }
.ord-lines:empty { display: none; }
.ord-lines li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 10px; font-size: 14.5px; color: #1f1f23; animation: ord-in .45s var(--ease) both; }
.ord-lines li b { font-weight: 400; font-size: 11.5px; color: #6b6b72; }
.ord-lines li i { height: 0; border-bottom: 1px dotted rgba(49, 49, 52, .35); align-self: end; margin-bottom: 4px; }
@keyframes ord-in { from { opacity: 0; translate: -10px 0; } }
.ord-msg { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(49, 49, 52, .22); font-size: 13.5px; line-height: 1.55; color: #3f3f46; white-space: pre-line; }
.ord-act { display: flex; flex-wrap: wrap; gap: 10px; }
.ord-act .btn { height: 44px; }
#ordCopy.done { color: #1d7a4b; }
.duo-text .sub { color: #55555d; }
@media (prefers-reduced-motion: reduce) { .ord-lines li { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .ord { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- «Собери заказ»: парящие услуги и корзина ---- */
.ord-stage { position: relative; height: 270px; border-radius: 22px; overflow: hidden; touch-action: pan-y; background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 2px 12px rgba(55, 65, 120, .07); }
.oc.fl { position: absolute; left: 0; top: 0; z-index: 2; cursor: grab; will-change: transform; user-select: none; -webkit-user-select: none; touch-action: pan-y; animation: ofloat var(--fd, 5s) ease-in-out var(--fl, 0s) infinite alternate; }
@keyframes ofloat { from { translate: 0 -4px; } to { translate: 0 5px; } }
.oc.fl.snap { transition: transform .55s var(--ease), background .25s, color .25s, box-shadow .25s; }
.oc.fl.drag { cursor: grabbing; animation: none; z-index: 9; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 22px 30px -12px rgba(55, 65, 120, .45); }
.oc.fl.in { animation: none; z-index: 3; color: #fff; background: rgba(28, 28, 32, .92); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 20px -10px rgba(30, 34, 60, .55); }
.oc.fl.in.drag { animation: none; }
.ord-basket {
  position: absolute; right: 12px; bottom: 12px; width: 36%; min-width: 176px; height: 190px; padding: 14px 16px; border-radius: 26px 26px 32px 32px;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none; z-index: 1;
  background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  outline: 1.6px dashed rgba(49, 49, 52, .3); outline-offset: -1.6px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), 0 16px 30px -16px rgba(55, 65, 120, .3);
  transition: background .25s, outline-color .25s, scale .3s var(--ease);
}
.ord-basket .ob-l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #55555d; }
.ord-basket .ob-c { font-size: 12.5px; color: #6b6b72; }
.ord-basket.hot { background: rgba(255, 255, 255, .8); outline-color: rgba(28, 28, 32, .7); scale: 1.03; }
.ord-basket.full { outline: 0; }
.ord-basket.bump { animation: ob-bump .5s var(--ease); }
@keyframes ob-bump { 40% { scale: 1.05; } }

/* плашка достижения, как в консольных играх */
.ach {
  position: fixed; left: 50%; bottom: 30px; z-index: 95; display: flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border-radius: 999px; color: #fff; pointer-events: none;
  background: rgba(24, 24, 30, .84); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 50px -14px rgba(0, 0, 0, .5);
  opacity: 0; translate: -50% 46px; scale: .96; transition: opacity .3s, translate .6s var(--ease), scale .6s var(--ease);
}
.ach.on { opacity: 1; translate: -50% 0; scale: 1; }
.ach-i { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 24%, #a6ec8a, #2fa86b 70%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 6px 14px -4px rgba(47, 168, 107, .6); }
.ach-i svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ach-t small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.ach-t b { display: block; font-size: 16px; font-weight: 500; margin-top: 1px; }
.ach-t em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
@media (max-width: 760px) { .ord-stage { height: 380px; } .ord-basket { left: 12px; right: 12px; width: auto; height: 150px; } .ach { bottom: 90px; } }
@media (prefers-reduced-motion: reduce) { .oc.fl { animation: none; } .ach { transition: opacity .2s; } }
.ach { width: max-content; max-width: calc(100vw - 32px); }
.ach-t b, .ach-t em, .ach-t small { white-space: nowrap; }
@media (max-width: 760px) { .ach-t small { font-size: 9.5px; } }

/* достижение — тоже светлое стекло */
.ach {
  color: #1f1f23; isolation: isolate;
  background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(24px) saturate(1.9); backdrop-filter: blur(24px) saturate(1.9);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .65), 0 28px 60px -16px rgba(55, 65, 120, .4), 0 4px 12px rgba(55, 65, 120, .1);
}
.ach::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, .3) 100%); }
.ach-t small { color: #6b6b72; }
.ach-t b { color: #1f1f23; }
.ach-t em { color: #55555d; }
.ach-i { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), 0 8px 16px -6px rgba(47, 168, 107, .55); }
@media (prefers-reduced-transparency: reduce) { .ach { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- «Собери заказ»: цвета как у тегов, спокойное сине-фиолетовое достижение, контакты сверху ---- */
.ord-stage .oc.fl {
  --t: 168, 186, 255; color: #25252a;
  background: linear-gradient(160deg, rgba(var(--t), .55), rgba(var(--t), .26));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(var(--t), .7), 0 10px 20px -8px rgba(var(--t), .85), 0 2px 4px rgba(40, 46, 90, .1);
}
.ord-stage .oc.fl:nth-of-type(4n+2) { --t: 255, 178, 204; }
.ord-stage .oc.fl:nth-of-type(4n+3) { --t: 150, 224, 205; }
.ord-stage .oc.fl:nth-of-type(4n+4) { --t: 206, 184, 255; }
.ord-stage .oc.fl:hover { background: linear-gradient(160deg, rgba(var(--t), .75), rgba(var(--t), .42)); }
.ord-stage .oc.fl.in { color: #25252a; background: linear-gradient(160deg, rgba(var(--t), .8), rgba(var(--t), .5)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(var(--t), .85), 0 8px 16px -8px rgba(var(--t), .9); }
.ord-stage .oc.fl.drag { box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(var(--t), .8), 0 22px 30px -12px rgba(var(--t), .9); }

.ach-i { background: radial-gradient(circle at 32% 24%, #c3b8ff, #6f6adf 72%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), 0 8px 16px -6px rgba(111, 106, 223, .55); }

@media (min-width: 901px) {
  #v-contacts .duo { align-items: start; }
  #v-contacts .duo-media { position: sticky; top: calc(var(--head) + 28px); align-self: start; }
}

/* =====================================================================
   ОКНО «СОБЕРИ ЗАКАЗ»: страница контактов снова короткая, игра открывается по кнопке
   ===================================================================== */
.btn.spark { gap: 8px; }
.btn.spark svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.btn.spark.lg { color: #4a3fb0; background: linear-gradient(160deg, rgba(206, 184, 255, .6), rgba(168, 186, 255, .35)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(168, 150, 255, .6), 0 10px 20px -8px rgba(150, 130, 255, .8); }
.btn.spark.lg:hover { color: #3a2f9a; background: linear-gradient(160deg, rgba(206, 184, 255, .85), rgba(168, 186, 255, .55)); }

.om {
  position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(38vw 38vw at 10% 80%, rgba(170, 190, 255, .45), transparent 70%),
    radial-gradient(34vw 34vw at 92% 70%, rgba(255, 190, 212, .40), transparent 70%),
    radial-gradient(40vw 26vw at 55% 8%, rgba(190, 180, 255, .42), transparent 70%),
    rgba(248, 249, 253, .76);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.om[hidden] { display: none; }
.om.on { opacity: 1; visibility: visible; transition: opacity .35s; }
html.om-lock, html.om-lock body { overflow: hidden; }
.om-card {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 28px 30px 30px; border-radius: 36px;
  background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .65), 0 50px 100px -30px rgba(55, 65, 120, .5), 0 6px 18px rgba(55, 65, 120, .1);
  translate: 0 14px; scale: .98; transition: translate .5s var(--ease), scale .5s var(--ease);
}
.om.on .om-card { translate: 0 0; scale: 1; }
.om-x {
  position: absolute; top: 18px; right: 20px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; line-height: 1; padding-bottom: 2px; color: #2a2a30;
  background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .65), 0 10px 22px -10px rgba(55, 65, 120, .35); transition: background .25s, transform .2s var(--ease);
}
.om-x:hover { background: rgba(255, 255, 255, .85); } .om-x:active { transform: scale(.94); }
/* внутри окна у блока нет своей карточки */
.om .ord { padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 16px 24px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.om .ord-top { grid-column: 1 / -1; padding-right: 56px; }
.om .ord-h { font-size: clamp(24px, 2.4vw, 32px); }
.om .ord-stage { grid-column: 1; grid-row: 2 / span 3; height: 100%; min-height: 430px; }
.om .ord-basket { height: 230px; }
.om .ord-note { grid-column: 2; grid-row: 2; }
.om .ord-bill { grid-column: 2; grid-row: 3; }
.om .ord-act { grid-column: 2; grid-row: 4; align-self: end; }
.om .ord-msg { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
  .om { padding: 12px; } .om-card { padding: 22px 16px 20px; border-radius: 28px; }
  .om .ord { grid-template-columns: 1fr; }
  .om .ord-stage, .om .ord-note, .om .ord-bill, .om .ord-act { grid-column: 1; grid-row: auto; }
  .om .ord-stage { min-height: 0; height: 380px; } .om .ord-basket { height: 150px; }
}
@media (prefers-reduced-transparency: reduce) { .om { background: rgba(250, 250, 253, .97); -webkit-backdrop-filter: none; backdrop-filter: none; } .om-card { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---- переключатель языка RU / EN ---- */
.lang { position: relative; display: inline-flex; height: 36px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .5), 0 12px 32px -8px rgba(55, 65, 120, .2), 0 2px 6px rgba(55, 65, 120, .07); }
.lang button { position: relative; z-index: 1; width: 34px; height: 30px; font-size: 11.5px; letter-spacing: .08em; color: #55555c; border-radius: 999px; transition: color .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: #fff; }
.lang-pill { position: absolute; z-index: 0; top: 3px; left: 3px; width: 34px; height: 30px; border-radius: 999px; pointer-events: none; background: rgba(28, 28, 32, .90);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 16px -8px rgba(30, 34, 60, .55); transition: transform .45s var(--ease); }
.lang.is-en .lang-pill { transform: translateX(34px); }
@media (max-width: 760px) { .chrome { gap: 8px; } .lang button, .lang-pill { width: 30px; } .lang.is-en .lang-pill { transform: translateX(30px); } }

/* метки в таблице проекта длиннее («что сделано») */
.facts div { grid-template-columns: 112px 1fr; }
@media (max-width: 900px) { .facts div { grid-template-columns: 104px 1fr; } }

/* ---------- телефон: крупнее зоны нажатия в шапке, на узких экранах шапка не вылезает ---------- */
@media (max-width: 760px) {
  .snd.lg, .kbtn.lg { height: 40px; }
  .snd.lg { width: 40px; }
  .lang { height: 40px; }
  .lang button, .lang-pill { height: 34px; }
  .lang-pill { top: 3px; }
  .brand { padding: 12px 0; margin: -12px 0; }
}
@media (max-width: 380px) {
  .chrome { gap: 4px; }
  .brand { font-size: 15px; }
  .snd.lg { width: 36px; height: 36px; }
  .lang { height: 36px; }
  .lang button, .lang-pill { width: 28px; height: 30px; }
  .lang.is-en .lang-pill { transform: translateX(28px); }
  .kbtn.lg { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .kbtn.lg .k-lbl { font-size: 0; }
  .kbtn.lg .k-lbl::before { content: "\2315"; font-size: 19px; line-height: 1; }
}
/* резюме только на русском: в английской версии его нет */
html[lang="en"] a[href$="resume.pdf"] { display: none; }

/* ---------- «обо мне»: настоящее фото рядом с персонажем, в той же стеклянной рамке ---------- */
#v-about .vwrap { position: relative; width: 100%; max-width: min(700px, 70vh); margin: 0 auto; }
#v-about .vwrap .vglass { max-width: none; margin: 0; }
.me {
  position: absolute; z-index: 3; right: -3%; bottom: -6%; width: 27%; aspect-ratio: 4 / 5; margin: 0;
  border-radius: 24px; overflow: hidden; background: #dfe6ec;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .72), 0 28px 48px -18px rgba(55, 65, 120, .42), 0 4px 14px rgba(55, 65, 120, .12);
  padding: 0; border: 0; cursor: pointer; display: block;
  animation: rise .9s var(--ease) .35s both;
}
.me img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.me:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.me::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(255, 255, 255, .35); }
@media (hover: hover) { .me:hover img { transform: scale(1.03); } }
@media (max-width: 760px) {
  #v-about .vwrap { max-width: min(88vw, 420px); margin-bottom: 34px; }
  .me { width: 30%; right: -2%; bottom: -8%; border-radius: 18px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .72), 0 20px 36px -16px rgba(55, 65, 120, .42); }
}
@media (prefers-reduced-motion: reduce) { .me { animation: none; } .me img { transition: none; } }

/* ---------- «обо мне»: выпадающая плашка «Об этом сайте» ---------- */
.duo-text .aboutsite { display: block; padding: 0 18px; border-radius: 20px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 14px 30px -20px rgba(55, 65, 120, .32); transition: background .25s; }
.aboutsite:hover { background: rgba(255, 255, 255, .7); }
.aboutsite summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #55555d; border-radius: 20px; }
.aboutsite summary::-webkit-details-marker { display: none; }
.aboutsite summary::after { content: "›"; font-size: 20px; line-height: 1; letter-spacing: 0; color: #55555d; transition: transform .25s var(--ease, ease); }
.aboutsite[open] summary::after { transform: rotate(90deg); }
.aboutsite summary:focus-visible { outline: 2px solid var(--ink, #313134); outline-offset: 2px; }
.duo-text .aboutsite p { margin: 0 0 8px; font-size: 13px; line-height: 1.55; color: #3d3d44; }
.duo-text .aboutsite p:last-child { margin-bottom: 15px; }
.aboutsite[open] p { animation: rise .45s var(--ease, ease) both; }
.aboutsite[open] p:nth-of-type(2) { animation-delay: .06s; } .aboutsite[open] p:nth-of-type(3) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .aboutsite[open] p { animation: none; } .aboutsite summary::after { transition: none; } }

/* ---------- особый курсор (cursor.js) ---------- */
@media (hover: hover) and (pointer: fine) {
  html.xcur, html.xcur *, html.xcur a, html.xcur button { cursor: none !important; }
  html.xcur input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), html.xcur textarea, html.xcur [contenteditable="true"] { cursor: text !important; }
  html.xcur iframe { cursor: auto !important; }
}
#xcur { position: fixed; inset: 0; z-index: 400; pointer-events: none; contain: layout style; transition: opacity .2s ease; }
#xcur.hide, #xcur.off { opacity: 0; }
#xcur i, #xcur .xc-pt { position: absolute; left: 0; top: 0; display: block; pointer-events: none; will-change: transform; }
#xcur .xc-pt { width: 0; height: 0; }
#xcur .xc-pt svg { position: absolute; left: -8px; top: -8px; fill: #26262b; stroke: rgba(255, 255, 255, .95); stroke-width: 1.6; stroke-linejoin: round; paint-order: stroke fill;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; transform-origin: 50% 50%; filter: drop-shadow(0 1px 2px rgba(20, 20, 30, .28)); }
#xcur .xc-pt[data-shape="dot"] svg { stroke-width: 2; }
#xcur .xc-pt[data-shape="arrow"] svg { left: -2.2px; top: -1.5px; transform-origin: 2.2px 1.5px; }
#xcur .xc-glint { transform: translateX(-6px) skewX(-18deg); opacity: 0; }
#xcur .xc-pt svg.xc-shine .xc-glint { animation: xcglint .75s cubic-bezier(.3, .6, .3, 1); }
@keyframes xcglint { 0% { transform: translateX(-6px) skewX(-18deg); opacity: 1; } 100% { transform: translateX(30px) skewX(-18deg); opacity: 1; } }
#xcur[data-mode] .xc-pt[data-shape="arrow"] svg { transform: none; opacity: 1; }
#xcur[data-mode="glass"] .xc-pt[data-shape="arrow"] svg { transform: scale(1.12); }
#xcur.press .xc-pt[data-shape="arrow"] svg { transform: scale(.86); }
#xcur.press .xc-pt svg { transform: scale(.72) rotate(45deg); }
/* стеклянная обводка по краям (на неподвижных кнопках, ссылках, карточках) */
@property --xa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
#xcur .xc-glass { opacity: 0; width: 0; height: 0; background: transparent; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .95), 0 0 0 2.5px rgba(132, 142, 214, .26), inset 0 0 0 1px rgba(255, 255, 255, .85), inset 0 0 16px 1px rgba(255, 255, 255, .75),
    0 14px 30px -12px rgba(70, 80, 150, .38), 0 0 26px -4px rgba(150, 160, 255, .35);
  transition: opacity .28s ease, scale .3s cubic-bezier(.22, .8, .24, 1), box-shadow .3s ease; }
#xcur .xc-glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--xa), rgba(255, 255, 255, 0) 0deg, #fff 22deg, #a9b6ff 62deg, #ffb3d9 112deg, #9ee8d0 160deg, rgba(255, 255, 255, 0) 215deg, rgba(255, 255, 255, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: xcspin 5s linear infinite; }
#xcur .xc-glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .16)); }
@keyframes xcspin { to { --xa: 360deg; } }
#xcur[data-mode="glass"] .xc-glass { opacity: 1; }
#xcur.press .xc-glass { scale: .972; box-shadow: 0 0 0 1px rgba(255, 255, 255, 1), 0 0 0 3px rgba(132, 142, 214, .4), inset 0 0 0 1px #fff, inset 0 0 22px 2px rgba(255, 255, 255, .9), 0 6px 16px -8px rgba(70, 80, 150, .4), 0 0 34px -2px rgba(150, 160, 255, .5); }
/* пинг по клику */
#xcur .xc-ping { width: 0; height: 0; }
#xcur .xc-ping::after { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #a9b4ff; box-shadow: 0 0 14px rgba(255, 170, 215, .6), inset 0 0 10px rgba(158, 232, 208, .5); opacity: 0; }
#xcur .xc-ping.xc-pg::after { animation: xcping .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes xcping { 0% { transform: scale(.35); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #xcur .xc-ping.xc-pg::after { animation: none; } #xcur .xc-pt svg, #xcur .xc-glass { transition: none; } #xcur .xc-glass::before { animation: none; } }
