/* =========================================================
   МИКРОДИАЛ — стили
   ========================================================= */
:root {
  --bg: #0c0b0a;
  --bg-2: #151311;
  --ink: #ece6dc;
  --ink-mute: rgba(236, 230, 220, .58);
  --line: rgba(236, 230, 220, .14);
  --ivory: #ebe5da;
  --ivory-2: #e2dbcd;
  --dark: #151210;
  --dark-mute: rgba(21, 18, 16, .58);
  --dark-line: rgba(21, 18, 16, .14);
  --gold: #b8945f;
  --gold-2: #d8bd8c;

  --f-serif: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-brand: "Montserrat", "Manrope", sans-serif;

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }
.section--light { background: var(--ivory); color: var(--dark); }

/* ---------- Типографика ---------- */
.h2 {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
}
.h2 em, .hero__title em, .cta__title em, .dir__title em { font-weight: 300; color: #c4b293; }
.section--light .h2 em { color: #857256; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; margin: 0 0 32px;
  color: var(--ink-mute);
}
.section--light .eyebrow { color: var(--dark-mute); }
.eyebrow__line { width: 48px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow--center { justify-content: center; }

/* split-строки */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.is-in .line__in, .line.is-in .line__in { transform: none; }
.split .line:nth-child(2) .line__in { transition-delay: .08s; }
.split .line:nth-child(3) .line__in { transition-delay: .16s; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease); }
.reveal-img img:not([data-speed]) { transform: scale(1.3); transition: transform 2s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img:not([data-speed]) { transform: scale(1.08); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  height: 54px; padding: 0 8px 0 28px;
  border-radius: 100px; overflow: hidden; isolation: isolate;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border: 1px solid currentColor;
  transition: color .6s var(--ease), border-color .6s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(.2);
  transition: transform .8s var(--ease), top .8s var(--ease);
}
.btn:hover::before { top: 50%; transform: translate(-50%, -50%) scale(1); }
.btn__text { position: relative; display: block; overflow: hidden; line-height: 1.4; }
.btn__text::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
}
.btn__text, .btn__text::after { transition: transform .7s var(--ease); }
.btn:hover .btn__text { transform: translateY(-100%); }
.btn__text { transform-style: preserve-3d; }
.btn__icon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .7s var(--ease), background .6s var(--ease);
}
.btn__icon svg, .dir__more svg, .totop svg, .lb__nav svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3;
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
/* светлая */
.btn--light { color: var(--ink); border-color: rgba(236,230,220,.4); }
.btn--light::before { background: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: var(--bg); }
.btn--light:hover { color: var(--bg); border-color: var(--ink); }
.btn--light:hover .btn__icon { background: var(--bg); color: var(--ink); }
/* тёмная */
.btn--dark { color: var(--dark); border-color: rgba(21,18,16,.3); }
.btn--dark::before { background: var(--dark); }
.btn--dark .btn__icon { background: var(--dark); color: var(--ivory); }
.btn--dark:hover { color: var(--ivory); border-color: var(--dark); }
.btn--dark:hover .btn__icon { background: var(--gold); color: var(--dark); }
/* обводка */
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: #000; }
.btn--sm { height: 46px; padding: 0 26px; font-size: 11px; }
.btn--wide { width: 100%; justify-content: space-between; }

.link-roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.5; }
.link-roll span { display: block; transition: transform .6s var(--ease); }
.link-roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; transition: transform .6s var(--ease); }
.link-roll:hover span, .link-roll:hover::after { transform: translateY(-100%); }

/* ---------- Прелоадер (только transform/opacity — без пересчёта раскладки, поэтому плавно) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center;
  transition: transform 1.2s var(--ease); will-change: transform;
}
.loader.is-done { transform: translate3d(0, -100%, 0); }
.loader.is-done .loader__word { transform: translate3d(0, 30vh, 0); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s ease; }
/* «М» стоит по центру (сдвиг --shift считает скрипт), затем слово съезжает в центр, а «ИКРОДИАЛ» выезжает из-под «М» */
.loader__word {
  display: flex; align-items: baseline; white-space: nowrap;
  font-family: var(--f-brand); font-weight: 300; font-size: clamp(26px, 4vw, 54px);
  letter-spacing: .32em; padding-left: .32em; line-height: 1.1; color: var(--ink);
  transform: translate3d(var(--shift, 0px), 0, 0); will-change: transform;
}
.loader__m { display: block; position: relative; z-index: 2; background: var(--bg); opacity: 0; transform: translate3d(0, 14px, 0); }
.loader__rest { display: block; overflow: hidden; }
.loader__rest-in { display: block; transform: translate3d(-101%, 0, 0); will-change: transform; }
.loader.is-armed .loader__word { transition: transform 1.6s var(--ease); }
.loader.is-armed .loader__m { transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.loader.is-armed .loader__rest-in { transition: transform 1.6s var(--ease); }
.loader.s1 .loader__m { opacity: 1; transform: none; }
.loader.s2 .loader__word { transform: translate3d(0, 0, 0); }
.loader.s2 .loader__rest-in { transform: translate3d(0, 0, 0); }
.loader__line { position: absolute; left: 50%; bottom: 12vh; width: 120px; margin-left: -60px; height: 1px; background: var(--line); overflow: hidden; }
.loader__line i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }

/* ---------- Шторка перехода между страницами ---------- */
.curtain { position: fixed; inset: 0; z-index: 1001; background: var(--bg); pointer-events: none; transform: translate3d(0, 100%, 0); will-change: transform; }
.curtain::after { content: "МИКРОДИАЛ"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-brand); font-weight: 300; font-size: 14px; letter-spacing: .4em; padding-left: .4em; color: var(--ink-mute); }
.curtain.is-cover { transform: none; transition: none; pointer-events: auto; }
.curtain.is-out { transform: translate3d(0, -100%, 0); transition: transform 1s var(--ease); }
.curtain.is-in { transform: none; transition: transform .6s var(--ease); pointer-events: auto; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Курсор ---------- */
.cursor { pointer-events: none; } /* не позиционирован, чтобы точка смешивалась (difference) со страницей */
/* точка с инверсией цвета; над ссылками — растёт, над фото — превращается в строгую плашку с подписью */
.cursor__dot, .cursor__pill { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; transition: opacity .3s; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; transform: scale(1); transition: transform .5s var(--ease), opacity .3s; }
.cursor__dot { background: none; }
.cursor.is-hover .cursor__dot::after { transform: scale(5); }
.cursor.is-view .cursor__dot::after, .cursor.is-hide .cursor__dot::after { transform: scale(0); }
.cursor__pill {
  display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 16px; margin: 14px 0 0 14px;
  background: rgba(236, 230, 220, .94); color: var(--dark); border-radius: 2px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; white-space: nowrap;
  clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease);
}
.cursor__pill svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cursor.is-view .cursor__pill { clip-path: inset(0 0 0 0); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; } }

/* зерно + прогресс */
.grain { position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,4%) } 40% { transform: translate(4%,-6%) } 60% { transform: translate(-3%,7%) } 80% { transform: translate(6%,2%) } }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 997; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; z-index: 100; left: 0; right: 0; top: 0;
  height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: #fff; mix-blend-mode: difference;
  transition: transform .8s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.brand__word { font-family: var(--f-brand); font-weight: 300; font-size: 16px; letter-spacing: .34em; transition: letter-spacing .8s var(--ease); }
