@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope-Regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 600;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/Manrope-Bold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 600;
}

:root {
	--dark: #101112;
	--dark-soft: #171819;
	--dark-raised: #1d1e1f;
	--paper: #ebe3d7;
	--paper-soft: #f4eee5;
	--paper-raised: #f7f2eb;
	--ink: #171717;
	--ink-soft: #403d39;
	--light: #f4eee5;
	--muted-light: #bbb4aa;
	--muted-dark: #6b655e;
	--copper: #b77c36;
	--copper-bright: #d09a54;
	--line-dark: #303132;
	--line-light: #d1c5b5;
	--header-height: 78px;
	--shell: 1340px;
	--section-pad: clamp(44px, 4.2vw, 72px);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Manrope", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--dark);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
textarea {
	border-radius: 0;
	color: inherit;
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
blockquote,
figure {
	margin: 0;
}

p,
strong,
a,
span {
	overflow-wrap: anywhere;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--copper);
	color: var(--dark);
}

:focus-visible {
	outline: 2px solid var(--copper-bright);
	outline-offset: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 10000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--paper-soft);
	color: var(--ink);
}

.shell {
	width: min(calc(100% - 72px), var(--shell));
	margin-inline: auto;
}

.section {
	position: relative;
	padding-block: var(--section-pad);
}

.section--dark {
	background: var(--dark);
	color: var(--light);
}

.section--light {
	background: var(--paper);
	color: var(--ink);
}

.eyebrow,
.micro-label {
	color: var(--copper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.5;
	text-transform: uppercase;
}

.section--dark .eyebrow,
.section--dark .micro-label {
	color: var(--copper-bright);
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 400;
	hyphens: none;
	line-height: 0.95;
	overflow-wrap: normal;
	text-transform: uppercase;
	word-break: normal;
}

h2 {
	max-width: 100%;
	font-size: clamp(38px, 4.8vw, 66px);
	letter-spacing: -0.045em;
}

.section-heading {
	display: grid;
	gap: 14px;
	max-width: 920px;
	margin-bottom: clamp(24px, 3vw, 38px);
}

.section-heading .eyebrow {
	margin-bottom: 4px;
}

.section-heading > p:last-child {
	max-width: 760px;
	color: var(--ink-soft);
	font-size: clamp(14px, 1.2vw, 17px);
	line-height: 1.6;
}

.section--dark .section-heading > p:last-child {
	color: var(--muted-light);
}

.section-heading--wide {
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
	align-items: end;
	max-width: none;
}

.section-heading--wide > div {
	display: grid;
	gap: 22px;
	min-width: 0;
}

.section-heading--wide > p {
	padding-bottom: 4px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 62px;
	padding: 15px 26px;
	border: 1px solid var(--copper);
	background: var(--copper);
	color: var(--dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
	background: var(--copper-bright);
	transform: translateY(-2px);
}

.button--small {
	min-height: 44px;
	padding: 10px 17px;
	font-size: 10px;
}

.button--full {
	width: 100%;
}

.ui-arrow {
	display: block;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	overflow: visible;
}

.image-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-light);
	background: var(--paper-raised);
}

.image-frame::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgb(255 255 255 / 24%);
	content: "";
	pointer-events: none;
}

.image-frame--dark {
	border-color: var(--line-dark);
	background: var(--dark-soft);
}

.image-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Header */
.site-header {
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 0;
	left: 0;
	height: var(--header-height);
	border-bottom: 1px solid rgb(255 255 255 / 10%);
	background: rgb(16 17 18 / 90%);
	color: var(--light);
	backdrop-filter: blur(16px);
	transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	background: rgb(16 17 18 / 97%);
	box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(24px, 4vw, 60px);
	width: min(calc(100% - 72px), var(--shell));
	height: 100%;
	margin-inline: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	white-space: nowrap;
}

.brand__mark {
	width: 10px;
	height: 10px;
	background: var(--copper);
	flex: 0 0 auto;
}

.brand__name {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(22px, 2.8vw, 46px);
}

.site-nav a {
	position: relative;
	color: var(--muted-light);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	white-space: nowrap;
	transition: color 160ms ease;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: -10px;
	left: 0;
	height: 1px;
	background: var(--copper);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
	color: var(--light);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
	transform: scaleX(1);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.header-telegram {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--copper-bright);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.header-telegram svg {
	width: 16px;
	height: 16px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 12px 9px;
	border: 1px solid var(--line-dark);
	background: transparent;
	cursor: pointer;
}

.nav-toggle > span[aria-hidden] {
	display: block;
	width: 100%;
	height: 1px;
	margin-block: 5px;
	background: currentColor;
	transition: transform 180ms ease;
}

/* Hero */
.hero {
	position: relative;
	min-height: 100svh;
	padding-top: var(--header-height);
	overflow: hidden;
}

.hero__grid {
	position: absolute;
	inset: var(--header-height) 0 0;
	opacity: 0.42;
	background-image:
		linear-gradient(to right, transparent calc(100% - 1px), var(--line-dark) 1px),
		linear-gradient(to bottom, transparent calc(100% - 1px), var(--line-dark) 1px);
	background-size: 120px 120px;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
	align-items: center;
	gap: clamp(26px, 3.2vw, 48px);
	min-height: calc(100svh - var(--header-height) - 82px);
	padding-block: clamp(24px, 3.2vh, 42px);
}

.hero__content,
.hero__portrait {
	min-width: 0;
}

.hero__content {
	display: grid;
	align-content: center;
	gap: 16px;
}

.hero h1 {
	max-width: 640px;
	font-size: clamp(50px, 6vw, 84px);
	letter-spacing: -0.055em;
}

.accent-rule {
	width: 68px;
	height: 3px;
	background: var(--copper);
}

.hero__lead {
	max-width: 620px;
	color: #d0c9bf;
	font-size: clamp(14px, 1vw, 17px);
	line-height: 1.58;
}

.hero__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 2px;
}

.hero__actions > span {
	color: var(--muted-light);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.hero__portrait {
	position: relative;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(100%, 520px);
	margin-left: auto;
}

.hero__portrait::before {
	position: absolute;
	top: 10%;
	left: -12%;
	width: 44%;
	height: 72%;
	border-left: 1px solid rgb(183 124 54 / 38%);
	border-radius: 50%;
	content: "";
	transform: rotate(-14deg);
}

.hero-profile-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	min-height: 0;
	margin-left: auto;
	aspect-ratio: 1;
	perspective: 1200px;
}

