@font-face {
	font-family: 'Onest';
	src: url('../fonts/Onest-Variable.ttf') format('truetype');
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

/* Shared palette, design tokens and light theme. */
:root {
	--palette-ink: #111318;
	--palette-blue-300: #8ba8ff;
	--palette-white: #ffffff;
	--palette-slate-50: #f5f7fb;
	--palette-green-950: #192b28;
	--palette-green-50: #e0fff4;
	--palette-green-700: #35675b;
	--palette-green-900: #203e36;
	--palette-white-halo: #ffffff03;
	--palette-mint: #76e4c1;
	--palette-slate-900: #18202f;
	--palette-slate-600: #596579;
	--palette-slate-200: #d2d9e5;
	--palette-slate-100: #e9edf5;
	--palette-blue-600: #315efb;
	--palette-slate-blue: #485d85;
	--palette-blue-700: #2348cf;
	--palette-navy: #18243d;
	--palette-slate-300: #bdc9e0;
	--palette-slate-75: #edf1f7;
	--palette-slate-400: #b2bdd0;
	--palette-slate-700: #343d4e;
	--palette-slate-850: #1c2029;
	--palette-blue-200: #b5c8f5;
	--palette-navy-deep: #111a30;
	--palette-blue-250: #acc1ff;
	--palette-neutral-900: #171717;
	--palette-gold: #a77d3d;
	--palette-neutral-50: #f5f5f5;
	--palette-ink-8: #11131814;
	--palette-backdrop: rgb(10 15 25 / 30%);
	--palette-ink-12: rgb(17 19 24 / 12%);
	--palette-editor-light-chrome: #f0f2f6;
	--palette-editor-light-tag: #0451a5;
	--palette-black-6: rgb(0 0 0 / 6%);
	--palette-editor-dark-bg: #1e1e1e;
	--palette-editor-dark-chrome: #252526;
	--palette-editor-dark-tag: #569cd6;
	--palette-ink-10: rgb(17 19 24 / 10%);
	--outline-focus-wide: 3px solid var(--focus);
	--content-width: min(1120px, calc(100% - 48px));
	--space-30: 30px;
	--space-8: 8px;
	--space-12: 12px;
	--radius-8: 8px;
	--font-size-14: 14px;
	--space-28: 28px;
	--space-32: 32px;
	--space-16: 16px;
	--font-size-hero: clamp(48px, 8vw, 100px);
	--space-20: 20px;
	--font-size-12: 12px;
	--font-weight-thin: 100;
	--font-weight-medium: 500;
	--font-weight-regular: 400;
	--font-size-18: 18px;
	--space-10: 10px;
	--radius-pill: 999px;
	--line-height-compact: 1.4;
	--space-14: 14px;
	--radius-circle: 50%;
	--space-48: 48px;
	--space-64: 64px;
	--line-height-relaxed: 1.8;
	--space-70: 70px;
	--space-24: 24px;
	--space-36: 36px;
	--space-18: 18px;
	--radius-20: 20px;
	--font-weight-semibold: 600;
	--radius-10: 10px;
	--border-default: 1px solid var(--border);
	--language-control-size: 36px;
	--font-size-20: 20px;
	--space-3: 3px;
	--font-size-11: 11px;
	--font-size-13: 13px;
	--line-height-body: 1.75;
	--space-4: 4px;
	--space-7: 7px;
	--radius-4: 4px;
	--control-size: 44px;
	--radius-24: 24px;
	--font-weight-bold: 700;
	--outline-focus: 2px solid var(--focus);
	--space-6: 6px;
	--radius-6: 6px;
	--font-size-24: 24px;
	--space-9: 9px;
	--space-2: 2px;
	--radius-12: 12px;
	--duration-fast: 180ms;
	--duration-normal: 220ms;
	--font-size-16: 16px;
	font-family: 'Onest', Arial, sans-serif;
	color: var(--text);
	background: var(--background);
	font-synthesis: none;
	color-scheme: light;
	--background: var(--palette-slate-50);
	--text: var(--palette-slate-900);
	--muted: var(--palette-slate-600);
	--border: var(--palette-slate-200);
	--surface: var(--palette-slate-100);
	--accent: var(--palette-blue-600);
	--tag-text: var(--palette-slate-blue);
	--button-bg: var(--palette-blue-600);
	--button-text: var(--palette-white);
	--button-hover: var(--palette-blue-700);
	--contact-bg: var(--palette-navy);
	--contact-muted: var(--palette-slate-300);
	--focus: var(--accent);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible {
	outline: var(--outline-focus-wide);
	outline-offset: 6px;
}

.container {
	width: var(--content-width);
	margin-inline: auto;
}

.header {
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--background);
	max-width: none;
	min-height: 64px;
	gap: var(--space-20);
	flex-wrap: nowrap;
	border-bottom: var(--border-default);
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}

.brand {
	font-weight: 750;
	font-size: 23px;
	letter-spacing: -1px;
	display: inline-flex;
	align-items: center;
	padding: var(--space-8) var(--space-12);
	margin-left: -8px;
}

.brand .brand-code {
	color: var(--palette-blue-300);
}

.brand .brand-nest {
	color: var(--palette-white);
}

.nav-link {
	font-size: var(--font-size-14);
}

.nav-link span {
	margin-left: var(--space-12);
}

nav {
	display: flex;
	gap: var(--space-28);
	align-items: center;
}

.hero {
	padding-block: clamp(var(--space-32), 6svh, 60px);
}

.hero>.eyebrow {
	margin: 0 0 var(--space-16);
}

.hero h1 {
	font-size: var(--font-size-hero);
	margin-block: var(--space-20) var(--space-32);
}

.eyebrow {
	font-size: var(--font-size-12);
	font-weight: var(--font-weight-thin);
	text-transform: uppercase;
	letter-spacing: 2px;
}

h1 {
	font-size: var(--font-size-hero);
	line-height: 1.05;
	letter-spacing: -0.055em;
	margin: var(--space-30) 0;
	font-weight: var(--font-weight-medium);
}

h1 em {
	font-family: inherit;
	font-style: normal;
	font-weight: var(--font-weight-regular);
	color: var(--accent);
}

.intro {
	max-width: 510px;
	font-size: var(--font-size-18);
	line-height: 1.7;
	color: var(--muted);
}

.button {
	display: inline-flex;
	align-items: center;
	gap: var(--space-10);
	padding: var(--space-16) var(--space-20);
	background: var(--button-bg);
	color: var(--button-text);
	border-radius: var(--radius-pill);
	margin-top: var(--space-20);
	line-height: var(--line-height-compact);
	flex-shrink: 0;
	min-height: var(--control-size);
	max-width: 100%;
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, translate var(--duration-fast) ease;
}

.button:hover {
	background: var(--button-hover);
}

.hero-note {
	display: flex;
	align-items: center;
	gap: var(--space-8);
	margin-top: var(--space-14);
	color: var(--muted);
	font-size: var(--font-size-12);
	margin-left: 1em;
}

.hero-note span {
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: var(--radius-circle);
}

.about {
	border-top: 0;
	padding-block: var(--space-48) var(--space-64);
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--space-30);
	scroll-margin-top: var(--space-30);
}

