/* Строй-Альянс — «Литой монолит». Тёмная гамма, лаймовая разметка, Oswald + Onest. */

/* ---------- Шрифты (локальные, OFL) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/oswald-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/oswald-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/oswald-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/oswald-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
	--ink: #0f1112;
	--slab: #181c1e;
	--slab-2: #22272a;
	--line: rgba(234, 230, 222, .14);
	--text: #eae6de;
	--muted: #9aa1a6;
	--lime: #c6f135;
	--lime-deep: #a9d114;
	--display: "Oswald", "Arial Narrow", Arial, sans-serif;
	--body: "Onest", Arial, sans-serif;
	--gut: clamp(1rem, 4vw, 3rem);
	--max: 1360px;
	--ease: cubic-bezier(.7, 0, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 76px;
	color-scheme: dark;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--ink); padding: .75rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--slab); }

/* ---------- Переходы между страницами ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .32s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .5s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-2vh); } }
@keyframes vt-in { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- Шкала «уровень заливки» ---------- */
.level { position: fixed; left: 0; top: 0; bottom: 0; width: 4px; z-index: 60; background: rgba(234, 230, 222, .06); pointer-events: none; }
.level__fill { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p, 0) * 100%); background: var(--lime); box-shadow: 0 0 12px rgba(198, 241, 53, .6); }

/* ---------- Кнопки ---------- */
.btn {
	--bx: 0px; --by: 0px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: .95em 1.7em; border: 1px solid transparent; border-radius: 0;
	font: 500 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
	cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .3s, background-color .3s, border-color .3s, transform .35s var(--ease-out);
	transform: translate(var(--bx), var(--by));
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover, .btn--lime:focus-visible { color: var(--ink); }
.btn--ghost { border-color: rgba(234, 230, 222, .45); color: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--text); }
.btn--dark { background: var(--ink); color: var(--lime); }
.btn--dark::before { background: #2a3033; }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--lime); }
.btn--sm { min-height: 42px; padding: .7em 1.2em; font-size: .875rem; }
.link-arrow { font: 500 1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--lime); }
.link-arrow span { display: inline-block; transition: transform .3s var(--ease-out); }
.link-arrow:hover span { transform: translateX(.4em); }

/* ---------- Шапка ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s, border-color .35s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(15, 17, 18, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__in { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { width: auto; height: 40px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2rem; list-style: none; }
.nav__list a { position: relative; display: block; padding: .5rem 0; font: 500 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--text); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after, .nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 22px; height: 2px; margin: auto; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: calc(var(--header-h) + 2rem) var(--gut) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__list { list-style: none; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a { display: block; padding: .9rem 0; font: 700 clamp(2.2rem, 11vw, 3.4rem)/1 var(--display); text-transform: uppercase; text-decoration: none; transform: translateY(105%); transition: transform .55s var(--ease-out) calc(var(--i, 0) * 60ms); }
.menu.is-open .menu__list a { transform: none; }
.menu__foot { display: grid; gap: 1rem; padding-top: 2rem; }
.menu__mail { color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Заливка заголовков ---------- */
.pour { display: block; }
.pour__line { position: relative; display: block; }
.pour__ghost { display: block; color: transparent; -webkit-text-stroke: 1px rgba(234, 230, 222, .32); }
.pour__fill { position: absolute; inset: 0; display: block; color: var(--text); }
.js .pour__fill { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s var(--ease) calc(var(--i, 0) * .14s + var(--pd, 0s)); }
.js .pour.is-in .pour__fill { clip-path: inset(-.2em 0 -.2em 0); }
/* Поверхность «бетона» — лаймовая кромка, бегущая вверх вместе с заливкой. */
.js .pour__fill::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); opacity: 0; }
.js .pour.is-in .pour__fill::after { animation: surface 1.15s var(--ease) calc(var(--i, 0) * .14s + var(--pd, 0s)) both; }
@keyframes surface { 0% { bottom: 0; opacity: 1; } 85% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }

