@font-face {
	font-family: "MoolBoran";
	src:
		url("../fonts/MoolBoran.eot") format("embedded-opentype"),
		url("../fonts/MoolBoran.woff") format("woff"),
		url("../fonts/MoolBoran.ttf") format("truetype"),
		url("../fonts/MoolBoran.svg#MoolBoran") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Переключи шрифт здесь для сравнения:
	   --font-main: "MoolBoran", sans-serif;
	   --font-main: "Rajdhani", sans-serif;
	   --font-main: "Exo 2", sans-serif;
	   --font-main: "Play", sans-serif;
	   --font-main: "Jura", sans-serif;
	   --font-main: "Aldrich", sans-serif;
	   --font-main: "Quantico", sans-serif;
	   --font-main: "Michroma", sans-serif;
	*/
	--font-main: "Play", sans-serif;

	/* Brand */
	--brand: #ff5e00;
	--brand-rgb: 255, 94, 0;
	--brand-old: #fabd6e;
	--brand-old-rgb: 250, 189, 110;
	--soft-white: #f2f2f7;

	/* Base */
	--black: #000000;
	--black-rgb: 0, 0, 0;
	--white: #ffffff;
	--white-rgb: 255, 255, 255;
	--gray-900: #333333;
	--gray-700: #888888;
	--gray-500: #aaaaaa;
	--gray-400: #cccccc;
	--gray-350: #dcdad8;
	--gray-300: #dddddd;
	--gray-200: #e1eef6;
	--shadow-muted-rgb: 142, 151, 158;

	/* Text */
	--text: var(--white);
	--text-on-brand: var(--black);
	--text-muted: var(--gray-500);
	--text-subtle: var(--gray-700);
	--text-secondary: var(--gray-400);
	--text-drawer: var(--gray-350);
	--text-faded: rgba(var(--white-rgb), 0.5);

	/* Surfaces */
	--surface-body: var(--black);
	--surface-drawer: rgba(10, 12, 16, 0.92);
	--surface-card: rgba(var(--black-rgb), 0.22);
	--surface-preview: rgba(var(--white-rgb), 0.1);
	--surface-tag: rgba(var(--white-rgb), 0.08);
	--glass-button-bg: rgba(var(--white-rgb), 0.05);

	/* Overlays */
	--overlay-hero: rgba(var(--black-rgb), 0.6);
	--overlay-section: rgba(var(--black-rgb), 0.5);
	--overlay-video: rgba(var(--black-rgb), 0.4);
	--overlay-scrim: rgba(var(--black-rgb), 0.32);
	--overlay-avatar: rgba(var(--black-rgb), 0.4);

	/* Borders */
	--border-brand-soft: rgba(var(--brand-rgb), 0.25);
	--border-brand-medium: rgba(var(--brand-rgb), 0.28);
	--border-brand-strong: rgba(var(--brand-rgb), 0.3);
	--border-brand-emphasis: rgba(var(--brand-rgb), 0.4);
	--border-brand-active: rgba(var(--brand-rgb), 0.45);
	--border-white-faint: rgba(var(--white-rgb), 0.06);
	--border-white-soft: rgba(var(--white-rgb), 0.12);
	--border-white-medium: rgba(var(--white-rgb), 0.25);
	--border-glass: rgba(var(--white-rgb), 0.12);

	/* Brand fills */
	--brand-fill-08: rgba(var(--brand-rgb), 0.08);
	--brand-fill-10: rgba(var(--brand-rgb), 0.1);
	--brand-fill-15: rgba(var(--brand-rgb), 0.15);
	--brand-fill-20: rgba(var(--brand-rgb), 0.2);
	--brand-fill-30: rgba(var(--brand-rgb), 0.3);

	/* Glass / hover */
	--glass-hover-bg: rgba(var(--white-rgb), 0.12);

	/* Success */
	--success: #6fa87a;
	--success-rgb: 111, 184, 122;
	--success-fill: rgba(var(--success-rgb), 0.1);
	--success-border: rgba(var(--success-rgb), 0.28);

	/* Shadows */
	--shadow-text: 1px 0 3px var(--black);
	--shadow-text-nav: 1px 0 1px #330000;
	--shadow-drop-contact: 1px 0 3px var(--black);
	--shadow-icon: 0 0 1px var(--gray-900);
	--shadow-avatar: 0 8px 24px var(--overlay-avatar);
	--shadow-drawer: 0 10px 30px var(--black);
	--shadow-widget: rgba(var(--shadow-muted-rgb), 0.15) 0 4px 19px 0;
}

