* {
	box-sizing: border-box;
}

:root {
	--ink: #202832;
	--slate: #2f3640;
	--slate-deep: #252b33;
	--muted: #68717b;
	--line: #d9dde0;
	--paper: #fff;
	--mist: #f1f2f2;
	--orange: #d97941;
	--orange-light: #ed9b66;
	--purple: #62415d;
	--purple-light: #93628c;
	font-size: 16px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

img {
	max-width: 100%;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	font-family: "Barlow", sans-serif;
	line-height: 1.08;
}

h1 {
	font-size: 4.2rem;
	font-weight: 600;
}

h2 {
	font-size: 2.65rem;
	font-weight: 600;
}

h3 {
	font-size: 1.45rem;
	font-weight: 600;
}

.container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 200;
	padding: 10px 14px;
	color: var(--ink);
	background: white;
}

.skip-link:focus {
	top: 12px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(47, 54, 64, 0.98);
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.header-inner {
	display: flex;
	align-items: center;
	min-height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	width: 170px;
	height: 44px;
}

.brand img {
	max-width: 100%;
	max-height: 100%;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-left: auto;
}

.primary-nav a,
.footer-links nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.97rem;
	transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
	color: var(--orange-light);
}

.primary-nav .nav-contact {
	padding: 5px 0;
	color: #d3d8dc;
	background: transparent;
	border-bottom: 1px solid rgba(237, 155, 102, 0.42);
	transition:
		color 160ms ease,
		border-color 160ms ease;
}

.primary-nav .nav-contact:hover {
	color: var(--orange-light);
	background: transparent;
	border-color: var(--orange-light);
}

.language-switch {
	position: relative;
}

.language-switch-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	color: #fff;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition:
		color 160ms ease,
		border-color 160ms ease;
}

.language-switch-btn:hover,
.language-switch-btn:focus-visible,
.language-switch-btn[aria-expanded="true"] {
	color: var(--orange-light);
	border-color: var(--orange-light);
}

.language-switch-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 10;
	min-width: 100%;
	background: var(--slate-deep);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.language-switch-menu a {
	display: block;
	padding: 10px 14px;
	white-space: nowrap;
	font-size: 0.9rem;
}

.menu-toggle {
	display: none;
}

.hero {
	position: relative;
	min-height: 630px;
	color: #fff;
	background: var(--slate);
	overflow: hidden;
}

.hero::before {
	position: absolute;
	inset: 0;
	background-image: url("/img/home-hero.png");
	background-position: 88% center;
	background-repeat: no-repeat;
	background-size: 47% auto;
	content: "";
	opacity: 0.12;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
	align-items: center;
	min-height: 630px;
	padding-top: 9vh;
	padding-bottom: 10vh;
}

.hero-copy {
	position: relative;
	z-index: 2;
	max-width: 685px;
}

.eyebrow {
	margin-bottom: 18px;
	color: var(--orange);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.4;
	text-transform: uppercase;
}
.hero .eyebrow,
.page-hero-dark .eyebrow,
.section-dark .eyebrow,
.contact-band .eyebrow {
	color: var(--orange-light);
}

.hero h1 {
	max-width: 700px;
	margin-bottom: 32px;
	font-size: 4.45rem;
	line-height: 0.98;
}

.hero h1 span {
	color: var(--orange-light);
}

.hero-intro {
	max-width: 625px;
	margin-bottom: 12px;
	font-size: 1.18rem;
	line-height: 1.6;
}