.hero-profile-card__inner {
	position: absolute;
	inset: 0;
	transform: none;
	transition: filter 260ms ease;
	will-change: filter;
}

.hero-profile-card.is-flipped .hero-profile-card__inner {
	transform: none;
}

.hero-profile-card.is-flipped {
	min-height: 0;
	aspect-ratio: 1;
}

.hero-profile-card__face {
	position: absolute;
	inset: 0;
	min-width: 0;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 0.78, 0.2, 1), filter 420ms ease;
}

.hero-profile-card__face[role="button"] {
	cursor: pointer;
}

.hero-profile-card__face[role="button"]:focus-visible {
	outline: 2px solid var(--copper-bright);
	outline-offset: -5px;
}

.hero-profile-card.is-flipped .hero-profile-card__face--front {
	opacity: 0;
	transform: translateY(-8px) scale(0.985);
	filter: blur(1px);
	pointer-events: none;
}

.hero-profile-card.is-flipped .hero-profile-card__face--back {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
	pointer-events: auto;
	z-index: 2;
}

@media (hover: hover) {
	.hero-profile-card:not(.is-flipped):hover .hero-profile-card__face--front {
		transform: translateY(-2px);
		box-shadow: 0 22px 36px rgb(0 0 0 / 18%);
	}
}

.hero-profile-card__face--front {
	z-index: 2;
	background: #0d0e0f;
	opacity: 1;
	transform: translateY(0) scale(1);
	box-shadow: 0 18px 34px rgb(0 0 0 / 14%);
}


.hero-profile-card__face--back {
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 0.8vw, 12px);
	padding: clamp(18px, 1.8vw, 24px);
	border: 1px solid rgb(208 154 84 / 60%);
	background:
		radial-gradient(circle at 100% 0%, rgb(183 124 54 / 20%), transparent 42%),
		linear-gradient(145deg, #1b1c1d 0%, #101112 72%);
	opacity: 0;
	transform: translateY(18px) scale(0.97);
	filter: blur(2px);
	pointer-events: none;
}

.hero-profile-card__face--back::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, transparent calc(100% - 1px), rgb(255 255 255 / 4%) 1px),
		linear-gradient(to bottom, transparent calc(100% - 1px), rgb(255 255 255 / 4%) 1px);
	background-size: 72px 72px;
	content: "";
	pointer-events: none;
}

.hero-profile-card__face--back > * {
	position: relative;
	z-index: 1;
}

.hero-profile-card__tab {
	position: absolute;
	top: 50%;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 44%;
	min-height: 132px;
	padding: 14px 0;
	overflow: hidden;
	border: 0;
	background: linear-gradient(180deg, var(--copper-bright), var(--copper));
	box-shadow: -10px 0 24px rgb(0 0 0 / 22%);
	color: var(--dark);
	pointer-events: none;
	transform: translateY(-50%);
	transition: width 280ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-profile-card__tab::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	background: rgb(255 255 255 / 44%);
	content: "";
	pointer-events: none;
}

.hero-profile-card__tab span {
	opacity: 0.48;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	transition: opacity 160ms ease 40ms;
}

.hero-profile-card__tab b {
	position: absolute;
	bottom: 12px;
	left: 50%;
	opacity: 0.95;
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	transform: translateX(-50%);
	transition: opacity 160ms ease 40ms;
}

.hero-profile-card:hover .hero-profile-card__tab,
.hero-profile-card__tab:focus-visible {
	width: 56px;
	background: var(--copper-bright);
	box-shadow: -16px 0 32px rgb(0 0 0 / 34%);
}

.hero-profile-card:hover .hero-profile-card__tab span,
.hero-profile-card:hover .hero-profile-card__tab b,
.hero-profile-card__tab:focus-visible span,
.hero-profile-card__tab:focus-visible b {
	opacity: 1;
}


.hero-profile-card__heading {
	display: grid;
	gap: 5px;
}

.hero-profile-card__heading h2 {
	color: var(--light);
	font-size: clamp(34px, 3.6vw, 48px);
	line-height: 0.92;
}

.hero-profile-card__bio {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	padding-block: 12px;
	color: #d8d0c5;
	font-size: clamp(13px, 0.92vw, 15px);
	line-height: 1.58;
	text-align: justify;
	text-align-last: left;
	hyphens: auto;
	text-justify: inter-word;
}

.hero-profile-card__bio p {
	max-width: none;
	margin: 0;
	break-inside: avoid;
}

.hero-profile-card__bio::before,
.hero-profile-card__bio::after {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgb(208 154 84 / 0%), rgb(208 154 84 / 90%) 18%, rgb(208 154 84 / 90%) 82%, rgb(208 154 84 / 0%));
	content: "";
}

.hero-profile-card__bio::before {
	top: 0;
}

.hero-profile-card__bio::after {
	bottom: 0;
}

.hero__portrait-frame {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line-dark);
	background: #0d0e0f;
}

.hero__portrait-frame::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgb(255 255 255 / 8%);
	content: "";
	pointer-events: none;
}

.hero__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 46% 54%;
	transform: scale(1.08);
	transform-origin: center center;
}

.hero__portrait figcaption {
	display: grid;
	gap: 4px;
	align-self: end;
	width: min(74%, 420px);
	margin-top: -1px;
	padding: 20px 24px;
	border: 1px solid var(--line-dark);
	background: var(--dark-soft);
}

.hero__portrait figcaption strong {
	color: var(--copper-bright);
	font-size: 9px;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.hero__portrait figcaption span {
	color: var(--muted-light);
	font-size: 11px;
}

.hero__stats {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--line-dark);
	background: var(--dark-soft);
}

.hero__stats-inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__stat {
	display: grid;
	place-items: center;
	min-height: 80px;
	min-width: 0;
	padding: 12px 18px;
}

.hero__stat-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
}

.hero__stat + .hero__stat {
	border-left: 1px solid var(--line-dark);
}

.hero__stats strong {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	min-height: 52px;
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	transform: translateY(-4px);
}

.hero__stats .hero__stat-number--wide {
	font-size: 35px;
}

.hero__stats span {
	display: block;
	min-width: 0;
	max-width: 290px;
	align-self: center;
	color: var(--muted-light);
	font-size: 10px;
	line-height: 1.45;
	text-transform: uppercase;
}

/* Thinking */
.thinking__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
	gap: 18px;
}

