:root {
	--bg: #0a1019;
	--bg-2: #0d1521;
	--surface: #0f1824;
	--surface-2: #121d2c;
	--surface-3: #162336;
	--line: #25374f;
	--line-soft: #203147;
	--text: #eef3f9;
	--muted: #98abc2;
	--accent: #b88b5b;
	--accent-strong: #c89b6b;
	--accent-ink: #23190d;
	--radius: 10px;
	--maxw: 1200px;
	--shadow-soft: 0 3px 10px rgba(3, 8, 16, 0.24);
	--shadow-panel: 0 8px 20px rgba(3, 8, 16, 0.3);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	margin: 0;
	color: var(--text);
	font-family: 'Manrope', 'Segoe UI', sans-serif;
	line-height: 1.45;
	background:
		radial-gradient(
			960px 420px at 14% -10%,
			rgba(88, 111, 145, 0.1),
			transparent 72%
		),
		radial-gradient(
			860px 400px at 98% 104%,
			rgba(184, 139, 91, 0.07),
			transparent 72%
		),
		linear-gradient(180deg, var(--bg) 0%, #0d1624 100%);
	overflow-x: hidden;
}

::selection {
	color: #1b130a;
	background: rgba(191, 150, 101, 0.6);
}

a {
	color: inherit;
}

.topbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1200;
	border-bottom: 1px solid rgba(150, 169, 194, 0.2);
	background: rgba(11, 19, 30, 0.96);
	backdrop-filter: blur(4px);
	box-shadow: 0 6px 16px rgba(3, 9, 16, 0.26);
	transition:
		transform 0.24s ease,
		opacity 0.24s ease;
}

.topbar-hidden {
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
}

.topbar-shell {
	width: min(100%, var(--maxw));
	margin: 0 auto;
	min-height: 82px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.brand {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #edf3fc;
	font-family: 'JetBrains Mono', monospace;
	line-height: 1;
	white-space: nowrap;
}

.brand-link {
	text-decoration: none;
}

.brand-logo {
	width: auto;
	height: 27px;
	max-width: 38px;
	object-fit: contain;
	object-position: center;
	flex: 0 0 auto;
	opacity: 0.96;
}

.brand-text {
	font-family: 'JetBrains Mono', monospace;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.032em;
	line-height: 1;
	color: #edf3fc;
	text-transform: uppercase;
}

.topnav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
	display: none;
}

.topnav a {
	position: relative;
	text-decoration: none;
	white-space: nowrap;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	padding: 7px 0 10px;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.topnav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.topnav a:hover,
.topnav a.active {
	color: #eef4fc;
	opacity: 1;
}

.topnav a:hover::after,
.topnav a.active::after {
	transform: scaleX(1);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid #345173;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.topbar .button {
	padding: 8px 14px;
	border-radius: 12px;
	font-size: 13px;
}

.button-primary {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: #ad8456;
}

.button-primary:hover {
	background: var(--accent-strong);
	border-color: #c29a6d;
}

.button-secondary {
	background: rgba(15, 24, 36, 0.88);
	color: #e4edf8;
	border-color: rgba(140, 160, 187, 0.34);
}

.button-secondary:hover {
	background: rgba(20, 31, 47, 0.94);
	border-color: rgba(184, 139, 91, 0.52);
}

.button-contact {
	background: linear-gradient(180deg, #0b1523 0%, #091220 100%);
	color: #e4edf8;
	border-color: rgba(104, 129, 158, 0.46);
}

.button-contact:hover {
	background: linear-gradient(180deg, #0b1523 0%, #091220 100%);
	border-color: var(--accent);
	color: #e4edf8;
}

.button-ghost {
	background: transparent;
	color: #dce6f3;
	border-color: #34465f;
}

.button-ghost:hover {
	background: rgba(20, 31, 47, 0.72);
	border-color: #3e546f;
}

.page {
	width: min(100%, var(--maxw));
	margin: 0 auto;
	padding: 114px 20px 60px;
}

.section {
	padding: 48px 0;
}

.section-first {
	padding-top: 22px;
}

.section-head {
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
}

#project .section-head {
	margin-bottom: 20px;
}

#habr .section-head,
#skills .section-head,
#education .section-head,
#contacts .section-head {
	margin-bottom: 40px;
}

.section-head::after {
	content: none;
}

h1,
h2,
h3 {
	margin: 0;
	letter-spacing: -0.015em;
}

h1 {
	font-size: clamp(38px, 4.7vw, 64px);
	line-height: 0.98;
	font-weight: 700;
}

h2 {
	font-size: clamp(26px, 2.9vw, 38px);
	line-height: 1.05;
	font-weight: 700;
}

h3 {
	font-size: clamp(18px, 1.6vw, 25px);
	line-height: 1.12;
	font-weight: 700;
}

.panel {
	border: 1px solid rgba(140, 160, 187, 0.15);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-panel);
}

.hero {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	gap: 12px;
}