.hero-support {
	max-width: 600px;
	margin-bottom: 48px;
	color: #d3d8dc;
	line-height: 1.5;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 48px;
	padding: 11px 19px;
	border: 1px solid transparent;
	font-size: 0.94rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		background 160ms ease,
		color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-light {
	color: var(--ink);
	background: white;
}

.button-light:hover {
	background: #f1f2f2;
}

.button-outline-light {
	color: white;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
}

.button-outline-light:hover {
	color: var(--ink);
	background: white;
}

.button-outline-dark {
	color: var(--ink);
	background: transparent;
	border-color: var(--slate);
}

.button-outline-dark:hover {
	color: white;
	background: var(--slate);
}

.button-dark {
	color: white;
	background: var(--slate);
}

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

.hero-art {
	position: relative;
	width: min(100%, 450px);
	aspect-ratio: 1;
	justify-self: end;
}

.hero-orbit {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	border-style: dashed;
}

.orbit-one {
	inset: 8%;
	animation: hero-orbit-spin 28s linear infinite reverse;
}

.orbit-two {
	inset: 0%;
	animation: hero-orbit-spin 32s linear infinite alternate-reverse;
	border-color: rgba(217, 121, 65, 0.48);
}

@keyframes hero-orbit-spin {
	to {
		transform: rotate(360deg);
	}
}

.hero-particles {
	position: absolute;
	inset: 14%;
	pointer-events: none;
}

.hero-particles canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-note {
	position: absolute;
	padding: 7px 11px;
	color: #fff;
	background: var(--slate-deep);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.hero-note span {
	margin-left: 8px;
	color: var(--orange-light);
}

.note-top {
	top: 17%;
	right: -1%;
}

.note-bottom {
	bottom: 17%;
	left: 1%;
}

.hero-scroll {
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 32px;
	height: 55px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-bottom: 0;
	transform: translateX(-50%);
}

.hero-scroll span {
	position: absolute;
	left: 50%;
	top: 10px;
	width: 4px;
	height: 12px;
	background: var(--orange-light);
	transform: translateX(-50%);
}

.section {
	padding-block: 96px;
}

.page-banner {
	position: relative;
	display: flex;
	min-height: 440px;
	align-items: center;
	overflow: hidden;
	color: white;
	background: var(--slate);
}

.page-banner-image {
	position: absolute;
	inset: 0 0 0 auto;
	width: 46.4%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.page-banner--clear .page-banner-image {
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.page-banner--clear .page-banner-image[src="/img/employees/steven_casual.jpg"] {
	width: 50%;
}

.page-banner--gray .page-banner-image {
	width: 100%;
	object-position: center;
	filter: grayscale(1);
	opacity: 0.3;
}

.page-banner--gray::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, var(--slate) 20%, rgba(47, 54, 64, 0.8) 55%, transparent);
	content: "";
}

.page-banner-inner {
	position: relative;
	z-index: 1;
	padding-block: 48px;
}

.page-banner-copy {
	max-width: 900px;
}

.page-banner--clear .page-banner-copy {
	max-width: 48%;
}

.page-banner h1 {
	margin-bottom: 20px;
	font-size: clamp(2.5rem, 4.2vw, 3.8rem);
	overflow-wrap: anywhere;
}

.page-banner h1 span {
	color: var(--orange-light);
}

.page-banner .eyebrow {
	color: var(--orange-light);
}

.page-banner-copy > p:not(.eyebrow):not(.cv-template-notice) {
	max-width: 760px;
	margin-bottom: 16px;
	color: #e0e3e5;
	font-size: 1.1rem;
}

.page-banner .back-link {
	margin-bottom: 24px;
}

@media (max-width: 700px) {
	.page-banner-inner {
		padding-block: 24px;
	}

	.page-banner h1 {
		font-size: clamp(1.75rem, 8.5vw, 2rem);
	}

	.page-banner-copy > p:not(.eyebrow):not(.cv-template-notice) {
		margin-bottom: 12px;
		font-size: 1rem;
		line-height: 1.5;
	}

	.page-banner .button {
		gap: 8px;
		padding-inline: 8px;
		font-size: clamp(0.8rem, 3.75vw, 0.88rem);
	}

	.page-banner--clear .page-banner-copy {
		max-width: 100%;
	}

	.page-banner--clear::after {
		position: absolute;
		inset: 0;
		background: linear-gradient(105deg, var(--slate) 25%, rgba(47, 54, 64, 0.85) 65%, transparent);
		content: "";
	}

	.page-banner--clear .page-banner-image {
		width: 100%;
	}

	.page-banner--clear .page-banner-image[src="/img/employees/steven_casual.jpg"] {
		width: 86%;
	}
}

.section-muted {
	background: var(--mist);
}

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

.section-heading {
	display: grid;
	grid-template-columns: 1fr;
	align-items: end;
	gap: 15px;
	margin-bottom: 55px;
}

.section-heading h2 {
	margin: 0;
}

.section-heading > p {
	margin: 0 0 4px;
	color: var(--muted);
}

.section-dark .section-heading > p,
.section-dark p {
	color: #e0e3e5;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.case-card {
	min-width: 0;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.case-image {
	display: block;
	width: 100%;
	aspect-ratio: 1.2;
	margin-bottom: 20px;
	background: #e3e5e5;
	overflow: hidden;
}

.case-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.case-image:hover img {
	transform: scale(1.035);
}

.case-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 20px;
}

.case-tags span {
	padding: 3px 8px;
	color: #414a52;
	background: #e7e8e8;
	font-size: 0.72rem;
	line-height: 1.5;
}

.case-card h3,
.case-card h2 {
	margin: 0 0 11px;
	font-size: 1.35rem;
}

.case-card h2 {
	font-size: 1.7rem;
}

.case-card h3 a,
.case-card h2 a {
	text-decoration: none;
}

.case-card h3 a:hover,
.case-card h2 a:hover {
	color: var(--orange);
}

.case-card p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.91rem;
	line-height: 1.58;
}

.section-more {
	margin-top: 27px;
	text-align: right;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--purple);
	font-weight: 500;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.text-link span {
	transition: transform 160ms ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

.partners-band {
	padding-block: 70px 75px;
	color: white;
	background: var(--slate-deep);
}

.partners-inner > h2 {
	margin-bottom: 37px;
	font-size: 2.2rem;
}

.partner-list {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 12px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.partner-track {
	display: flex;
	min-width: 0;
	gap: 16px;
	padding: 18px 5px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: 20px;
	scroll-snap-type: x mandatory;
	scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
	scrollbar-width: thin;
}

.partner-track:focus-visible {
	outline: 2px solid var(--orange-light);
	outline-offset: 3px;
}

.partner-item {
	display: grid;
	flex: 0 0 clamp(180px, 23vw, 260px);
	height: 132px;
	place-items: center;
	padding: 22px;
	background: #f8f9f9;
	border: 2px solid transparent;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	opacity: 0.64;
	scroll-snap-align: center;
	text-decoration: none;
	transform: scale(0.96);
	transition:
		opacity 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.partner-item img {
	width: 100%;
	max-height: 76px;
	object-fit: contain;
}

.partner-item:hover,
.partner-item.is-highlighted {
	border-color: var(--orange-light);
	opacity: 1;
	transform: scale(1);
}

.partner-arrow {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: white;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.42);
	font-size: 1.35rem;
	cursor: pointer;
}

.partner-arrow:hover:not(:disabled) {
	color: var(--slate-deep);
	background: var(--orange-light);
	border-color: var(--orange-light);
}

.partner-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.partner-current {
	min-height: 1.2em;
	margin: 0;
	color: #c7cdd1;
	font-size: 0.78rem;
	text-align: center;
}

.section-team {
	padding-block: 90px;
}

.team-preview {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 60px;
}

.team-copy {
	max-width: 490px;
}

.team-copy h2 {
	margin-bottom: 20px;
}

.team-copy > p:not(.eyebrow) {
	margin-bottom: 24px;
	color: var(--muted);
}

.management-team {
	display: block;
	height: 35rem;
}

.management-team img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	transition: transform 240ms ease;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.management-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 12px;
}

.management-meta a {
	font-family: "Barlow", sans-serif;
	font-size: 1.12rem;
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 3px;
}

.management-meta a:hover {
	text-decoration: underline;
}

.management-meta span {
	color: var(--muted);
	font-size: 0.76rem;
}

.contact-band {
	padding-block: 85px;
	color: white;
	background: var(--purple-light);
}

.contact-band-inner {
	max-width: 790px;
	text-align: center;
}

.contact-band h2 {
	margin-bottom: 25px;
	font-size: 2.8rem;
}

.contact-band p:not(.eyebrow) {
	max-width: 640px;
	margin: 0 auto 30px;
	color: #e5ecf7;
}

.page-hero,
.contact-hero {
	position: relative;
	min-height: 390px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.page-hero::after {
	position: absolute;
	right: -120px;
	bottom: -330px;
	width: 600px;
	height: 600px;
	border: 1px solid currentColor;
	border-radius: 50%;
	content: "";
	opacity: 0.12;
}

.page-hero-dark {
	color: white;
	background: var(--slate);
	background-image:
		linear-gradient(90deg, rgba(47, 54, 64, 0.96), rgba(47, 54, 64, 0.3)),
		url("/img/contact-wave.png");
	background-position: center;
	background-size: cover;
}

.page-hero-light {
	color: var(--ink);
	background: var(--mist);
	background-image:
		linear-gradient(90deg, rgba(241, 242, 242, 0.96), rgba(241, 242, 242, 0.52)),
		url("/img/contact-wave.png");
	background-position: center;
	background-size: cover;
}

.page-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	padding-block: 73px;
}

.page-hero h1 {
	max-width: 850px;
	margin-bottom: 17px;
	font-size: 3.8rem;
}

.page-hero-inner > p:not(.eyebrow) {
	max-width: 660px;
	margin-bottom: 0;
	font-size: 1.16rem;
}

.page-hero-light .page-hero-inner > p:not(.eyebrow) {
	color: var(--muted);
}

.split-section {
	display: grid;
	grid-template-columns: 1fr 0.95fr;
	align-items: center;
	gap: 68px;
}

.split-section h2 {
	max-width: 540px;
	margin-bottom: 20px;
}

.split-section p:not(.eyebrow) {
	color: var(--muted);
}

.office-image {
	width: 100%;
	aspect-ratio: 1.32;
	object-fit: cover;
}

.comparison-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 54px;
}

.comparison-grid article {
	position: relative;
	padding: 25px 0 10px;
	border-top: 1px solid var(--line);
}

.comparison-index {
	position: absolute;
	right: 0;
	top: 20px;
	color: var(--orange);
	font-size: 0.8rem;
	font-weight: 700;
}

.comparison-grid h3 {
	margin-bottom: 13px;
}

.comparison-grid p {
	max-width: 500px;
	margin-bottom: 0;
	color: var(--muted);
}

.split-section-top {
	align-items: start;
}

.split-section-top > div:last-child {
	max-width: 650px;
}

.split-section-top p {
	color: #e0e3e5;
}

.section-team-full {
	background: var(--mist);
	padding-bottom: 32px;
}

.section-office {
	padding-block: 32px;
}

.section-join {
	padding-top: 30px;
	background: var(--mist);
}

.section-office .eyebrow {
	color: var(--orange);
}

.section-team-full .section-heading {
	margin-bottom: 24px;
}

.people-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 80px 50px;
}