.brand:hover .brand__word { letter-spacing: .4em; }
.nav { display: flex; gap: 40px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-content: center; gap: 6px; }
.burger i { display: block; width: 18px; height: 1px; background: #fff; transition: transform .6s var(--ease); }
.burger:hover i:first-child { transform: translateX(-3px); } .burger:hover i:last-child { transform: translateX(3px); }
body.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Меню ---------- */
.menu { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; transition: visibility 0s 1.2s; }
body.menu-open .menu { pointer-events: auto; visibility: visible; transition: none; }
.menu__bg { position: absolute; inset: 0; background: var(--bg-2); clip-path: circle(0% at calc(100% - 60px) 44px); transition: clip-path 1.2s var(--ease); }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 60px) 44px); }
.menu__nav { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; max-width: calc(100vw - min(30vw, 440px) - 10vw - var(--gutter) - 40px); }
.menu__nav a { display: flex; align-items: baseline; gap: 24px; font-family: var(--f-serif); font-size: clamp(30px, 3.9vw, 60px); line-height: 1.12; padding: .06em 0; overflow: hidden; }
.menu__nav a span { display: block; transform: translateY(110%); padding-bottom: .06em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: transform 1s var(--ease-out), color .4s, padding .6s var(--ease), background-size .7s var(--ease); }
.menu__nav a em { font-family: var(--f-sans); font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--gold); opacity: 0; transition: opacity .6s; }
body.menu-open .menu__nav a span { transform: none; }
body.menu-open .menu__nav a em { opacity: 1; transition-delay: .6s; }
body.menu-open .menu__nav a:nth-child(1) span { transition-delay: .35s } body.menu-open .menu__nav a:nth-child(2) span { transition-delay: .42s }
body.menu-open .menu__nav a:nth-child(3) span { transition-delay: .49s } body.menu-open .menu__nav a:nth-child(4) span { transition-delay: .56s }
body.menu-open .menu__nav a:nth-child(5) span { transition-delay: .63s }
.menu__nav:hover a span { color: rgba(236,230,220,.3); }
.menu__nav a:hover span { color: var(--ink); padding-left: 20px; background-size: 100% 1px; }
.menu__nav a:hover em { color: var(--ink); }
.menu__preview { position: absolute; right: 10vw; top: 50%; width: min(30vw, 440px); aspect-ratio: 3/4; transform: translateY(-50%); overflow: hidden; opacity: 0; transition: opacity .6s; }
body.menu-open .menu__preview { opacity: 1; transition-delay: .7s; }
.menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transform: scale(1.2); transition: clip-path 1s var(--ease), transform 1.4s var(--ease-out); }
.menu__preview img.is-active { clip-path: inset(0); transform: scale(1); z-index: 2; }
.menu__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; gap: 48px; font-size: 13px; color: var(--ink-mute); opacity: 0; transition: opacity .6s; }
body.menu-open .menu__foot { opacity: 1; transition-delay: .8s; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__slide.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 8s cubic-bezier(.2,.6,.3,1); }
.hero__slide.is-active img { transform: scale(1.05); }
.hero__slide.is-prev img { transform: scale(1.05) translateX(-6%); transition: transform 1.6s var(--ease); }
.hero__shade { position: absolute; inset: 0; z-index: 3; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.78) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(0,0,0,.45), transparent 60%); }
.hero__content { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(120px, 16vh, 180px); }
.hero__eyebrow { color: rgba(255,255,255,.75); opacity: 0; transform: translateY(20px); transition: 1.2s var(--ease-out) .9s; }
.hero__title { font-family: var(--f-serif); font-weight: 300; font-size: clamp(40px, 5.6vw, 100px); line-height: 1; letter-spacing: -.015em; margin: 0 0 40px; color: #fff; }
.hero__title .line__in { transition-duration: 1.6s; }
.hero__title .line:nth-child(1) .line__in { transition-delay: .2s } .hero__title .line:nth-child(2) .line__in { transition-delay: .32s } .hero__title .line:nth-child(3) .line__in { transition-delay: .44s }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; opacity: 0; transform: translateY(30px); transition: 1.2s var(--ease-out) 1s; }
.hero__lead { max-width: 440px; margin: 0; color: rgba(255,255,255,.78); font-size: 15px; }
body.is-ready .hero__eyebrow, body.is-ready .hero__bottom { opacity: 1; transform: none; }
body.is-ready .hero__title .line__in { transform: none; }
.hero__meta { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 40px; display: flex; align-items: center; gap: 32px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .14em; }
.hero__counter { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-size: 18px; letter-spacing: 0; color: #fff; }
.hero__counter i { width: 24px; height: 1px; background: rgba(255,255,255,.4); }
.hero__bars { display: flex; gap: 8px; }
.hero__bar { width: 56px; height: 20px; position: relative; }
.hero__bar::before, .hero__bar i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.25); }
.hero__bar i { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hero__bar.is-done i { transform: scaleX(1); }
.hero__bar.is-active i { animation: bar var(--slide-dur, 6s) linear forwards; }
@keyframes bar { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.hero__caption { margin-left: auto; text-transform: uppercase; transition: opacity .5s; }
.hero__scroll { position: absolute; z-index: 4; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 16px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 80px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%) } 100% { transform: translateY(100%) } }


/* ---------- Манифест ---------- */
.manifesto { padding: clamp(110px, 16vh, 200px) 0; }
.manifesto__text { font-family: var(--f-serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 44px); line-height: 1.22; letter-spacing: -.01em; margin: 0; max-width: 1200px; text-indent: 22%; }
.manifesto__text .w { opacity: .14; transition: opacity .3s; }
.manifesto__text .w.is-lit { opacity: 1; }
.manifesto__row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 160px); margin-top: clamp(80px, 12vh, 160px); align-items: end; }
.manifesto__img { margin: 0; aspect-ratio: 3/4; max-width: 520px; }
.manifesto__img img { width: 100%; height: 115%; object-fit: cover; }
.manifesto__stats { display: grid; gap: 0; }
.stat { display: grid; grid-template-columns: 280px 1fr; align-items: baseline; gap: 24px; padding: 32px 0; border-top: 1px solid var(--dark-line); }
.stat:last-child { border-bottom: 1px solid var(--dark-line); }
.stat__num { font-family: var(--f-serif); font-size: clamp(44px, 4vw, 68px); line-height: 1; font-weight: 300; }
.stat__num b { font-weight: 300; }
.stat__label { color: var(--dark-mute); max-width: 300px; }