h2 {
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 0 var(--space-20);
	letter-spacing: -1.5px;
	font-weight: var(--font-weight-medium);
}

.about p:not(.eyebrow) {
	max-width: 530px;
	color: var(--muted);
	line-height: var(--line-height-relaxed);
}

.services {
	padding-block: var(--space-48) var(--space-70);
	border-top: 0;
	scroll-margin-top: var(--space-30);
}

.services h2 {
	margin-block: var(--space-24) var(--space-36);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-18);
}

.card {
	padding: var(--space-28);
	background: var(--surface);
	border-radius: var(--radius-20);
	position: relative;
}

.card-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-circle);
	flex-shrink: 0;
	aspect-ratio: 1;
	background: var(--button-bg);
	color: var(--button-text);
	font-size: var(--font-size-14);
	font-weight: var(--font-weight-semibold);
	font-variant-numeric: tabular-nums;
	position: absolute;
	left: 1em;
	top: -1em;
}

h3 {
	font-size: 21px;
	font-weight: var(--font-weight-medium);
	line-height: 1.3;
}

.card p {
	color: var(--muted);
	line-height: var(--line-height-relaxed);
}

.contact>p:not(.eyebrow) {
	line-height: var(--line-height-relaxed);
	color: var(--contact-muted);
	max-width: 580px;
}