.person {
	min-width: 0;
	background-color: #fff;
}

.person-photo {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 18px;
	background: #dfe1e2;
	overflow: hidden;
}

.person-photo img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 260ms ease;
}

.person-photo:hover img {
	transform: scale(1.035);
}

.person-content {
	padding: 8px 24px 32px;
}

.person h3 {
	margin-bottom: 5px;
	font-size: 1.22rem;
}

.person-name {
	color: inherit;
	text-decoration: none;
}

.person-name:hover {
	color: var(--orange);
}

.person-content > p {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 0.91rem;
}

.person-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.person-links {
	display: flex;
	flex-basis: 100%;
	min-width: 0;
	flex-wrap: wrap;
	gap: 8px;
}

.person-links a {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	background: var(--purple);
	color: #fff;
	text-decoration: none;
	border-radius: 50%;
	transition: all 150ms ease;
}

.person-links a:hover {
	border-color: var(--purple);
	color: #000;
	background: var(--purple-light);
}

.person-links a:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 2px;
}

.person-links svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.person-email-icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
}

.person-email {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--purple);
	font-size: 0.85rem;
}

.person-email svg {
	flex-shrink: 0;
}

.person-email > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.email-obfuscated {
	display: inline-block;
	max-width: 100%;
	-webkit-user-select: none;
	user-select: none;
}