/* ---------- Направления ---------- */
.directions { display: flex; height: 100vh; min-height: 640px; background: var(--bg); }
.dir { position: relative; flex: 1; overflow: hidden; transition: flex 1.2s var(--ease); }
.directions:hover .dir { flex: .7; }
.directions .dir:hover { flex: 1.3; }
.dir__img { position: absolute; inset: 0; }
.dir__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: grayscale(.6) brightness(.55); transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease); }
.dir:hover .dir__img img { transform: scale(1.02); filter: grayscale(0) brightness(.75); }
.dir + .dir { border-left: 1px solid var(--line); }
.dir__body { position: absolute; left: clamp(24px, 4vw, 64px); right: clamp(24px, 4vw, 64px); bottom: clamp(32px, 6vh, 72px); color: #fff; }
.dir__num { display: block; font-size: 12px; letter-spacing: .2em; color: var(--gold-2); margin-bottom: 24px; }
.dir__title { font-family: var(--f-serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 58px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -.01em; white-space: nowrap; }
.dir__text { max-width: 380px; color: rgba(255,255,255,.75); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 1s var(--ease), opacity .8s, margin .8s var(--ease); }
.dir:hover .dir__text { max-height: 120px; opacity: 1; margin-bottom: 28px; }
.dir__more { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.4); }
.dir__more svg { transition: transform .6s var(--ease); }
.dir:hover .dir__more svg { transform: translateX(8px); }

/* ---------- Галерея работ (независимая горизонтальная лента) ---------- */
.works { background: var(--bg); position: relative; padding: clamp(110px, 16vh, 200px) 0 clamp(90px, 12vh, 150px); }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 7vh, 80px); }
.works__ctrl { display: flex; align-items: center; gap: 40px; }
.works__progress { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .14em; color: var(--ink-mute); }
.works__progress span:first-child { color: var(--ink); }
.works__progress i { width: 160px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.works__progress b { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s var(--ease-out); }
.works__arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .5s var(--ease), color .5s, border-color .5s, opacity .4s; }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.arrow:disabled { opacity: .3; pointer-events: none; }
.works__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; scroll-padding-left: var(--gutter); overscroll-behavior-x: contain; user-select: none; -webkit-user-select: none; cursor: grab; }
.works__viewport::-webkit-scrollbar { display: none; }
.works__viewport.is-dragging { cursor: grabbing; }
.works__viewport.is-dragging .work { pointer-events: none; }
.works__track { display: flex; align-items: flex-start; gap: clamp(20px, 2.4vw, 40px); width: max-content; padding: 0 var(--gutter); }
.work { margin: 0; flex: 0 0 auto; }
.work__img { overflow: hidden; width: clamp(280px, 26vw, 420px); aspect-ratio: 4/5; position: relative; background: var(--bg-2); }
.work--tall .work__img { aspect-ratio: 3/4.2; }
.work--wide .work__img { width: clamp(420px, 44vw, 720px); aspect-ratio: 16/11; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); -webkit-user-drag: none; }
.work:hover .work__img img { transform: scale(1); }
.work figcaption { display: flex; flex-direction: column; margin-top: 18px; font-family: var(--f-serif); font-size: 22px; line-height: 1.2; position: relative; padding-left: 36px; }
.work figcaption span { position: absolute; left: 0; top: 6px; font-family: var(--f-sans); font-size: 10px; letter-spacing: .2em; color: var(--ink-mute); }
.work figcaption em { font-family: var(--f-sans); font-style: normal; font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.work--end { width: clamp(260px, 22vw, 340px); align-self: center; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.work--end p { font-family: var(--f-serif); font-size: clamp(30px, 2.6vw, 44px); line-height: 1.08; margin: 0; font-weight: 300; }
.work--end em { color: #c4b293; }

/* ---------- Заголовки секций ---------- */
.sec-head { margin-bottom: clamp(56px, 9vh, 110px); }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.sec-head__text { max-width: 420px; justify-self: end; margin: 0; color: var(--dark-mute); font-size: 15px; }

/* ---------- Частные интерьеры ---------- */
.private { padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 12vh, 160px); }
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(64px, 10vh, 140px); }
.pg { margin: 0; position: relative; }
.pg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.pg figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 48px 24px 20px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .8s var(--ease-out); }
.pg:hover figcaption { opacity: 1; transform: none; }
.pg.reveal-img { overflow: hidden; clip-path: none; }
.pg.reveal-img::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--ivory); transform-origin: 50% 0; transition: transform 1.6s var(--ease); pointer-events: none; }
@media (hover: none) { .pg figcaption { opacity: 1; transform: none; } }
.pg.reveal-img.is-in::before { transform: scaleY(0); }
.pg--a { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 4/3; }
.pg--b { grid-column: 9 / 13; grid-row: 1 / 3; aspect-ratio: 3/4.6; margin-top: 18vh; }
.pg--q { grid-column: 2 / 7; grid-row: 2; align-self: center; }
.pg--c { grid-column: 2 / 7; grid-row: 3; aspect-ratio: 4/3.4; }
.pg--d { grid-column: 8 / 12; grid-row: 3; aspect-ratio: 3/3.6; margin-top: 14vh; }
.pg--e { grid-column: 1 / 13; grid-row: 4; aspect-ratio: 21/9; }
.pg--q { margin: 0; padding: 0; border: 0; }
.pg--q p { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2vw, 34px); line-height: 1.25; margin: 0 0 24px; font-weight: 300; }
.pg--q cite { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dark-mute); }