.steps {
	padding-left: 22px;
	margin-top: var(--space-36);
}

.steps li {
	padding-left: var(--space-12);
	margin-bottom: var(--space-24);
}

.steps li::marker {
	color: var(--accent);
}

.steps h3 {
	margin-bottom: var(--space-8);
}

.steps p {
	margin-top: 0;
}

.contact {
	padding: clamp(var(--space-28), 5vw, 60px);
	background: var(--contact-bg);
	color: var(--palette-slate-50);
	border-radius: var(--radius-10);
	margin-bottom: var(--space-70);
	scroll-margin-top: var(--space-30);
}

.contact h2 {
	margin-top: var(--space-24);
}

.contact-email {
	font-weight: var(--font-weight-thin);
	display: inline-block;
	margin-top: var(--space-20);
	font-size: clamp(17px, 3vw, 30px);
	overflow-wrap: anywhere;
	text-decoration: none;
	text-underline-offset: 7px;
}

.contact a:focus-visible {
	outline-color: var(--palette-slate-50);
}

.footer {
	border-top: var(--border-default);
	justify-content: space-between;
	gap: var(--space-20);
	color: var(--muted);
	font-size: var(--font-size-12);
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

@media (max-width: 600px) {
	.container {
		width: calc(100% - var(--language-control-size));
		margin-inline: auto;
	}

	.brand {
		font-size: var(--font-size-20);
	}

	nav {
		gap: var(--space-14);
	}

	.nav-link span {
		margin-left: var(--space-3);
	}

	.cards {
		grid-template-columns: 1fr;
	}

	.about {
		grid-template-columns: 1fr;
		gap: var(--space-16);
	}

	.footer {
		flex-direction: column;
		gap: var(--space-10);
	}

	.button {
		gap: var(--space-16);
		font-size: var(--font-size-14);
	}

}

.portfolio {
	border-top: 0;
	padding-block: var(--space-48) var(--space-70);
	scroll-margin-top: var(--space-30);
}

.portfolio>h2 {
	margin-block: var(--space-24) var(--space-36);
}

.project {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: var(--border-default);
	border-radius: var(--radius-20);
	overflow: hidden;
}

.project-art {
	position: relative;
	min-height: 420px;
	background: var(--palette-green-950);
	color: var(--palette-green-50);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-30);
	padding: var(--space-32);
	overflow: hidden;
}

.project-art-label {
	align-self: flex-start;
	font-size: var(--font-size-11);
	text-transform: uppercase;
	letter-spacing: 2px;
}

.sound-disc {
	width: min(280px, 100%);
	aspect-ratio: 1;
	border-radius: var(--radius-circle);
	padding: 20%;
	background: repeating-radial-gradient(circle, var(--palette-green-700) 0 1px, var(--palette-green-900) 2px 9px);
	box-shadow: 0 0 0 22px var(--palette-white-halo), 0 0 0 44px var(--palette-white-halo);
	display: grid;
	place-items: center;
}

.sound-core {
	width: 130px;
	aspect-ratio: 1;
	border-radius: var(--radius-circle);
	background: var(--palette-mint);
	color: var(--palette-green-950);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 45px;
	font-family: inherit;
}

.sound-core span {
	font-size: 10px;
	margin-top: var(--space-8);
}

.project-art-domain {
	align-self: flex-start;
	color: var(--palette-mint);
	font-size: var(--font-size-13);
}

.project-body {
	padding: clamp(var(--space-24), 4vw, 44px);
	min-width: 0;
}

.project-body h3 {
	margin-block: var(--space-20) var(--space-14);
	font-size: clamp(30px, 4vw, 42px);
	letter-spacing: -1.5px;
}

.project-body>p:not(.eyebrow) {
	color: var(--muted);
	line-height: var(--line-height-body);
}

.project-body .project-summary {
	color: var(--text);
	font-size: 19px;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-8);
	list-style: none;
	padding: 0;
	margin: var(--space-24) 0 var(--space-4);
}

.project-tags li {
	padding: var(--space-7) var(--space-10);
	border: var(--border-default);
	border-radius: var(--radius-4);
	font-size: var(--font-size-12);
	color: var(--tag-text);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1240px) {
	.project {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 520px;
		margin-inline: auto;
	}

	.project-art {
		min-height: 350px;
	}

}