.email-decoy {
	display: none !important;
}

.person-profile-link {
	margin-top: 0;
	font-size: 0.84rem;
	text-decoration: none;
	margin-left: 0;
}

.employee-header {
	color: white;
	background: var(--slate);
}

.employee-header-inner {
	padding-block: 42px 70px;
}

.employee-header .back-link {
	margin-bottom: 35px;
}

.employee-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
	align-items: end;
	gap: 60px;
}

.employee-heading h1 {
	max-width: 730px;
	margin-bottom: 14px;
	font-size: 3.8rem;
}

.employee-role {
	margin: 0;
	color: #d4d9dc;
	font-size: 1.1rem;
}

.employee-portrait {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border: 5px solid rgba(255, 255, 255, 0.12);
	object-fit: cover;
}

.employee-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	align-items: center;
	gap: 70px;
}

.employee-intro {
	max-width: 470px;
}

.employee-intro h2 {
	font-size: 2.4rem;
}

.employee-intro > p:not(.eyebrow) {
	color: var(--muted);
}

.employee-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 25px;
}

.employee-links a {
	color: var(--purple);
	font-weight: 500;
	text-decoration: none;
}

.employee-links > .email-obfuscated {
	color: var(--purple);
	font-weight: 500;
}

.employee-second-picture {
	margin: 0;
}

.employee-second-picture img {
	display: block;
	width: 100%;
	aspect-ratio: 1.55;
	object-fit: cover;
}

.employee-second-picture figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.84rem;
}

.cv-template-notice {
	display: inline-block;
	margin-bottom: 36px;
	padding: 8px 12px;
	color: var(--ink);
	background: #fff;
	font-size: 0.88rem;
}

.cv-template-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	align-items: start;
	gap: 72px;
}

.cv-template-back {
	display: inline-block;
	margin-top: 42px;
	color: var(--purple);
	font-weight: 500;
	text-decoration: none;
}

.cv-template-back:hover {
	text-decoration: underline;
}

.cv-template-copy + .cv-template-copy {
	margin-top: 38px;
}

.cv-template-copy > p:last-child {
	margin-bottom: 0;
	color: var(--muted);
}