/* ---------- Процесс ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.process__media { position: relative; }
.process__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.process__sticky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease-out); }
.process__sticky img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.process__sticky img.was-active { clip-path: inset(0); z-index: 1; }
.process__idx { position: absolute; z-index: 3; left: 32px; bottom: 32px; font-family: var(--f-serif); font-size: 22px; color: #fff; mix-blend-mode: difference; }
.process__idx span { font-size: 64px; line-height: 1; }
.process__steps { padding: 0 clamp(24px, 6vw, 120px); }
.process__intro { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding-top: 12vh; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .25; transition: opacity .8s; }
.step:last-child { min-height: 100vh; }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: 22px; }
.step h3 { font-family: var(--f-serif); font-weight: 300; font-size: clamp(34px, 3.2vw, 56px); margin: 12px 0 20px; line-height: 1.05; letter-spacing: -.01em; }
.step p { max-width: 460px; color: var(--ink-mute); margin: 0; font-size: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; height: 110vh; min-height: 700px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.cta__bg { position: absolute; inset: -15% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.35), rgba(0,0,0,.8)); }
.cta__inner { position: relative; z-index: 2; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; color: #fff; }
.cta__title { max-width: 100%; text-wrap: balance; font-family: var(--f-serif); font-weight: 300; font-size: clamp(34px, 4.6vw, 80px); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 56px; }
.cta__circle { position: relative; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; }
.cta__circle::before { content: ""; position: absolute; inset: 38px; border-radius: 50%; background: var(--ivory); transform: scale(.85); transition: transform .8s var(--ease), background .6s; }
.cta__circle:hover::before { transform: scale(1.12); background: var(--gold-2); }
.cta__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.cta__ring text { fill: #fff; font-size: 12.5px; letter-spacing: 0; font-family: var(--f-sans); font-weight: 500; }
.cta__arrow { position: relative; width: 30px; height: 30px; fill: none; stroke: var(--dark); stroke-width: 1.3; transition: transform .8s var(--ease); }
.cta__circle:hover .cta__arrow { transform: rotate(45deg); }

/* ---------- Контакты ---------- */
.contact { padding: clamp(120px, 18vh, 220px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 160px); }
.contact__list { margin: 64px 0 56px; border-top: 1px solid var(--dark-line); }
.contact__item { display: grid; grid-template-columns: 160px 1fr; padding: 22px 0; border-bottom: 1px solid var(--dark-line); align-items: baseline; position: relative; }
.contact__item span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dark-mute); }
.contact__item b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(20px, 1.6vw, 28px); transition: transform .7s var(--ease), color .4s; }
.contact__item b { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: transform .7s var(--ease), color .4s, background-size .7s var(--ease); }
a.contact__item:hover b { transform: translateX(12px); color: #6f5d45; background-size: 100% 1px; }
.form { position: relative; align-self: start; background: var(--ivory-2); padding: clamp(32px, 4vw, 64px); }
.form__types { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.form__label { width: 100%; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dark-mute); margin-bottom: 8px; }
.form__types label { position: relative; }
.form__types input { position: absolute; opacity: 0; }
.form__types label span { display: inline-block; padding: 10px 20px; border-radius: 100px; border: 1px solid var(--dark-line); font-size: 13px; transition: background .5s var(--ease), color .5s, border-color .5s; }
.form__types label:hover span { border-color: var(--dark); }
.form__types input:checked + span { background: var(--dark); color: var(--ivory); border-color: var(--dark); }
.form__types input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.field { position: relative; margin-bottom: 28px; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--dark-line); padding: 26px 0 12px; font: inherit; font-size: 18px; color: var(--dark); outline: none; resize: none; border-radius: 0; }
.field label { position: absolute; left: 0; top: 26px; color: var(--dark-mute); pointer-events: none; transition: transform .5s var(--ease), font-size .5s var(--ease), color .4s; transform-origin: 0 0; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.72); color: #8a6a3e; letter-spacing: .1em; text-transform: uppercase; }
.field i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--dark); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.field input:focus ~ i, .field textarea:focus ~ i { transform: scaleX(1); }
.field.is-error i { background: #a2412c; transform: scaleX(1); }
.form .btn { margin-top: 16px; }
.form__note { font-size: 12px; color: var(--dark-mute); margin: 20px 0 0; }
.form__done { position: absolute; inset: 0; background: var(--dark); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; clip-path: circle(0% at 50% 100%); transition: clip-path 1.2s var(--ease); }
.form.is-sent .form__done { clip-path: circle(150% at 50% 100%); }
.form__done-mark { width: 80px; height: 80px; color: var(--gold-2); }
.form__done-mark { font-family: var(--f-brand); font-weight: 300; font-size: 14px; letter-spacing: .34em; color: var(--ink-mute); transform: translateY(12px); opacity: 0; transition: transform 1.2s var(--ease-out) .6s, opacity 1s .6s; }
.form.is-sent .form__done-mark { transform: none; opacity: 1; }
.form__done p { font-family: var(--f-serif); font-size: 44px; line-height: 1.05; margin: 0; }
.form__done em { color: #c4b293; }

/* ---------- Подвал ---------- */
.footer { background: var(--bg); padding: clamp(80px, 12vh, 140px) 0 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; padding-bottom: 64px; }
.footer__slogan { font-family: var(--f-serif); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.3; margin: 0; font-weight: 300; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__cols span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.footer__cols a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.footer__cols a:hover { background-size: 100% 1px; }
.footer__cols b { font-family: var(--f-serif); font-size: 44px; font-weight: 300; line-height: 1; }
.footer__cols em { color: var(--ink-mute); font-size: 12px; font-style: normal; }
.footer__word { display: flex; justify-content: space-between; overflow: hidden; font-family: var(--f-brand); font-weight: 200; font-size: 12.6vw; line-height: .9; letter-spacing: -.02em; margin: 0 calc(var(--gutter) * -0.3); padding-top: 2vw; border-top: 1px solid var(--line); }
.footer__word span { display: block; transform: translateY(105%); transition: transform 1.4s var(--ease-out), color .5s; }
.footer__word.is-in span { transform: none; }
.footer__word span:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; color: var(--ink-mute); letter-spacing: .1em; }
/* «Наверх» в подвале — заметная кнопка-пилюля */
.totop { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 22px; border: 1px solid rgba(236,230,220,.35); border-radius: 100px; color: var(--ink); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; transition: background .5s var(--ease), color .5s, border-color .5s; }
.totop svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--ink); color: var(--bg); stroke-width: 1.6; transition: transform .6s var(--ease); }
.totop:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.totop:hover svg { transform: translateY(-3px); background: var(--bg); color: var(--ink); }