.hero-main-panel {
	min-height: 320px;
	padding: 14px 0 12px;
	border: 0;
	background: transparent;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-role {
	margin: 14px 0 0;
	color: #d8e4f3;
	font-size: clamp(22px, 1.85vw, 30px);
	font-weight: 600;
}

.hero-main-note {
	margin: 16px 0 0;
	max-width: 56ch;
	color: #a8bbd3;
	font-size: clamp(14px, 1.02vw, 17px);
	line-height: 1.4;
}

.hero-main-actions {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-main-actions .button {
	min-height: 42px;
	width: 196px;
	padding: 10px 16px;
	border-radius: 11px;
	font-size: 14px;
}

.hero-side-panel {
	min-height: 320px;
	padding: 0;
	display: flex;
}

.hero-console {
	flex: 1;
	width: 100%;
	min-height: 320px;
	height: 100%;
	border-radius: 10px;
	border: 1px solid rgba(150, 169, 194, 0.24);
	background: linear-gradient(180deg, #0a1422 0%, #08101b 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hero-console-head {
	min-height: 36px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	border-bottom: 1px solid rgba(150, 169, 194, 0.16);
	background: rgba(12, 20, 33, 0.95);
}

.hero-dot {
	order: 1;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	display: inline-block;
}

.hero-dot-red {
	background: #f06e68;
}

.hero-dot-yellow {
	background: #e8b86a;
}

.hero-dot-green {
	background: #6ec98a;
}

.hero-console-title {
	order: 2;
	margin-left: auto;
	color: #9db2cc;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: none;
}

.hero-console-body {
	flex: 1;
	padding: 14px 14px 12px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.hero-console-line {
	margin: 0;
	color: #dce7f4;
	font-family: 'JetBrains Mono', monospace;
	font-size: clamp(12px, 1.05vw, 15px);
	font-weight: 600;
	line-height: 1.27;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.hero-cli-prompt {
	color: #b88b5b;
}

.hero-console-output {
	margin: 0;
	color: #eef5ff;
	font-family: 'JetBrains Mono', monospace;
	font-size: clamp(12px, 1.05vw, 15px);
	font-weight: 600;
	line-height: 1.27;
}

.hero-console-bottom {
	margin-top: 4px;
	margin-bottom: 10px;
}

.hero-cursor {
	color: #eef5ff;
	font-weight: 700;
	animation: hero-cursor-blink 1s steps(1, end) infinite;
}

@keyframes hero-cursor-blink {
	0%,
	49% {
		opacity: 1;
	}
	50%,
	100% {
		opacity: 0;
	}
}

.project-showcase {
	display: grid;
	gap: clamp(20px, 2.1vw, 28px);
}

.project-overview {
	display: grid;
	grid-template-columns: minmax(0, 1.34fr) minmax(220px, 0.66fr);
	grid-template-areas:
		'title title'
		'main side';
	gap: clamp(16px, 1.9vw, 26px);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.project-overview-main {
	grid-area: main;
	display: grid;
	gap: 10px;
	align-content: center;
}

.project-overview-side {
	grid-area: side;
	display: grid;
	gap: 8px;
	align-content: center;
	justify-items: center;
}

.project-links-side {
	border: 1px solid rgba(133, 155, 182, 0.24);
	border-radius: 10px;
	background: linear-gradient(180deg, #0f1826 0%, #0d1622 100%);
	padding: 12px;
}

.project-overview-kicker {
	margin: 0;
	color: var(--accent);
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.project-logo {
	width: min(100%, 230px);
	height: auto;
	object-fit: contain;
	object-position: left center;
	display: block;
	filter: drop-shadow(0 10px 18px rgba(3, 8, 16, 0.28));
}

.project-title {
	grid-area: title;
	margin: 0;
	color: var(--accent);
	font-size: clamp(22px, 1.75vw, 31px);
	font-weight: 700;
	line-height: 1.12;
	font-family: 'Sora', 'Manrope', sans-serif;
	letter-spacing: -0.012em;
}

.project-summary {
	margin: 0;
	color: #dce7f6;
	font-size: clamp(14px, 1.02vw, 17px);
	line-height: 1.4;
}

.project-summary-intro {
	font-size: clamp(14px, 1.03vw, 16px);
	line-height: 1.4;
}

.project-inline-link {
	color: #e7f1ff;
	text-decoration: none;
	position: relative;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.project-inline-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.project-inline-link:hover,
.project-inline-link:focus-visible {
	color: #ffffff;
	opacity: 0.96;
}

.project-inline-link:hover::after,
.project-inline-link:focus-visible::after {
	transform: scaleX(1);
}

.project-key-head {
	margin: 8px 0 4px;
	color: #eaf2ff;
	font-family: 'Sora', 'Manrope', sans-serif;
	font-size: clamp(16px, 1.12vw, 20px);
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
}

.project-key-facts {
	margin: 0;
	padding: 0 0 0 18px;
	list-style: disc;
	display: grid;
	gap: 6px;
}

.project-key-facts li {
	margin: 0;
	padding-left: 0;
	border-left: 0;
	color: #cfe0f3;
	font-size: clamp(14px, 1.03vw, 16px);
	line-height: 1.4;
}

.project-stack-line {
	margin: 0;
	color: #c7d5e9;
	font-size: clamp(12px, 0.9vw, 14px);
	line-height: 1.4;
}

.project-stack-line span {
	color: var(--accent);
	font-weight: 700;
}

.project-links {
	margin-top: 2px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.project-links-vertical {
	margin-top: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	justify-items: center;
}

.project-links.project-links-vertical .button {
	width: 258px;
	min-height: 43px;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.2;
}

.project-links.project-links-row {
	margin-top: 8px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.project-links.project-links-row .button {
	width: 100%;
	min-height: 42px;
	padding: 9px 15px;
	font-size: 13px;
}

.project-links.project-links-row.project-links-right {
	margin-top: 0;
	gap: 8px;
}

.project-links.project-links-row.project-links-right .button {
	min-height: 40px;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 1.2;
}

.project-links .button {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 12px;
	white-space: nowrap;
}

.project-demo {
	display: grid;
	gap: 10px;
}

.project-block-head {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
}

.project-block-title {
	margin: 0;
	color: #e8f1fe;
	font-size: clamp(20px, 1.55vw, 28px);
	line-height: 1.14;
	font-weight: 700;
	font-family: 'Sora', 'Manrope', sans-serif;
	letter-spacing: -0.01em;
}

.project-block-note {
	margin: 0;
	color: #a9bdd7;
	font-size: clamp(13px, 0.95vw, 15px);
	line-height: 1.38;
}

.project-video-frame {
	border-radius: 0;
	overflow: hidden;
	border: 0;
	background: transparent;
	aspect-ratio: 16 / 9;
	box-shadow: none;
}

.project-video-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.project-architecture {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.project-arch-summary {
	margin-top: 10px;
	display: grid;
	gap: 8px;
}

.project-arch-summary-title {
	margin: 0;
	color: #e8f1fe;
	font-size: clamp(17px, 1.25vw, 22px);
	line-height: 1.18;
	font-weight: 700;
	font-family: 'Sora', 'Manrope', sans-serif;
	letter-spacing: -0.01em;
}

.project-arch-summary-text {
	margin: 0;
	color: #d2e0f2;
	font-size: clamp(13px, 0.95vw, 15px);
	line-height: 1.36;
}

.project-plain-list {
	margin: 0;
	padding: 0 0 0 18px;
	list-style: disc;
	display: grid;
	gap: 5px;
}

.project-plain-list li {
	margin: 0;
	color: #c7d7ea;
	font-size: clamp(12px, 0.92vw, 14px);
	line-height: 1.36;
}

.project-evolution {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 12px;
}

.project-stage-card {
	border: 1px solid rgba(133, 155, 182, 0.24);
	border-radius: 10px;
	background: linear-gradient(180deg, #0f1826 0%, #0d1622 100%);
	padding: 12px 12px 10px;
	display: grid;
	gap: 9px;
	align-content: start;
}

.project-stage-kicker {
	margin: 0;
	color: var(--accent);
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.project-stage-title {
	margin: 0;
	color: #eaf2ff;
	font-size: clamp(17px, 1.25vw, 22px);
	line-height: 1.15;
	font-weight: 700;
	font-family: 'Sora', 'Manrope', sans-serif;
	letter-spacing: -0.01em;
}

.project-stage-stack {
	margin: 0;
	color: #c7d6ea;
	font-size: clamp(12px, 0.9vw, 13px);
	line-height: 1.32;
}

.project-stage-list {
	margin: 0;
	padding-left: 16px;
	display: grid;
	gap: 4px;
}

.project-stage-list li {
	color: #afc2da;
	font-size: clamp(12px, 0.9vw, 14px);
	line-height: 1.34;
}

.project-stage-list li span {
	color: #dfeafd;
	font-weight: 700;
}

.project-stage-network {
	margin: 2px 0 0;
	padding: 8px 10px;
	border-left: 2px solid var(--accent);
	background: rgba(184, 139, 91, 0.08);
	color: #cfdff2;
	font-size: clamp(12px, 0.9vw, 14px);
	line-height: 1.34;
	border-radius: 0 6px 6px 0;
}

.project-stage-network span {
	color: #e8f1ff;
	font-weight: 700;
}

.project-stage-diagram {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	cursor: zoom-in;
	margin-top: 4px;
	padding: 8px;
	border: 1px solid rgba(133, 155, 182, 0.22);
	border-radius: 8px;
	background: #0a121e;
	height: clamp(220px, 19vw, 300px);
}

.project-stage-diagram::after {
	content: "Клик по схеме, чтобы увеличить";
	position: absolute;
	left: 12px;
	bottom: 10px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: rgba(225, 236, 249, 0.86);
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.02em;
	line-height: 1;
	pointer-events: none;
	z-index: 2;
	transition:
		color 0.18s ease,
		opacity 0.18s ease;
}

.project-stage-diagram:hover::after,
.project-stage-diagram:focus-visible::after {
	color: #ffffff;
	opacity: 1;
}

.project-diagram-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 0;
	border-radius: 4px;
	display: block;
	transition: transform 0.2s ease;
}

.project-stage-diagram:hover .project-diagram-img,
.project-stage-diagram:focus-visible .project-diagram-img {
	transform: scale(1.015);
}

.project-stage-arrow {
	display: none;
	align-content: center;
	justify-items: center;
	gap: 6px;
	padding: 4px 0;
}

.project-stage-arrow-line {
	width: 2px;
	height: 48px;
	background: linear-gradient(
		180deg,
		rgba(184, 139, 91, 0.2) 0%,
		rgba(184, 139, 91, 0.75) 50%,
		rgba(184, 139, 91, 0.2) 100%
	);
	border-radius: 999px;
}

.project-stage-arrow-label {
	color: #afc1d7;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
}

.project-stage-arrow-symbol {
	color: var(--accent);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
}

.project-experience {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.project-experience-grid {
	margin-top: 12px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.project-exp-card {
	padding: 12px;
	border: 1px solid rgba(133, 155, 182, 0.2);
	border-radius: 10px;
	background: linear-gradient(180deg, #0f1826 0%, #0d1622 100%);
	display: grid;
	gap: 7px;
	align-content: start;
}

.project-exp-card h5 {
	margin: 0;
	color: #eaf2ff;
	font-size: clamp(14px, 1.01vw, 18px);
	line-height: 1.2;
	font-weight: 700;
	font-family: 'Manrope', sans-serif;
	letter-spacing: -0.008em;
}

.project-exp-card p {
	margin: 0;
	color: #a9bdd7;
	font-size: clamp(12px, 0.9vw, 14px);
	line-height: 1.38;
}

.project-exp-card p.project-exp-text-compact {
	font-size: clamp(11.5px, 0.86vw, 13px);
	line-height: 1.34;
}

.diagram-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(8, 13, 22, 0.96);
	backdrop-filter: blur(2px);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 2200;
}

.diagram-lightbox.is-open {
	display: flex;
}

.diagram-lightbox-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(96vw, 1540px);
	max-height: 92vh;
}

.diagram-lightbox-image {
	max-width: 100%;
	max-height: 92vh;
	width: auto;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(140, 161, 186, 0.28);
	background: #0a1019;
	object-fit: contain;
}

.diagram-lightbox-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(140, 161, 186, 0.36);
	background: rgba(11, 19, 30, 0.9);
	color: #dfe9f6;
	font-size: 22px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.infra-panel {
	overflow: hidden;
}

.infra-row {
	display: grid;
	grid-template-columns: 0.82fr 1.09fr 1.09fr;
	min-height: 56px;
}

.infra-row + .infra-row {
	border-top: 0;
}

.infra-row span {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	font-size: clamp(12px, 0.9vw, 14px);
}

.infra-row-head {
	background: #132033;
}

.infra-row-head span {
	color: #a8bbd3;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.infra-row:not(.infra-row-head) span:first-child {
	color: #e8effa;
	font-weight: 700;
}

.infra-row:not(.infra-row-head) span:not(:first-child) {
	color: #cbd8ea;
}

.habr-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(12px, 1.5vw, 18px);
	align-items: stretch;
	width: 100%;
	margin: 0;
}

.habr-article {
	padding: 16px;
	display: grid;
	gap: 14px;
	min-height: 100%;
	background: var(--surface);
}

.habr-author {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.habr-author-avatar {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #0f1a2a;
	border: 1px solid rgba(150, 169, 194, 0.28);
}

.habr-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.habr-author-name {
	color: #eef4fc;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	position: relative;
	display: inline-flex;
	align-items: center;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.habr-author-name::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.habr-author-name:hover {
	color: #ffffff;
	opacity: 0.94;
}

.habr-author-name:hover::after,
.habr-author-name:focus-visible::after {
	transform: scaleX(1);
}

.habr-author-date {
	color: #8fa4c1;
	font-size: 12px;
}

.habr-meta {
	display: flex;
	align-items: center;
	gap: 7px;
}

.habr-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 20px;
	padding: 0 6px;
	border: 1px solid #ac855a;
	border-radius: 5px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: 'JetBrains Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.08em;
}

.habr-label {
	color: #aebfd6;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.habr-title {
	color: #eef4fc;
	font-size: clamp(15px, 1.15vw, 21px);
	line-height: 1.12;
	white-space: normal;
	overflow-wrap: anywhere;
}

.habr-topics {
	margin: 0;
	color: #c8d5e6;
	font-size: 11px;
	line-height: 1.25;
}

.habr-cover-wrap {
	border-radius: 9px;
	overflow: hidden;
	border: 0;
	background: #0a121e;
	width: 100%;
	margin: 0;
}

.habr-cover {
	display: block;
	width: 100%;
	height: auto;
}

.habr-cta {
	margin-top: 2px;
}

.habr-cta .button-contact {
	background: var(--surface);
	border-color: rgba(104, 129, 158, 0.46);
	padding: 10px 18px;
	font-size: 13px;
}

.habr-cta .button-contact:hover,
.habr-cta .button-contact:focus-visible {
	background: var(--surface);
	border-color: var(--accent);
	color: #e4edf8;
}

.habr-telemetry {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 0;
	height: 100%;
	padding: 16px 0 0;
}

.habr-telemetry-grid {
	margin-top: 0;
	margin-bottom: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(8px, 0.9vw, 12px);
}

.habr-metric-line {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: clamp(42px, 3.2vw, 52px);
	padding: 0;
}

.habr-metric-line > span {
	color: #a9bdd6;
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.habr-metric-line strong {
	color: #eef4fc;
	font-size: clamp(26px, 2.7vw, 36px);
	line-height: 1;
	font-weight: 700;
}

.habr-repost-link {
	color: #eef4fc;
	font-size: clamp(26px, 2.7vw, 36px);
	line-height: 1;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.habr-repost-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.habr-repost-link img {
	width: 1em;
	height: 1em;
	object-fit: contain;
	display: block;
}

.habr-repost-link:hover {
	color: #ffffff;
	opacity: 0.94;
}

.habr-repost-link:hover::after,
.habr-repost-link:focus-visible::after {
	transform: scaleX(1);
}

.habr-telemetry.habr-metrics-fx-ready .habr-metric-line strong,
.habr-telemetry.habr-metrics-fx-ready .habr-repost-link {
	opacity: 0;
	transform: translateY(16px) scale(0.82);
	filter: blur(2.6px);
	will-change: transform, opacity, filter;
}

.habr-telemetry.habr-metrics-fx-ready.habr-metrics-in-view
	.habr-metric-line
	strong,
.habr-telemetry.habr-metrics-fx-ready.habr-metrics-in-view .habr-repost-link {
	animation: habr-metric-value-seq 0.88s cubic-bezier(0.18, 0.88, 0.24, 1) both;
	animation-delay: var(--metric-delay, 0ms);
}

.habr-vim {
	margin-top: clamp(18px, 1.9vw, 26px);
	border: 1px solid rgba(140, 160, 187, 0.15);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-panel);
	overflow: hidden;
}

.habr-vim-content {
	min-height: clamp(126px, 10.1vw, 160px);
	padding: 7px 9px 6px;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.habr-vim-line {
	margin: 0;
}

.habr-vim-line-main {
	padding-right: 8px;
}

.habr-vim-wave {
	margin: 0;
	color: #2da7ff;
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	line-height: 1;
	user-select: none;
}

.habr-vim-text {
	color: #f4f6ff;
	font-family: 'JetBrains Mono', monospace;
	font-size: clamp(11.5px, 0.96vw, 13.5px);
	font-weight: 600;
	line-height: 1.24;
	font-feature-settings:
		'liga' 0,
		'calt' 0;
}

.habr-vim-cursor-char {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.74em;
	height: 1.24em;
	line-height: 1.12;
	margin-left: -0.02em;
	vertical-align: -0.1em;
	overflow: hidden;
	color: #0a0f1a;
	background: #eef5ff;
	animation: habr-vim-cursor-blink 1s steps(1, end) infinite;
}

.habr-vim-status {
	min-height: 24px;
	padding: 0 6px;
	background: var(--surface);
	color: #f0f3ff;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.02em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	white-space: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	font-weight: 600;
}

.habr-vim-status-left,
.habr-vim-status-right {
	font-feature-settings:
		'liga' 0,
		'calt' 0;
}

.habr-vim-status-right-group {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

@keyframes habr-metric-value-seq {
	0% {
		opacity: 0;
		transform: translateY(18px) scale(0.8);
		filter: blur(3px);
		text-shadow: 0 0 0 rgba(184, 139, 91, 0);
	}
	58% {
		opacity: 1;
		transform: translateY(-2px) scale(1.09);
		filter: blur(0);
		text-shadow: 0 0 16px rgba(184, 139, 91, 0.46);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
		text-shadow: 0 0 0 rgba(184, 139, 91, 0);
	}
}

@keyframes habr-vim-cursor-blink {
	0%,
	49% {
		opacity: 1;
	}
	50%,
	100% {
		opacity: 0;
	}
}

.skills-panel {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 146px;
	align-items: stretch;
	gap: 10px;
}

.skills-network {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}

.skill-network-line {
	fill: none;
	stroke-width: 1.45;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition:
		opacity 0.34s ease,
		stroke-dashoffset 0.66s ease;
}

.skill-card {
	grid-column: span 2;
	position: relative;
	z-index: 1;
	overflow: hidden;
	min-height: 0;
	padding: 12px 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	box-shadow: none;
}

.skills-panel.skills-lines-in-view .skill-network-line {
	opacity: 0.42;
	stroke-dashoffset: 0;
}

.skill-card-wide {
	grid-column: span 2;
}

.skill-card-lg {
	grid-column: span 3;
}

.skill-card-xl {
	grid-column: span 4;
}

.skill-logo {
	--logo-scale: 1;
	width: 74px;
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.skill-logo img {
	width: 54px;
	height: 54px;
	max-width: 54px;
	max-height: 54px;
	object-fit: contain;
	display: block;
	transform: scale(var(--logo-scale));
	transform-origin: center;
}

.skill-logo-linux {
	--logo-scale: 1.15;
}
.skill-logo-networks {
	--logo-scale: 1.18;
}
.skill-logo-git {
	--logo-scale: 1.04;
}
.skill-logo-docker {
	--logo-scale: 1.05;
}
.skill-logo-terraform {
	--logo-scale: 0.98;
}
.skill-logo-ansible {
	--logo-scale: 0.94;
}
.skill-logo-gitlab {
	--logo-scale: 1.02;
}
.skill-logo-k8s {
	--logo-scale: 1.06;
}
.skill-logo-prometheus {
	--logo-scale: 0.98;
}
.skill-logo-postgresql {
	--logo-scale: 0.98;
}
.skill-logo-redis {
	--logo-scale: 1.08;
}
.skill-logo-python {
	--logo-scale: 1.22;
}
.skill-logo-go {
	--logo-scale: 1.46;
}

@media (min-width: 1101px) {
	.skills-panel {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: repeat(5, 92px);
		grid-auto-rows: unset;
		align-items: start;
		gap: 10px 12px;
	}

	.skill-n1 {
		grid-column: 1 / span 2;
		grid-row: 1;
		margin: 6px 0 0;
	}

	.skill-n2 {
		grid-column: 3 / span 2;
		grid-row: 2;
		margin: 2px 0 0 10px;
	}

	.skill-n3 {
		grid-column: 5 / span 2;
		grid-row: 1;
		margin: 8px 0 0;
	}

	.skill-n4 {
		grid-column: 6 / span 2;
		grid-row: 2;
		margin: 0;
	}

	.skill-n5 {
		grid-column: 10 / span 2;
		grid-row: 1;
		margin: 4px 0 0;
	}

	.skill-n6 {
		grid-column: 1 / span 2;
		grid-row: 3;
		margin: 8px 0 0;
	}

	.skill-n7 {
		grid-column: 10 / span 2;
		grid-row: 2;
		margin: 6px 0 0;
	}

	.skill-n8 {
		grid-column: 8 / span 2;
		grid-row: 2;
		margin: -2px 0 0;
	}

	.skill-n9 {
		grid-column: 9 / span 2;
		grid-row: 3;
		margin: 8px 0 0;
	}

	.skill-n10 {
		grid-column: 5 / span 2;
		grid-row: 3;
		margin: 2px 0 0;
	}

	.skill-n11 {
		grid-column: 7 / span 2;
		grid-row: 4;
		margin: 6px 0 0;
	}

	.skill-n12 {
		grid-column: 3 / span 2;
		grid-row: 4;
		margin: 2px 0 0;
	}

	.skill-n13 {
		grid-column: 8 / span 2;
		grid-row: 5;
		margin: 0;
	}
}

.skill-label {
	color: #e4ecf8;
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	letter-spacing: 0.01em;
	line-height: 1.1;
	text-align: center;
}

.skill-logo-docker + .skill-label,
.skill-logo-gitlab + .skill-label,
.skill-logo-k8s + .skill-label,
.skill-logo-go + .skill-label {
	margin-top: -2px;
}

.education-plain {
	padding: 0;
	display: grid;
	gap: 12px;
}

.education-head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
}

.education-logo {
	width: 46px;
	height: 46px;
	object-fit: contain;
	flex: 0 0 auto;
}

.education-meta {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.education-meta strong {
	font-size: clamp(20px, 1.7vw, 26px);
	line-height: 1.12;
}

.education-meta span {
	color: #a9b9cf;
	font-size: clamp(13px, 0.95vw, 15px);
}

.education-program {
	margin: 0;
	color: #e3ecfa;
	font-size: clamp(15px, 1.08vw, 17px);
	font-weight: 600;
	line-height: 1.35;
}

.contacts-primary-grid {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 18px 34px;
	width: fit-content;
	max-width: 100%;
	justify-items: start;
}

.contact-item {
	min-width: 0;
}

.contact-card {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.contact-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 100%;
}

.contact-card-value-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
	min-width: 0;
	width: fit-content;
	max-width: 100%;
}

.contact-main-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	min-width: 0;
	text-decoration: none;
}

.contact-top-icon {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-right: 0;
}

.contact-top-icon img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	display: block;
	transition: filter 0.2s ease;
}

.contact-card-value {
	color: #eef4fc;
	font-size: clamp(19px, 1.35vw, 22px);
	font-weight: 700;
	line-height: 1.15;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.contact-card-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: auto;
}

.contact-action-link {
	min-height: 40px;
	padding: 9px 16px;
	border-radius: 11px;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	width: 196px;
}

.contact-copy-btn {
	width: 32px;
	height: 32px;
	margin-left: 0;
	padding: 0;
	border-radius: 0;
	border: 1px solid transparent;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.16s ease;
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}

.contact-copy-btn:focus,
.contact-copy-btn:focus-visible,
.contact-copy-btn:active {
	outline: none;
	box-shadow: none;
}

.contact-copy-btn img {
	width: 17px;
	height: 17px;
	object-fit: contain;
	display: block;
	opacity: 1;
	transition: filter 0.16s ease, opacity 0.16s ease;
}

.contact-copy-btn:hover img,
.contact-copy-btn:focus-visible img {
	filter: brightness(1.28) saturate(1.08);
}

.contact-copy-btn.is-copied {
	border-color: transparent;
	background: transparent;
	opacity: 1;
}

.contact-copy-btn.is-copied img {
	opacity: 1;
	filter: none;
}

.contact-copy-btn.is-error {
	border-color: transparent;
	background: transparent;
	opacity: 1;
}

.contact-copy-btn.is-error img {
	filter: none;
}

.contact-copy-toast {
	display: block;
	align-self: center;
	min-height: 14px;
	margin-top: 2px;
	color: #c79a61;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.04em;
	opacity: 0;
	transform: translateY(-2px);
	transition:
		opacity 0.16s ease,
		transform 0.16s ease;
	pointer-events: none;
	text-align: center;
}

.contact-copy-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.contact-copy-toast.is-error {
	color: #f39a9a;
}

.contact-logo-link:hover .contact-top-icon img,
.contact-logo-link:focus-visible .contact-top-icon img {
	filter: brightness(1.16);
}

.site-footer {
	width: 100%;
	margin-top: 72px;
}

.footer-shell {
	width: min(100%, 1320px);
	margin: 0 auto;
	min-height: 120px;
	padding: 30px 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #dce5f3;
	opacity: 0.96;
}

.footer-brand-logo {
	width: auto;
	height: 25px;
	max-width: 34px;
	object-fit: contain;
	object-position: center;
	flex: 0 0 auto;
}

.footer-brand-text {
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
}

.footer-meta {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.footer-role {
	color: #a0b1c9;
	font-size: 15px;
	white-space: nowrap;
}

.footer-icons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.footer-icon-btn {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	opacity: 0.9;
	transition:
		opacity 0.2s ease,
		filter 0.2s ease;
}

.footer-icon-btn img {
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: block;
}

.footer-icon-btn-github img {
	width: 19px;
	height: 19px;
}

.footer-icon-btn-habr img {
	width: 24px;
	height: 24px;
}

.footer-icon-btn:hover,
.footer-icon-btn:focus-visible {
	opacity: 1;
	filter: brightness(1.22) saturate(1.08) drop-shadow(0 4px 8px rgba(2, 7, 13, 0.3));
}

.scroll-top-btn {
	position: fixed;
	right: 16px;
	bottom: 14px;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(184, 139, 91, 0.64);
	border-radius: 12px;
	background: rgba(14, 24, 38, 0.9);
	color: var(--accent);
	font-size: 24px;
	font-weight: 700;
	display: grid;
	place-items: center;
	cursor: pointer;
	z-index: 1150;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	box-shadow: 0 10px 22px rgba(2, 7, 13, 0.42);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease;
}

.scroll-top-btn.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.scroll-top-btn:hover {
	background: var(--accent);
	color: #1f1710;
	border-color: #c29a6d;
}

@media (max-width: 1180px) {
	.skills-panel {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		grid-auto-rows: 146px;
		gap: 8px;
	}

	.skill-card {
		grid-column: span 2;
	}

	.skill-card-wide {
		grid-column: span 2;
	}

	.skill-card-lg,
	.skill-card-xl {
		grid-column: span 4;
	}
}

@media (max-width: 1080px) {
	.hero,
	.habr-layout {
		grid-template-columns: 1fr;
	}

	.hero-main-panel {
		min-height: 0;
	}

	.project-video-frame {
		aspect-ratio: 16 / 9;
	}

	.project-overview {
		grid-template-columns: 1fr;
		grid-template-areas:
			'title'
			'main'
			'side';
	}

	.project-overview-side {
		max-width: 100%;
		align-content: start;
	}

	.project-links .button {
		width: auto;
	}

	.project-links.project-links-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.project-links.project-links-row .button {
		width: 100%;
	}

	.project-links-side {
		padding: 10px;
	}

	.project-stage-diagram {
		height: clamp(220px, 42vw, 300px);
	}

	.project-diagram-img {
		height: 100%;
		max-height: none;
	}

	.project-evolution {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.project-stage-arrow {
		grid-template-columns: auto auto auto;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 0;
	}

	.project-stage-arrow-line {
		width: 44px;
		height: 2px;
		background: linear-gradient(
			90deg,
			rgba(184, 139, 91, 0.2) 0%,
			rgba(184, 139, 91, 0.75) 50%,
			rgba(184, 139, 91, 0.2) 100%
		);
	}

	.project-stage-arrow-symbol {
		transform: rotate(90deg);
	}

	.project-experience-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contacts-secondary-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.topbar {
		display: none;
	}

	.topbar-shell {
		min-height: 64px;
		padding: 0 14px;
		gap: 10px;
	}

	.brand {
		gap: 6px;
	}

	.brand-logo {
		height: 22px;
		max-width: 30px;
	}

	.brand-text {
		font-size: 12px;
		letter-spacing: 0.024em;
	}

	.topnav {
		justify-content: flex-start;
		gap: 12px;
	}

	.topnav a {
		font-size: 13px;
	}

	.topbar .button {
		display: none;
	}

	.page {
		padding: 24px 14px 30px;
	}

	.section {
		padding: 38px 0;
	}

	.section-first {
		padding-top: 0;
	}

	.section-head {
		margin-bottom: 20px;
	}

	#project .section-head {
		margin-bottom: 16px;
	}

	#habr .section-head,
	#skills .section-head,
	#education .section-head,
	#contacts .section-head {
		margin-bottom: 28px;
	}

	.panel,
	.habr-article {
		border-radius: 9px;
	}

	.habr-layout {
		gap: 12px;
	}

	.habr-article {
		padding: 14px;
		gap: 12px;
	}

	.habr-author {
		gap: 6px 8px;
		align-items: center;
	}

	.habr-author-name {
		font-size: 14px;
	}

	.habr-author-date {
		flex-basis: 100%;
		margin-left: 34px;
		font-size: 11px;
		line-height: 1.2;
	}

	.habr-title {
		font-size: clamp(20px, 6.1vw, 28px);
		line-height: 1.16;
	}

	.habr-topics {
		font-size: 12px;
		line-height: 1.35;
	}

	.habr-cta .button-contact {
		min-height: 38px;
		padding: 8px 14px;
		font-size: 12px;
	}

	.project-evolution {
		margin-top: 14px;
		gap: 10px;
	}

	.project-overview,
	.project-architecture,
	.project-experience {
		padding: 0;
	}

	.project-links {
		gap: 8px;
	}

	.project-links .button {
		width: 100%;
	}

	.project-links.project-links-row {
		grid-template-columns: 1fr;
	}

	.project-stage-diagram {
		height: clamp(190px, 55vw, 260px);
	}

	.project-diagram-img {
		height: 100%;
		max-height: none;
	}

	.project-experience-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hero-main-panel {
		padding: 4px 0 0;
	}

	.hero-main-actions {
		margin-top: 14px;
		gap: 8px;
	}

	.hero-main-actions .button {
		min-height: 36px;
		width: 168px;
		padding: 8px 12px;
		font-size: 12px;
	}

	.education-plain {
		padding: 0;
	}

	.hero-side-panel {
		padding: 0;
	}

	.hero-signals {
		margin-top: 18px;
	}

	.habr-telemetry {
		min-height: 0;
		height: auto;
		justify-content: flex-start;
		padding: 14px 0 0;
	}

	.habr-telemetry-grid {
		flex: none;
		margin-top: 0;
		display: grid;
		grid-template-rows: none;
		gap: 10px;
		justify-content: normal;
		margin-bottom: 18px;
	}

	.habr-metric-line {
		width: 100%;
	}

	.habr-vim {
		margin-top: 14px;
	}

	.habr-vim-content {
		min-height: 0;
		padding: 8px 9px 6px;
		gap: 2px;
	}

	.habr-vim-wave {
		font-size: 13px;
	}

	.habr-vim-text {
		font-size: 12px;
		line-height: 1.32;
	}

	.habr-metric-line strong {
		font-size: clamp(24px, 7.2vw, 32px);
	}

	.habr-repost-link {
		font-size: clamp(24px, 7.2vw, 32px);
	}

	.skills-panel {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 124px;
		gap: 8px;
	}

	.skill-card,
	.skill-card-wide,
	.skill-card-lg,
	.skill-card-xl {
		grid-column: span 1;
		grid-row: auto;
		min-height: 0;
		padding: 9px 7px;
		margin: 0;
		gap: 4px;
		border: 1px solid rgba(133, 155, 182, 0.2);
		border-radius: 10px;
		background: linear-gradient(180deg, #0f1826 0%, #0d1622 100%);
	}

	.skill-logo {
		width: 52px;
		height: 52px;
	}

	.skill-logo img {
		width: 36px;
		height: 36px;
		max-width: 36px;
		max-height: 36px;
	}

	.skill-label {
		font-size: 12px;
	}

	.skills-panel > .skill-card:last-child {
		grid-column: 1 / -1;
		justify-self: center;
		width: min(190px, 100%);
	}

	.skills-network {
		display: none;
	}

	.infra-panel {
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.infra-row {
		grid-template-columns: 1fr;
		border: 1px solid #1c2c41;
		border-radius: 10px;
		overflow: hidden;
		margin-bottom: 10px;
		background: var(--surface);
	}

	.infra-row + .infra-row {
		border-top: 0;
	}

	.infra-row-head {
		display: none;
	}

	.contacts-primary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		width: 100%;
		max-width: 100%;
		justify-items: center;
	}

	.contact-card {
		padding: 0;
		gap: 10px;
	}

	.contact-card-value {
		font-size: 14px;
	}

	.contact-top-icon {
		width: 42px;
		height: 42px;
		margin-right: 0;
	}

	.contact-top-icon img {
		width: 36px;
		height: 36px;
	}

	.contact-action-link {
		min-height: 36px;
		padding: 8px 14px;
		border-radius: 11px;
		font-size: 12px;
		width: 176px;
	}

	.contact-copy-btn {
		width: 28px;
		height: 28px;
	}

	.contact-copy-btn img {
		width: 14px;
		height: 14px;
	}

	.footer-shell {
		min-height: 106px;
		padding: 24px 14px 16px;
		align-items: center;
		gap: 10px;
	}

	.footer-brand-logo {
		height: 21px;
		max-width: 29px;
	}

	.footer-brand-text {
		font-size: 11px;
		letter-spacing: 0.02em;
	}

	.footer-meta {
		gap: 14px;
	}

	.footer-role {
		font-size: 14px;
	}

	.footer-icons {
		gap: 8px;
	}

	.footer-icon-btn {
		width: 26px;
		height: 26px;
	}

	.footer-icon-btn img {
		width: 19px;
		height: 19px;
	}

	.footer-icon-btn-github img {
		width: 17px;
		height: 17px;
	}

	.footer-icon-btn-habr img {
		width: 21px;
		height: 21px;
	}

	.scroll-top-btn {
		right: 10px;
		bottom: 10px;
		width: 44px;
		height: 44px;
		font-size: 20px;
	}
}

@media (max-width: 560px) {
	.habr-article {
		padding: 12px;
		gap: 10px;
	}

	.habr-author-avatar {
		width: 24px;
		height: 24px;
	}

	.habr-author-date {
		margin-left: 32px;
	}

	.habr-title {
		font-size: clamp(18px, 6.6vw, 24px);
	}

	.habr-metric-line > span {
		font-size: 11px;
	}

	.habr-metric-line strong {
		font-size: clamp(22px, 8vw, 28px);
	}

	.habr-repost-link {
		font-size: clamp(22px, 8vw, 28px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-cursor {
		animation: none;
	}

	.habr-vim-cursor-char {
		animation: none;
	}

	.habr-telemetry .habr-metric-line strong,
	.habr-telemetry .habr-repost-link {
		opacity: 1;
		transform: none;
		filter: none;
		animation: none;
		transition: none;
	}

	.skills-panel .skill-card,
	.skills-panel .skill-network-line {
		opacity: 1;
		transform: none;
		transition: none;
		stroke-dashoffset: 0;
	}

	.contact-item,
	.contact-card,
	.contact-card-value,
	.contact-top-icon img,
	.footer-icon-btn,
	.footer-icon-btn img,
	.contact-copy-btn,
	.contact-copy-toast,
	.education-logo {
		transition: none;
	}

}