.cv-template-markdown h3 {
	margin-bottom: 14px;
	color: var(--purple);
	font-family: "Roboto", sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.cv-template-markdown h3:not(:first-child) {
	margin-top: 38px;
}

.cv-template-markdown p {
	color: var(--muted);
}

.cv-template-suggestion {
	margin-bottom: 12px;
	color: var(--purple);
	font-size: 0.92rem;
	font-weight: 500;
}

.cv-template-sidebar {
	padding: 24px;
	background: var(--mist);
}

.cv-profile-photo {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 24px;
	object-fit: cover;
}

.cv-template-sidebar h2 {
	margin-bottom: 24px;
	font-size: 1.8rem;
	overflow-wrap: anywhere;
}

.cv-specifications {
	margin: 0;
}

.cv-specifications > div {
	padding-block: 14px;
}

.cv-specifications dt {
	margin-bottom: 4px;
	font-weight: 600;
}

.cv-specifications dd {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
}

.join-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 40px 50px;
	color: white;
	background: var(--slate);
}

.join-banner h2 {
	margin-bottom: 10px;
	font-size: 2rem;
}

.join-banner p:not(.eyebrow) {
	max-width: 600px;
	margin-bottom: 0;
	color: #d9dde0;
}

.portfolio-section {
	padding-top: 76px;
}

.case-grid-wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 54px 32px;
}

.case-grid-wide .case-image {
	aspect-ratio: 1.65;
}

.case-grid-wide .case-card p {
	max-width: 580px;
	margin-bottom: 16px;
	font-size: 1rem;
}

.contact-hero {
	color: white;
	background-color: var(--slate);
	background-image:
		linear-gradient(90deg, rgba(47, 54, 64, 0.96), rgba(47, 54, 64, 0.3)),
		url("/img/contact-wave.png");
	background-position: center;
	background-size: cover;
}

.contact-hero h1 {
	margin-bottom: 17px;
	font-size: 3.8rem;
}

.contact-hero p:not(.eyebrow) {
	margin-bottom: 5px;
	font-size: 1.13rem;
}

.contact-section {
	background: var(--mist);
}

.contact-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 75px;
}

.contact-form-wrap h2 {
	margin-bottom: 27px;
	font-size: 2.2rem;
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr;
}

.contact-form-field {
	display: grid;
}

.contact-form label {
	margin: 16px 0 6px;
	font-size: 0.9rem;
	font-weight: 500;
}

.contact-form label span {
	color: var(--muted);
	font-weight: 400;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #c6cbce;
	border-radius: 0;
	color: var(--ink);
	background: white;
	font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--purple-light);
	outline-offset: 1px;
}

.contact-form button {
	justify-self: start;
	margin-top: 20px;
	cursor: pointer;
}

.contact-form button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.contact-form-status {
	min-height: 1.6em;
	margin: 14px 0 0;
	color: var(--muted);
}

.contact-form-status[data-state="error"] {
	padding: 12px 16px;
	border-left: 4px solid #b91c1c;
	color: #b91c1c;
	background: #fef2f2;
	font-weight: 600;
}

.contact-form-counter {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: right;
}