::selection {
	background: var(--brand);
	color: var(--text-on-brand);
	text-shadow: none;
}

::-moz-selection {
	background: var(--brand);
	color: var(--text-on-brand);
	text-shadow: none;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	background: var(--surface-body);
	background-size: contain;
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
}

.hero a,
.hero a:visited,
.section a,
.section a:visited {
	color: var(--text);
}

.hero a:hover,
.section a:hover {
	color: var(--brand);
}

p {
	margin: 10px 0;
	font-size: 14px;
	line-height: 24px;
}

.hero {
	position: relative;
	z-index: 50;
	min-height: 100vh;
}

.hero__footer {
	position: absolute;
	width: 100%;
	bottom: 50px;
}

.contacts__link {
	transition: opacity 0.2s ease;
}

.contacts__link:hover {
	opacity: 0.7;
}

.contacts__list {
	list-style: none;
	margin: 0;
	padding: 0 70px;
	height: 30px;
}

.contacts__item {
	float: left;
	width: 30px;
	height: 30px;
	margin-right: 40px;
}

.contacts__item:nth-child(5) {
	margin-right: 0;
}

.contacts__item:last-child {
	margin-right: 0;
}

.contacts__link {
	display: block;
	width: 30px;
	height: 30px;
	filter: drop-shadow(var(--shadow-drop-contact));
}

.contacts__link--apple {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contacts__link--apple svg {
	width: 22px;
	height: 27px;
	transform: translateY(-3px);
}

.hero__title {
	margin: 0;
	padding: 60px 70px 45px;
	font-size: 42px;
	line-height: 48px;
	font-weight: 400;
}

.nav__heading {
	padding: 24px 0 0;
	margin: 0;
	color: var(--brand);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 20px;
	text-shadow: none;
}

a {
	text-decoration: none;
}

.hero__nav {
	position: absolute;
	left: 70px;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
	font-size: 14px;
	line-height: 28px;
	z-index: 10;
}

.site {
	color: var(--text);
	text-shadow: var(--shadow-text);
}

.backyard {
	text-shadow: var(--shadow-text);
}

.private-lock {
	position: absolute;
	top: 50px;
	right: 50px;
	z-index: 100;
	width: 30px;
	height: 30px;
	padding: 0;
	border: none;
	background: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.32;
	filter: drop-shadow(var(--shadow-drop-contact));
	transition: opacity 0.2s ease;
}

.private-lock:hover,
.private-lock:focus-visible {
	opacity: 0.62;
}

.private-lock__icon {
	display: block;
	width: 30px;
	height: 30px;
}

@media screen and (max-width: 600px) {
	.private-lock {
		right: 24px;
	}

	.contacts__list {
		gap: 14px;
	}
}

[aria-hidden="true"] {
	display: none;
}

.nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__item {
	line-height: 28px;
}

.nav__item--hidden {
	display: none;
}

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.nav__icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	opacity: 0.92;
	transition: opacity 0.2s ease;
	filter: drop-shadow(var(--shadow-icon));
}

.nav__link:hover .nav__icon {
	opacity: 1;
}

/* Лендинговые секции */
.section {
	position: relative;
	min-height: 100vh;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-margin-top: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

#about,
#apps,
#project {
	content-visibility: auto;
	contain-intrinsic-size: auto 100vh;
}

.section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--overlay-section);
	backdrop-filter: blur(4px);
	z-index: 0;
}