/* ---------- Появление ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out) calc(var(--d, 0) * 80ms), transform .9s var(--ease-out) calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Зерно ---------- */
.grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #07090a; }
.hero__cam { position: absolute; inset: 0; overflow: hidden; container-type: size; }
/* Рамка точно 16:9 и всегда накрывает экран — блики прожекторов совпадают с кадром на любой ширине. */
.hero__frame { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; translate: -50% -50%; transform-origin: 70% 40%; animation: hero-cam 24s ease-in-out infinite alternate, flood 7s steps(1) infinite; }
.hero__media, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.hero.is-loaded .hero__img { transform: scale(1); }
/* «Живое» фото: медленный наезд камеры и мерцание прожекторов, поверх — косой дождь. */
@keyframes hero-cam { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.1) translate(-2%, -1.2%); } }
.flare { position: absolute; left: var(--x); top: var(--y); width: 16cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(230, 240, 255, .45) 10%, rgba(198, 241, 53, .1) 32%, transparent 66%); animation: flare 4.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.flare--big { width: 38cqh; }
.flare--big::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .5) 0 1.2deg, transparent 1.2deg 22.5deg); mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 25%, transparent 68%); -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 25%, transparent 68%); animation: rays 40s linear infinite; }
.flare--sm { width: 8cqh; }
@keyframes flare { 0%, 100% { opacity: .55; transform: scale(.9); } 45% { opacity: 1; transform: scale(1.08); } 52% { opacity: .75; } 58% { opacity: 1; } }
@keyframes rays { to { transform: rotate(360deg); } }
.hero__mist { position: absolute; inset: -10% -15%; pointer-events: none; background: radial-gradient(ellipse 45% 22% at 30% 72%, rgba(205, 215, 220, .13), transparent 70%), radial-gradient(ellipse 40% 20% at 72% 58%, rgba(205, 215, 220, .1), transparent 70%), radial-gradient(ellipse 60% 18% at 50% 88%, rgba(205, 215, 220, .12), transparent 70%); animation: mist 28s ease-in-out infinite alternate; }
@keyframes mist { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@keyframes flood { 0%, 100% { filter: brightness(1); } 31% { filter: brightness(1.07); } 33% { filter: brightness(.96); } 35% { filter: brightness(1.05); } 62% { filter: brightness(1); } 64% { filter: brightness(1.08) contrast(1.03); } 66% { filter: brightness(1); } }
.hero__rain { position: absolute; inset: -20% -10%; z-index: 1; pointer-events: none; opacity: .8; mix-blend-mode: screen; }
.hero__rain span { position: absolute; inset: 0; background-image: repeating-linear-gradient(100deg, transparent 0 22px, rgba(220, 230, 235, .22) 22px 23px, transparent 23px 61px); background-size: 61px 340px; animation: rain .55s linear infinite; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.hero__rain span + span { background-image: repeating-linear-gradient(100deg, transparent 0 37px, rgba(220, 230, 235, .1) 37px 38px, transparent 38px 97px); background-size: 97px 520px; animation-duration: .8s; opacity: .8; }
@keyframes rain { from { background-position: 0 0; } to { background-position: -60px 340px; } }
.hero__rain span + span { animation-name: rain2; }
@keyframes rain2 { from { background-position: 0 0; } to { background-position: -95px 520px; } }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 9, 10, .92) 0%, rgba(7, 9, 10, .55) 45%, rgba(7, 9, 10, .1) 100%), linear-gradient(0deg, rgba(7, 9, 10, .95) 0%, rgba(7, 9, 10, 0) 45%); }
.hero__beam { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: overlay; opacity: 0; transition: opacity .6s; background: radial-gradient(circle 32vmax at var(--mx, 70%) var(--my, 35%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); }
.hero.is-lit .hero__beam { opacity: 1; }
.hero .grain { z-index: 1; }
.hero__body { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(4.5rem, 10vh, 7rem); }
.hero__kicker { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem; font: 500 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.dot { width: 9px; height: 9px; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 241, 53, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(198, 241, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 241, 53, 0); } }
.hero__title { font-size: clamp(3.4rem, 12.5vw, 10.5rem); line-height: .9; letter-spacing: -.005em; margin-bottom: 1.8rem; --pd: .25s; }
.hero__title .pour__line:last-child .pour__fill { color: var(--lime); }
.hero__lead { max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfcac0; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; z-index: 3; right: var(--gut); bottom: 2rem; width: 28px; height: 46px; border: 1px solid rgba(234, 230, 222, .5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 2px; height: 9px; margin-left: -1px; background: var(--lime); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Для кого (подсветка слов по прокрутке) ---------- */
.who { padding-block: clamp(5rem, 14vw, 11rem); border-bottom: 1px solid var(--line); }
.who__text { max-width: 22em; margin: 0; font: 500 clamp(1.6rem, 3.8vw, 3.2rem)/1.18 var(--body); letter-spacing: -.01em; }
.js .who__text .wd { opacity: .18; transition: opacity .4s, color .4s; }
.js .who__text .wd.is-lit { opacity: 1; }
.js .who__text .wd.is-hot { color: var(--lime); }

/* ---------- Заголовок раздела ---------- */
.shead { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.shead__num { display: inline-block; margin-bottom: 1.2rem; padding: .35em .6em; border: 1px solid var(--lime); color: var(--lime); font: 500 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .16em; }
.shead__title { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: .95; }
.shead__lead { max-width: 40rem; margin-top: 1.4rem; color: var(--muted); font-size: 1.125rem; }

/* ---------- Направления: горизонтальная лента ---------- */
.dirs { position: relative; padding-block: clamp(4.5rem, 9vw, 7rem) 0; }
.dirs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.dirs__hint { display: none; flex: none; margin-bottom: 4.2rem; color: var(--muted); font: 500 .85rem/1 var(--display); text-transform: uppercase; letter-spacing: .16em; }
.dirs__hint span { display: inline-block; color: var(--lime); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.dirs__track { display: flex; gap: 1rem; padding: 0 var(--gut) clamp(4rem, 8vw, 6rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dirs__track::-webkit-scrollbar { display: none; }
.dcard { position: relative; flex: 0 0 min(84vw, 560px); scroll-snap-align: start; background: var(--slab); border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; }
.dcard__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #0a0c0d; }
.dcard__img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s; filter: saturate(.85) brightness(.9); }
.dcard:hover .dcard__img { filter: none; }
/* Фото направлений медленно «дышат»: наезд и сдвиг, у каждого своя фаза. */
.dcard__img, .work__img { animation: drift 18s ease-in-out infinite alternate; transform-origin: 50% 50%; will-change: transform; }
.dcard:nth-child(2n) .dcard__img, .work--rev .work__img { animation-name: drift-b; animation-duration: 21s; }
.dcard:nth-child(3n) .dcard__img { animation-delay: -7s; }
@keyframes drift { 0% { transform: scale(1.06) translate(0, 0); } 100% { transform: scale(1.16) translate(-3%, -2%); } }
@keyframes drift-b { 0% { transform: scale(1.14) translate(-2%, 1%); } 100% { transform: scale(1.05) translate(2%, -1.5%); } }
.dcard__body { position: relative; padding: 1.6rem 1.6rem 2rem; }
.dcard__num { position: absolute; right: 1.2rem; top: -2.6rem; font: 700 4.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--lime); }
.dcard__title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .8rem; }
.dcard__text { color: var(--muted); margin: 0; }
.dcard--more { flex-basis: min(70vw, 360px); justify-content: space-between; padding: 2rem; background: var(--lime); color: var(--ink); border: 0; }
.dcard--more:hover { color: var(--ink); }
.dcard--more__label { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.dcard--more__arrow { font: 700 4rem/1 var(--display); transition: transform .4s var(--ease-out); }
.dcard--more:hover .dcard--more__arrow { transform: translateX(12px); }

/* Закреплённая лента на широких экранах (включает JS) */
@media (min-width: 900px) {
	.dirs.is-pinned { padding-bottom: 0; }
	.dirs.is-pinned .dirs__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
	.dirs.is-pinned .dirs__head .shead { margin-bottom: 2.5rem; }
	.dirs.is-pinned .dirs__hint { display: block; }
	.dirs.is-pinned .dirs__track { overflow: visible; scroll-snap-type: none; padding-bottom: 0; padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
	.dirs.is-pinned .dcard { flex-basis: clamp(420px, 40vw, 600px); }
	.dirs.is-pinned .dcard__media { aspect-ratio: 16 / 10; }
}

/* ---------- Преимущества ---------- */
.adv__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.adv__item { --sx: 50%; --sy: 50%; position: relative; padding: 2.2rem 2rem 2.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.adv__item::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(circle 260px at var(--sx) var(--sy), rgba(198, 241, 53, .13), transparent 70%); }
.adv__item:hover::before { opacity: 1; }
.adv__item::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.adv__item:hover::after { transform: scaleX(1); }
.adv { isolation: isolate; }
.adv__num { display: block; margin-bottom: 2.2rem; font: 500 .9rem/1 var(--display); color: var(--lime); letter-spacing: .14em; }
.adv__title { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.05; margin-bottom: .9rem; }
.adv__text { color: var(--muted); margin: 0; }

/* ---------- Порядок работы: линия по прокрутке ---------- */
.tl { position: relative; }
.tl__rail { position: absolute; left: 0; right: 0; top: 1.15rem; height: 2px; background: var(--line); }
.tl__fill { position: absolute; inset: 0; background: var(--lime); transform: scaleX(var(--t, 0)); transform-origin: left; box-shadow: 0 0 10px rgba(198, 241, 53, .5); }
.tl__list { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 2rem; }
.tl__step { position: relative; }
.tl__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1.4rem; background: var(--ink); border: 2px solid var(--lime); color: var(--lime); font: 700 .95rem/1 var(--display); }
.section--alt .tl__num { background: var(--slab); }
.tl__title { font-size: 1.45rem; margin-bottom: .6rem; }
.tl__text { color: var(--muted); margin: 0; font-size: 1rem; }
.steps__more { margin: 3rem 0 0; }

/* ---------- О компании ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.about__grid .shead { grid-column: 1 / -1; }
.about__text { font-size: 1.15rem; }
.requisites, .contacts { margin: 0; display: grid; gap: 0; }
.requisites div, .contacts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.requisites dt, .contacts dt { color: var(--muted); font: 500 .8rem/1.6 var(--display); text-transform: uppercase; letter-spacing: .12em; }
.requisites dd, .contacts dd { margin: 0; }
.contacts a { color: var(--lime); text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

/* ---------- Призыв ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--lime); color: var(--ink); padding-block: clamp(4.5rem, 10vw, 8rem); }
.cta__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.cta__title { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .92; }
.cta .pour__ghost { -webkit-text-stroke-color: rgba(15, 17, 18, .35); }
.cta .pour__fill { color: var(--ink); }
.cta .pour__fill::after { background: var(--ink); }
.cta__side p { font-size: 1.15rem; margin-bottom: 1.6rem; }
.cta__mail { display: block; margin-top: 1.2rem; color: var(--ink); font-weight: 600; }
.cta__mail:hover { color: var(--ink); text-decoration-thickness: 2px; }

/* ---------- Внутренние страницы ---------- */
.phead { position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(198, 241, 53, .08), transparent 60%), var(--ink); }
.phead__num { margin-bottom: 1.4rem; color: var(--lime); font: 500 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .18em; }
.phead__title { font-size: clamp(2.8rem, 8.5vw, 7.5rem); line-height: .92; max-width: 14em; }
.phead__lead { max-width: 42rem; margin-top: 1.6rem; color: var(--muted); font-size: 1.2rem; }
.e404 { min-height: 80vh; border-bottom: 0; }
.e404 .btn { margin-top: 1rem; }

.work { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid var(--line); }
.work__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.work--rev .work__media { order: 2; }
.work__media { position: relative; overflow: hidden; background: #0a0c0d; }
.work__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Фото «заливается» снизу вверх: шторка цвета фона уходит вверх. Само фото не обрезается, чтобы работала ленивая загрузка. */
.js .work__media[data-reveal] { opacity: 1; transform: none; }
.js .work__media[data-reveal]::after { content: ""; position: absolute; inset: 0; background: var(--ink); border-top: 2px solid var(--lime); transform-origin: top; transition: transform 1.2s var(--ease); }
.js .work__media[data-reveal].is-in::after { transform: scaleY(0); }
.work__num { display: block; margin-bottom: 1rem; font: 700 4.5rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--lime); }
.work__title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .95; margin-bottom: 1.2rem; }
.work__lead { font-size: 1.15rem; color: #cfcac0; }
.work__list { list-style: none; margin-top: 1.4rem; border-top: 1px solid var(--line); }
.work__list li { position: relative; padding: .8rem 0 .8rem 1.8rem; border-bottom: 1px solid var(--line); }
.work__list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 1rem; height: 2px; background: var(--lime); }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding: .35em 0 .35em 1.6rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .9rem; height: 2px; background: var(--lime); }
.prose a { color: var(--lime); }
.prose--cols { max-width: none; columns: 2 26rem; column-gap: 4rem; }
.prose--cols h2 { break-after: avoid; margin-top: 0; }
.prose--cols ul { break-inside: avoid; margin-bottom: 2.4rem; }

/* ---------- Контакты и форма ---------- */
.kontakty { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.h-small { margin: 2.6rem 0 .6rem; font: 500 .9rem/1 var(--display); color: var(--lime); letter-spacing: .16em; }
.h-small:first-child { margin-top: 0; }
.kontakty__form { background: var(--slab); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3rem); }
.kontakty__form:focus { outline: none; }
.kontakty__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 1rem; }
.kontakty__lead { color: var(--muted); margin-bottom: 2rem; }
.request-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 1.6rem; }
.field__label { display: block; margin-bottom: .5rem; font: 500 .85rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.field__input { width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid rgba(234, 230, 222, .4); border-radius: 0; background: transparent; color: var(--text); font: inherit; transition: border-color .3s, box-shadow .3s; }
.field__input--area { resize: vertical; min-height: 8rem; }
.field__input:focus { outline: none; border-bottom-color: var(--lime); box-shadow: 0 2px 0 0 var(--lime); }
.field__input[aria-invalid="true"] { border-bottom-color: #ff8a6b; }
.field__hint { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; }
.field__error { margin: .5rem 0 0; color: #ff9c80; font-size: .95rem; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; font-size: .95rem; }
.field--check .field__error { grid-column: 2; }
.field__check { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--lime); }
.field--check a { color: var(--lime); }
.request-form__status p { margin: 1.2rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--lime); background: rgba(198, 241, 53, .08); }
.request-form__status .is-error { border-left-color: #ff8a6b; background: rgba(255, 138, 107, .08); }
.request-form.is-sending button { opacity: .6; pointer-events: none; }
.request-off { border: 1px dashed var(--line); padding: 1.4rem; }

/* ---------- Подвал ---------- */
.site-footer { background: #0a0c0d; border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5rem); color: var(--muted); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 260px; margin-bottom: 1.2rem; }
.site-footer__brand p { max-width: 26rem; }
.foot-list { list-style: none; display: grid; gap: .4rem; }
.foot-list a { font: 500 1rem/1.6 var(--display); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--text); }
.contacts--foot div { grid-template-columns: 1fr; gap: .2rem; padding: .6rem 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.6rem 2.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.adv__grid { grid-template-columns: repeat(2, 1fr); }
	.tl__list { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
	.tl__rail { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
	:root { --header-h: 64px; }
	.nav, .site-header__cta { display: none; }
	.burger { display: block; }
	.brand__logo { height: 34px; }
	.hero { align-items: flex-end; }
	.hero__frame { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; translate: none; }
	.hero__img { object-position: 50% 30%; }
	.flare { display: none; }
	.hero__shade { background: linear-gradient(0deg, rgba(7, 9, 10, .96) 0%, rgba(7, 9, 10, .7) 45%, rgba(7, 9, 10, .2) 100%); }
	.hero__scroll { display: none; }
	.about__grid, .cta__in, .work__grid, .kontakty { grid-template-columns: 1fr; }
	.work--rev .work__media { order: 0; }
	.about__req { margin-top: 1.5rem; }
}
@media (max-width: 640px) {
	.adv__grid, .tl__list { grid-template-columns: 1fr; }
	.tl__list { padding-left: 1.4rem; border-left: 2px solid var(--line); gap: 2rem; }
	.tl__num { margin-left: -2.75rem; }
	.requisites div, .contacts div { grid-template-columns: 1fr; gap: .2rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__actions .btn { width: 100%; }
	.hero__kicker { font-size: .74rem; letter-spacing: .1em; gap: .5rem; }
	.dcard__num { font-size: 3.4rem; top: -2rem; }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
	.js .pour__fill { clip-path: none; }
	.js .pour__fill::after { display: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .work__media[data-reveal]::after { display: none; }
	.js .who__text .wd { opacity: 1; }
	.hero__img { transform: none; }
	.hero__beam, .grain, .hero__rain, .hero__mist { display: none; }
	.hero__frame, .dcard__img, .work__img, .flare { animation: none; transform: none; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	.btn { transform: none; }
}