.contact-form-h {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.contact-details {
	padding-top: 19px;
}

.contact-detail {
	position: relative;
	padding: 20px 0 24px 54px;
	border-top: 1px solid #cbd0d2;
}

.detail-number {
	position: absolute;
	left: 0;
	top: 24px;
	color: var(--orange);
	font-size: 0.74rem;
	font-weight: 700;
}

.contact-detail h3 {
	margin-bottom: 15px;
	font-size: 1.28rem;
}

.contact-detail a {
	color: var(--purple);
}

.contact-detail p {
	margin: 5px 0 0;
	color: var(--muted);
}

.blog-section {
	padding-top: 40px;
}

.post-list {
	border-top: 1px solid var(--line);
}

.post-preview {
	position: relative;
	display: grid;
	grid-template-columns: 190px 1fr 35px;
	gap: 40px;
	padding: 32px 0 36px;
	border-bottom: 1px solid var(--line);
}

.post-preview-aside {
	display: grid;
	align-content: start;
	gap: 16px;
}

.post-thumbnail {
	display: block;
	aspect-ratio: 1.6;
	overflow: hidden;
	border-radius: 8px;
	background: var(--mist);
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-date {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 7px;
	color: var(--muted);
	font-size: 0.87rem;
}

.post-date time {
	color: var(--ink);
	font-weight: 500;
}

.post-preview-content .eyebrow {
	margin-bottom: 10px;
	font-size: 0.68rem;
}

.post-preview h2 {
	margin-bottom: 11px;
	font-size: 2rem;
}

.post-preview h2 a {
	text-decoration: none;
}

.post-preview h2 a:hover {
	color: var(--orange);
}

.post-preview-content > p:not(.eyebrow) {
	max-width: 700px;
	margin-bottom: 13px;
	color: var(--muted);
}

.post-arrow {
	align-self: center;
	color: var(--orange);
	font-size: 1.6rem;
}

.article-header {
	position: relative;
	color: white;
	background: var(--slate);
	overflow: hidden;
}

.article-header-wave {
	background-image:
		linear-gradient(90deg, rgba(47, 54, 64, 0.96), rgba(47, 54, 64, 0.3)),
		url("/img/contact-wave.png");
	background-position: center;
	background-size: cover;
}

.article-header-image {
	position: absolute;
	inset: 0 0 0 35%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.28;
	mix-blend-mode: luminosity;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
	mask-image: linear-gradient(to right, transparent, #000 60%);
}

.article-header-inner {
	position: relative;
	max-width: 900px;
	padding-block: 72px 65px;
}

.article-header h1 {
	max-width: 900px;
}

.back-link {
	display: inline-block;
	margin-bottom: 44px;
	color: #e0e3e5;
	font-size: 0.9rem;
	text-decoration: none;
}

.article-header .eyebrow {
	margin-bottom: 13px;
}

.article-header h1 {
	margin-bottom: 20px;
	font-size: 3.6rem;
}

.article-meta {
	display: flex;
	gap: 20px;
	color: #d0d5d8;
	font-size: 0.88rem;
}

.article-meta span + span::before {
	margin-right: 20px;
	color: var(--orange-light);
	content: "/";
}

.article-content,
.article-bottom {
	max-width: 900px;
	margin-inline: auto;
}

.article-content {
	padding-block: 55px 35px;
}

.prose {
	max-width: 900px;
	margin-inline: auto;
	font-size: 1.05rem;
	line-height: 1.7;
}

.prose h2 {
	margin-top: 2em;
	margin-bottom: 0.65em;
	font-size: 1.8rem;
}

.prose h3 {
	margin-top: 1.8em;
	font-size: 1.4rem;
}

.prose a {
	color: var(--purple);
}

.prose figure {
	margin: 2em auto;
	text-align: center;
}

.prose .margin-aside,
.legal-content .margin-aside {
	position: relative;
}

.prose figure.margin-aside,
.legal-content figure.margin-aside {
	margin: 2em 0;
	text-align: left;
}

.prose figure img {
	max-width: 100%;
	max-height: 620px;
	width: auto;
	height: auto;
	margin-inline: auto;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

.prose .margin-aside img,
.legal-content .margin-aside img {
	max-height: none;
}

.prose aside.margin-aside,
.legal-content aside.margin-aside {
	padding: 16px;
	border-left: 3px solid var(--orange);
	border-radius: 4px;
	background: var(--mist);
	font-size: 0.9rem;
	line-height: 1.55;
}

.prose .margin-aside > :last-child,
.legal-content .margin-aside > :last-child {
	margin-bottom: 0;
}

.prose figcaption {
	margin-top: 0.7em;
	color: var(--slate);
	font-size: 0.9rem;
}

.article-application {
	display: block;
	width: min(1600px, calc(100% - 48px));
	height: 800px;
	margin-block: 2em;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: white;
}

.prose pre {
	padding: 20px;
	color: #f4f4f4;
	background: var(--slate-deep);
	overflow-x: auto;
}

.prose code {
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 0.9em;
}

.prose :not(pre) > code {
	padding: 2px 5px;
	background: var(--mist);
}

.prose pre .token.comment,
.prose pre .token.prolog,
.prose pre .token.doctype,
.prose pre .token.cdata {
	color: #9eabb8;
}

.prose pre .token.punctuation,
.prose pre .token.operator {
	color: #d8e0e8;
}

.prose pre .token.property,
.prose pre .token.tag,
.prose pre .token.boolean,
.prose pre .token.number,
.prose pre .token.constant,
.prose pre .token.symbol {
	color: #f1a75b;
}

.prose pre .token.selector,
.prose pre .token.attr-name,
.prose pre .token.string,
.prose pre .token.char,
.prose pre .token.builtin,
.prose pre .token.inserted {
	color: #9ed8a4;
}

.prose pre .token.atrule,
.prose pre .token.attr-value,
.prose pre .token.keyword {
	color: #88c7e8;
}

.prose pre .token.function,
.prose pre .token.class-name {
	color: #f2d479;
}

.prose pre .token.regex,
.prose pre .token.important,
.prose pre .token.variable {
	color: #ed9cab;
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li {
	margin-bottom: 0.45em;
}

.prose li::marker {
	color: var(--orange);
	font-weight: 700;
}

.prose blockquote {
	margin: 2em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--orange);
	background: var(--mist);
}

.prose blockquote > :first-child {
	margin-top: 0;
}

.prose blockquote > :last-child {
	margin-bottom: 0;
}

.prose hr {
	margin: 2.5em auto;
	border: 0;
	border-top: 1px solid var(--line);
}

.prose table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	color: #fff;
	background: var(--slate);
}

.prose tbody tr:nth-child(even) {
	background: var(--mist);
}

.article-bottom {
	max-width: 760px;
	padding-block: 12px 70px;
}

.legal-page {
	min-height: 56vh;
}

.legal-content {
	width: min(850px, calc(100% - 48px));
	margin-inline: max(24px, calc((100% - 1180px) / 2));
}

.legal-content a.button {
	color: white;
}

.legal-content h2 {
	margin-top: 2em;
	font-size: 1.6rem;
}

.legal-content h3 {
	margin-top: 1.6em;
	font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
	color: #454e56;
}

.legal-content a {
	color: var(--purple);
}

.case-detail-hero {
	min-height: 420px;
	color: white;
	background: var(--slate);
}

.case-detail-hero .page-hero-inner {
	max-width: 1180px;
}

.case-detail-hero h1 {
	font-size: 3.8rem;
}

.case-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
	align-items: center;
	gap: 60px;
}

.case-detail-layout img {
	width: 100%;
	max-height: 430px;
	background: var(--mist);
	object-fit: cover;
}

.feature-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 42px;
}

.feature-list article {
	padding-top: 19px;
	border-top: 1px solid var(--line);
}

.feature-list h3 {
	font-size: 1.15rem;
}

.site-footer {
	padding-block: 52px 40px;
	color: #e1e4e6;
	background: var(--slate-deep);
}

.footer-main {
	display: grid;
	grid-template-columns: 1.1fr 1.1fr 1fr 0.8fr;
	gap: 35px;
}

.footer-brand .brand {
	width: 145px;
	/* height: 38px; */
	margin-bottom: 15px;
}

.footer-brand p {
	margin-bottom: 8px;
	color: #d1d5d7;
	font-size: 0.86rem;
}

.copyright {
	margin-top: 29px;
}

.footer-company,
.footer-legal,
.footer-links {
	font-size: 0.85rem;
}

.footer-company p {
	margin: 8px 0 16px;
	color: #cdd1d4;
}

.footer-company a,
.footer-legal a,
.footer-links a {
	color: inherit;
	text-decoration: none;
}

.footer-company a:hover,
.footer-legal a:hover,
.footer-links a:hover {
	color: var(--orange-light);
}

.footer-brand .footer-iso {
	display: inline-block;
	margin-top: 4px;
}

.footer-iso img {
	display: block;
	width: 76px;
	height: auto;
}

.policy-pyramid {
	display: block;
	width: min(100%, 354px);
	height: auto;
	margin: 24px 0;
}

.certificate-list {
	display: grid;
	gap: 16px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.certificate-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 24px;
	background: var(--mist);
	border-left: 3px solid var(--orange);
}

.certificate-item h2 {
	margin: 0 0 6px;
	font-size: 1.25rem;
}

.certificate-item p {
	margin: 0;
}

.certificate-mark {
	float: right;
	width: 110px;
	height: auto;
	margin: 0 0 16px 32px;
}

@media (max-width: 700px) {
	.certificate-item {
		flex-direction: column;
		align-items: flex-start;
	}
}

.footer-legal,
.footer-links nav,
.social-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.social-links {
	flex-direction: row;
	gap: 17px;
	margin-top: 25px;
}

.social-links a {
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	background: var(--slate-deep);
	transition: all 150ms ease;
}

.social-links a:hover {
	background: var(--purple);
	color: #fff;
}

.social-links a:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 2px;
}