/* ---------- Лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(8,7,6,.97); visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.lb__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 96px 128px 104px; }
.lb__img { display: block; width: auto; height: auto; max-width: calc(100vw - 256px); max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; transform: none; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease), opacity .6s; }
.lb__img.is-out { clip-path: inset(0 0 0 100%); opacity: 0; transition-duration: .4s; }
.lb__ui { position: absolute; z-index: 2; left: 40px; right: 40px; top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--ink-mute); }
.lb__count { font-size: 12px; letter-spacing: .14em; }
.lb__count b { color: var(--ink); font-weight: 500; }
.lb__cap { position: fixed; z-index: 2; left: 0; right: 0; bottom: 40px; margin: 0; text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.lb__close { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .8s var(--ease), border-color .4s; }
.lb__close:hover { transform: rotate(90deg); border-color: var(--ink); }
.lb__close i { position: absolute; left: 16px; right: 16px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.lb__close i + i { transform: rotate(-45deg); }
.lb__nav { position: absolute; z-index: 2; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .5s, color .5s; }
.lb__nav:hover { background: var(--ink); color: var(--bg); }
.lb__nav--prev { left: 36px; } .lb__nav--next { right: 36px; }


/* ---------- Плавающая кнопка «Наверх» с кольцом прогресса ---------- */
.totop-fab {
  position: fixed; right: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 2.4vw, 36px); z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(16, 14, 12, .82); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(236,230,220,.22), 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; transform: translate3d(0, 20px, 0) scale(.8); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), background .4s, color .4s;
}
.totop-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open .totop-fab, body.lb-open .totop-fab { opacity: 0; pointer-events: none; }
.totop-fab:hover { background: var(--ink); color: var(--bg); }
.totop-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 1.5; }
.totop-fab__ring circle:first-child { stroke: rgba(236,230,220,.15); }
.totop-fab__ring circle:last-child { stroke: var(--gold-2); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.totop-fab__arrow { position: relative; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.totop-fab:hover .totop-fab__arrow { transform: translateY(-3px); }

/* ссылка из манифеста на проекты */
.manifesto__link { display: inline-flex; align-items: center; gap: 14px; margin-top: 56px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding-bottom: 8px; border-bottom: 1px solid var(--dark-line); transition: border-color .5s, gap .6s var(--ease); }
.manifesto__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.manifesto__link:hover { border-color: var(--dark); gap: 22px; }

/* ================= Страница «Проекты» ================= */
.p-hero { position: relative; background: var(--bg); padding: calc(var(--header-h) + clamp(60px, 12vh, 140px)) 0 clamp(60px, 10vh, 120px); overflow: hidden; }
.p-hero::before { content: ""; position: absolute; right: -10vw; top: -20vh; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(196,178,147,.10), transparent 62%); pointer-events: none; }
.p-back { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: clamp(40px, 8vh, 80px); transition: color .4s, gap .6s var(--ease); }
.p-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.p-back:hover { color: var(--ink); gap: 18px; }
.p-hero__eyebrow { opacity: 0; transform: translateY(20px); transition: 1.2s var(--ease-out) .3s; }
.p-hero__title { font-family: var(--f-serif); font-weight: 300; font-size: clamp(64px, 13vw, 240px); line-height: .9; letter-spacing: -.03em; margin: 0 0 clamp(40px, 7vh, 72px); }
.p-hero__title .line__in { transition-duration: 1.6s; transition-delay: .15s; }
body.is-ready .p-hero__title .line__in { transform: none; }
body.is-ready .p-hero__eyebrow, body.is-ready .p-hero__bottom { opacity: 1; transform: none; }
.p-hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; border-top: 1px solid var(--line); padding-top: 32px; opacity: 0; transform: translateY(30px); transition: 1.2s var(--ease-out) .5s; }
.p-hero__lead { max-width: 460px; margin: 0; color: var(--ink-mute); font-size: 15px; }
.p-hero__links { display: flex; gap: 12px; flex-wrap: wrap; }
.p-hero__chip { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 18px 0 20px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: background .5s var(--ease), color .5s, border-color .5s; }
.p-hero__chip span { color: var(--gold-2); font-size: 10px; }
.p-hero__chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.p-hero__chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.p-hero__chip:hover span { color: #857256; }
.p-hero__chip:hover svg { transform: translateY(3px); }

/* фото раскрывается из окна в полный экран по мере прокрутки */
.p-expand { position: relative; height: 230vh; background: var(--bg); }
.p-expand__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.p-expand__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(18% 26% 18% 26%); will-change: clip-path; }
.p-expand__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); will-change: transform; }
.p-expand__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.p-expand__text { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; color: #fff; padding: 0 var(--gutter); opacity: 0; }
.p-expand__text .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.p-expand__quote { font-family: var(--f-serif); font-weight: 300; font-size: clamp(30px, 4vw, 68px); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.p-expand__quote em { color: #c4b293; }

/* переключатель глав — плавающая «таблетка» снизу со скользящим индикатором */
.chapters {
  position: fixed; left: 50%; bottom: clamp(16px, 2.4vw, 36px); z-index: 94;
  display: flex; padding: 5px; border-radius: 100px;
  background: rgba(236, 230, 220, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 0 0 1px rgba(21,18,16,.08);
  transform: translate3d(-50%, calc(100% + 80px), 0); transition: transform .8s var(--ease), background .5s;
}
.chapters.is-shown { transform: translate3d(-50%, 0, 0); }
body.menu-open .chapters, body.lb-open .chapters { transform: translate3d(-50%, calc(100% + 80px), 0); }
.chapters__ind { position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 100px; background: var(--dark); transition: transform .7s var(--ease), width .7s var(--ease), background .5s; }
.chapters__link { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 100px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--dark); transition: color .5s; white-space: nowrap; }
.chapters__link span { font-size: 10px; opacity: .55; }
.chapters__link.is-active { color: var(--ivory); }
.chapters.is-dark { background: rgba(26, 23, 20, .82); box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 0 1px rgba(236,230,220,.14); }
.chapters.is-dark .chapters__ind { background: var(--ink); }
.chapters.is-dark .chapters__link { color: var(--ink); }
.chapters.is-dark .chapters__link.is-active { color: var(--dark); }

/* метка главы: 01 —— Частные интерьеры */
.chapter-mark { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dark-mute); }
.chapter-mark span:first-child { font-family: var(--f-serif); font-size: 28px; letter-spacing: 0; color: var(--dark); }
.chapter-mark i { width: 80px; height: 1px; background: currentColor; }
.chapter-mark--dark { color: var(--ink-mute); }
.chapter-mark--dark span:first-child { color: var(--ink); }
.page-projects .private { padding-top: clamp(110px, 16vh, 180px); }
.p-stats { margin: 0 0 clamp(90px, 14vh, 160px); }
.page-projects .works { padding-top: clamp(110px, 16vh, 180px); }

/* индекс работ */
.p-index-wrap { margin-top: clamp(90px, 14vh, 160px); }
.p-index__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 24px; }
.p-index__head .eyebrow { margin: 0; }
.p-index__hint { margin: 0; font-size: 13px; color: var(--ink-mute); }
.p-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p-index__row { position: relative; display: grid; grid-template-columns: 70px 1fr minmax(200px, 340px) 48px; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: opacity .5s, padding .6s var(--ease); }
.p-index__row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.p-index:hover .p-index__row { opacity: .35; }
.p-index .p-index__row:hover { opacity: 1; padding-left: 16px; }
.p-index__row:hover::before { transform: scaleX(1); }
.p-index__thumb { display: none; }
.p-index__n { font-size: 11px; letter-spacing: .2em; color: var(--ink-mute); }
.p-index__t { font-family: var(--f-serif); font-weight: 300; font-size: clamp(26px, 2.8vw, 46px); line-height: 1.05; }
.p-index__m { font-size: 13px; color: var(--ink-mute); }
.p-index__a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .5s, color .5s, transform .7s var(--ease); }
.p-index__a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.p-index__row:hover .p-index__a { background: var(--ink); color: var(--bg); transform: rotate(45deg); }
.p-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 320px; height: 400px; margin: -200px 0 0 -160px; pointer-events: none; clip-path: inset(50% 50% 50% 50%); transition: clip-path .8s var(--ease); }
.p-preview.is-on { clip-path: inset(0 0 0 0); }
.p-preview__in { position: absolute; inset: 0; overflow: hidden; background: var(--bg-2); }
.p-preview__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .5s, transform 1.1s var(--ease-out); }
.p-preview__in img.is-active { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .p-hero__bottom { flex-direction: column; align-items: flex-start; }
  .p-expand { height: 180vh; }
  .chapters__link { padding: 0 14px; font-size: 10px; letter-spacing: .08em; }
  .chapters__link span { display: none; }
  .p-index__head { flex-direction: column; gap: 8px; }
  .p-index__hint { display: none; }
  .p-index__row { grid-template-columns: 72px 1fr 36px; gap: 16px; padding: 16px 0; }
  .p-index__thumb { display: block; width: 72px; height: 72px; object-fit: cover; grid-row: 1 / 3; }
  .p-index__n { display: none; }
  .p-index__t { font-size: 22px; }
  .p-index__m { grid-column: 2; font-size: 12px; }
  .p-index__a { grid-column: 3; grid-row: 1 / 3; width: 36px; height: 36px; }
  .p-index:hover .p-index__row { opacity: 1; }
  .p-index .p-index__row:hover { padding-left: 0; }
  .p-preview { display: none; }
  .totop-fab { width: 50px; height: 50px; }
  .page-projects .totop-fab { bottom: 84px; }
}
@media (max-width: 600px) {
  .p-hero__title { font-size: 21vw; }
  .p-hero__chip { height: 44px; font-size: 11px; }
  .chapter-mark i { width: 40px; }
  .footer__bottom { gap: 16px; }
}

