:root {
	--bg: #ffffff;
	--bg-alt: #f6f4f6;
	--text: #1d1d1f;
	--text-2: #6f6a72;
	--line: #dcd6db;
	--accent: #b5145f;
	--nav-bg: rgba(255, 255, 255, 0.8);
	--max: 980px;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--font: "Poppins", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #000000;
		--bg-alt: #121013;
		--text: #f5f5f7;
		--text-2: #a7a1a8;
		--line: #2e2a2e;
		--accent: #ff5fa2;
		--nav-bg: rgba(0, 0, 0, 0.75);
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #000000;
	--bg-alt: #121013;
	--text: #f5f5f7;
	--text-2: #a7a1a8;
	--line: #2e2a2e;
	--accent: #ff5fa2;
	--nav-bg: rgba(0, 0, 0, 0.75);
	color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.47;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

p { margin: 0; }

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 22px;
}

/* Navigation */

.nav {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--nav-bg);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--line);
}

.nav .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { height: 24px; width: auto; }

.nav ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav ul a {
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	opacity: 0.8;
}
.nav ul a:hover, .nav ul a[aria-current] { opacity: 1; text-decoration: none; }

.nav-right {
	display: flex;
	align-items: center;
	gap: 24px;
}

.theme-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: -6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--text);
	opacity: 0.8;
	cursor: pointer;
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
.theme-toggle[aria-pressed="true"] .sun { display: none; }
.theme-toggle[aria-pressed="true"] .moon { display: block; }

/* Hero */

.hero {
	padding: 120px 0 80px;
	text-align: center;
}

.hero h1 {
	font-size: clamp(38px, 6.4vw, 72px);
	font-weight: 700;
	text-wrap: balance;
}

.hero .lede {
	max-width: 640px;
	margin: 24px auto 0;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.5;
	text-wrap: balance;
	color: var(--text-2);
}

.hero .links {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 32px;
	font-size: 19px;
}

.chev::after { content: " \203A"; }

.orbit {
	display: block;
	width: min(560px, 100%);
	height: auto;
	margin: 72px auto 0;
	color: var(--text);
}

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

/* Sections */

.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin-bottom: 56px; }

.eyebrow {
	display: block;
	margin-bottom: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-2);
	letter-spacing: -0.01em;
}

.section h2 { font-size: clamp(32px, 5vw, 48px); }

.section-head p {
	margin-top: 16px;
	font-size: 21px;
	color: var(--text-2);
}

/* Work tiles: 6-column bento, satellite tile leads */

.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.tile {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
	padding: 36px 32px 32px;
	border-radius: 22px;
	background: var(--bg);
}

.tile-sat {
	grid-column: span 4;
	display: grid;
	grid-template-columns: 1fr 210px;
	gap: 40px;
}

.tile-sat .detail {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin: 0;
	padding: 0 0 0 32px;
	border-top: 0;
	border-left: 1px solid var(--line);
}

.tile-sat .orbit-spec { grid-template-columns: 1fr; gap: 18px; }
.tile-eo { grid-column: span 2; }

.tile h3 { font-size: 24px; text-wrap: balance; }
.tile-sat h3 { font-size: 32px; }

.tile-body p {
	margin-top: 10px;
	color: var(--text-2);
	font-size: 16px;
}

.tile ul {
	display: grid;
	gap: 6px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.detail {
	margin: auto 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
}

.detail figcaption {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-2);
}

.mono, .formula, .orbit-spec dd {
	font-family: var(--mono);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
	margin: 0;
}

.orbit-spec {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: space-between;
	gap: 16px;
	margin: 0;
}

.orbit-spec dt {
	font-size: 12px;
	color: var(--text-2);
}

.orbit-spec dd { margin-top: 4px; font-size: 17px; color: var(--accent); }

.formula {
	display: flex;
	align-items: center;
	gap: 10px;
}

.frac {
	display: inline-flex;
	flex-direction: column;
	text-align: center;
}

.frac span:first-child {
	padding: 0 4px 3px;
	border-bottom: 1px solid currentColor;
}

.frac span:last-child { padding-top: 3px; }

/* Process */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: var(--text-2);
}

.steps h3 { font-size: 21px; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* Prose (about page) */

.prose { max-width: 680px; }
.prose p { font-size: 19px; line-height: 1.55; }
.prose p + p { margin-top: 20px; }

.credentials {
	max-width: 780px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.credentials li {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.credentials li span:first-child { font-weight: 500; }
.credentials li span:last-child { color: var(--text-2); }

/* Contact */

.contact {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 64px;
}

.field { margin-bottom: 16px; }

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

label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--text-2);
}

input, textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg);
	color: var(--text);
	font: inherit;
	font-size: 17px;
}

input:focus, textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

textarea { resize: vertical; min-height: 140px; }

.button {
	display: inline-block;
	padding: 12px 22px;
	border: 0;
	border-radius: 980px;
	background: var(--text);
	color: var(--bg);
	font: inherit;
	font-size: 17px;
	cursor: pointer;
}
.button:hover { opacity: 0.85; text-decoration: none; }

.details { margin: 0; }
.details dt { font-size: 13px; color: var(--text-2); }
.details dd { margin: 4px 0 28px; }
.details a { color: var(--text); }

.notice {
	margin-bottom: 24px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--bg);
	font-size: 15px;
}

/* Footer */

.footer {
	padding: 24px 0 40px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	color: var(--text-2);
}

.footer .wrap {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.footer ul {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer a { color: var(--text-2); }

/* Small screens */

@media (max-width: 834px) {
	.contact { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: 1fr 1fr; }
	.tile, .tile-eo { grid-column: span 1; }
	.tile-sat { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.contact { gap: 48px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.nav ul { gap: 18px; }
	.nav-right { gap: 16px; }
	.nav ul li.optional { display: none; }
	.hero { padding: 80px 0 56px; }
	.section { padding: 72px 0; }
	.tiles { grid-template-columns: 1fr; }
	.tile { padding: 28px 24px; }
	.tile-sat { grid-template-columns: 1fr; gap: 32px; }
	.tile-sat .detail { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.tile-sat .orbit-spec { grid-template-columns: 1fr 1fr; }
	.steps, .field-row { grid-template-columns: 1fr; }
	.credentials li { grid-template-columns: 1fr; gap: 2px; }
	.steps { gap: 32px; }
}