@media (max-width: 420px) {
	.header nav {
		justify-content: space-between;
	}

}

.project-preview {
	display: block;
	min-width: 0;
	align-self: start;
	padding: 0;
}

.project-preview img {
	display: block;
	width: 100%;
	height: auto;
}

.project-preview:focus-visible {
	outline-offset: -5px;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-8);
	min-height: var(--control-size);
	padding: var(--space-10) var(--space-14);
	border: var(--border-default);
	border-radius: var(--radius-24);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: var(--font-size-13);
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, translate var(--duration-fast) ease;
}

.theme-toggle[hidden] {
	display: none;
}

.theme-toggle:hover {
	border-color: var(--accent);
}

.theme-toggle:focus-visible {
	outline: var(--outline-focus-wide);
	outline-offset: 4px;
}

.theme-icon {
	font-size: var(--font-size-20);
	line-height: 1;
}

.header nav {
	order: 0;
	width: auto;
	margin-left: auto;
	gap: var(--space-20);
}

@media (max-width: 760px) {
	.header .theme-toggle {
		order: 1;
	}

	.header nav {
		justify-content: space-between;
	}

}

.header-controls {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	order: 0;
	width: auto;
	margin-left: 0;
	flex-wrap: nowrap;
	gap: var(--space-8);
}

.language-switch {
	display: inline-flex;
	padding: var(--space-3);
	border: var(--border-default);
	border-radius: var(--radius-24);
	flex-shrink: 0;
}

.language-switch[hidden] {
	display: none;
}

.language-switch a {
	min-width: 40px;
	min-height: 38px;
	padding: var(--space-7);
	border: 0;
	border-radius: var(--radius-20);
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: var(--font-size-12);
	cursor: pointer;
	flex-shrink: 0;
}

.language-switch a[aria-current="page"] {
	background: var(--surface);
	color: var(--accent);
	font-weight: var(--font-weight-bold);
}

.language-switch a:focus-visible {
	outline: var(--outline-focus);
	outline-offset: 2px;
}

.nav-link>span[data-i18n] {
	margin-left: 0;
}

.hero-note>span[data-i18n] {
	width: auto;
	height: auto;
	background: none;
	border-radius: 0;
}

@media (max-width: 1000px) {
	.header nav {
		justify-content: space-between;
	}

}

@media (max-width: 420px) {
	.theme-toggle {
		padding-inline: var(--space-10);
	}

	.theme-label {
		display: none;
	}

}

/* Dark theme. */
:root[data-theme="dark"] {
	color-scheme: dark;
	--background: var(--palette-ink);
	--text: var(--palette-slate-75);
	--muted: var(--palette-slate-400);
	--border: var(--palette-slate-700);
	--surface: var(--palette-slate-850);
	--accent: var(--palette-blue-300);
	--tag-text: var(--palette-blue-200);
	--button-bg: var(--palette-blue-300);
	--button-text: var(--palette-navy-deep);
	--button-hover: var(--palette-blue-250);
	--contact-bg: var(--palette-navy);
	--contact-muted: var(--palette-slate-300);
	--focus: var(--accent);
}

@media (max-width: 600px) {
	.header-controls {
		justify-content: space-between;
	}

}

.contact-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-24) var(--space-32);
	margin-top: var(--space-28);
}

.contact-links .contact-email {
	margin-top: 0;
	display: inline-flex;
	align-items: center;
	gap: var(--space-12);
	max-width: 100%;
	min-width: 0;
}

.contact-links .contact-telegram {
	margin-top: 0;
}

.contact-telegram {
	gap: var(--space-12);
}

@media (max-width: 600px) {
	.contact-links {
		align-items: flex-start;
		flex-direction: column;
	}

}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--space-12);
	margin-top: var(--space-32);
}

.hero-actions .button {
	margin-top: 0;
	padding-block: 13px;
	gap: var(--space-12);
}

.hero-actions .hero-telegram {
	background: transparent;
	color: var(--text);
	border: var(--border-default);
}

.hero-actions .hero-telegram:hover {
	background: var(--surface);
	border-color: var(--accent);
}