/* ================= Страница «География работ» ================= */
.geo-hero__title { font-size: clamp(46px, 6.6vw, 118px); line-height: 1; }
.geo-hero__title em { color: #c4b293; }
.geo-hero__title .line:nth-child(2) .line__in { transition-delay: .3s; }
.geo-hero__bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: end; }
.geo-hero__text { margin: 0; max-width: 520px; color: var(--ink-mute); font-size: 15px; line-height: 1.7; }
.geo-hero__chip { white-space: nowrap; }
.page-geo .gmap { margin-top: 0; }
.link-roll.is-current span { color: #c4b293; }
@media (max-width: 1100px) { .geo-hero__bottom { grid-template-columns: 1fr 1fr; } .geo-hero__chip { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 900px) { .geo-hero__bottom { grid-template-columns: 1fr; gap: 18px; } }


/* ================= Подвал: адрес ================= */
.footer__addr { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--ink); max-width: 220px; }

/* ================= Лайтбокс: увеличение ================= */
.lb { touch-action: none; }
.lb__img { transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }
.lb.is-zoomed .lb__img { cursor: grab; }
.lb.is-zoomed .lb__img:active { cursor: grabbing; }
.lb.is-zoomed .lb__nav, .lb.is-zoomed .lb__cap { opacity: 0; pointer-events: none; }
.lb__nav, .lb__cap { transition: opacity .4s, background .5s, color .5s; }
.lb__zoom { position: absolute; z-index: 3; left: 50%; bottom: 76px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 100px; background: rgba(21,19,17,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.lb__zoom button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s; }
.lb__zoom button:hover { background: var(--ink); color: var(--bg); }
.lb__zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.lb__zoom-val { min-width: 52px; text-align: center; font-size: 11px; letter-spacing: .1em; color: var(--ink-mute); }
.lb__hint { position: absolute; z-index: 3; left: 50%; bottom: 128px; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 100px; background: rgba(21,19,17,.7); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-mute); white-space: nowrap; pointer-events: none; transition: opacity .6s; }
.lb__hint.is-gone { opacity: 0; }
.lb.is-hires .lb__zoom-val::after { content: " · HD"; color: var(--gold-2); }

/* ================= Плеер фильма ================= */
.vmodal { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; }
.vmodal.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.vmodal__bg { position: absolute; inset: 0; background: rgba(8,7,6,.94); }
.vmodal__box { position: relative; width: min(92vw, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; transform: scale(.94); transition: transform .9s var(--ease-out); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.vmodal.is-open .vmodal__box { transform: none; }
.vmodal__video { width: 100%; height: 100%; display: block; background: #000; }
.vmodal__close { position: absolute; right: 28px; top: 24px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); transition: transform .8s var(--ease), border-color .4s; }
.vmodal__close:hover { transform: rotate(90deg); border-color: var(--ink); }
.vmodal__close i { position: absolute; left: 16px; right: 16px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.vmodal__close i + i { transform: rotate(-45deg); }

/* кнопка «смотреть фильм» */
.play-btn { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.play-btn__ico { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); transition: transform .7s var(--ease-out), background .4s; }
.play-btn__ico::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(236,230,220,.4); animation: play-ping 2.4s var(--ease-out) infinite; }
.play-btn__ico svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.play-btn:hover .play-btn__ico { transform: scale(1.08); background: var(--gold-2); }
@keyframes play-ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }

/* ================= Страница «Мастерская» ================= */
.ws-hero .p-hero__title { font-size: clamp(64px, 11vw, 200px); }
.ws-hero__facts { display: flex; gap: 48px; }
.ws-hero__facts div { display: flex; flex-direction: column; gap: 6px; }
.ws-hero__facts b { font-family: var(--f-serif); font-weight: 300; font-size: clamp(40px, 3.6vw, 60px); line-height: 1; }
.ws-hero__facts span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); max-width: 140px; line-height: 1.4; }

.ws-film { background: var(--bg); padding: 0 0 clamp(90px, 14vh, 160px); }
.ws-film__frame { position: relative; display: block; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: #000; cursor: pointer; }
.ws-film__frame video, .ws-film__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-out), filter 1s; filter: brightness(.72) saturate(.85); }
.ws-film__frame:hover video { transform: scale(1); filter: brightness(.6) saturate(.85); }
.ws-film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,11,10,.85), rgba(12,11,10,0) 55%); pointer-events: none; }
.ws-film__ui { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ws-film__title { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(32px, 3.6vw, 64px); line-height: 1.02; color: #fff; }
.ws-film__title em { color: #c4b293; }
.ws-film__meta { display: block; margin-top: 12px; font-family: var(--f-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.ws-hist { position: relative; padding: clamp(110px, 16vh, 200px) 0; }
.ws-hist__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 140px); }
.ws-hist__year { position: sticky; top: 18vh; align-self: start; }
.ws-hist__year b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(110px, 14vw, 250px); line-height: .82; letter-spacing: -.03em; color: var(--dark); }
.ws-hist__year span { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dark-mute); }
.ws-hist__year em { font-style: normal; color: #857256; }
.ws-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 6vh 0; border-top: 1px solid var(--dark-line); opacity: .32; transition: opacity .8s; }
.ws-step.is-active { opacity: 1; }
.ws-step__label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #857256; margin-bottom: 18px; }
.ws-step p { margin: 0 0 28px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(22px, 2vw, 32px); line-height: 1.32; max-width: 680px; }
.ws-step figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; max-width: 680px; cursor: pointer; }
.ws-step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.ws-step figure:hover img { transform: scale(1.04); }

.ws-prod { background: var(--bg); padding: clamp(110px, 16vh, 200px) 0; }
.ws-prod__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.ws-card { margin: 0; cursor: pointer; }
.ws-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.ws-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.85); }
.ws-card:hover .ws-card__img img { transform: scale(1); filter: saturate(1); }
.ws-card__n { position: absolute; left: 16px; top: 14px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.ws-card figcaption { padding-top: 18px; }
.ws-card h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; }
.ws-card p { margin: 0; font-size: 14px; color: var(--ink-mute); line-height: 1.6; max-width: 380px; }
.ws-prod__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(56px, 8vh, 90px); padding-top: 32px; border-top: 1px solid var(--line); }
.ws-prod__foot p { margin: 0; font-family: var(--f-serif); font-size: clamp(22px, 2vw, 32px); font-weight: 300; }

