/* droblenie.pro. Холодный графит + один ржавый акцент, радиус 4px везде.
   Слои: 10 - шапка, 20 - меню на телефоне, 30 - cookie-баннер. */

@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyrillic.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plex Mono";
	src: url("../fonts/plexmono-cyrillic-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Plex Mono";
	src: url("../fonts/plexmono-latin-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
	unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
	--bg: #f1f2f0;
	--surface: #fafaf9;
	--surface-2: #e7e9e6;
	--ink: #15181b;
	--ink-2: #454c54;
	--ink-3: #5d656e;
	--line: #d3d7d9;
	--accent: #b0431a;
	--accent-strong: #933714;
	--accent-soft: #f3e3da;
	--on-accent: #fffaf7;
	--error: #b3261e;
	--ok: #1f6b45;
	--shadow: 0 1px 2px rgba(21, 24, 27, .06), 0 12px 32px -12px rgba(21, 24, 27, .14);
	--radius: 4px;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 68px;
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--ease: cubic-bezier(.16, 1, .3, 1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #121417;
		--surface: #191c20;
		--surface-2: #22262b;
		--ink: #e9ebec;
		--ink-2: #b4bbc2;
		--ink-3: #98a0a8;
		--line: #2e343a;
		--accent: #e06a3c;
		--accent-strong: #ec8158;
		--accent-soft: #2e1f18;
		--on-accent: #16100d;
		--error: #ff8a80;
		--ok: #7fd4a4;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);
		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) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--font);
	font-feature-settings: "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
.muted { color: var(--ink-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px;
	border: 1.5px solid transparent; border-radius: var(--radius);
	font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow:hover { color: var(--accent-strong); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.site-header {
	position: sticky; top: 0; z-index: 10;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.site-header__row { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 18px; height: 18px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 38%); }
.brand__tld { color: var(--ink-3); font-weight: 500; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; list-style: none; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 15px/1 var(--mono); white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1180px) {
	.site-header__phone span { display: none; }
	.site-header__phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }
}
@media (max-width: 1023px) {
	.site-header__row { gap: 12px; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; gap: 8px; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 20;
		background: var(--bg); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 24px;
		display: none;
	}
	.site-nav[data-open] { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li a { display: block; padding: 14px 0; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); }
	.site-nav__phone { display: block; margin-top: 20px; font: 500 18px/1 var(--mono); text-decoration: none; }
}
@media (max-width: 520px) {
	.site-header__phone { display: none; }
	.site-header__actions .btn--sm { padding: 0 14px; font-size: 14px; }
	.brand { font-size: 17px; }
}

/* ---------- Первый экран ---------- */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.035em; max-width: 13ch; }
.hero__lead { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__cta .btn--ghost { font-family: var(--mono); font-weight: 500; }
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 5 / 4; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
@media (max-width: 899px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { aspect-ratio: 16 / 11; order: 2; }
}

/* ---------- Коротко ---------- */
.brief { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.brief__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.brief__text { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; letter-spacing: -.01em; }
.brief__facts { margin: 0; display: grid; gap: 20px; align-content: start; }
.brief__facts div { padding-left: 16px; border-left: 2px solid var(--accent); }
.brief__facts dt { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.brief__facts dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }
@media (max-width: 899px) { .brief__grid { grid-template-columns: 1fr; } }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.section__title { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; max-width: 22ch; }
.section__title--sm { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }

/* ---------- Услуги: асимметричная сетка 7/5, 5/7 ---------- */
.services__grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.service--1 { grid-column: span 7; }
.service--2 { grid-column: span 5; }
.service--3 { grid-column: span 5; }
.service--4 { grid-column: span 7; }
.service__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.service--2 .service__media, .service--3 .service__media { aspect-ratio: 4 / 3; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.025); }
.service__body { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; }
.service h3 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.02em; }
.service p { color: var(--ink-2); max-width: 60ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); }
/* Фасовка: картинка сбоку, чтобы нижний ряд не повторял верхний */
@media (min-width: 1024px) {
	.service--4 { flex-direction: row; }
	.service--4 .service__media { flex: 0 0 52%; aspect-ratio: auto; }
	.service--4 .service__body { align-content: center; }
}
@media (max-width: 1023px) {
	.service--1, .service--2, .service--3, .service--4 { grid-column: 1 / -1; }
	.service--2 .service__media, .service--3 .service__media { aspect-ratio: 16 / 9; }
}

/* ---------- Как работаем ---------- */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.process__head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.process__media { margin-top: 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 899px) {
	.process__grid { grid-template-columns: 1fr; }
	.process__head { position: static; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Меркурий ---------- */
.merkuriy__panel {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center;
	padding: clamp(28px, 4vw, 56px);
	background: var(--accent-soft); border-radius: var(--radius);
}
.merkuriy__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); }
.merkuriy h2 { font-size: clamp(23px, 2.4vw, 32px); max-width: 30ch; }
.merkuriy p { margin-top: 14px; color: var(--ink-2); max-width: 70ch; }
.merkuriy__cta { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
@media (max-width: 899px) {
	.merkuriy__panel { grid-template-columns: 1fr; }
	.merkuriy__icon { width: 56px; height: 56px; }
	.merkuriy__cta { justify-self: start; }
}

/* ---------- Вопросы ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq__head p { margin-top: 16px; }
.faq__head a { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.faq__item summary::after {
	content: ""; flex: none; width: 14px; height: 14px;
	background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
	color: var(--accent); transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Лента статей ---------- */
.blog-teaser { border-top: 1px solid var(--line); }
.blog-teaser__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.post-rows { list-style: none; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink); }
.post-rows li { border-bottom: 1px solid var(--line); }
.post-rows a {
	display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr) 28px; gap: 8px 32px; align-items: baseline;
	padding: 28px 0; text-decoration: none; color: var(--ink);
}
.post-rows a:hover .post-rows__title { color: var(--accent); }
.post-rows a .icon { align-self: center; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.post-rows a:hover .icon { transform: translate(2px, -2px); color: var(--accent); }
.post-rows__meta { font: 500 13px/1.5 var(--mono); color: var(--ink-3); }
.post-rows__title { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; transition: color .2s; }
.post-rows__excerpt { color: var(--ink-2); font-size: 16px; }
.post-rows--full { margin-top: 0; }
@media (max-width: 899px) {
	.post-rows a { grid-template-columns: minmax(0, 1fr) 24px; }
	.post-rows__meta, .post-rows__title, .post-rows__excerpt { grid-column: 1; }
	.post-rows a .icon { grid-column: 2; grid-row: 1 / span 3; }
}
.pager, .navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--mono); }
.nav-links .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.empty { padding: 32px 0; color: var(--ink-2); display: grid; gap: 20px; justify-items: start; }