@media (max-width: 600px) {
	.hero-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-actions .button {
		width: 100%;
		justify-content: space-between;
	}

}

.contact-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.hero-actions .button>[data-i18n="t8"],
.hero-actions .button>[data-i18n="telegram"] {
	flex: 1;
}

.contact-address {
	min-width: 0;
	overflow-wrap: anywhere;
}

.contact-email .contact-icon {
	width: 24px;
	height: 24px;
	flex-basis: 24px;
}

.project-body .audioabsolute-brand {
	font-family: 'Onest', Helvetica, sans-serif;
	font-weight: var(--font-weight-thin);
	letter-spacing: -.03em;
}

.audioabsolute-brand>span:first-child {
	color: var(--palette-neutral-900);
}

.audioabsolute-brand>span:last-child {
	color: var(--palette-gold);
}

[data-theme="dark"] .audioabsolute-brand>span:first-child {
	color: var(--palette-neutral-50);
}

@media (min-width: 600px) and (max-width: 1240px) {
	.project-body {
		padding: var(--space-28);
	}

	.project-body h3 {
		margin-block: var(--space-14) var(--space-12);
		font-size: 34px;
	}

	.project-body>p:not(.eyebrow) {
		line-height: 1.6;
	}

	.project-body .project-summary {
		font-size: var(--font-size-18);
	}

	.project-tags {
		margin-top: var(--space-18);
	}

}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

}

.section-nav {
	position: fixed;
	z-index: 20;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: var(--space-6) 0;
	background: var(--background);
	border: var(--border-default);
	border-radius: var(--radius-24);
	box-shadow: 0 4px 20px var(--palette-ink-8);
}

.section-nav a {
	position: relative;
	display: grid;
	place-items: center;
	width: var(--language-control-size);
	height: 40px;
	border-radius: var(--radius-circle);
}

.section-nav a>span:first-child {
	width: 7px;
	height: 7px;
	border: 1px solid var(--muted);
	border-radius: var(--radius-circle);
}

.section-nav a[aria-current]>span:first-child {
	background: var(--accent);
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--surface);
}

.section-nav-label {
	position: absolute;
	right: calc(100% + 10px);
	white-space: nowrap;
	padding: var(--space-7) var(--space-12);
	background: var(--surface);
	border: var(--border-default);
	border-radius: var(--radius-6);
	font-size: var(--font-size-12);
	opacity: 0;
	pointer-events: none;
}

.section-nav a:hover .section-nav-label,
.section-nav a:focus-visible .section-nav-label {
	opacity: 1;
}

.back-to-top {
	position: fixed;
	z-index: 20;
	right: max(18px, env(safe-area-inset-bottom), env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom), env(safe-area-inset-right));
	display: grid;
	place-items: center;
	width: var(--control-size);
	height: var(--control-size);
	aspect-ratio: 1;
	background: var(--button-bg);
	color: var(--button-text);
	border-radius: var(--radius-circle);
	font-size: var(--font-size-24);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease, visibility 0s linear var(--duration-normal), background-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, translate var(--duration-fast) ease;
}

.back-to-top:hover {
	background: var(--button-hover);
}

@media (max-width: 1240px) and (min-width: 601px) {
	.container {
		width: calc(100% - 120px);
	}

}

@media (max-width: 600px) {
	.section-nav {
		display: none;
	}

	.section-nav a {
		width: 30px;
		height: 40px;
	}

}

main section[id] {
	scroll-margin-top: calc(var(--header-height, 120px) + var(--space-20));
}

.header .nav-link span,
.header .theme-toggle {
	margin-left: 0;
}

@media (max-width: 900px) {
	.header {
		flex-wrap: wrap;
		gap: var(--space-4) var(--space-12);
	}

	.header-controls {
		order: 1;
		margin-left: auto;
	}

	.header nav {
		order: 2;
		width: 100%;
		margin: 0;
		justify-content: center;
		gap: var(--space-24);
	}

	.header nav .nav-link {
		display: inline-flex;
		align-items: center;
		min-height: var(--language-control-size);
	}

	.header .theme-label {
		display: none;
	}

}

@media (max-width: 380px) {
	.header nav {
		gap: var(--space-14);
	}

	.header nav .nav-link {
		font-size: var(--font-size-12);
	}

	.header .brand {
		padding-inline: var(--space-8);
	}

}