/* ================= Страница «Процесс» ================= */
.pv { position: relative; height: 640vh; background: #000; }
.pv__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.pv__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,7,6,.82) 0%, rgba(8,7,6,.2) 48%, rgba(8,7,6,0) 70%), linear-gradient(0deg, rgba(8,7,6,.8) 0%, rgba(8,7,6,0) 32%); }
.pv__intro { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; transition: opacity .8s, transform 1s var(--ease-out); pointer-events: none; }
.pv__intro p { margin: 0 0 18px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 60px); line-height: 1.05; }
.pv__intro em { color: #c4b293; }
.pv__intro span { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pv__intro span i { width: 1px; height: 46px; background: linear-gradient(transparent, #fff); animation: gm-hint 2s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes gm-hint { 0% { transform: scaleY(0); opacity: 1 } 60% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }
.pv.is-started .pv__intro { opacity: 0; transform: translate(-50%, -60%); }
.pv__chs { position: absolute; z-index: 2; left: var(--gutter); bottom: 150px; width: min(560px, 80vw); }
.pv__ch { position: absolute; left: 0; bottom: 0; color: #fff; opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .9s var(--ease-out); pointer-events: none; }
.pv.is-started .pv__ch.is-active { opacity: 1; transform: none; }
.pv__ch-n { display: block; margin-bottom: 12px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: #c4b293; }
.pv__ch h2 { margin: 0 0 16px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(42px, 5vw, 88px); line-height: .98; letter-spacing: -.015em; }
.pv__ch p { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.82); }
.pv__rail { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 44px; }
.pv__bar { height: 1px; background: rgba(255,255,255,.2); margin-bottom: 14px; overflow: hidden; }
.pv__bar i { display: block; height: 100%; background: #d8bd8c; transform-origin: 0 50%; transform: scaleX(0); }
.pv__ticks { display: flex; justify-content: space-between; gap: 8px; }
.pv__tick { display: flex !important; align-items: center; gap: 10px; padding: 6px 0 !important; color: rgba(255,255,255,.45) !important; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; transition: color .4s; white-space: nowrap; }
.pv__tick b { font-weight: 500; font-family: var(--f-serif); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; }
.pv__tick.is-done { color: rgba(255,255,255,.7) !important; }
.pv__tick.is-active { color: #fff !important; }
.pv__tick.is-active b { color: #d8bd8c; }
.pv__tick:hover { color: #fff !important; }
.pv__film { position: absolute; z-index: 3; right: var(--gutter); top: 110px; }
.pv__film .play-btn__ico { width: 52px; height: 52px; }
.pv__film .play-btn { color: #fff; }

.ps { padding: clamp(110px, 16vh, 200px) 0; }
.ps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--dark-line); }
.ps__item { position: relative; padding: 36px 32px 8px 0; }
.ps__item::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--dark); }
.ps__item span { display: block; margin-bottom: 18px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: #857256; }
.ps__item h3 { margin: 0 0 14px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; }
.ps__item p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--dark-mute); max-width: 300px; }

/* ================= «Проекты»: тексты и материалы ================= */
.p-texts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); margin: 0 0 clamp(64px, 10vh, 110px); }
.p-texts p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--dark-mute); }
.p-texts p:first-child { font-family: var(--f-serif); font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.32; color: var(--dark); }
.works .p-texts { padding: 0 var(--gutter); max-width: 1680px; margin-left: auto; margin-right: auto; }
.works .p-texts p { color: var(--ink-mute); }
.works .p-texts p:first-child { color: var(--ink); }
.pmat { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); margin: 0 0 clamp(80px, 12vh, 140px); }
.pmat__item { padding: 32px 32px 0 0; }
.pmat__item + .pmat__item { padding-left: 32px; border-left: 1px solid var(--dark-line); }
.pmat__item span { display: block; margin-bottom: 14px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #857256; }
.pmat__item h3 { margin: 0 0 14px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; }
.pmat__item h3 em { color: #857256; }
.pmat__item p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--dark-mute); }
.p-motto { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: clamp(80px, 12vh, 140px); padding-top: 36px; border-top: 1px solid var(--dark-line); }
.p-motto p { margin: 0; max-width: 720px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.25; }
.p-motto em { color: #857256; }

@media (max-width: 900px) {
  .ws-hero__facts { gap: 28px; }
  .ws-film__frame { aspect-ratio: 4 / 5; }
  .ws-film__ui { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ws-hist__grid { grid-template-columns: 1fr; gap: 24px; }
  .ws-hist__year { position: sticky; top: 64px; z-index: 2; padding: 12px 0; background: linear-gradient(var(--ivory) 75%, rgba(235,229,218,0)); }
  .ws-hist__year b { font-size: 84px; }
  .ws-hist__year span { margin-top: 8px; }
  .ws-step { min-height: auto; padding: 40px 0; opacity: 1; }
  .ws-prod__grid { grid-template-columns: 1fr; gap: 36px; }
  .ws-prod__foot { flex-direction: column; align-items: flex-start; }
  .pv { height: 560vh; }
  .pv__shade { background: linear-gradient(0deg, rgba(8,7,6,.9) 0%, rgba(8,7,6,.35) 45%, rgba(8,7,6,.15) 100%); }
  .pv__chs { bottom: 120px; right: var(--gutter); width: auto; }
  .pv__ch h2 { font-size: 40px; }
  .pv__ch p { font-size: 14px; }
  .pv__ticks { justify-content: space-between; }
  .pv__tick span { display: none; }
  .pv__tick.is-active span { display: inline; }
  .pv__rail { bottom: 28px; }
  .pv__film { top: 80px; }
  .pv__film .play-btn span:last-child { display: none; }
  .ps__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .p-texts, .pmat { grid-template-columns: 1fr; }
  .pmat__item + .pmat__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); margin-top: 28px; }
  .p-motto { flex-direction: column; align-items: flex-start; }
  .lb__zoom { bottom: 88px; }
  .lb__hint { bottom: 140px; white-space: normal; text-align: center; width: max-content; max-width: 86vw; }
  .vmodal__box { width: 100vw; }
  .vmodal__close { right: 16px; top: 16px; }
}
@media (max-width: 600px) { .ps__grid { grid-template-columns: 1fr; } .ws-hero__facts { flex-wrap: wrap; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .stat { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__right .btn { display: none; }
  .brand__word { font-size: 14px; letter-spacing: .24em; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__caption, .hero__scroll { display: none; }
  .hero__content { bottom: 110px; }
  .hero__bar { width: 36px; }
  .manifesto__text { text-indent: 0; }
  .manifesto__row { grid-template-columns: 1fr; }
  .directions { flex-direction: column; height: auto; }
  .dir { flex: none !important; height: 80vh; }
  .dir + .dir { border-left: 0; border-top: 1px solid var(--line); }
  .dir__text { max-height: none; opacity: 1; margin-bottom: 24px; }
  .dir__img img { filter: brightness(.6); }
  .works__head { flex-direction: column; align-items: flex-start; }
  .works__ctrl { width: 100%; justify-content: space-between; }
  .works__progress i { width: 90px; }
  .works__viewport { scroll-snap-type: x mandatory; cursor: auto; }
  .work { scroll-snap-align: start; }
  .work__img, .work--tall .work__img { width: 76vw; }
  .work--wide .work__img { width: 86vw; }
  .work--end { width: 70vw; }
  .sec-head--split { grid-template-columns: 1fr; gap: 32px; }
  .sec-head__text { justify-self: start; }
  .pgrid { grid-template-columns: 1fr; row-gap: 72px; }
  .pg--a, .pg--b, .pg--q, .pg--c, .pg--d, .pg--e { grid-column: 1; grid-row: auto; margin-top: 0; }
  .pg--b { aspect-ratio: 3/4; }
  .pg--e { aspect-ratio: 4/3; }
  .process { grid-template-columns: 1fr; }
  .process { display: flex; flex-direction: column; }
  .process__media { position: sticky; top: 0; height: 42vh; z-index: 3; order: 2; }
  .process__sticky { position: relative; height: 42vh; }
  .process__steps { display: contents; }
  .process__intro { order: 1; min-height: auto; padding: 100px var(--gutter) 48px; }
  .step { order: 3; min-height: 50vh; padding: 0 var(--gutter); position: relative; z-index: 1; }
  .step:last-child { min-height: 60vh; }
  .eyebrow { font-size: 10px; letter-spacing: .2em; }
  .hero__eyebrow .eyebrow__line { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .menu__preview { display: none; }
  .menu__nav { right: var(--gutter); max-width: none; }
  .menu__foot { flex-direction: column; gap: 8px; }
  .lb__stage { padding: 80px 0 120px; }
  .lb__img { max-width: 100vw; max-height: calc(100vh - 200px); }
  .lb__nav { top: auto; bottom: 24px; margin: 0; width: 52px; height: 52px; }
  .lb__nav--prev { left: 16px; } .lb__nav--next { right: 16px; }
  .lb__ui { left: 16px; right: 16px; }
  .lb__cap { bottom: 40px; padding: 0 80px; font-size: 10px; }
}
/* ---------- Телефоны ---------- */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .grain { display: none; } /* экономим батарею и FPS */
  .progress { height: 1.5px; }
  .brand__word { font-size: 13px; letter-spacing: .26em; }
  .burger { width: 42px; height: 42px; }

  .hero { min-height: 560px; }
  .hero__content { bottom: 96px; }
  .hero__title { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.04; margin-bottom: 24px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__lead { font-size: 14px; line-height: 1.55; }
  .hero__bottom { gap: 24px; }
  .hero__meta { bottom: 28px; gap: 20px; }
  .hero__counter { font-size: 15px; }
  .hero__bar { width: 28px; }

  .btn { height: 50px; padding-left: 22px; gap: 14px; letter-spacing: .16em; }
  .btn__icon { width: 34px; height: 34px; }

  .manifesto, .works, .private, .contact { padding-top: 88px; padding-bottom: 88px; }
  .manifesto__text { font-size: 22px; line-height: 1.32; }
  .manifesto__row { margin-top: 56px; gap: 40px; }
  .manifesto__img { max-width: none; }
  .stat { padding: 22px 0; }
  .stat__num { font-size: 42px; }
  .stat__label { font-size: 14px; }

  .dir { height: 72vh; height: 72svh; min-height: 460px; }
  .dir__title { font-size: 34px; white-space: normal; }
  .dir__text { font-size: 14px; }

  .h2 { font-size: 32px; }
  .works__head { margin-bottom: 36px; gap: 28px; }
  .arrow { width: 46px; height: 46px; }
  .work figcaption { font-size: 19px; padding-left: 30px; margin-top: 14px; }
  .work--end p { font-size: 28px; }

  .sec-head { margin-bottom: 48px; }
  .pgrid { row-gap: 40px; }
  .pg--q p { font-size: 22px; }
  .pg figcaption { padding: 40px 16px 14px; font-size: 10px; }

  .process__media, .process__sticky { height: 40vh; height: 40svh; }
  .process__intro { padding: 88px var(--gutter) 40px; }
  .process__idx { left: 16px; bottom: 16px; font-size: 16px; }
  .process__idx span { font-size: 40px; }
  .step { min-height: 46vh; min-height: 46svh; }
  .step h3 { font-size: 32px; }
  .step p { font-size: 15px; }

  .cta { height: 86vh; height: 86svh; min-height: 540px; }
  .cta__title { font-size: 32px; margin-bottom: 40px; }
  .cta__circle { width: 150px; height: 150px; }
  .cta__circle::before { inset: 30px; }

  .contact__list { margin: 40px 0 36px; }
  .contact__item { padding: 16px 0; }
  .contact__item b { font-size: 21px; }
  .form { padding: 28px 20px; margin: 0 calc(var(--gutter) * -1); }
  .form__types span { padding: 9px 16px; font-size: 12px; }
  .field input, .field textarea { font-size: 16px; }
  .form__done p { font-size: 34px; }

  .footer__top { gap: 40px; padding-bottom: 40px; }
  .footer__cols { gap: 28px 20px; }
  .footer__cols b { font-size: 34px; }
  .footer__word { font-size: 12.4vw; margin: 0; }
  .footer__bottom { font-size: 11px; }

  .menu__nav a { font-size: 34px; gap: 16px; }
  .menu__foot { bottom: 28px; font-size: 14px; }
  .lb__close { width: 44px; height: 44px; }
  .lb__close i { left: 13px; right: 13px; }
}
/* касания: без подсветки тапа и без «залипания» hover-состояний */
* { -webkit-tap-highlight-color: transparent; }
body.menu-open { overflow: hidden; }
@media (hover: none) {
  .work:hover .work__img img { transform: scale(1.06); }
  .btn:hover::before { top: 100%; transform: translate(-50%, 0) scale(.2); }
  .btn:hover .btn__text { transform: none; }
  .btn:hover .btn__icon { transform: none; }
  .btn--light:hover { color: var(--ink); } .btn--dark:hover { color: var(--dark); } .btn--ghost:hover { color: #fff; }
  .btn--light:hover .btn__icon { background: var(--ink); color: var(--bg); }
  .btn--dark:hover .btn__icon { background: var(--dark); color: var(--ivory); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.manifesto__links { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.manifesto__link--dark { color: var(--ink); border-color: var(--line); margin-top: 28px; }
.manifesto__link--dark:hover { border-color: var(--ink); }


/* лайтбокс: место под панелью масштаба, подсказка — сверху */
.lb__stage { padding-bottom: 150px; }
.lb__img { max-height: calc(100vh - 250px); max-height: calc(100dvh - 250px); }
.lb__zoom { bottom: 64px; }
.lb__hint { bottom: auto; top: 34px; }
.lb__cap { bottom: 26px; }
@media (max-width: 900px) { .lb__stage { padding-bottom: 170px; } .lb__img { max-height: calc(100vh - 260px); } .lb__zoom { bottom: 92px; } .lb__hint { top: 84px; } }


@media (max-width: 900px) { .ws-hist__year { position: static; background: none; padding: 0 0 8px; } }


/* превью фильма: без фильтров и масштабирования на самом видео — плавнее воспроизведение */
.ws-film__frame video { filter: none; transform: none; transition: none; }
.ws-film__frame:hover video { filter: none; transform: none; }
.ws-film__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12,11,10,.28); transition: background .8s; pointer-events: none; }
.ws-film__frame:hover::before { background: rgba(12,11,10,.4); }
.ws-film__frame::after { z-index: 1; }


/* ползунок ленты работ — прямо над фото */
.works .p-texts { margin-bottom: 40px; }
.works__bar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
@media (max-width: 900px) { .works__bar .works__ctrl { width: 100%; } .works .p-texts { margin-bottom: 28px; } }


/* ---------- Курсор-стрелка (вместо точки) ---------- */
/* стрелка белая + инверсия цвета: на светлом фоне — чёрная, на тёмном — белая; острие = точка клика */
.cursor__dot { width: 24px; height: 24px; margin: -2px 0 0 -2px; border-radius: 0; background: none; mix-blend-mode: difference; }
.cursor__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 0; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.6 3.4c-.3-.8.4-1.5 1.2-1.2l17.3 7.1c.9.4.9 1.6 0 2l-6.9 2.6c-.3.1-.5.3-.6.6l-2.6 6.9c-.4.9-1.6.9-2 0z' fill='%23fff'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
  transform-origin: 2px 2px; transform: scale(1); transition: transform .35s var(--ease-out), opacity .3s;
}
.cursor.is-hover .cursor__dot::after { transform: scale(1.25); }
.cursor.is-view .cursor__dot::after { transform: scale(.9); }
.cursor.is-hide .cursor__dot::after { transform: scale(0); }
/* плашка с подписью — правее и ниже острия, чтобы не накрывать стрелку */
.cursor__pill { margin: 24px 0 0 22px; }