.thinking__visual {
	min-height: 390px;
}

.thinking__cards {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.thinking-card {
	display: grid;
	align-content: start;
	gap: 22px;
	min-width: 0;
	padding: clamp(18px, 2.2vw, 30px);
	border: 1px solid var(--line-light);
	background: var(--paper-raised);
}

.thinking-card--accent {
	background: var(--dark-soft);
	color: var(--light);
}

.thinking-card > span {
	color: var(--copper);
	font-family: var(--serif);
	font-size: 38px;
	font-weight: 600;
	line-height: 1;
}

.thinking-card h3 {
	font-size: clamp(24px, 2vw, 32px);
}

.thinking-card p {
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.75;
}

.thinking-card--accent p {
	color: var(--muted-light);
}

/* Synergy */
.synergy {
	isolation: isolate;
	min-height: 620px;
	background-image: var(--synergy-image);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 68% auto;
}

.synergy__shade {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(10 11 12 / 97%) 0%, rgb(10 11 12 / 82%) 38%, rgb(10 11 12 / 6%) 70%, rgb(10 11 12 / 12%) 100%),
		linear-gradient(0deg, rgb(10 11 12 / 42%), transparent 52%);
}

.synergy__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: calc(620px - (var(--section-pad) * 2));
}

.synergy__panel {
	display: grid;
	gap: 14px;
	width: min(560px, 52vw);
	padding: clamp(20px, 2vw, 28px);
	border: 1px solid rgb(255 255 255 / 12%);
	background: rgb(16 17 18 / 88%);
	backdrop-filter: blur(12px);
}

.synergy__panel h2 {
	font-size: clamp(34px, 3.6vw, 52px);
}

.synergy__lead {
	color: var(--copper-bright);
	font-family: var(--serif);
	font-size: clamp(18px, 1.8vw, 26px);
	line-height: 1.2;
}

.synergy__panel > p:not(.eyebrow, .synergy__lead) {
	color: #d2cbc1;
	font-size: 13px;
	line-height: 1.7;
}

.synergy__experience {
	padding-top: 24px;
	border-top: 1px solid var(--line-dark);
}

.synergy__caption {
	align-self: flex-end;
	max-width: 420px;
	padding: 12px 18px;
	background: rgb(16 17 18 / 82%);
	color: var(--muted-light);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

/* Team */
.team__eyebrow {
	margin-bottom: 18px;
}

.team__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
	gap: clamp(34px, 4vw, 58px);
	align-items: start;
}

.team__photo {
	min-width: 0;
	aspect-ratio: 4 / 3;
	background: var(--dark-soft);
}

.team__photo img {
	object-position: center;
	object-fit: cover;
}

.team__content {
	display: grid;
	align-content: start;
	gap: 18px;
	min-width: 0;
}

.team__content h2 {
	max-width: 100%;
}

.team__lead {
	max-width: 560px;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.68;
}

.team__footer {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	align-items: start;
	margin-top: 4px;
}

.team__footer > p {
	max-width: 560px;
	color: var(--ink-soft);
	font-size: 13px;
	line-height: 1.75;
}

.team__footer > div {
	display: grid;
	gap: 10px;
	max-width: 440px;
	padding-left: 22px;
	border-left: 3px solid var(--copper);
}

.team__footer strong {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.team__footer span {
	color: var(--muted-dark);
	font-size: 12px;
}

/* Role */
.role__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(440px, 0.86fr);
	gap: clamp(42px, 5vw, 74px);
}

.role__copy {
	display: grid;
	align-content: start;
	gap: 24px;
	min-width: 0;
}

.role__copy h2 {
	font-size: clamp(44px, 4.8vw, 68px);
}

.role__copy blockquote {
	color: var(--copper-bright);
	font-family: var(--serif);
	font-size: clamp(28px, 3.2vw, 42px);
	font-style: italic;
	line-height: 1.2;
}

.role__copy > p:not(.eyebrow) {
	color: #cec7bd;
	font-size: 14px;
	line-height: 1.85;
}

.role__copy > p + p {
	padding-top: 22px;
	border-top: 1px solid var(--line-dark);
}

.role__visual {
	display: grid;
	align-content: center;
	gap: 18px;
	min-width: 0;
}

.role__visual .image-frame {
	aspect-ratio: 1.28;
}

.role__visual .image-frame img {
	object-fit: cover;
}

/* Competencies */
.competencies__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line-light);
	border-left: 1px solid var(--line-light);
}

.competency {
	display: grid;
	align-content: start;
	gap: 18px;
	min-width: 0;
	min-height: 180px;
	padding: 20px;
	border-right: 1px solid var(--line-light);
	border-bottom: 1px solid var(--line-light);
	background: rgb(255 255 255 / 18%);
}

.competency > span {
	color: var(--copper);
	font-family: var(--serif);
	font-size: 38px;
	font-weight: 600;
	line-height: 1;
}

.competency h3 {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.45;
}

.competency p {
	color: var(--ink-soft);
	font-size: 13px;
	line-height: 1.75;
}