.menu-toggle {
	display: none;
	flex-shrink: 0;
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, translate var(--duration-fast) ease;
}

@media (max-width: 900px) {
	.header.has-mobile-menu {
		flex-wrap: nowrap;
		gap: var(--space-8);
		min-height: 60px;
	}

	.has-mobile-menu .header-controls {
		width: auto;
		flex-wrap: nowrap;
		gap: var(--space-4);
		margin-left: auto;
	}

	.has-mobile-menu .brand {
		flex-shrink: 0;
		font-size: var(--font-size-20);
		padding: var(--space-8);
	}

	.has-mobile-menu .language-switch {
		padding: var(--space-2);
	}

	.has-mobile-menu .language-switch a {
		width: var(--language-control-size);
		min-width: var(--language-control-size);
		height: 38px;
		padding: 5px;
	}

	.has-mobile-menu .theme-toggle {
		width: var(--control-size);
		height: var(--control-size);
		min-width: var(--control-size);
		flex: 0 0 var(--control-size);
		padding: var(--space-8);
		border-radius: var(--radius-circle);
	}

	.has-mobile-menu .menu-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: var(--space-4);
		border: var(--border-default);
		background: var(--surface);
		color: var(--text);
		cursor: pointer;
		order: 2;
		width: var(--control-size);
		height: var(--control-size);
		min-width: var(--control-size);
		flex: 0 0 var(--control-size);
		padding: var(--space-8);
		border-radius: var(--radius-circle);
	}

	.menu-toggle[hidden] {
		display: none;
	}

	.menu-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		background: currentColor;
		transition: transform var(--duration-normal) ease, opacity var(--duration-fast) ease;
	}

	.menu-toggle:focus-visible {
		outline: var(--outline-focus);
		outline-offset: 2px;
	}

	.menu-open .menu-toggle span:first-child {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-open .menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.menu-open .menu-toggle span:last-child {
		transform: translateY(-6px) rotate(-45deg);
	}

	.header.has-mobile-menu nav {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-10px);
		clip-path: inset(0 0 100% 0);
		pointer-events: none;
		transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease, clip-path var(--duration-normal) ease, visibility 0s linear var(--duration-normal);
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		margin: 0;
		padding: var(--space-8) var(--space-16) var(--space-16);
		border-bottom: 0;
		background: var(--background);
		box-shadow: 0 12px 20px var(--palette-ink-8);
	}

	.header.has-mobile-menu.menu-open nav {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		clip-path: inset(0 0 -30px 0);
		pointer-events: auto;
		transition-delay: 0s;
	}

	.header.has-mobile-menu nav .nav-link {
		min-height: var(--control-size);
		font-size: var(--font-size-14);
		padding: var(--space-8) var(--space-12);
		border-radius: var(--radius-6);
	}

	.header.has-mobile-menu nav .nav-link:hover {
		background: transparent;
	}

}

@media (prefers-reduced-motion: reduce) {
	.header.has-mobile-menu nav,
	.menu-toggle span {
		transition: none;
	}

}

.menu-backdrop {
	display: none;
}

@media (max-width: 900px) {
	.menu-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 25;
		background: var(--palette-backdrop);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity var(--duration-normal) ease, visibility 0s linear var(--duration-normal);
	}

	.mobile-menu-open .menu-backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

}

@media (prefers-reduced-motion: reduce) {
	.menu-backdrop {
		transition: none;
	}

}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
	.back-to-top {
		transition: none;
		translate: none;
	}

}

.button>span[aria-hidden="true"] {
	flex-shrink: 0;
}

.header .language-switch {
	display: inline-flex;
	align-items: center;
	padding: var(--space-3);
	border: var(--border-default);
	border-radius: var(--radius-pill);
	gap: var(--space-2);
	background: var(--surface);
}

.header .language-switch[hidden] {
	display: none;
}

.header .language-switch a {
	display: grid;
	place-items: center;
	width: var(--language-control-size);
	height: var(--language-control-size);
	min-width: var(--language-control-size);
	min-height: var(--language-control-size);
	flex: 0 0 var(--language-control-size);
	padding: 0;
	border: 0;
	border-radius: var(--radius-circle);
	background: transparent;
	color: var(--muted);
	transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, translate var(--duration-fast) ease;
}