.social-links svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

@media (max-width: 980px) {
	.hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
	}

	.hero h1 {
		font-size: 3.8rem;
	}

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

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

@media (max-width: 700px) {
	.container {
		width: min(100% - 36px, 540px);
	}

	.article-content,
	.article-bottom,
	.legal-content {
		margin-inline: auto;
	}

	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2.25rem;
	}

	.header-inner {
		min-height: 64px;
	}

	.brand {
		width: 142px;
		height: 35px;
	}

	.menu-toggle {
		display: grid;
		gap: 5px;
		width: 44px;
		height: 44px;
		margin-left: auto;
		padding: 11px;
		border: 1px solid rgba(255, 255, 255, 0.4);
		border-radius: 0;
		background: transparent;
	}

	.menu-toggle span {
		display: block;
		width: 100%;
		height: 2px;
		background: white;
	}

	.primary-nav {
		position: absolute;
		top: 64px;
		right: 0;
		left: 0;
		display: none;
		align-items: stretch;
		gap: 0;
		padding: 10px 18px 18px;
		background: var(--slate);
	}

	.primary-nav.is-open {
		display: flex;
		flex-direction: column;
	}

	.primary-nav a {
		padding: 12px 4px;
	}

	.primary-nav .nav-contact {
		align-self: flex-start;
		margin-top: 8px;
		padding: 12px 4px 5px;
	}

	.language-switch {
		align-self: flex-start;
		margin-top: 8px;
	}

	.language-switch-menu {
		right: auto;
		left: 0;
	}

	.hero,
	.hero-inner {
		min-height: 0;
	}

	.hero-inner {
		display: block;
		padding-block: 80px 54px;
	}

	.hero h1 {
		font-size: 3.15rem;
	}

	.hero-art {
		width: min(72%, 310px);
		margin: 42px auto 0;
	}

	.hero-scroll {
		display: none;
	}

	.section {
		padding-block: 65px;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 30px;
	}

	.split-section,
	.contact-layout,
	.case-detail-layout,
	.employee-detail-grid,
	.cv-template-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.split-section > *,
	.employee-detail-grid > * {
		min-width: 0;
	}

	.employee-heading {
		grid-template-columns: minmax(0, 1fr) minmax(120px, 0.55fr);
		gap: 20px;
	}

	.employee-heading h1 {
		font-size: 2.65rem;
	}

	.case-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

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

	.case-image {
		aspect-ratio: 1.55;
	}

	.partners-band {
		padding-block: 54px;
	}

	.partner-list {
		grid-template-columns: 36px minmax(0, 1fr) 36px;
		gap: 6px;
	}

	.partner-arrow {
		width: 36px;
		height: 36px;
	}

	.partner-item {
		flex-basis: min(68vw, 225px);
		height: 112px;
	}

	.team-preview {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.team-copy {
		max-width: 100%;
	}

	.management-team {
		gap: 12px;
	}

	.contact-band {
		padding-block: 58px;
	}

	.contact-band h2 {
		font-size: 2.2rem;
	}

	.page-hero,
	.contact-hero {
		min-height: 340px;
	}

	.page-hero-inner,
	.contact-hero .page-hero-inner {
		padding-block: 58px;
	}

	.page-hero h1,
	.contact-hero h1,
	.case-detail-hero h1 {
		font-size: 3rem;
	}

	.split-section,
	.contact-layout,
	.case-detail-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.split-section-top {
		gap: 5px;
	}

	.comparison-grid,
	.case-grid-wide,
	.feature-list {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.people-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 31px 16px;
	}

	.person img {
		margin-bottom: 12px;
	}

	.person h3 {
		font-size: 1.08rem;
	}

	.person-content {
		padding: 8px 12px 24px;
	}

	.person-links {
		gap: 7px 12px;
	}

	.join-banner {
		align-items: flex-start;
		flex-direction: column;
		padding: 27px 23px;
	}

	.post-preview {
		grid-template-columns: 1fr 25px;
		gap: 8px;
		padding-block: 25px;
	}

	.post-date {
		flex-direction: row;
		gap: 10px;
		padding: 0 0 9px;
	}

	.post-preview-aside {
		grid-column: 1 / -1;
		gap: 12px;
	}

	.post-date span::before {
		margin-right: 10px;
		content: "·";
	}

	.post-preview h2 {
		font-size: 1.7rem;
	}

	.post-arrow {
		align-self: start;
	}

	.article-header-inner {
		padding-block: 50px 44px;
	}

	.back-link {
		margin-bottom: 28px;
	}

	.article-header h1 {
		font-size: 2.75rem;
	}

	.article-content {
		padding-block: 38px 20px;
	}

	.prose {
		font-size: 1rem;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}
}

@media (max-width: 540px) {
	.page-hero,
	.contact-hero {
		min-height: 420px;
	}
}

@media (max-width: 420px) {
	.hero h1 {
		font-size: 2.75rem;
	}

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

	.person h3 {
		font-size: 1rem;
	}

	.footer-main {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 350px) {
	.page-hero,
	.contact-hero {
		min-height: 470px;
	}

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

	.employee-heading {
		grid-template-columns: minmax(0, 1fr);
	}

	.employee-portrait {
		width: min(100%, 220px);
	}
}

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

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

	.hero-art::before,
	.hero-art::after,
	.hero-orbit {
		animation: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

@media (min-width: 1400px) {
	.prose figure.margin-aside,
	.legal-content figure.margin-aside,
	.prose aside.margin-aside,
	.legal-content aside.margin-aside {
		float: right;
		width: 220px;
		margin: 0 -244px 1.5em 2em;
	}

	.prose figure.margin-aside img,
	.legal-content figure.margin-aside img {
		display: block;
	}

	.prose .margin-aside::before,
	.legal-content .margin-aside::before {
		position: absolute;
		top: 1.2em;
		left: -24px;
		width: 24px;
		height: 1px;
		background: var(--orange);
		content: "";
	}
}
