:root {
	color-scheme: dark;
	--page-bg: #050505;
	--page-panel: #141414;
	--page-line: #303030;
	--page-ink: #f4f4f1;
	--page-muted: #929292;
	--page-dim: #696969;
	--page-max: 1180px;
	--page-gutter: 50px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--page-bg);
	color: var(--page-ink);
	font-family: "Inter", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

.page {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	--rail: max(var(--page-gutter), calc(50% - 590px));
	background: var(--page-bg);
}

.team-page,
.team-page * {
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.page::before,
.page::after {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 5;
	width: .5px;
	background: transparent;
	content: "";
	pointer-events: none;
}

.page::before {
	left: var(--rail);
}

.page::after {
	right: var(--rail);
}

.shell {
	width: min(100%, calc(var(--page-max) + var(--page-gutter) * 2));
	margin: 0 auto;
	padding-inline: var(--page-gutter);
}

.header {
	min-height: 78px;
}

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

.brand {
	display: inline-flex;
	align-items: center;
	color: var(--page-ink);
	text-decoration: none;
}

.brand-wordmark {
	display: inline-flex;
	align-items: baseline;
	color: currentColor;
	font-family: "Archivo Black", "Arial Black", "Inter", Arial, sans-serif;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 900;
	letter-spacing: .01em;
	line-height: .92;
	white-space: nowrap;
}

.brand-a {
	width: .86em;
	height: .86em;
	margin: 0 .07em;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: hidden;
}

.brand .brand-a,
.footer-brand .brand-a {
	display: block;
	align-self: baseline;
	transform: scaleY(.84);
	transform-origin: bottom center;
}

.brand-mark {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.page-main {
	min-height: 70vh;
}

.page-intro {
	padding: 112px 0 70px;
}

.page-intro h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(48px, 7vw, 92px);
	font-weight: 500;
	letter-spacing: -.06em;
	line-height: .95;
}

.page-body {
	padding: 86px 0 120px;
}

.page-content,
.legal {
	max-width: 760px;
}

.legal-lead {
	max-width: 48ch;
	color: var(--page-ink);
	font-size: 20px;
	line-height: 1.35;
}

.page-content p,
.legal p,
.legal address {
	color: var(--page-muted);
	font-size: 15px;
	line-height: 1.7;
}

.page-content h2,
.legal h2 {
	margin: 54px 0 16px;
	color: var(--page-ink);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.035em;
}

.page-content a,
.legal a {
	color: var(--page-ink);
	text-underline-offset: 4px;
}

.legal address {
	font-style: normal;
}

.legal code {
	padding: 2px 5px;
	border: 1px solid var(--page-line);
	background: var(--page-panel);
	color: var(--page-ink);
	font-family: "Courier New", monospace;
	font-size: .9em;
}

.team-intro-section {
	padding: 112px 0 96px;
}

.team-intro {
	max-width: 760px;
}

.team-eyebrow {
	margin: 0 0 18px;
	color: var(--page-muted);
	font-family: "Courier New", monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.team-intro h1 {
	max-width: 10ch;
	margin: 0 0 24px;
	font-size: clamp(52px, 7vw, 92px);
	font-weight: 500;
	letter-spacing: -.06em;
	line-height: .95;
}

.team-lead {
	max-width: 50ch;
	margin: 0;
	color: var(--page-muted);
	font-size: 19px;
	line-height: 1.45;
}

.team-section-heading {
	max-width: 640px;
	margin-bottom: 48px;
}

.team-section-heading h2 {
	max-width: 14ch;
	margin: 0;
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: .98;
}

.team-founders {
	padding: 0 0 138px;
}

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

.team-founder {
	min-width: 0;
	background: var(--page-panel);
}

.team-portrait {
	position: relative;
	display: flex;
	width: min(67px, calc(100% - 56px));
	aspect-ratio: 1 / 1;
	min-height: 0;
	align-items: end;
	justify-content: space-between;
	overflow: hidden;
	margin: 28px 28px 0;
	padding: 24px;
	isolation: isolate;
	background:
		radial-gradient(circle at 68% 34%, rgba(255, 255, 255, .22) 0 8%, transparent 8.5%),
		linear-gradient(132deg, #252525 0 42%, #101010 42% 72%, #3c101f 72% 100%);
}

.team-portrait img {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.team-portrait::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(5, 5, 5, .64), transparent 42%);
	content: "";
}

.team-founder-copy {
	padding: 32px 28px 36px;
}

.team-founder-role {
	margin: 0 0 12px;
	color: var(--page-dim);
	font-family: "Courier New", monospace;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.team-founder h3 {
	margin: 0 0 16px;
	color: var(--page-ink);
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -.05em;
	line-height: 1;
}

.team-founder-bio {
	max-width: 42ch;
	margin: 0 0 28px;
	color: var(--page-muted);
	font-size: 14px;
	line-height: 1.65;
}

.team-cv {
	display: grid;
	gap: 14px;
	margin: 0;
}

.team-cv-row {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 16px;
}

.team-cv dt,
.team-cv dd {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
}

.team-cv dt {
	color: var(--page-dim);
	font-family: "Courier New", monospace;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.team-cv dd {
	color: var(--page-ink);
}

.site-footer {
	position: relative;
	--footer-glow-height: min(40vh, 420px);
	padding: 74px 0 var(--footer-glow-height);
}

.footer-inner {
	position: relative;
	z-index: 1;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	color: var(--page-ink);
}

.footer-description {
	max-width: 31ch;
	margin: 18px 0 0;
	color: var(--page-muted);
	font-size: 13px;
	line-height: 1.5;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 36px;
}

.footer-links a {
	color: var(--page-muted);
	font-family: "Courier New", monospace;
	font-size: 11px;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	color: var(--page-ink);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 56px;
	padding-top: 20px;
	color: var(--page-dim);
	font-family: "Courier New", monospace;
	font-size: 11px;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.footer-glow {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-glow-height);
	pointer-events: none;
	transform: scaleY(var(--footer-glow-progress, 0));
	transform-origin: bottom;
	will-change: transform;
	z-index: 0;
}

.footer-glow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.not-found {
	min-height: 70vh;
	display: grid;
	place-items: center;
	padding: 80px 0;
	text-align: center;
}

.not-found h1 {
	margin: 0;
	font-size: clamp(80px, 16vw, 180px);
	font-weight: 500;
	letter-spacing: -.08em;
	line-height: .8;
}

.not-found p {
	max-width: 38ch;
	margin: 24px auto;
	color: var(--page-muted);
	line-height: 1.6;
}

.not-found a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--page-ink);
	color: #050505;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 720px) {
	:root { --page-gutter: 28px; }
	.page-intro { padding: 76px 0 54px; }
	.page-body { padding: 58px 0 80px; }
	.team-intro-section { padding: 76px 0 68px; }
	.team-founders { padding-bottom: 86px; }
	.team-founder-grid { grid-template-columns: 1fr; }
	.team-portrait {
		width: min(63px, calc(100% - 40px));
		margin: 20px 20px 0;
	}
	.footer-bottom { flex-direction: column; }
}