.header .language-switch a[aria-current="page"] {
	background: var(--button-bg);
	color: var(--button-text);
	font-weight: var(--font-weight-bold);
}

.header .language-switch a:hover:not([aria-current="page"]) {
	background: var(--background);
	color: var(--text);
}

@media (max-width: 380px) {
	.header.has-mobile-menu {
		gap: var(--space-6);
	}

	.has-mobile-menu .brand {
		font-size: var(--font-size-18);
		padding-inline: var(--space-4);
	}

}

.header nav .nav-link[aria-current="location"] {
	color: var(--accent);
}

.header.has-mobile-menu nav .nav-link[aria-current="location"] {
	background: transparent;
	color: var(--accent);
}

.header.has-mobile-menu {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-20);
	width: var(--content-width);
	margin-inline: auto;
	min-height: 64px;
	padding-block: var(--space-9);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--space-20);
	padding-block: var(--space-16);
}

@media (max-width: 900px) {
	.header-inner {
		width: calc(100% - 24px);
		min-height: 60px;
		padding-block: var(--space-8);
		gap: var(--space-8);
	}

}

@media (max-width: 600px) {
	.footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: var(--space-6);
		padding-block: var(--space-12);
	}

}

@media (max-width: 380px) {
	.header-inner {
		width: calc(100% - 16px);
		gap: var(--space-6);
	}

}

.footer-identity {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: var(--space-4) var(--space-16);
}

.footer-identity .brand {
	grid-row: 1 / 3;
}

.footer-contacts {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--space-20);
	min-width: 0;
}

.footer-contacts a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-10);
	min-height: var(--control-size);
	font-size: var(--font-size-14);
	color: var(--text);
}

.footer-contacts a>span:not(.visually-hidden) {
	min-width: 0;
	overflow-wrap: anywhere;
}

.footer-contacts a:hover {
	color: var(--accent);
}

@media (min-width: 601px) and (max-width: 1100px) {
	.footer-contacts {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

}

@media (max-width: 600px) {
	.footer-identity {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--space-2);
	}

	.footer-contacts {
		flex-direction: column;
		gap: 0;
		align-items: center;
	}

}

@media (max-width: 380px) {
	.footer-identity .brand {
		font-size: var(--font-size-18);
		padding-inline: var(--space-8);
	}

	.footer-identity {
		font-size: var(--font-size-11);
	}

}

@media (max-width: 600px) {
	.footer-contacts a {
		justify-content: center;
	}

}

@media (min-width: 601px) and (max-width: 1024px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cards>.card:last-child {
		grid-column: 1 / -1;
	}

}

:root:not([data-theme="dark"]) .brand {
	background: transparent;
}

:root:not([data-theme="dark"]) .brand .brand-code {
	color: var(--palette-blue-600);
}

:root:not([data-theme="dark"]) .brand .brand-nest {
	color: var(--palette-slate-900);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.button:hover {
		translate: 0 -2px;
		box-shadow: 0 5px 12px var(--palette-ink-12);
	}

	.theme-toggle:hover,
	.menu-toggle:hover {
		translate: 0 -2px;
		box-shadow: 0 5px 12px var(--palette-ink-12);
		background: var(--background);
		color: var(--accent);
		border-color: var(--accent);
	}

	.header .language-switch a:hover,
	.back-to-top:hover {
		translate: 0 -2px;
		box-shadow: 0 5px 12px var(--palette-ink-12);
	}

	.header .language-switch a[aria-current="page"]:hover {
		background: var(--button-hover);
	}

	.button:active,
	.theme-toggle:active,
	.menu-toggle:active,
	.header .language-switch a:active,
	.back-to-top:active {
		translate: 0 0;
		box-shadow: none;
	}

}

@media (prefers-reduced-motion: reduce) {
	.button,
	.theme-toggle,
	.menu-toggle,
	.header .language-switch a {
		transition: none;
		translate: none;
	}

}