.section__content {
	max-width: 900px;
	width: 100%;
	animation: fadeInUp 0.8s ease-out;
	position: relative;
	z-index: 1;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section__title {
	margin: 0;
	padding: 24px 0 0;
	color: var(--brand);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 20px;
	text-align: right;
	position: absolute;
	top: 24px;
	right: 48px;
	z-index: 10;
	text-shadow: none;
}

.section h3 {
	font-size: 18px;
	line-height: 24px;
	color: var(--brand);
	margin: 24px 0 16px;
	text-transform: uppercase;
	font-weight: 400;
}

.section p {
	font-size: 14px;
	line-height: 20px;
	margin: 16px 0;
}

.section .list-grid {
	margin-top: 16px;
	line-height: 24px;
}

.section .list-grid a {
	color: var(--brand);
	transition: color 0.3s ease;
	text-decoration: none;
	margin-right: 16px;
	display: inline;
}

.section .list-grid a:hover {
	color: var(--text);
}

.section .list-grid hr {
	grid-column: 1 / -1;
	border: none;
	border-top: 1px solid var(--border-brand-soft);
	margin: 8px 0;
}

.mentorship__widget {
	max-width: 650px;
	margin: 0 auto;
	box-shadow: var(--shadow-widget);
	border-radius: 16px;
	overflow: hidden;
}

/* Бесконечная прокрутка компаний */
.about__marquee {
	overflow: hidden;
	width: 100%;
	margin-top: 16px;
	position: relative;
}

.about__marquee-track {
	display: flex;
	align-items: center;
	width: fit-content;
	will-change: transform;
	animation: marquee 30s linear infinite;
}

.about__marquee:hover .about__marquee-track {
	animation-play-state: paused;
}

.about__marquee-track a {
	white-space: nowrap;
	text-decoration: none;
	font-size: 14px;
	line-height: 20px;
	transition: color 0.3s ease;
	flex-shrink: 0;
}

.about__marquee-track a::after {
	content: "•";
	color: var(--text-muted);
	margin: 0 12px;
}

.section .about__marquee-track a[href],
.section .about__marquee-track a[href]:visited {
	color: var(--text);
}

.about__marquee-track a:not([href]) {
	color: var(--text-muted);
	cursor: default;
}

.section .about__marquee-track a[href]:hover {
	color: var(--brand);
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* About section */
.about__layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
	margin: 32px 0;
	padding: 0 48px;
}

.about__profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.about__avatar {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	border: 3px solid var(--brand);
	display: block;
	margin: 0 auto 16px;
	box-shadow: var(--shadow-avatar);
}

.about__name {
	font-family: var(--font-main);
	font-size: 24px;
	line-height: 28px;
	color: var(--brand);
	margin: 0;
	text-transform: none;
	font-weight: 400;
}

.section h3.about__name {
	margin: 0;
}

.about__org-link {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 18px;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.section a.about__org-link,
.section a.about__org-link:visited {
	color: var(--brand);
	text-decoration: underline;
}

.section a.about__org-link:hover {
	color: var(--text);
}

.about__roles {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 16px;
	text-align: left;
}

.about__core {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 20px;
}

.about__core-techs {
	color: var(--text-secondary);
	text-shadow: none;
}

.about__stack-details {
	display: inline;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 13px;
	line-height: 18px;
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	text-shadow: none;
	transition: color 0.2s ease;
}

.about__stack-details:hover {
	color: var(--text);
}

.about__panel-back {
	display: inline;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
	font-size: 13px;
	line-height: 18px;
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	text-shadow: none;
	transition: color 0.2s ease;
}

.about__panel-back:hover {
	color: var(--text);
}

.about__roles a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.about__roles a:hover {
	color: var(--brand);
}

.about__role-sep {
	color: var(--text);
	margin: 0 6px;
}

.about__principles {
	margin-top: 16px;
}

.about__principles h3 {
	text-align: left;
	margin-bottom: 16px;
}

.about__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.about__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	background: rgba(var(--white-rgb), 0.14);
	border: 1px solid var(--border-white-medium);
	color: var(--text);
	text-shadow: 0 1px 2px rgba(var(--black-rgb), 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
		text-shadow 0.2s ease;
}

button.about__tag {
	cursor: pointer;
	font: inherit;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.about__tag:hover {
	background: rgba(var(--white-rgb), 0.7);
	border-color: rgba(var(--white-rgb), 0.7);
	color: var(--black);
	text-shadow: none;
}

.section a.about__tag,
.section a.about__tag:visited {
	color: var(--text);
}

.section a.about__tag:hover {
	color: var(--black);
	text-shadow: none;
}

.principle-modal {
	border: none;
	padding: 0;
	margin: auto;
	max-width: calc(100% - 32px);
	width: 420px;
	background: transparent;
	color: var(--text);
}

.principle-modal::backdrop {
	background: rgba(var(--black-rgb), 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.principle-modal__inner {
	position: relative;
	padding: 24px 28px;
	background: var(--surface-drawer);
	border: 1px solid var(--border-brand-emphasis);
	border-radius: 8px;
	box-shadow: var(--shadow-drawer);
	text-shadow: none;
}

.principle-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	background: none;
	color: var(--text-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}

.principle-modal__close:hover,
.principle-modal__close:focus-visible {
	color: var(--brand);
}

.principle-modal__title {
	margin: 0 32px 12px 0;
	font-family: var(--font-main);
	font-size: 18px;
	line-height: 22px;
	color: var(--brand);
	text-transform: none;
	font-weight: 500;
}

.principle-modal__text {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-secondary);
}

.principle-modal__link {
	display: inline-block;
	margin-top: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--brand);
	text-decoration: none;
	transition: color 0.2s ease;
}

.principle-modal__link:hover,
.principle-modal__link:focus-visible {
	color: var(--text);
	text-decoration: underline;
}

.principle-modal__link[hidden] {
	display: none;
}

.principle-modal__list-title {
	margin: 16px 0 8px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.principle-modal__list-title[hidden] {
	display: none;
}

.principle-modal__list {
	margin: 12px 0 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-secondary);
}

.private-modal__links {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
}

.private-modal__links li + li {
	margin-top: 10px;
}

.private-modal__links a {
	color: var(--brand);
	text-decoration: none;
	transition: color 0.2s ease;
}

.private-modal__links a:hover,
.private-modal__links a:focus-visible {
	color: var(--text);
	text-decoration: underline;
}

.principle-modal__list li + li {
	margin-top: 6px;
}

.principle-modal__list strong {
	color: var(--text);
	font-weight: 500;
}

.about__details {
	display: flex;
	flex-direction: column;
}

.about__details h3 {
	text-align: left;
}

.about__companies {
	margin-top: 48px;
	padding: 0 48px;
}

.about__companies h3 {
	text-align: center;
	margin-bottom: 24px;
}

.about__org-cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	width: 100%;
}

/* About ↔ Stack ↔ Organization horizontal slide */
.section--about {
	overflow: hidden;
}

.about-slide {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
}

.about-slide__track {
	position: absolute;
	top: 0;
	left: -100%;
	display: flex;
	width: 300%;
	height: 100%;
	transition: left 0.55s cubic-bezier(0.45, 0, 0.55, 1);
}

.section--about.is-stack .about-slide__track {
	left: 0;
}

.section--about.is-org .about-slide__track {
	left: -200%;
}

.about-slide__panel {
	position: relative;
	flex: 0 0 33.333333%;
	width: 33.333333%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px 0;
	overflow: auto;
}

.about-slide__panel .section__content {
	position: relative;
	z-index: 1;
}

.about__org,
.about__stack {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about__stack {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}

.section p.about__stack-lead {
	margin: 0 0 36px;
	align-self: stretch;
	max-width: none;
	font-family: var(--font-main);
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
	color: var(--text);
	text-align: left;
	text-shadow: none;
	box-sizing: border-box;
}

.about__stack-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
	width: 100%;
}

.about__stack-group h3 {
	margin: 0 0 4px;
	font-family: var(--font-main);
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
	color: var(--brand);
	text-transform: none;
	text-align: left;
}

.about__stack-group p {
	margin: 0;
	font-size: 13px;
	line-height: 18px;
	color: var(--text-secondary);
	text-align: left;
	text-shadow: none;
}

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

/* Project category tabs + fade panels */
.section--project {
	overflow: visible;
}

.project-body {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	max-width: none;
	padding: 0;
	box-sizing: border-box;
}

.project-tabs {
	position: absolute;
	top: 40px;
	left: 48px;
	right: 200px;
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 0;
}

.project-tabs__tab {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--text-faded);
	font: inherit;
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.2s ease;
}

.project-tabs__tab:hover {
	color: var(--text);
}

.project-tabs__tab--active,
.project-tabs__tab--active:hover {
	color: var(--brand);
}

.section--project .section__title {
	top: 40px;
	padding: 0;
	line-height: 20px;
}

.project-slide {
	position: absolute;
	inset: 0;
	overflow: visible;
	z-index: 1;
}

.project-slide__track {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.project-slide__panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.section--project[data-tab="projects"] #project-panel-projects,
.section--project[data-tab="games"] #project-panel-games,
.section--project[data-tab="interesting"] #project-panel-interesting,
.section--project[data-tab="funny"] #project-panel-funny,
.section--project[data-tab="experiments"] #project-panel-experiments,
.section--project[data-tab="tools"] #project-panel-tools {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.project-slide__panel .section__content {
	position: static;
	z-index: 1;
	max-width: none;
	width: auto;
	/* opacity-only: transform would become containing block for .showcase__list */
	animation: showcaseContentIn 0.8s ease-out;
}

@keyframes showcaseContentIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

	.project-slide__panel .section__content {
		animation: none;
	}
}