.competencies__outro {
	margin-top: 36px;
	padding: 28px 32px;
	background: var(--copper);
	color: var(--dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
}

/* Shared switcher */
.switcher {
	min-width: 0;
}

.switcher__tabs {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.switcher-tab {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-width: 0;
	min-height: 72px;
	padding: 14px 18px;
	border: 1px solid var(--line-dark);
	background: var(--dark-soft);
	color: var(--light);
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.switcher-tab > span {
	color: var(--copper-bright);
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
}

.switcher-tab > strong {
	min-width: 0;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.5;
	overflow-wrap: break-word;
	text-transform: uppercase;
}

.switcher-tab > b {
	font-size: 20px;
	font-weight: 400;
	text-align: center;
}

.switcher-tab.is-active {
	border-color: var(--copper);
	background: var(--copper);
	color: var(--dark);
}

.switcher-tab.is-active > span {
	color: var(--dark);
}

.switcher-tab:hover:not(.is-active) {
	border-color: rgb(183 124 54 / 74%);
	background: #1a1b1c;
}

.switcher-panel,
.service-panel {
	animation: panel-in 260ms ease both;
}

@keyframes panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Diagnostics */
.diagnostics__switcher {
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	gap: 22px;
}

.switcher__panels {
	min-width: 0;
}

.switcher-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
	gap: 22px;
	min-height: 404px;
	padding: 22px;
	border: 1px solid var(--line-dark);
	background: var(--dark-soft);
}

.switcher-panel__copy {
	display: grid;
	align-content: start;
	gap: 18px;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	padding: 10px 0;
	overflow: hidden;
}

.switcher-panel__copy h3 {
	max-width: 100%;
	font-size: clamp(26px, 2.1vw, 38px);
	line-height: 1.06;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.switcher-panel__copy > p:last-child {
	color: #cfc8be;
	font-size: 13px;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.switcher-panel__image {
	display: grid;
	place-items: center;
	align-self: center;
	width: 100%;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #0b0c0d;
}

.switcher-panel__image img {
	object-fit: cover;
}

.diagnostics__outro {
	display: none;
}

.diagnostics__outro strong {
	display: grid;
	place-items: center;
	min-height: 90px;
	font-family: var(--serif);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

.diagnostics__outro strong span {
	display: block;
	width: 100%;
}

.diagnostics__outro p {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.75;
}

/* Services */
.service-switcher__tabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.service-tab {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto 1fr;
	gap: 10px;
	min-width: 0;
	min-height: 112px;
	padding: 14px;
	border: 1px solid var(--line-light);
	background: var(--paper-raised);
	color: var(--ink);
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.service-tab > span {
	color: var(--copper);
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
}

.service-tab > strong {
	min-width: 0;
	font-size: 10px;
	letter-spacing: 0.08em;
	line-height: 1.45;
	overflow-wrap: break-word;
	text-transform: uppercase;
}

.service-tab > b {
	grid-column: 2;
	grid-row: 1;
	font-size: 18px;
	font-weight: 400;
}

.service-tab.is-active {
	border-color: var(--copper);
	background: var(--copper);
}

.service-tab.is-active > span {
	color: var(--dark);
}

.service-tab:hover:not(.is-active) {
	border-color: var(--copper);
	background: #eee7dc;
}

.service-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
	gap: 20px;
	min-height: 360px;
	padding: clamp(18px, 2.2vw, 28px);
	border: 1px solid var(--line-light);
	background: var(--paper-raised);
}

.service-panel__copy {
	display: grid;
	align-content: start;
	gap: 14px;
	min-width: 0;
	overflow: hidden;
}

.service-panel__copy h3 {
	max-width: 100%;
	font-size: clamp(28px, 3vw, 44px);
	overflow-wrap: anywhere;
	hyphens: auto;
}

.service-panel__copy > p:last-child {
	max-width: 720px;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.85;
	overflow-wrap: break-word;
}

.service-panel__image {
	display: grid;
	place-items: center;
	align-self: center;
	width: 100%;
	min-height: 0;
	aspect-ratio: 16 / 9;
	background: #d8d0c5;
}

.service-panel__image img {
	object-fit: contain;
}

.service-panel[data-switch-panel="1"] .service-panel__image img {
	object-fit: cover;
}

.services__strap {
	display: none;
}

.services__strap span {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

/* Contact */
.contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
	gap: clamp(22px, 3vw, 42px);
	align-items: start;
}

.contact__copy {
	display: grid;
	gap: 20px;
	min-width: 0;
}

.contact__copy h2 {
	font-size: clamp(40px, 4.6vw, 64px);
}

.contact__lead {
	max-width: 620px;
	color: #d0c9bf;
	font-size: 14px;
	line-height: 1.6;
}

.contact__links {
	display: grid;
	margin-top: 20px;
	border-top: 1px solid var(--line-dark);
}

.contact__links > a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 22px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line-dark);
	transition: color 160ms ease;
}

.contact__links > a:hover {
	color: var(--copper-bright);
}

.contact__links span {
	grid-column: 1;
	color: var(--copper-bright);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.contact__links strong {
	grid-column: 1;
	min-width: 0;
	font-family: var(--serif);
	font-size: clamp(25px, 3vw, 38px);
	font-weight: 400;
	line-height: 1.15;
}

.contact__links .ui-arrow {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	width: 24px;
	height: 24px;
}

.contact-card {
	display: grid;
	gap: 16px;
	min-width: 0;
	padding: clamp(22px, 2.4vw, 32px);
	border: 1px solid var(--line-dark);
	background: var(--dark-soft);
}

.contact-card h3 {
	font-size: clamp(38px, 4vw, 56px);
}

.contact-card__text {
	max-width: 430px;
	color: var(--muted-light);
	font-size: 14px;
	line-height: 1.75;
}

.contact-card__hint {
	color: #89837b;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.contact-form {
	display: grid;
	gap: 23px;
	margin-top: 8px;
}

.contact-form > label:not(.consent) {
	display: grid;
	gap: 7px;
}

.contact-form label > span {
	color: var(--muted-light);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	padding: 11px 0;
	border: 0;
	border-bottom: 1px solid #464748;
	background: transparent;
	color: var(--light);
	line-height: 1.5;
	resize: vertical;
	transition: border-color 160ms ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
	border-color: var(--copper);
	outline: none;
}

.contact-form label em {
	color: #76716a;
	font-size: 8px;
	font-style: normal;
	letter-spacing: 0.04em;
}

.consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	cursor: pointer;
}

.consent input {
	width: 17px;
	height: 17px;
	margin: 3px 0 0;
	accent-color: var(--copper);
}

.consent > span {
	letter-spacing: 0;
	line-height: 1.6;
	text-transform: none;
}

.consent a {
	color: var(--copper-bright);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-note {
	padding: 12px 15px;
	border: 1px solid var(--line-dark);
	font-size: 12px;
	line-height: 1.6;
}

.form-note--success {
	border-color: #63866c;
	color: #b9d9bf;
}

.form-note--error {
	border-color: #8c644b;
	color: #e3b895;
}

.contact-card__prelaunch {
	display: grid;
	gap: 18px;
	margin-top: 8px;
	color: var(--muted-light);
	font-size: 14px;
	line-height: 1.75;
}

.contact-card__prelaunch .button {
	margin-top: 6px;
}

.contact-form__security {
	color: #77716a;
	font-size: 9px;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
}

/* Contact modal */
body.modal-open {
	overflow: hidden;
}

.contact-modal[hidden] {
	display: none;
}

.contact-modal {
	position: fixed;
	z-index: 1200;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 220ms ease;
}

.contact-modal.is-open {
	opacity: 1;
}

.contact-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(6 7 8 / 78%);
	backdrop-filter: blur(8px);
	cursor: pointer;
}

.contact-modal__dialog {
	position: relative;
	width: min(1040px, calc(100vw - 40px));
	max-height: min(860px, calc(100svh - 40px));
	padding: clamp(38px, 5vw, 70px);
	overflow-y: auto;
	border: 1px solid #45403a;
	background:
		linear-gradient(90deg, rgb(14 15 16 / 99%) 0%, rgb(14 15 16 / 97%) 48%, rgb(14 15 16 / 58%) 70%, rgb(14 15 16 / 24%) 100%),
		url("../images/modal-backdrop.webp") 70% center / cover no-repeat;
	box-shadow: 0 34px 100px rgb(0 0 0 / 52%);
	color: var(--light);
	opacity: 0;
	transform: translateY(18px) scale(0.985);
	transition: opacity 220ms ease, transform 220ms ease;
}

.contact-modal.is-open .contact-modal__dialog {
	opacity: 1;
	transform: none;
}

.contact-modal__dialog:focus {
	outline: none;
}

.contact-modal__content {
	display: grid;
	gap: 19px;
	width: min(100%, 510px);
}

.contact-modal__content h2 {
	max-width: 480px;
	font-size: clamp(52px, 6vw, 78px);
	line-height: 0.92;
}

.contact-modal__lead {
	max-width: 430px;
	color: #c8c0b6;
	font-size: 14px;
	line-height: 1.7;
}

.contact-modal__close {
	position: absolute;
	z-index: 2;
	top: 22px;
	right: 22px;
	width: 46px;
	height: 46px;
	border: 1px solid rgb(255 255 255 / 20%);
	background: rgb(17 18 19 / 68%);
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.contact-modal__close:hover {
	border-color: var(--copper);
	background: rgb(23 24 25 / 92%);
}

.contact-modal__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 1px;
	background: currentColor;
}

.contact-modal__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-form--modal {
	gap: 17px;
	margin-top: 2px;
}

.contact-form--modal input[type="text"],
.contact-form--modal input[type="tel"],
.contact-form--modal textarea {
	padding: 11px 13px;
	border: 1px solid #45413d;
	background: rgb(16 17 18 / 72%);
}

.contact-form--modal textarea {
	min-height: 86px;
}

.contact-form--modal input::placeholder {
	color: #69645e;
}

.contact-form--modal .consent > span {
	color: #aaa39a;
}

.contact-modal__prelaunch {
	display: grid;
	gap: 16px;
	margin-top: 10px;
	padding: 22px;
	border: 1px solid rgb(183 124 54 / 42%);
	background: rgb(15 16 17 / 72%);
	color: #c7c0b7;
	font-size: 13px;
	line-height: 1.7;
}

.contact-modal__prelaunch .button {
	margin-top: 5px;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--line-dark);
	background: var(--dark);
	color: var(--light);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 40px;
	padding-block: 32px;
}

.site-footer__brand {
	display: grid;
	align-content: start;
	gap: 22px;
}

.brand--footer {
	width: max-content;
}

.site-footer__brand p {
	max-width: 440px;
	color: var(--muted-light);
	font-size: 12px;
	line-height: 1.75;
}

.site-footer__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

.site-footer__links > div {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.footer-label {
	margin-bottom: 9px;
	color: var(--copper-bright);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.site-footer__links a {
	color: #d2cbc2;
	font-size: 12px;
	line-height: 1.6;
	transition: color 160ms ease;
}

.site-footer__links a:hover,
.site-footer__bottom a:hover {
	color: var(--copper-bright);
}

.site-footer__statement {
	background: var(--copper);
	color: var(--dark);
}

.site-footer__statement p {
	padding-block: 16px;
	font-family: var(--serif);
	font-size: clamp(20px, 2.6vw, 34px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1;
	text-transform: uppercase;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-block: 14px;
	color: var(--muted-light);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__bottom > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 18px;
}

.site-footer__bottom a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.site-footer__bottom .ui-arrow {
	width: 11px;
	height: 11px;
}

/* Utility pages */
.legal-page,
.error-page {
	min-height: 70vh;
	padding: calc(var(--header-height) + 90px) 0 110px;
	background: var(--paper);
}

.legal-page__inner,
.error-page__inner {
	max-width: 980px;
}

.legal-article,
.error-page__inner {
	display: grid;
	gap: 28px;
}

.legal-article h1,
.error-page h1 {
	font-family: var(--serif);
	font-size: clamp(50px, 7vw, 82px);
	font-weight: 400;
	line-height: 0.98;
	text-transform: uppercase;
}

.legal-article__content {
	display: grid;
	gap: 18px;
	max-width: 800px;
	color: var(--ink-soft);
}

.legal-article__content h2,
.legal-article__content h3 {
	margin-top: 20px;
	font-size: 34px;
}

.legal-article__content p,
.error-page p {
	line-height: 1.8;
}

.error-page .button {
	width: max-content;
	margin-top: 12px;
}

/* Motion */
.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal[data-reveal-delay="1"] {
	transition-delay: 100ms;
}

.js .reveal[data-reveal-delay="2"] {
	transition-delay: 180ms;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1180px) {
	.site-header__inner {
		gap: 24px;
	}

	.site-nav {
		gap: 18px;
	}

	.site-nav a {
		font-size: 10px;
	}

	.site-header__actions .button {
		display: none;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
	}

	.role__layout {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
	}

	.diagnostics__switcher {
		grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
	}

	.switcher-panel {
		grid-template-columns: 1fr;
	}

	.switcher-panel__image {
		justify-self: center;
		width: min(100%, 420px);
		min-height: 0;
	}

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

	.service-panel {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
	}
}

@media (max-width: 960px) {
	:root {
		--header-height: 70px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.shell,
	.site-header__inner {
		width: min(calc(100% - 40px), var(--shell));
	}

	.site-header__inner {
		grid-template-columns: 1fr auto auto;
	}

	.nav-toggle {
		display: block;
		grid-column: 3;
	}

	.site-header__actions {
		grid-column: 2;
		grid-row: 1;
	}

	.header-telegram span {
		display: none;
	}

	.header-telegram svg {
		width: 22px;
		height: 22px;
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		right: 0;
		left: 0;
		display: grid;
		align-content: start;
		gap: 0;
		max-height: 0;
		padding: 0 20px;
		overflow: hidden;
		visibility: hidden;
		background: var(--dark);
		opacity: 0;
		transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, padding 220ms ease;
	}

	body.admin-bar .site-nav {
		top: calc(var(--header-height) + 46px);
	}

	.site-nav.is-open {
		max-height: calc(100svh - var(--header-height));
		padding-block: 14px 26px;
		visibility: visible;
		opacity: 1;
	}

	.site-nav a {
		padding: 17px 4px;
		border-bottom: 1px solid var(--line-dark);
		font-size: 12px;
	}

	.site-nav a::after {
		display: none;
	}

	.nav-toggle[aria-expanded="true"] > span[aria-hidden]:nth-of-type(2) {
		transform: translateY(3px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] > span[aria-hidden]:nth-of-type(3) {
		transform: translateY(-3px) rotate(-45deg);
	}

	.section-heading--wide,
	.team__heading,
	.team__footer,
	.role__layout,
	.contact__layout,
	.site-footer__top {
		grid-template-columns: 1fr;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero__content {
		padding-top: 30px;
	}

	.hero h1 {
		font-size: clamp(66px, 15vw, 112px);
	}

	.hero__portrait {
		width: min(100%, 560px);
		margin-inline: auto 0;
	}

	.hero__stats-inner {
		grid-template-columns: 1fr;
	}

	.hero__stat,
	.hero__stat + .hero__stat {
		min-height: 88px;
		padding: 20px 0;
		border-left: 0;
	}

	.hero__stat-content {
		gap: 14px;
		width: fit-content;
		max-width: 100%;
	}

	.hero__stat + .hero__stat {
		border-top: 1px solid var(--line-dark);
	}

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

	.thinking__visual {
		min-height: 460px;
	}

	.thinking__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.synergy {
		background-position: center right;
		background-size: cover;
	}

	.synergy__panel {
		width: min(720px, 90%);
	}

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

	.team__footer,
	.role__layout,
	.contact__layout {
		gap: 42px;
	}

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

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

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

	.switcher-panel {
		grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
		min-height: 400px;
	}

	.service-panel {
		grid-template-columns: 1fr;
	}

	.service-panel__image {
		min-height: 0;
	}

	.contact-card {
		max-width: 680px;
	}
}

@media (max-width: 700px) {
	:root {
		--section-pad: 76px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.shell,
	.site-header__inner {
		width: min(calc(100% - 32px), var(--shell));
	}

	.brand {
		gap: 11px;
	}

	.brand__mark {
		width: 8px;
		height: 8px;
	}

	.brand__name {
		font-size: 9px;
		letter-spacing: 0.17em;
	}

	h2 {
		font-size: clamp(38px, 11vw, 54px);
	}

	.section-heading {
		gap: 18px;
		margin-bottom: 38px;
	}

	.hero__grid {
		background-size: 80px 80px;
	}

	.hero__inner {
		gap: 46px;
		padding-block: 66px;
	}

	.hero__content {
		gap: 24px;
	}

	.hero h1 {
		font-size: clamp(52px, 15vw, 70px);
	}

	.hero__lead {
		font-size: 15px;
	}

	.hero__actions {
		align-items: stretch;
		flex-direction: column;
		gap: 17px;
	}

	.hero__actions .button {
		width: 100%;
	}

	.hero__portrait figcaption {
		width: 88%;
	}

	.hero-profile-card {
		height: clamp(430px, 112vw, 480px);
	}

	.hero-profile-card__face--back {
		gap: 17px;
		padding: 24px;
	}

	.hero-profile-card__heading h2 {
		font-size: 46px;
	}

	.hero-profile-card__bio {
		font-size: 12.5px;
		line-height: 1.5;
	}

	.thinking__visual {
		min-height: 300px;
	}

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

	.thinking-card {
		padding: 28px;
	}

	.synergy {
		min-height: auto;
		background-position: 62% center;
	}

	.synergy__shade {
		background: linear-gradient(90deg, rgb(10 11 12 / 97%), rgb(10 11 12 / 62%));
	}

	.synergy__inner {
		min-height: 760px;
	}

	.synergy__panel {
		width: 100%;
		padding: 28px;
	}

	.synergy__caption {
		align-self: start;
	}

	.team__photo {
		aspect-ratio: 1.3;
	}

	.team__photo img {
		object-position: center;
	}

	.team__footer > div {
		padding: 22px 0 0;
		border-top: 3px solid var(--copper);
		border-left: 0;
	}

	.role__copy h2 {
		font-size: clamp(44px, 13vw, 62px);
	}

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

	.competency {
		min-height: auto;
		padding: 28px;
	}

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

	.switcher.is-mobile-accordion {
		display: block;
	}

	.switcher.is-mobile-accordion .switcher__tabs,
	.switcher.is-mobile-accordion .service-switcher__tabs {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin: 0;
	}

	.switcher-mobile-item {
		display: grid;
		min-width: 0;
		scroll-margin-top: calc(var(--header-height) + 14px);
	}

	.switcher-mobile-item > .switcher-tab,
	.switcher-mobile-item > .service-tab {
		width: 100%;
	}

	.switcher-mobile-item > .switcher-tab.is-active,
	.switcher-mobile-item > .service-tab.is-active {
		border-bottom-color: transparent;
	}

	.switcher-mobile-item > .switcher-panel,
	.switcher-mobile-item > .service-panel {
		margin-top: -1px;
		border-color: var(--copper);
		border-top: 1px solid rgb(183 124 54 / 35%);
	}

	.switcher-mobile-item > .switcher-panel {
		box-shadow: inset 3px 0 0 var(--copper);
	}

	.switcher-mobile-item > .service-panel {
		box-shadow: inset 3px 0 0 var(--copper);
	}

	.switcher-tab {
		grid-template-columns: 44px minmax(0, 1fr) 22px;
		min-height: 66px;
	}

	.switcher-panel {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 22px;
	}

	.switcher-panel__copy {
		padding: 4px 0;
	}

	.switcher-panel__image {
		width: min(100%, 420px);
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.diagnostics__outro {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
	}

	.service-switcher__tabs {
		grid-template-columns: 1fr;
	}

	.service-tab {
		grid-template-columns: 44px minmax(0, 1fr) 22px;
		grid-template-rows: 1fr;
		align-items: center;
		min-height: 76px;
		padding: 15px 18px;
	}

	.service-tab > span {
		font-size: 29px;
	}

	.service-tab > strong {
		grid-column: 2;
		grid-row: 1;
	}

	.service-tab > b {
		grid-column: 3;
		grid-row: 1;
	}

	.service-panel {
		min-height: 0;
		padding: 24px;
	}

	.service-panel__copy {
		gap: 20px;
	}

	.service-panel__copy h3 {
		font-size: clamp(35px, 10vw, 46px);
	}

	.service-panel__image {
		min-height: 0;
	}

	.services__strap {
		align-items: flex-start;
		flex-direction: column;
	}

	.contact__copy h2 {
		font-size: clamp(40px, 11vw, 56px);
	}

	.contact__links strong {
		font-size: 23px;
	}

	.contact-card {
		padding: 27px;
	}

	.contact-modal {
		padding: 10px;
	}

	.contact-modal__dialog {
		width: calc(100vw - 20px);
		max-height: calc(100svh - 20px);
		padding: 62px 24px 28px;
		background:
			linear-gradient(90deg, rgb(14 15 16 / 98%), rgb(14 15 16 / 90%)),
			url("../images/modal-backdrop.webp") 74% center / cover no-repeat;
	}

	.contact-modal__content {
		width: 100%;
	}

	.contact-modal__content h2 {
		font-size: clamp(44px, 14vw, 60px);
	}

	.contact-modal__close {
		top: 12px;
		right: 12px;
		width: 42px;
		height: 42px;
	}

	.contact-form--modal .button {
		min-height: 56px;
	}

	.site-footer__top {
		gap: 46px;
		padding-block: 54px;
	}

	.site-footer__links {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__bottom > div {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	h2 {
		font-size: 36px;
	}

	.hero h1 {
		font-size: 52px;
	}

	.hero-profile-card__face--back {
		padding: 21px;
	}

	.hero-profile-card__bio {
		column-count: 1;
		column-gap: 0;
		font-size: 12px;
		line-height: 1.48;
	}

	.service-panel__copy h3 {
		font-size: 34px;
	}

	.site-header__actions {
		display: none;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto;
	}

	.nav-toggle {
		grid-column: 2;
	}

	.site-footer__links {
		grid-template-columns: 1fr;
	}
}

@media (hover: none) {
	.hero-profile-card__tab {
		width: 50px;
		background: var(--copper-bright);
	}

	.hero-profile-card__tab span,
	.hero-profile-card__tab b {
		opacity: 1;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}


.diagnostics__outro strong {
	justify-self: start;
	place-items: start;
	align-content: center;
	width: min(100%, 360px);
	text-align: left;
}

.diagnostics__outro strong span:first-child {
	white-space: nowrap;
}

.diagnostics__outro p {
	justify-self: start;
	max-width: 96%;
	margin-left: -6px;
}




@media (max-width: 960px) {
	.hero-profile-card__bio {
		font-size: 13px;
		line-height: 1.55;
	}
}

/* Language switcher */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--line-dark);
}

.lang-switch__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 26px;
	padding: 4px 7px;
	color: var(--muted-light);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease;
}

.lang-switch__item:hover,
.lang-switch__item:focus-visible {
	color: var(--copper-bright);
	background: rgba(183, 124, 54, 0.12);
}

.lang-switch__item.is-active {
	color: var(--dark);
	background: var(--copper);
	cursor: default;
}

@media (max-width: 960px) {
	.lang-switch {
		padding: 2px;
	}

	.lang-switch__item {
		min-width: 30px;
		padding: 4px 5px;
		font-size: 9px;
	}
}

/* Mobile header: language switcher, Telegram and the dropdown menu */
@media (max-width: 960px) {
	/*
	 * The base rule sets `justify-content: center` for the desktop flex row.
	 * The mobile rule switches the nav to grid but never resets it, so the
	 * single column was centred and every link sat in the middle of the panel
	 * at the width of its own text. Stretch it back to full width.
	 */
	.site-nav {
		justify-content: stretch;
		justify-items: stretch;
		text-align: left;
	}

	/*
	 * The brand is `1fr` with `white-space: nowrap`, so it refused to shrink
	 * and pushed the actions and the burger past the right edge of the screen.
	 * Letting it clip keeps everything else on screen.
	 */
	.site-header__inner {
		gap: 14px;
	}

	.brand {
		min-width: 0;
		overflow: hidden;
	}

	.brand__name {
		overflow: hidden;
		letter-spacing: 0.12em;
		text-overflow: ellipsis;
	}

	.site-header__actions {
		flex: 0 0 auto;
		gap: 12px;
	}

	.lang-switch {
		padding: 2px;
	}

	.lang-switch__item {
		min-width: 30px;
		min-height: 34px;
		padding: 4px 5px;
		font-size: 9px;
		letter-spacing: 0.05em;
	}

	.header-telegram svg {
		width: 22px;
		height: 22px;
	}
}

/* Narrow phones: the wordmark gives up its space so the controls stay put. */
@media (max-width: 560px) {
	.brand__name {
		display: none;
	}

	.site-header__inner {
		gap: 10px;
	}

	.site-header__actions {
		gap: 10px;
	}

	.lang-switch__item {
		min-width: 28px;
		padding: 4px 3px;
	}
}

/* ---------------------------------------------------------------------------
   Mobile header, part two
   --------------------------------------------------------------------------- */

/*
 * The original theme hides the whole actions block below 480px, which also
 * takes the language switcher and the Telegram link with it. Bring the block
 * back and give the burger its third column again.
 */
@media (max-width: 480px) {
	.site-header__actions {
		display: flex;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto auto;
	}

	.nav-toggle {
		grid-column: 3;
	}
}

/* The wordmark fits again now that the controls are compact. */
@media (max-width: 560px) {
	.brand__name {
		display: inline;
		font-size: 10px;
		letter-spacing: 0.08em;
	}

	.brand {
		gap: 10px;
	}
}

/* Below this the name would crowd the controls, so the mark carries the brand. */
@media (max-width: 400px) {
	.brand__name {
		display: none;
	}
}

/*
 * Hero: the header is already 70px tall, and the section added 66px of block
 * padding on top of a further 30px on the content. That stacked up to a screen
 * of emptiness before the first line. Keep the breathing room at the bottom,
 * cut it at the top.
 */
@media (max-width: 700px) {
	.hero__inner {
		padding-block: 26px 56px;
	}

	.hero__content {
		padding-top: 0;
		gap: 20px;
	}
}

/* ---------------------------------------------------------------------------
   Mobile dropdown menu
   --------------------------------------------------------------------------- */

@media (max-width: 960px) {
	.site-nav {
		padding-inline: 0;
		border-top: 1px solid var(--line-dark);
		box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
	}

	.site-nav.is-open {
		padding-block: 0 10px;
	}

	/*
	 * Full-bleed rows with the copper marker sliding in from the left edge.
	 * The link keeps its own padding so the whole row is tappable.
	 */
	.site-nav a {
		position: relative;
		display: flex;
		align-items: center;
		padding: 18px 20px;
		border-bottom: 1px solid var(--line-dark);
		color: var(--muted-light);
		font-size: 13px;
		letter-spacing: 0.04em;
		transition: color 160ms ease, background-color 160ms ease, padding-left 160ms ease;
	}

	.site-nav a::before {
		position: absolute;
		top: 50%;
		left: 0;
		width: 3px;
		height: 0;
		background: var(--copper);
		content: "";
		transform: translateY(-50%);
		transition: height 180ms ease;
	}

	.site-nav a:last-of-type {
		border-bottom: 0;
	}

	.site-nav a:active,
	.site-nav a.is-active {
		padding-left: 26px;
		background: rgba(183, 124, 54, 0.08);
		color: var(--light);
	}

	.site-nav a:active::before,
	.site-nav a.is-active::before {
		height: 26px;
	}
}

/* ---------------------------------------------------------------------------
   Biography card on small screens
   --------------------------------------------------------------------------- */

/*
 * The card is locked to aspect-ratio: 1, so on a phone it is roughly a 340px
 * square. Minus the heading and padding, four paragraphs of biography do not
 * fit and `overflow: hidden` simply cuts them off. Let the text scroll inside
 * the card instead of enlarging the card or shrinking the type past comfort.
 */
@media (max-width: 700px) {
	.hero-profile-card__bio {
		justify-content: flex-start;
		gap: 11px;
		overflow-y: auto;
		padding-block: 14px;
		padding-inline-end: 12px;
		font-size: 13px;
		line-height: 1.62;
		overscroll-behavior: contain;
		scrollbar-color: rgb(208 154 84 / 70%) transparent;
		scrollbar-width: thin;
		text-align: left;
		-webkit-overflow-scrolling: touch;
	}

	/*
	 * The copper rules are absolutely positioned inside the box, so once it
	 * scrolls they would drift away with the text. Borders stay put.
	 */
	.hero-profile-card__bio::before,
	.hero-profile-card__bio::after {
		display: none;
	}

	.hero-profile-card__bio {
		border-top: 1px solid rgb(208 154 84 / 75%);
		border-bottom: 1px solid rgb(208 154 84 / 75%);
	}

	.hero-profile-card__bio::-webkit-scrollbar {
		width: 3px;
	}

	.hero-profile-card__bio::-webkit-scrollbar-track {
		background: transparent;
	}

	.hero-profile-card__bio::-webkit-scrollbar-thumb {
		background: rgb(208 154 84 / 70%);
	}

	/* A little more room for the text itself. */
	.hero-profile-card__face--back {
		padding: 16px;
	}

	.hero-profile-card__heading h2 {
		font-size: 30px;
	}
}

/* Chinese runs shorter, so it can afford the larger size even here. */
@media (max-width: 700px) {
	body.lang-zh .hero-profile-card__bio {
		font-size: 14px;
		line-height: 1.8;
	}
}

/* ---------------------------------------------------------------------------
   Scroll affordance for the biography
   --------------------------------------------------------------------------- */

/*
 * Sticky rather than absolute: a plain absolute child would scroll away with
 * the text. The negative margin lets it overlap the last visible line instead
 * of adding height to the flex column.
 */
.hero-profile-card__bio-fade {
	display: none;
}

@media (max-width: 700px) {
	.hero-profile-card__bio-fade {
		position: sticky;
		bottom: 0;
		display: block;
		flex: 0 0 auto;
		height: 36px;
		margin-top: -36px;
		background: linear-gradient(to top, #131415 12%, rgb(19 20 21 / 0%));
		pointer-events: none;
	}

	/* Nothing left to reveal once the reader reaches the end. */
	.hero-profile-card__bio.is-at-end .hero-profile-card__bio-fade {
		opacity: 0;
	}

	.hero-profile-card__bio-fade {
		transition: opacity 200ms ease;
	}

	/* Paragraph separation, independent of the flex gap. */
	.hero-profile-card__bio p + p {
		margin-top: 10px;
	}
}

/* ---------------------------------------------------------------------------
   "Ask Ilya" block inside the mobile dropdown
   --------------------------------------------------------------------------- */

/* The desktop header already carries its own call to action. */
.nav-contact {
	display: none;
}

@media (max-width: 960px) {
	.nav-contact {
		display: block;
		margin-top: 14px;
		padding-inline: 20px;
	}

	.nav-contact__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 12px;
		padding: 15px 18px;
		border: 1px solid var(--copper);
		background: rgba(183, 124, 54, 0.1);
		color: var(--copper-bright);
		font-family: var(--sans);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		cursor: pointer;
		transition: background-color 160ms ease, color 160ms ease;
	}

	.nav-contact__toggle svg {
		width: 14px;
		height: 14px;
		flex: 0 0 auto;
		transition: transform 200ms ease;
	}

	.nav-contact__toggle[aria-expanded="true"] {
		background: var(--copper);
		color: var(--dark);
	}

	.nav-contact__toggle[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}

	.nav-contact__options {
		display: grid;
		border: 1px solid var(--line-dark);
		border-top: 0;
	}

	.nav-contact__options[hidden] {
		display: none;
	}

	/*
	 * These sit inside .site-nav, so the full-bleed link rules would otherwise
	 * apply. Override them rather than fight the cascade with extra classes.
	 */
	.site-nav .nav-contact__option {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 16px 18px;
		border-bottom: 1px solid var(--line-dark);
		color: var(--muted-light);
		font-size: 12px;
		letter-spacing: 0.04em;
		text-transform: none;
	}

	.site-nav .nav-contact__option:last-child {
		border-bottom: 0;
	}

	.site-nav .nav-contact__option::before {
		content: none;
	}

	.nav-contact__option svg {
		width: 18px;
		height: 18px;
		flex: 0 0 auto;
		color: var(--copper-bright);
	}

	.site-nav .nav-contact__option:active {
		padding-left: 18px;
		background: rgba(183, 124, 54, 0.08);
		color: var(--light);
	}
}

/* Telegram glyph in the header keeps the site palette, never brand blue. */
.header-telegram svg {
	color: inherit;
}