.about-editor {
	--editor-bg: var(--palette-white);
	--editor-chrome: var(--palette-editor-light-chrome);
	--editor-tag: var(--palette-editor-light-tag);
	width: 100%;
	max-width: 620px;
	margin-block: var(--space-20) var(--space-8);
	overflow: hidden;
	border: var(--border-default);
	border-radius: var(--radius-10);
	background: var(--editor-bg);
	color: var(--text);
	box-shadow: 0 12px 32px var(--palette-black-6);
	font: 14px/1.75 Consolas, 'Courier New', monospace;
}

[data-theme="dark"] .about-editor {
	--editor-bg: var(--palette-editor-dark-bg);
	--editor-chrome: var(--palette-editor-dark-chrome);
	--editor-tag: var(--palette-editor-dark-tag);
}

.editor-tabs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--editor-chrome);
	border-bottom: var(--border-default);
}

.editor-tab {
	display: flex;
	align-items: center;
	gap: var(--space-10);
	padding: var(--space-9) var(--space-14);
	border-top: 2px solid var(--accent);
	border-right: var(--border-default);
	background: var(--editor-bg);
	font-size: var(--font-size-13);
}

.editor-file-icon,
.editor-tag {
	color: var(--editor-tag);
}

.editor-tab-close {
	margin-left: var(--space-14);
	color: var(--muted);
}

.editor-more {
	padding-inline: var(--space-16);
	color: var(--muted);
}

.editor-code {
	padding: var(--space-12) clamp(var(--space-12), 3vw, var(--space-24)) var(--space-14) 0;
}

.editor-code-row {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
}

.editor-line-number {
	color: var(--muted);
	text-align: center;
	user-select: none;
}

.about-editor .intro {
	max-width: none;
	min-width: 0;
	margin: 0;
	padding-left: var(--space-16);
	border-left: var(--border-default);
	font: inherit;
	color: var(--text);
	overflow-wrap: anywhere;
}

.editor-status {
	display: flex;
	justify-content: space-between;
	padding: var(--space-3) var(--space-14);
	border-top: var(--border-default);
	background: var(--editor-chrome);
	color: var(--muted);
	font-size: var(--font-size-11);
}

.editor-status-language {
	margin-left: var(--space-18);
}

.intro-typed {
	display: none;
}

.intro.has-typewriter {
	display: grid;
}

.intro.has-typewriter>span {
	grid-area: 1 / 1;
}

.intro.has-typewriter>[data-i18n] {
	opacity: 0;
	pointer-events: none;
}

.intro.has-typewriter .intro-typed {
	display: block;
}

.intro-typed::after {
	content: '';
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: var(--space-3);
	vertical-align: -.12em;
	background: var(--accent);
	animation: intro-cursor 1s step-end infinite;
}

@keyframes intro-cursor {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.intro.has-typewriter>[data-i18n] {
		opacity: 1;
	}

	.intro.has-typewriter .intro-typed {
		display: none;
	}

	.intro-typed::after {
		animation: none;
	}

}

.next-section {
	position: fixed;
	z-index: 20;
	left: 50%;
	bottom: max(18px, env(safe-area-inset-bottom));
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: var(--control-size);
	height: var(--control-size);
	border: var(--border-default);
	border-radius: var(--radius-circle);
	background: var(--background);
	color: var(--accent);
	font-size: var(--font-size-24);
	box-shadow: 0 4px 14px var(--palette-ink-10);
	opacity: 1;
	visibility: visible;
	transition: opacity var(--duration-normal) ease, visibility 0s, background-color var(--duration-fast) ease, translate var(--duration-fast) ease;
	animation: next-section-nudge 2s ease-in-out infinite;
}

.next-section:hover {
	background: var(--surface);
	border-color: var(--accent);
}

.next-section.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition-delay: 0s, var(--duration-normal), 0s, 0s;
	animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.next-section:hover {
		translate: 0 2px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.next-section {
		transition: none;
		animation: none;
	}

}

.next-section>svg {
	display: block;
}

@keyframes next-section-nudge {

	0%,
	100% {
		transform: translate(-50%, -2px);
	}

	50% {
		transform: translate(-50%, 3px);
	}
}

.back-to-top>svg {
	display: block;
}

@media (max-width: 380px) {
	.header.has-mobile-menu .brand {
		font-size: var(--font-size-16);
	}

	.header .language-switch a {
		width: 32px;
		min-width: 32px;
		flex-basis: 32px;
	}

}