.org__details {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 10px 24px;
	max-width: 640px;
	margin: 0 auto;
	font-size: 14px;
	line-height: 20px;
}

.org__details dt {
	color: var(--brand);
	text-align: right;
	white-space: nowrap;
}

.org__details dd {
	margin: 0;
}

.org__details a {
	text-decoration: none;
}

.org__details a:hover {
	color: var(--brand);
}

/* Apps gallery */
#apps .section__content {
	max-width: 760px;
}

.apps__intro {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 20px;
	color: var(--text-muted);
	text-align: center;
	text-shadow: none;
}

.apps__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.app-card--center {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc(50% - 5px);
}

.app-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 12px;
	border-radius: 6px;
	background: var(--surface-card);
	border: 1px solid var(--border-white-faint);
	text-shadow: none;
}

.app-card .app-card__icon {
	flex-shrink: 0;
	width: 82px;
	height: 82px;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	display: block;
}

.app-card .app-card__content {
	flex: 1;
	min-width: 0;
	height: 82px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.app-card .app-card__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.app-card .app-card__title {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	color: var(--brand);
	font-weight: 500;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.app-card .app-card__tag {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	line-height: 14px;
	color: var(--text-secondary);
	background: var(--surface-tag);
	border: 1px solid var(--border-white-soft);
}

.app-card .app-card__tag--free {
	color: var(--success);
	background: var(--success-fill);
	border-color: var(--success-border);
}

.app-card .app-card__tagline {
	margin: 0;
	font-size: 12px;
	line-height: 14px;
	color: var(--text-subtle);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.app-card .app-card__stores {
	display: flex;
	gap: 4px;
	align-items: center;
	height: 24px;
}

.app-card .store-badge,
.app-card .store-badge:link,
.app-card .store-badge:visited {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: none;
	color: var(--text-secondary);
	transition: color 0.2s ease;
	text-shadow: none;
}

.app-card .store-badge__icon {
	display: block;
	width: 18px;
	height: 18px;
}

.app-card .store-badge--play .store-badge__icon {
	transform: translateX(-4px);
}

.app-card .store-badge--apple .store-badge__icon {
	width: 20px;
	height: 20px;
	transform: translateY(-1px);
}

.app-card .store-badge:hover,
.app-card .store-badge:focus-visible {
	color: var(--brand);
}

.app-card .store-badge--apple:not([href]),
.app-card .store-badge--apple[href="#"],
.app-card .store-badge--apple[href=""] {
	opacity: 0.25;
	pointer-events: none;
}

/* Showcase layout */
.showcase {
	display: block;
}

.showcase__list {
	position: absolute;
	left: 48px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.showcase__item {
	padding: 4px 0;
	cursor: pointer;
	transition: color 0.2s ease;
	font-size: 14px;
	line-height: 20px;
	border-radius: 0;
	text-shadow: none;
	border: none;
	background: none;
	color: var(--text);
	font-family: inherit;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
}

.showcase__item:not(.showcase__item--active):hover {
	color: var(--brand);
	background: none;
	border: none;
	text-shadow: none;
}

.showcase__item--active {
	color: var(--brand);
	background: none;
	border: none;
	text-shadow: none;
}

.showcase__preview {
	padding: 0;
	margin: 0 auto;
	width: 560px;
	max-width: 100%;
	overflow: visible;
}

.showcase__track {
	position: relative;
	display: block;
	width: 100%;
}

.showcase__panel {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 0;
	opacity: 0;
	transform: translateX(48%) scale(0.84);
	transform-origin: center center;
	transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase__panel--active {
	position: relative;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
	opacity: 1;
	transform: translateX(0) scale(1);
}

.showcase__panel--exiting {
	position: absolute;
	visibility: visible;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transform: translateX(var(--showcase-exit-x, -56%)) scale(0.72);
}

.showcase__panel--prep {
	transition: none !important;
	opacity: 0;
	transform: translateX(var(--showcase-enter-x, 56%)) scale(0.72);
	visibility: visible;
}

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

	.showcase__panel:not(.showcase__panel--active) {
		opacity: 0;
	}

	.showcase__panel--active {
		opacity: 1;
	}

	.showcase__panel--prep,
	.showcase__panel--exiting {
		transform: none;
	}
}

.showcase__media {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: var(--surface-preview);
	box-shadow: 0 22px 52px rgba(var(--black-rgb), 0.52),
		0 8px 18px rgba(var(--black-rgb), 0.3);
	transform: perspective(900px) rotateX(var(--tilt-x, 0deg))
		rotateY(var(--tilt-y, 0deg));
	transform-style: preserve-3d;
	will-change: transform;
}

.showcase__panel img {
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	margin: 0;
	display: block;
	background: var(--surface-preview);
	pointer-events: none;
}

.showcase__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(var(--black-rgb), 0.62) 0%,
		rgba(var(--black-rgb), 0.32) 22%,
		rgba(var(--black-rgb), 0.1) 44%,
		transparent 62%
	);
}

.showcase__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 26px 24px;
	background: rgba(var(--black-rgb), 0.2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 0;
	box-shadow: none;
	pointer-events: none;
}

.showcase__caption::before {
	content: none;
}

.showcase__caption h4,
.showcase__caption p {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.showcase__caption-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	--showcase-title-size: 26px;
	--showcase-title-leading: 1.1;
	pointer-events: none;
}

.showcase__caption-head h4 {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.showcase__caption-head .showcase__action {
	flex: 0 0 auto;
	padding: 10px 12px;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid #ff6a1a;
	border-radius: 4px;
	color: #ff6a1a;
	font-size: 15px;
	line-height: var(--showcase-title-leading);
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-shadow: none;
	pointer-events: auto;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* VanillaTilt-style laminated glare (CodePen WNGOOLv) */
.showcase__glare {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	overflow: hidden;
	pointer-events: none;
	border-radius: inherit;
}

.showcase__glare-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	pointer-events: none;
	background-image: linear-gradient(
		0deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.55) 100%
	);
	transform: rotate(180deg) translate(-50%, -50%);
	transform-origin: 0% 0%;
	opacity: 0;
}

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

	.showcase__glare {
		display: none;
	}
}

.showcase__panel h4 {
	font-size: var(--showcase-title-size, 26px);
	line-height: var(--showcase-title-leading, 1.1);
	margin: 0;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	text-align: left;
	color: #ff6a1a;
	text-shadow:
		0 1px 0 #ffae73,
		0 2px 0 #e85a10,
		0 3px 0 #c44a08,
		0 4px 0 #9a3a06,
		0 5px 0 #702a04,
		0 7px 12px rgba(var(--black-rgb), 0.75);
}

.showcase__panel p {
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	border: 0;
	max-width: 100%;
	text-align: left;
	color: #7a7a82;
	text-shadow:
		0 1px 0 rgba(var(--white-rgb), 0.1),
		0 -1px 0 rgba(var(--black-rgb), 0.92),
		0 0 1px rgba(var(--black-rgb), 0.55);
	letter-spacing: 0.03em;
}

.showcase__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid #ff6a1a;
	border-radius: 4px;
	color: #ff6a1a;
	font-size: 15px;
	line-height: 1.1;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.section a.showcase__action,
.section a.showcase__action:visited {
	color: #ff6a1a;
	text-decoration: none;
}

.showcase__action:hover,
.section a.showcase__action:hover {
	background: rgba(var(--white-rgb), 0.82);
	border-color: rgba(var(--white-rgb), 0.82);
	color: var(--black);
	text-shadow: none;
}

/* Адаптив для секций */
@media screen and (max-width: 768px) {
	.section {
		padding: 60px 16px 48px;
		background-attachment: scroll;
	}

	.section__title {
		font-size: 18px;
		right: 16px;
		top: 24px;
	}

	.section .list-grid {
		grid-template-columns: 1fr;
	}

	.hero__title {
		padding: 40px 24px 24px;
		font-size: 32px;
		line-height: 36px;
	}

	.hero__nav {
		left: 24px;
	}

	.hero__footer {
		bottom: 24px;
		padding: 0 16px;
		box-sizing: border-box;
	}

	.contacts__list {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 18px;
		padding: 0;
		height: 30px;
		overflow: hidden;
	}

	.contacts__item {
		float: none;
		width: 30px;
		height: 30px;
		margin-right: 0;
		flex: 0 0 auto;
	}

	.contacts__item:nth-child(5) {
		margin-right: 0;
	}

	.about__avatar {
		width: 180px;
		height: 180px;
	}

	.about__layout {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0;
	}

	.about__roles {
		text-align: center;
		white-space: normal;
	}

	.about__core {
		justify-content: center;
		text-align: center;
	}

	.about__principles h3 {
		text-align: center;
	}

	.about__tags {
		justify-content: center;
	}

	.about__companies {
		padding: 0;
	}

	.about__org-cta {
		padding: 0 0 8px;
	}

	.about__stack {
		padding: 0 16px;
	}

	.about__stack-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.about__stack-group h3,
	.about__stack-group p {
		text-align: center;
	}

	.org__details {
		grid-template-columns: 1fr;
		gap: 4px 0;
	}

	.project-tabs {
		left: 16px;
		right: 16px;
		top: 20px;
		gap: 10px 16px;
		justify-content: flex-start;
	}

	.project-body {
		padding: 0;
	}

	.project-tabs__tab {
		font-size: 15px;
		line-height: 22px;
	}

	.section--project .section__title {
		display: none;
	}

	.project-slide__panel {
		padding: 88px 16px 24px;
		box-sizing: border-box;
		align-items: center;
	}

	.org__details dt {
		text-align: left;
		margin-top: 12px;
	}

	.org__details dt:first-child {
		margin-top: 0;
	}

	#apps .section__content {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.apps__gallery {
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
	}

	.app-card--center {
		width: 100%;
		justify-self: stretch;
	}

	.app-card {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		gap: 10px;
		padding: 10px;
	}

	.app-card .app-card__icon {
		width: 64px;
		height: 64px;
	}

	.app-card .app-card__content {
		height: 64px;
		gap: 6px;
	}

	.app-card .app-card__title {
		font-size: 13px;
	}

	.app-card .app-card__tagline {
		font-size: 11px;
	}

	.showcase {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
	}

	.showcase__list {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 6px 12px;
		margin: 0 0 16px;
		padding: 0;
		max-width: 100%;
		width: 100%;
		overflow: visible;
	}

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

	.showcase__item {
		padding: 4px 0;
		border: none;
		color: var(--text-faded);
		background: none;
		border-radius: 0;
		text-shadow: none;
		text-align: center;
		font-size: 13px;
		line-height: 16px;
		width: auto;
		flex: 0 0 auto;
		white-space: nowrap;
		box-sizing: border-box;
	}

	.showcase__item--active {
		border: none;
		background: none;
		color: var(--brand);
		text-shadow: none;
	}

	.showcase__preview {
		width: 100%;
		max-width: 100%;
	}

	.showcase__panel {
		align-items: center;
		text-align: center;
	}

	.showcase__panel img {
		max-width: 100%;
		height: auto;
		aspect-ratio: 1200 / 630;
	}

	.showcase__caption {
		padding: 16px 18px 18px;
		gap: 10px;
	}

	.showcase__caption-head {
		gap: 12px;
		--showcase-title-size: 18px;
	}

	.showcase__caption-head .showcase__action {
		padding: 10px 12px;
		font-size: 13px;
		letter-spacing: 0.1em;
	}

	.showcase__panel h4 {
		letter-spacing: 0.1em;
		text-shadow:
			0 1px 0 #ffae73,
			0 2px 0 #e85a10,
			0 3px 0 #9a3a06,
			0 4px 8px rgba(var(--black-rgb), 0.7);
	}

	.showcase__panel p {
		font-size: 11px;
		line-height: 1.55;
		letter-spacing: 0.02em;
	}

	.showcase__media {
		max-width: 100%;
	}
}