/* ---------- Контакты и форма ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .section__title { font-size: clamp(26px, 2.8vw, 36px); max-width: 24ch; }
.contact__list { margin: 40px 0 0; display: grid; gap: 28px; }
.contact__list dt { display: flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.contact__list dt .icon { color: var(--accent); }
.contact__list dd { margin: 8px 0 0; font-size: 17px; display: grid; gap: 10px; justify-items: start; }
.contact__list dd > a:not(.link-arrow) { font: 500 22px/1.3 var(--mono); text-decoration: none; }
.contact__route { color: var(--ink-2); font-size: 15px; }
.contact__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); scroll-margin-top: calc(var(--header-h) + 16px); }
.contact__form-title { font-size: 24px; margin-bottom: 24px; }
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; grid-column: 1 / -1; }
.field--phone, .field--email { grid-column: span 1; }
.field label { font-weight: 600; font-size: 15px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1.5px solid var(--line); border-radius: var(--radius);
	background: var(--surface); color: var(--ink); font: 400 16px/1.45 var(--font);
	transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--error); }
.field__hint { font-size: 14px; color: var(--ink-3); }
.field__hint a { color: var(--ink-2); }
.field__error { font-size: 14px; color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.check a { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__foot { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; margin-top: 4px; }
.lead-form__status { font-weight: 500; }
.lead-form__status:empty { display: none; }
.lead-form__status[data-state="ok"] { color: var(--ok); }
.lead-form__status[data-state="error"] { color: var(--error); }
.lead-form[data-sent] .field, .lead-form[data-sent] .btn { display: none; }
.lead-form[data-sent] .lead-form__status { font-size: 19px; padding: 12px 0; }
@media (max-width: 560px) {
	.lead-form { grid-template-columns: 1fr; }
	.field--phone, .field--email { grid-column: 1 / -1; }
	.lead-form__foot .btn { width: 100%; }
}

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr); gap: 40px; }
.site-footer__about p { margin-top: 16px; color: var(--ink-2); max-width: 52ch; }
.site-footer__contacts { display: grid; gap: 8px; align-content: start; }
.site-footer__contacts a { font-family: var(--mono); font-weight: 500; text-decoration: none; }
.site-footer__nav { display: grid; gap: 10px; align-content: start; }
.site-footer__nav a { text-decoration: none; color: var(--ink-2); }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__legal { margin-top: 48px; padding-top: 24px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; color: var(--ink-3); font-size: 14px; }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a { color: var(--ink-2); }
.site-footer__dev { margin-left: auto; text-decoration: none; }
@media (max-width: 899px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.site-footer__dev { margin-left: 0; }
}

/* ---------- Страницы, статьи ---------- */
.page-head { padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.035em; max-width: 20ch; }
.page-head__lead { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.page-head__role { margin-top: 12px; font: 500 14px/1.4 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.page-head .prose { margin-top: 24px; }
.page-head--404 { padding-bottom: 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1.5 var(--mono); color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.article__head { padding: clamp(32px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.article__head h1 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.03em; }
.article--page .article__head h1 { font-size: clamp(28px, 3.4vw, 42px); }
.article__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; font: 500 14px/1.5 var(--mono); color: var(--ink-3); }
.article__meta a { color: var(--accent); text-decoration: none; }
.article__cover { margin-bottom: 40px; }
.article__cover img { width: 100%; border-radius: var(--radius); }
.article__foot { margin-top: 56px; padding-bottom: clamp(64px, 8vw, 112px); display: grid; gap: 24px; }
.author-card { padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.author-card__label { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.author-card__name { font-size: 20px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.author-card__name a { text-decoration: none; }
.author-card__name span { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.author-card p:last-child { color: var(--ink-2); }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px; background: var(--accent-soft); border-radius: var(--radius); }
.cta-strip p { font-weight: 600; max-width: 40ch; }

.prose { font-size: 18px; line-height: 1.7; padding-bottom: 8px; }
.article--page .prose { padding-bottom: clamp(64px, 8vw, 112px); font-size: 17px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 2.2em; letter-spacing: -.02em; }
.prose h3 { font-size: 21px; margin-top: 1.8em; letter-spacing: -.01em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--surface-2); }
.prose img { border-radius: var(--radius); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 5px; border-radius: 3px; }

/* ---------- Cookie-баннер ---------- */
.cookie-bar {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
	max-width: 880px; margin: 0 auto;
	display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	padding: 18px 20px; padding-bottom: calc(18px + env(safe-area-inset-bottom));
	background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
	box-shadow: var(--shadow); font-size: 15px; line-height: 1.5;
	visibility: hidden; opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cookie-bar[data-show] { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.cookie-bar__text { flex: 1 1 380px; color: var(--ink-2); }
.cookie-bar__text strong { display: block; color: var(--ink); }
.cookie-bar__text a { color: var(--accent); }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar .btn { min-height: 48px; }
@media (max-width: 900px) and (orientation: landscape) { .cookie-bar { max-height: 45vh; overflow-y: auto; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }
@media (max-width: 560px) {
	.cookie-bar { left: 8px; right: 8px; bottom: 8px; font-size: 14px; max-height: 25vh; overflow-y: auto; }
	.cookie-bar__actions { width: 100%; }
	.cookie-bar__actions .btn { flex: 1; }
}

/* ---------- Первый экран появляется при загрузке, остальное статично ---------- */
@media (prefers-reduced-motion: no-preference) {
	.hero .reveal { animation: drob-in .8s var(--ease) both; }
	.hero .hero__media { animation-delay: .12s; }
}
@keyframes drob-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
